diff -Nru pragha-1.3.3/aclocal.m4 pragha-1.3.992/aclocal.m4 --- pragha-1.3.3/aclocal.m4 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/aclocal.m4 2019-08-13 12:52:08.000000000 +0000 @@ -0,0 +1,11671 @@ +# generated automatically by aclocal 1.16.1 -*- Autoconf -*- + +# Copyright (C) 1996-2018 Free Software Foundation, Inc. + +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, +[m4_warning([this file was generated for autoconf 2.69. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically 'autoreconf'.])]) + +# Copyright (C) 1995-2002 Free Software Foundation, Inc. +# Copyright (C) 2001-2003,2004 Red Hat, Inc. +# +# This file is free software, distributed under the terms of the GNU +# General Public License. As a special exception to the GNU General +# Public License, this file may be distributed as part of a program +# that contains a configuration script generated by Autoconf, under +# the same distribution terms as the rest of that program. +# +# This file can be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# +# Macro to add for using GNU gettext. +# Ulrich Drepper , 1995, 1996 +# +# Modified to never use included libintl. +# Owen Taylor , 12/15/1998 +# +# Major rework to remove unused code +# Owen Taylor , 12/11/2002 +# +# Added better handling of ALL_LINGUAS from GNU gettext version +# written by Bruno Haible, Owen Taylor 5/30/3002 +# +# Modified to require ngettext +# Matthias Clasen 08/06/2004 + +# Increment this whenever this file is changed. +#serial 1 + +# We need this here as well, since someone might use autoconf-2.5x +# to configure GLib then an older version to configure a package +# using AM_GLIB_GNU_GETTEXT +AC_PREREQ(2.53) + +dnl +dnl We go to great lengths to make sure that aclocal won't +dnl try to pull in the installed version of these macros +dnl when running aclocal in the glib directory. +dnl +m4_copy([AC_DEFUN],[glib_DEFUN]) +m4_copy([AC_REQUIRE],[glib_REQUIRE]) +dnl +dnl At the end, if we're not within glib, we'll define the public +dnl definitions in terms of our private definitions. +dnl + +# GLIB_LC_MESSAGES +#-------------------- +glib_DEFUN([GLIB_LC_MESSAGES], + [AC_CHECK_HEADERS([locale.h]) + if test $ac_cv_header_locale_h = yes; then + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, + [AC_TRY_LINK([#include ], [return LC_MESSAGES], + am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) + if test $am_cv_val_LC_MESSAGES = yes; then + AC_DEFINE(HAVE_LC_MESSAGES, 1, + [Define if your file defines LC_MESSAGES.]) + fi + fi]) + +# GLIB_PATH_PROG_WITH_TEST +#---------------------------- +dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) +glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], +[# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_path_$1, +[case "[$]$1" in + /*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in ifelse([$5], , $PATH, [$5]); do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) + +dnl Checks for special options needed on Mac OS X. +dnl Defines INTL_MACOSX_LIBS. +dnl +dnl Copied from intlmacosx.m4 in gettext, GPL. +dnl Copyright (C) 2004-2013 Free Software Foundation, Inc. +glib_DEFUN([glib_gt_INTL_MACOSX], +[ + dnl Check for API introduced in Mac OS X 10.2. + AC_CACHE_CHECK([for CFPreferencesCopyAppValue], + [gt_cv_func_CFPreferencesCopyAppValue], + [gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[CFPreferencesCopyAppValue(NULL, NULL)]])], + [gt_cv_func_CFPreferencesCopyAppValue=yes], + [gt_cv_func_CFPreferencesCopyAppValue=no]) + LIBS="$gt_save_LIBS"]) + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], + [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) + fi + dnl Check for API introduced in Mac OS X 10.3. + AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent], + [gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[CFLocaleCopyCurrent();]])], + [gt_cv_func_CFLocaleCopyCurrent=yes], + [gt_cv_func_CFLocaleCopyCurrent=no]) + LIBS="$gt_save_LIBS"]) + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then + AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1], + [Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" + fi + AC_SUBST([INTL_MACOSX_LIBS]) +]) + +# GLIB_WITH_NLS +#----------------- +glib_DEFUN([GLIB_WITH_NLS], + dnl NLS is obligatory + [USE_NLS=yes + AC_SUBST(USE_NLS) + + gt_cv_have_gettext=no + + CATOBJEXT=NONE + XGETTEXT=: + INTLLIBS= + + glib_gt_INTL_MACOSX + + AC_CHECK_HEADER(libintl.h, + [gt_cv_func_dgettext_libintl="no" + libintl_extra_libs="" + + # + # First check in libc + # + AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, + [AC_TRY_LINK([ +#include +], + [return !ngettext ("","", 1)], + gt_cv_func_ngettext_libc=yes, + gt_cv_func_ngettext_libc=no) + ]) + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, + [AC_TRY_LINK([ +#include +], + [return !dgettext ("","")], + gt_cv_func_dgettext_libc=yes, + gt_cv_func_dgettext_libc=no) + ]) + fi + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + AC_CHECK_FUNCS(bind_textdomain_codeset) + fi + + # + # If we don't have everything we want, check in libintl + # + if test "$gt_cv_func_dgettext_libc" != "yes" \ + || test "$gt_cv_func_ngettext_libc" != "yes" \ + || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then + + AC_CHECK_LIB(intl, bindtextdomain, + [AC_CHECK_LIB(intl, ngettext, + [AC_CHECK_LIB(intl, dgettext, + gt_cv_func_dgettext_libintl=yes)])]) + + if test "$gt_cv_func_dgettext_libintl" != "yes" ; then + AC_MSG_CHECKING([if -liconv is needed to use gettext]) + AC_MSG_RESULT([]) + AC_CHECK_LIB(intl, ngettext, + [AC_CHECK_LIB(intl, dcgettext, + [gt_cv_func_dgettext_libintl=yes + libintl_extra_libs=-liconv], + :,-liconv)], + :,-liconv) + fi + + # + # If we found libintl, then check in it for bind_textdomain_codeset(); + # we'll prefer libc if neither have bind_textdomain_codeset(), + # and both have dgettext and ngettext + # + if test "$gt_cv_func_dgettext_libintl" = "yes" ; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS -lintl $libintl_extra_libs" + unset ac_cv_func_bind_textdomain_codeset + AC_CHECK_FUNCS(bind_textdomain_codeset) + LIBS="$glib_save_LIBS" + + if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then + gt_cv_func_dgettext_libc=no + else + if test "$gt_cv_func_dgettext_libc" = "yes" \ + && test "$gt_cv_func_ngettext_libc" = "yes"; then + gt_cv_func_dgettext_libintl=no + fi + fi + fi + fi + + if test "$gt_cv_func_dgettext_libc" = "yes" \ + || test "$gt_cv_func_dgettext_libintl" = "yes"; then + gt_cv_have_gettext=yes + fi + + if test "$gt_cv_func_dgettext_libintl" = "yes"; then + INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS" + fi + + if test "$gt_cv_have_gettext" = "yes"; then + AC_DEFINE(HAVE_GETTEXT,1, + [Define if the GNU gettext() function is already present or preinstalled.]) + GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl + if test "$MSGFMT" != "no"; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS $INTLLIBS" + AC_CHECK_FUNCS(dcgettext) + MSGFMT_OPTS= + AC_MSG_CHECKING([if msgfmt accepts -c]) + GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: test 1.0\n" +"PO-Revision-Date: 2007-02-15 12:01+0100\n" +"Last-Translator: test \n" +"Language-Team: C \n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) + AC_SUBST(MSGFMT_OPTS) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr], + [CATOBJEXT=.gmo + DATADIRNAME=share], + [case $host in + *-*-solaris*) + dnl On Solaris, if bind_textdomain_codeset is in libc, + dnl GNU format message catalog is always supported, + dnl since both are added to the libc all together. + dnl Hence, we'd like to go with DATADIRNAME=share and + dnl and CATOBJEXT=.gmo in this case. + AC_CHECK_FUNC(bind_textdomain_codeset, + [CATOBJEXT=.gmo + DATADIRNAME=share], + [CATOBJEXT=.mo + DATADIRNAME=lib]) + ;; + *-*-openbsd*) + CATOBJEXT=.mo + DATADIRNAME=share + ;; + *) + CATOBJEXT=.mo + DATADIRNAME=lib + ;; + esac]) + LIBS="$glib_save_LIBS" + INSTOBJEXT=.mo + else + gt_cv_have_gettext=no + fi + fi + ]) + + if test "$gt_cv_have_gettext" = "yes" ; then + AC_DEFINE(ENABLE_NLS, 1, + [always defined to indicate that i18n is enabled]) + fi + + dnl Test whether we really found GNU xgettext. + if test "$XGETTEXT" != ":"; then + dnl If it is not GNU xgettext we define it as : so that the + dnl Makefiles still can work. + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then + : ; + else + AC_MSG_RESULT( + [found xgettext program is not GNU xgettext; ignore it]) + XGETTEXT=":" + fi + fi + + # We need to process the po/ directory. + POSUB=po + + AC_OUTPUT_COMMANDS( + [case "$CONFIG_FILES" in *po/Makefile.in*) + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile + esac]) + + dnl These rules are solely for the distribution goal. While doing this + dnl we only have to keep exactly one list of the available catalogs + dnl in configure.ac. + for lang in $ALL_LINGUAS; do + GMOFILES="$GMOFILES $lang.gmo" + POFILES="$POFILES $lang.po" + done + + dnl Make all variables we use known to autoconf. + AC_SUBST(CATALOGS) + AC_SUBST(CATOBJEXT) + AC_SUBST(DATADIRNAME) + AC_SUBST(GMOFILES) + AC_SUBST(INSTOBJEXT) + AC_SUBST(INTLLIBS) + AC_SUBST(PO_IN_DATADIR_TRUE) + AC_SUBST(PO_IN_DATADIR_FALSE) + AC_SUBST(POFILES) + AC_SUBST(POSUB) + ]) + +# AM_GLIB_GNU_GETTEXT +# ------------------- +# Do checks necessary for use of gettext. If a suitable implementation +# of gettext is found in either in libintl or in the C library, +# it will set INTLLIBS to the libraries needed for use of gettext +# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable +# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() +# on various variables needed by the Makefile.in.in installed by +# glib-gettextize. +dnl +AU_DEFUN([GLIB_GNU_GETTEXT], + [AC_REQUIRE([AC_PROG_CC])dnl + + GLIB_LC_MESSAGES + GLIB_WITH_NLS + + if test "$gt_cv_have_gettext" = "yes"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + AC_MSG_CHECKING(for catalogs to be installed) + NEW_LINGUAS= + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + NEW_LINGUAS="$NEW_LINGUAS $presentlang" + fi + done + LINGUAS=$NEW_LINGUAS + AC_MSG_RESULT($LINGUAS) + fi + + dnl Construct list of names of catalog files to be constructed. + if test -n "$LINGUAS"; then + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done + fi + fi + + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly + dnl find the mkinstalldirs script in another subdir but ($top_srcdir). + dnl Try to locate is. + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + AC_SUBST(MKINSTALLDIRS) + + dnl Generate list of files to be processed by xgettext which will + dnl be included in po/Makefile. + test -d po || mkdir po + if test "x$srcdir" != "x."; then + if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then + posrcprefix="$srcdir/" + else + posrcprefix="../$srcdir/" + fi + else + posrcprefix="../" + fi + rm -f po/POTFILES + sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ + < $srcdir/po/POTFILES.in > po/POTFILES + ], + [[$0: This macro is deprecated. You should use upstream gettext instead.]]) + +# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) +# ------------------------------- +# Define VARIABLE to the location where catalog files will +# be installed by po/Makefile. +glib_DEFUN([GLIB_DEFINE_LOCALEDIR], +[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl +glib_save_prefix="$prefix" +glib_save_exec_prefix="$exec_prefix" +glib_save_datarootdir="$datarootdir" +test "x$prefix" = xNONE && prefix=$ac_default_prefix +test "x$exec_prefix" = xNONE && exec_prefix=$prefix +datarootdir=`eval echo "${datarootdir}"` +if test "x$CATOBJEXT" = "x.mo" ; then + localedir=`eval echo "${libdir}/locale"` +else + localedir=`eval echo "${datadir}/locale"` +fi +prefix="$glib_save_prefix" +exec_prefix="$glib_save_exec_prefix" +datarootdir="$glib_save_datarootdir" +AC_DEFINE_UNQUOTED($1, "$localedir", + [Define the location where the catalogs will be installed]) +]) + +dnl +dnl Now the definitions that aclocal will find +dnl +ifdef(glib_configure_ac,[],[ +AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) +AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) +])dnl + +# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) +# +# Create a temporary file with TEST-FILE as its contents and pass the +# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with +# 0 and perform ACTION-IF-FAIL for any other exit status. +AC_DEFUN([GLIB_RUN_PROG], +[cat >conftest.foo <<_ACEOF +$2 +_ACEOF +if AC_RUN_LOG([$1 conftest.foo]); then + m4_ifval([$3], [$3], [:]) +m4_ifvaln([$4], [else $4])dnl +echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD +sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD +fi]) + + + +dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) +# serial 42 IT_PROG_INTLTOOL +AC_DEFUN([IT_PROG_INTLTOOL], [ +AC_PREREQ([2.50])dnl +AC_REQUIRE([AM_NLS])dnl + +case "$am__api_version" in + 1.[01234]) + AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) + ;; + *) + ;; +esac + +INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` +INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +if test -n "$1"; then + AC_MSG_CHECKING([for intltool >= $1]) + AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) + test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || + AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) +fi + +AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update]) +AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge]) +AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract]) +if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then + AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) +fi + +if test -z "$AM_DEFAULT_VERBOSITY"; then + AM_DEFAULT_VERBOSITY=1 +fi +AC_SUBST([AM_DEFAULT_VERBOSITY]) + +INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' +INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' +INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;' +AC_SUBST(INTLTOOL_V_MERGE) +AC_SUBST(INTLTOOL__v_MERGE_) +AC_SUBST(INTLTOOL__v_MERGE_0) + +INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' +intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' +intltool__v_merge_options_0='-q' +AC_SUBST(INTLTOOL_V_MERGE_OPTIONS) +AC_SUBST(intltool__v_merge_options_) +AC_SUBST(intltool__v_merge_options_0) + + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@' + INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@' +else + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir' +fi + INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + +_IT_SUBST(INTLTOOL_DESKTOP_RULE) +_IT_SUBST(INTLTOOL_DIRECTORY_RULE) +_IT_SUBST(INTLTOOL_KEYS_RULE) +_IT_SUBST(INTLTOOL_PROP_RULE) +_IT_SUBST(INTLTOOL_OAF_RULE) +_IT_SUBST(INTLTOOL_PONG_RULE) +_IT_SUBST(INTLTOOL_SERVER_RULE) +_IT_SUBST(INTLTOOL_SHEET_RULE) +_IT_SUBST(INTLTOOL_SOUNDLIST_RULE) +_IT_SUBST(INTLTOOL_UI_RULE) +_IT_SUBST(INTLTOOL_XAM_RULE) +_IT_SUBST(INTLTOOL_KBD_RULE) +_IT_SUBST(INTLTOOL_XML_RULE) +_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) +_IT_SUBST(INTLTOOL_CAVES_RULE) +_IT_SUBST(INTLTOOL_SCHEMAS_RULE) +_IT_SUBST(INTLTOOL_THEME_RULE) +_IT_SUBST(INTLTOOL_SERVICE_RULE) +_IT_SUBST(INTLTOOL_POLICY_RULE) + +# Check the gettext tools to make sure they are GNU +AC_PATH_PROG(XGETTEXT, xgettext) +AC_PATH_PROG(MSGMERGE, msgmerge) +AC_PATH_PROG(MSGFMT, msgfmt) +AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) +if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then + AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) +fi +xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" +mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" +mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" +if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then + AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) +fi + +AC_PATH_PROG(INTLTOOL_PERL, perl) +if test -z "$INTLTOOL_PERL"; then + AC_MSG_ERROR([perl not found]) +fi +AC_MSG_CHECKING([for perl >= 5.8.1]) +$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 +if test $? -ne 0; then + AC_MSG_ERROR([perl 5.8.1 is required for intltool]) +else + IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` + AC_MSG_RESULT([$IT_PERL_VERSION]) +fi +if test "x$2" != "xno-xml"; then + AC_MSG_CHECKING([for XML::Parser]) + if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then + AC_MSG_RESULT([ok]) + else + AC_MSG_ERROR([XML::Parser perl module is required for intltool]) + fi +fi + +# Substitute ALL_LINGUAS so we can use it in po/Makefile +AC_SUBST(ALL_LINGUAS) + +IT_PO_SUBDIR([po]) + +]) + + +# IT_PO_SUBDIR(DIRNAME) +# --------------------- +# All po subdirs have to be declared with this macro; the subdir "po" is +# declared by IT_PROG_INTLTOOL. +# +AC_DEFUN([IT_PO_SUBDIR], +[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. +dnl +dnl The following CONFIG_COMMANDS should be executed at the very end +dnl of config.status. +AC_CONFIG_COMMANDS_PRE([ + AC_CONFIG_COMMANDS([$1/stamp-it], [ + if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then + AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) + fi + rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" + >"$1/stamp-it.tmp" + [sed '/^#/d + s/^[[].*] *// + /^[ ]*$/d + '"s|^| $ac_top_srcdir/|" \ + "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" + ] + [sed '/^POTFILES =/,/[^\\]$/ { + /^POTFILES =/!d + r $1/POTFILES + } + ' "$1/Makefile.in" >"$1/Makefile"] + rm -f "$1/Makefile.tmp" + mv "$1/stamp-it.tmp" "$1/stamp-it" + ]) +])dnl +]) + +# _IT_SUBST(VARIABLE) +# ------------------- +# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST +# +AC_DEFUN([_IT_SUBST], +[ +AC_SUBST([$1]) +m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) +] +) + +# deprecated macros +AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) +# A hint is needed for aclocal from Automake <= 1.9.4: +# AC_DEFUN([AC_PROG_INTLTOOL], ...) + + +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +# +# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +m4_define([_LT_COPYING], [dnl +# Copyright (C) 2014 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# GNU Libtool is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of of the License, or +# (at your option) any later version. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program or library that is built +# using GNU Libtool, you may include this file under the same +# distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +]) + +# serial 58 LT_INIT + + +# LT_PREREQ(VERSION) +# ------------------ +# Complain and exit if this libtool version is less that VERSION. +m4_defun([LT_PREREQ], +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, + [m4_default([$3], + [m4_fatal([Libtool version $1 or higher is required], + 63)])], + [$2])]) + + +# _LT_CHECK_BUILDDIR +# ------------------ +# Complain if the absolute build directory name contains unusual characters +m4_defun([_LT_CHECK_BUILDDIR], +[case `pwd` in + *\ * | *\ *) + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; +esac +]) + + +# LT_INIT([OPTIONS]) +# ------------------ +AC_DEFUN([LT_INIT], +[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +AC_BEFORE([$0], [LT_LANG])dnl +AC_BEFORE([$0], [LT_OUTPUT])dnl +AC_BEFORE([$0], [LTDL_INIT])dnl +m4_require([_LT_CHECK_BUILDDIR])dnl + +dnl Autoconf doesn't catch unexpanded LT_ macros by default: +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 +dnl unless we require an AC_DEFUNed macro: +AC_REQUIRE([LTOPTIONS_VERSION])dnl +AC_REQUIRE([LTSUGAR_VERSION])dnl +AC_REQUIRE([LTVERSION_VERSION])dnl +AC_REQUIRE([LTOBSOLETE_VERSION])dnl +m4_require([_LT_PROG_LTMAIN])dnl + +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) + +dnl Parse OPTIONS +_LT_SET_OPTIONS([$0], [$1]) + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS=$ltmain + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +_LT_SETUP + +# Only expand once: +m4_define([LT_INIT]) +])# LT_INIT + +# Old names: +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PROG_LIBTOOL], []) +dnl AC_DEFUN([AM_PROG_LIBTOOL], []) + + +# _LT_PREPARE_CC_BASENAME +# ----------------------- +m4_defun([_LT_PREPARE_CC_BASENAME], [ +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +func_cc_basename () +{ + for cc_temp in @S|@*""; do + case $cc_temp in + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; + \-*) ;; + *) break;; + esac + done + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +} +])# _LT_PREPARE_CC_BASENAME + + +# _LT_CC_BASENAME(CC) +# ------------------- +# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, +# but that macro is also expanded into generated libtool script, which +# arranges for $SED and $ECHO to be set by different means. +m4_defun([_LT_CC_BASENAME], +[m4_require([_LT_PREPARE_CC_BASENAME])dnl +AC_REQUIRE([_LT_DECL_SED])dnl +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl +func_cc_basename $1 +cc_basename=$func_cc_basename_result +]) + + +# _LT_FILEUTILS_DEFAULTS +# ---------------------- +# It is okay to use these file commands and assume they have been set +# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'. +m4_defun([_LT_FILEUTILS_DEFAULTS], +[: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} +])# _LT_FILEUTILS_DEFAULTS + + +# _LT_SETUP +# --------- +m4_defun([_LT_SETUP], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl + +_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl +dnl +_LT_DECL([], [host_alias], [0], [The host system])dnl +_LT_DECL([], [host], [0])dnl +_LT_DECL([], [host_os], [0])dnl +dnl +_LT_DECL([], [build_alias], [0], [The build system])dnl +_LT_DECL([], [build], [0])dnl +_LT_DECL([], [build_os], [0])dnl +dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +dnl +AC_REQUIRE([AC_PROG_LN_S])dnl +test -z "$LN_S" && LN_S="ln -s" +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl +dnl +AC_REQUIRE([LT_CMD_MAX_LEN])dnl +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl +dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl +m4_require([_LT_CMD_RELOAD])dnl +m4_require([_LT_CHECK_MAGIC_METHOD])dnl +m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl +m4_require([_LT_CMD_OLD_ARCHIVE])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_WITH_SYSROOT])dnl +m4_require([_LT_CMD_TRUNCATE])dnl + +_LT_CONFIG_LIBTOOL_INIT([ +# See if we are running on zsh, and set the options that allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}"; then + setopt NO_GLOB_SUBST +fi +]) +if test -n "${ZSH_VERSION+set}"; then + setopt NO_GLOB_SUBST +fi + +_LT_CHECK_OBJDIR + +m4_require([_LT_TAG_COMPILER])dnl + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test set != "${COLLECT_NAMES+set}"; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a '.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld=$lt_cv_prog_gnu_ld + +old_CC=$CC +old_CFLAGS=$CFLAGS + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +_LT_CC_BASENAME([$compiler]) + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + _LT_PATH_MAGIC + fi + ;; +esac + +# Use C for the default configuration in the libtool script +LT_SUPPORTED_TAG([CC]) +_LT_LANG_C_CONFIG +_LT_LANG_DEFAULT_CONFIG +_LT_CONFIG_COMMANDS +])# _LT_SETUP + + +# _LT_PREPARE_SED_QUOTE_VARS +# -------------------------- +# Define a few sed substitution that help us do robust quoting. +m4_defun([_LT_PREPARE_SED_QUOTE_VARS], +[# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([["`\\]]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' +]) + +# _LT_PROG_LTMAIN +# --------------- +# Note that this code is called both from 'configure', and 'config.status' +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, +# 'config.status' has no value for ac_aux_dir unless we are using Automake, +# so we pass a copy along to make sure it has a sensible value anyway. +m4_defun([_LT_PROG_LTMAIN], +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) +ltmain=$ac_aux_dir/ltmain.sh +])# _LT_PROG_LTMAIN + + + +# So that we can recreate a full libtool script including additional +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS +# in macros and then make a single call at the end using the 'libtool' +# label. + + +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) +# ---------------------------------------- +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL_INIT], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_INIT], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_INIT]) + + +# _LT_CONFIG_LIBTOOL([COMMANDS]) +# ------------------------------ +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) + + +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) +# ----------------------------------------------------- +m4_defun([_LT_CONFIG_SAVE_COMMANDS], +[_LT_CONFIG_LIBTOOL([$1]) +_LT_CONFIG_LIBTOOL_INIT([$2]) +]) + + +# _LT_FORMAT_COMMENT([COMMENT]) +# ----------------------------- +# Add leading comment marks to the start of each line, and a trailing +# full-stop to the whole comment if one is not present already. +m4_define([_LT_FORMAT_COMMENT], +[m4_ifval([$1], [ +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) +)]) + + + + + +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) +# ------------------------------------------------------------------- +# CONFIGNAME is the name given to the value in the libtool script. +# VARNAME is the (base) name used in the configure script. +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on +# VARNAME. Any other value will be used directly. +m4_define([_LT_DECL], +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], + [m4_ifval([$1], [$1], [$2])]) + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) + m4_ifval([$4], + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) + lt_dict_add_subkey([lt_decl_dict], [$2], + [tagged?], [m4_ifval([$5], [yes], [no])])]) +]) + + +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) +# -------------------------------------------------------- +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) + + +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_tag_varnames], +[_lt_decl_filter([tagged?], [yes], $@)]) + + +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) +# --------------------------------------------------------- +m4_define([_lt_decl_filter], +[m4_case([$#], + [0], [m4_fatal([$0: too few arguments: $#])], + [1], [m4_fatal([$0: too few arguments: $#: $1])], + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], + [lt_dict_filter([lt_decl_dict], $@)])[]dnl +]) + + +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) +# -------------------------------------------------- +m4_define([lt_decl_quote_varnames], +[_lt_decl_filter([value], [1], $@)]) + + +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_dquote_varnames], +[_lt_decl_filter([value], [2], $@)]) + + +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_varnames_tagged], +[m4_assert([$# <= 2])dnl +_$0(m4_quote(m4_default([$1], [[, ]])), + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) +m4_define([_lt_decl_varnames_tagged], +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) + + +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_all_varnames], +[_$0(m4_quote(m4_default([$1], [[, ]])), + m4_if([$2], [], + m4_quote(lt_decl_varnames), + m4_quote(m4_shift($@))))[]dnl +]) +m4_define([_lt_decl_all_varnames], +[lt_join($@, lt_decl_varnames_tagged([$1], + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl +]) + + +# _LT_CONFIG_STATUS_DECLARE([VARNAME]) +# ------------------------------------ +# Quote a variable value, and forward it to 'config.status' so that its +# declaration there will have the same value as in 'configure'. VARNAME +# must have a single quote delimited value for this to work. +m4_define([_LT_CONFIG_STATUS_DECLARE], +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) + + +# _LT_CONFIG_STATUS_DECLARATIONS +# ------------------------------ +# We delimit libtool config variables with single quotes, so when +# we write them to config.status, we have to be sure to quote all +# embedded single quotes properly. In configure, this macro expands +# each variable declared with _LT_DECL (and _LT_TAGDECL) into: +# +# ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAGS +# ---------------- +# Output comment and list of tags supported by the script +m4_defun([_LT_LIBTOOL_TAGS], +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl +available_tags='_LT_TAGS'dnl +]) + + +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) +# ----------------------------------- +# Extract the dictionary values for VARNAME (optionally with TAG) and +# expand to a commented shell variable setting: +# +# # Some comment about what VAR is for. +# visible_name=$lt_internal_name +m4_define([_LT_LIBTOOL_DECLARE], +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], + [description])))[]dnl +m4_pushdef([_libtool_name], + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), + [0], [_libtool_name=[$]$1], + [1], [_libtool_name=$lt_[]$1], + [2], [_libtool_name=$lt_[]$1], + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl +]) + + +# _LT_LIBTOOL_CONFIG_VARS +# ----------------------- +# Produce commented declarations of non-tagged libtool config variables +# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool' +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG +# section) are produced by _LT_LIBTOOL_TAG_VARS. +m4_defun([_LT_LIBTOOL_CONFIG_VARS], +[m4_foreach([_lt_var], + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAG_VARS(TAG) +# ------------------------- +m4_define([_LT_LIBTOOL_TAG_VARS], +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) + + +# _LT_TAGVAR(VARNAME, [TAGNAME]) +# ------------------------------ +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) + + +# _LT_CONFIG_COMMANDS +# ------------------- +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of +# variables for single and double quote escaping we saved from calls +# to _LT_DECL, we can put quote escaped variables declarations +# into 'config.status', and then the shell code to quote escape them in +# for loops in 'config.status'. Finally, any additional code accumulated +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. +m4_defun([_LT_CONFIG_COMMANDS], +[AC_PROVIDE_IFELSE([LT_OUTPUT], + dnl If the libtool generation code has been placed in $CONFIG_LT, + dnl instead of duplicating it all over again into config.status, + dnl then we will have config.status run $CONFIG_LT later, so it + dnl needs to know what name is stored there: + [AC_CONFIG_COMMANDS([libtool], + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], + dnl If the libtool generation code is destined for config.status, + dnl expand the accumulated commands and init code now: + [AC_CONFIG_COMMANDS([libtool], + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) +])#_LT_CONFIG_COMMANDS + + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], +[ + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +_LT_CONFIG_STATUS_DECLARATIONS +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$[]1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_quote_varnames); do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_dquote_varnames); do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +_LT_OUTPUT_LIBTOOL_INIT +]) + +# _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) +# ------------------------------------ +# Generate a child script FILE with all initialization necessary to +# reuse the environment learned by the parent script, and make the +# file executable. If COMMENT is supplied, it is inserted after the +# '#!' sequence but before initialization text begins. After this +# macro, additional text can be appended to FILE to form the body of +# the child script. The macro ends with non-zero status if the +# file could not be fully written (such as if the disk is full). +m4_ifdef([AS_INIT_GENERATED], +[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], +[m4_defun([_LT_GENERATED_FILE_INIT], +[m4_require([AS_PREPARE])]dnl +[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl +[lt_write_fail=0 +cat >$1 <<_ASEOF || lt_write_fail=1 +#! $SHELL +# Generated by $as_me. +$2 +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$1 <<\_ASEOF || lt_write_fail=1 +AS_SHELL_SANITIZE +_AS_PREPARE +exec AS_MESSAGE_FD>&1 +_ASEOF +test 0 = "$lt_write_fail" && chmod +x $1[]dnl +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT + +# LT_OUTPUT +# --------- +# This macro allows early generation of the libtool script (before +# AC_OUTPUT is called), incase it is used in configure for compilation +# tests. +AC_DEFUN([LT_OUTPUT], +[: ${CONFIG_LT=./config.lt} +AC_MSG_NOTICE([creating $CONFIG_LT]) +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], +[# Run this file to recreate a libtool stub with the current configuration.]) + +cat >>"$CONFIG_LT" <<\_LTEOF +lt_cl_silent=false +exec AS_MESSAGE_LOG_FD>>config.log +{ + echo + AS_BOX([Running $as_me.]) +} >&AS_MESSAGE_LOG_FD + +lt_cl_help="\ +'$as_me' creates a local libtool stub from the current configuration, +for use in further configure time tests before the real libtool is +generated. + +Usage: $[0] [[OPTIONS]] + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + +Report bugs to ." + +lt_cl_version="\ +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) +configured by $[0], generated by m4_PACKAGE_STRING. + +Copyright (C) 2011 Free Software Foundation, Inc. +This config.lt script is free software; the Free Software Foundation +gives unlimited permision to copy, distribute and modify it." + +while test 0 != $[#] +do + case $[1] in + --version | --v* | -V ) + echo "$lt_cl_version"; exit 0 ;; + --help | --h* | -h ) + echo "$lt_cl_help"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --quiet | --q* | --silent | --s* | -q ) + lt_cl_silent=: ;; + + -*) AC_MSG_ERROR([unrecognized option: $[1] +Try '$[0] --help' for more information.]) ;; + + *) AC_MSG_ERROR([unrecognized argument: $[1] +Try '$[0] --help' for more information.]) ;; + esac + shift +done + +if $lt_cl_silent; then + exec AS_MESSAGE_FD>/dev/null +fi +_LTEOF + +cat >>"$CONFIG_LT" <<_LTEOF +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +AC_MSG_NOTICE([creating $ofile]) +_LT_OUTPUT_LIBTOOL_COMMANDS +AS_EXIT(0) +_LTEOF +chmod +x "$CONFIG_LT" + +# configure is writing to config.log, but config.lt does its own redirection, +# appending to config.log, which fails on DOS, as config.log is still kept +# open by configure. Here we exec the FD to /dev/null, effectively closing +# config.log, so it can be properly (re)opened and appended to by config.lt. +lt_cl_success=: +test yes = "$silent" && + lt_config_lt_args="$lt_config_lt_args --quiet" +exec AS_MESSAGE_LOG_FD>/dev/null +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false +exec AS_MESSAGE_LOG_FD>>config.log +$lt_cl_success || AS_EXIT(1) +])# LT_OUTPUT + + +# _LT_CONFIG(TAG) +# --------------- +# If TAG is the built-in tag, create an initial libtool script with a +# default configuration from the untagged config vars. Otherwise add code +# to config.status for appending the configuration named by TAG from the +# matching tagged config vars. +m4_defun([_LT_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_CONFIG_SAVE_COMMANDS([ + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl + m4_if(_LT_TAG, [C], [ + # See if we are running on zsh, and set the options that allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}"; then + setopt NO_GLOB_SUBST + fi + + cfgfile=${ofile}T + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL +# Generated automatically by $as_me ($PACKAGE) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. + +# Provide generalized library-building support services. +# Written by Gordon Matzigkeit, 1996 + +_LT_COPYING +_LT_LIBTOOL_TAGS + +# Configured defaults for sys_lib_dlsearch_path munging. +: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} + +# ### BEGIN LIBTOOL CONFIG +_LT_LIBTOOL_CONFIG_VARS +_LT_LIBTOOL_TAG_VARS +# ### END LIBTOOL CONFIG + +_LT_EOF + + cat <<'_LT_EOF' >> "$cfgfile" + +# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE + +_LT_PREPARE_MUNGE_PATH_LIST +_LT_PREPARE_CC_BASENAME + +# ### END FUNCTIONS SHARED WITH CONFIGURE + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test set != "${COLLECT_NAMES+set}"; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + _LT_PROG_LTMAIN + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +], +[cat <<_LT_EOF >> "$ofile" + +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded +dnl in a comment (ie after a #). +# ### BEGIN LIBTOOL TAG CONFIG: $1 +_LT_LIBTOOL_TAG_VARS(_LT_TAG) +# ### END LIBTOOL TAG CONFIG: $1 +_LT_EOF +])dnl /m4_if +], +[m4_if([$1], [], [ + PACKAGE='$PACKAGE' + VERSION='$VERSION' + RM='$RM' + ofile='$ofile'], []) +])dnl /_LT_CONFIG_SAVE_COMMANDS +])# _LT_CONFIG + + +# LT_SUPPORTED_TAG(TAG) +# --------------------- +# Trace this macro to discover what tags are supported by the libtool +# --tag option, using: +# autoconf --trace 'LT_SUPPORTED_TAG:$1' +AC_DEFUN([LT_SUPPORTED_TAG], []) + + +# C support is built-in for now +m4_define([_LT_LANG_C_enabled], []) +m4_define([_LT_TAGS], []) + + +# LT_LANG(LANG) +# ------------- +# Enable libtool support for the given language if not already enabled. +AC_DEFUN([LT_LANG], +[AC_BEFORE([$0], [LT_OUTPUT])dnl +m4_case([$1], + [C], [_LT_LANG(C)], + [C++], [_LT_LANG(CXX)], + [Go], [_LT_LANG(GO)], + [Java], [_LT_LANG(GCJ)], + [Fortran 77], [_LT_LANG(F77)], + [Fortran], [_LT_LANG(FC)], + [Windows Resource], [_LT_LANG(RC)], + [m4_ifdef([_LT_LANG_]$1[_CONFIG], + [_LT_LANG($1)], + [m4_fatal([$0: unsupported language: "$1"])])])dnl +])# LT_LANG + + +# _LT_LANG(LANGNAME) +# ------------------ +m4_defun([_LT_LANG], +[m4_ifdef([_LT_LANG_]$1[_enabled], [], + [LT_SUPPORTED_TAG([$1])dnl + m4_append([_LT_TAGS], [$1 ])dnl + m4_define([_LT_LANG_]$1[_enabled], [])dnl + _LT_LANG_$1_CONFIG($1)])dnl +])# _LT_LANG + + +m4_ifndef([AC_PROG_GO], [ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_GO. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +m4_defun([AC_PROG_GO], +[AC_LANG_PUSH(Go)dnl +AC_ARG_VAR([GOC], [Go compiler command])dnl +AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl +_AC_ARG_VAR_LDFLAGS()dnl +AC_CHECK_TOOL(GOC, gccgo) +if test -z "$GOC"; then + if test -n "$ac_tool_prefix"; then + AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) + fi +fi +if test -z "$GOC"; then + AC_CHECK_PROG(GOC, gccgo, gccgo, false) +fi +])#m4_defun +])#m4_ifndef + + +# _LT_LANG_DEFAULT_CONFIG +# ----------------------- +m4_defun([_LT_LANG_DEFAULT_CONFIG], +[AC_PROVIDE_IFELSE([AC_PROG_CXX], + [LT_LANG(CXX)], + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) + +AC_PROVIDE_IFELSE([AC_PROG_F77], + [LT_LANG(F77)], + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) + +AC_PROVIDE_IFELSE([AC_PROG_FC], + [LT_LANG(FC)], + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) + +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal +dnl pulling things in needlessly. +AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([LT_PROG_GCJ], + [LT_LANG(GCJ)], + [m4_ifdef([AC_PROG_GCJ], + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([A][M_PROG_GCJ], + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([LT_PROG_GCJ], + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) + +AC_PROVIDE_IFELSE([AC_PROG_GO], + [LT_LANG(GO)], + [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) + +AC_PROVIDE_IFELSE([LT_PROG_RC], + [LT_LANG(RC)], + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) +])# _LT_LANG_DEFAULT_CONFIG + +# Obsolete macros: +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) +AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_CXX], []) +dnl AC_DEFUN([AC_LIBTOOL_F77], []) +dnl AC_DEFUN([AC_LIBTOOL_FC], []) +dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) +dnl AC_DEFUN([AC_LIBTOOL_RC], []) + + +# _LT_TAG_COMPILER +# ---------------- +m4_defun([_LT_TAG_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_TAG_COMPILER + + +# _LT_COMPILER_BOILERPLATE +# ------------------------ +# Check for compiler boilerplate output or warnings with +# the simple compiler test code. +m4_defun([_LT_COMPILER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* +])# _LT_COMPILER_BOILERPLATE + + +# _LT_LINKER_BOILERPLATE +# ---------------------- +# Check for linker boilerplate output or warnings with +# the simple link test code. +m4_defun([_LT_LINKER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* +])# _LT_LINKER_BOILERPLATE + +# _LT_REQUIRED_DARWIN_CHECKS +# ------------------------- +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ + case $host_os in + rhapsody* | darwin*) + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) + AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) + AC_CHECK_TOOL([LIPO], [lipo], [:]) + AC_CHECK_TOOL([OTOOL], [otool], [:]) + AC_CHECK_TOOL([OTOOL64], [otool64], [:]) + _LT_DECL([], [DSYMUTIL], [1], + [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) + _LT_DECL([], [NMEDIT], [1], + [Tool to change global to local symbols on Mac OS X]) + _LT_DECL([], [LIPO], [1], + [Tool to manipulate fat objects and archives on Mac OS X]) + _LT_DECL([], [OTOOL], [1], + [ldd/readelf like tool for Mach-O binaries on Mac OS X]) + _LT_DECL([], [OTOOL64], [1], + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) + + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], + [lt_cv_apple_cc_single_mod=no + if test -z "$LT_MULTI_MODULE"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&AS_MESSAGE_LOG_FD + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test 0 = "$_lt_result"; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi]) + + AC_CACHE_CHECK([for -exported_symbols_list linker flag], + [lt_cv_ld_exported_symbols_list], + [lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [lt_cv_ld_exported_symbols_list=yes], + [lt_cv_ld_exported_symbols_list=no]) + LDFLAGS=$save_LDFLAGS + ]) + + AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], + [lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD + echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD + $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD + echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD + $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&AS_MESSAGE_LOG_FD + elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + ]) + case $host_os in + rhapsody* | darwin1.[[012]]) + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + 10.[[012]][[,.]]*) + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test yes = "$lt_cv_apple_cc_single_mod"; then + _lt_dar_single_mod='$single_module' + fi + if test yes = "$lt_cv_ld_exported_symbols_list"; then + _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' + fi + if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac +]) + + +# _LT_DARWIN_LINKER_FEATURES([TAG]) +# --------------------------------- +# Checks for linker and compiler features on darwin +m4_defun([_LT_DARWIN_LINKER_FEATURES], +[ + m4_require([_LT_REQUIRED_DARWIN_CHECKS]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_automatic, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + if test yes = "$lt_cv_ld_force_load"; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], + [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='' + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined + case $cc_basename in + ifort*|nagfor*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test yes = "$_lt_dar_can_shared"; then + output_verbose_link_cmd=func_echo_all + _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" + _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" + m4_if([$1], [CXX], +[ if test yes != "$lt_cv_apple_cc_single_mod"; then + _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" + fi +],[]) + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi +]) + +# _LT_SYS_MODULE_PATH_AIX([TAGNAME]) +# ---------------------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +# Store the results from the different compilers for each TAGNAME. +# Allow to override them for all tags through lt_cv_aix_libpath. +m4_defun([_LT_SYS_MODULE_PATH_AIX], +[m4_require([_LT_DECL_SED])dnl +if test set = "${lt_cv_aix_libpath+set}"; then + aix_libpath=$lt_cv_aix_libpath +else + AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], + [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ + lt_aix_libpath_sed='[ + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }]' + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi],[]) + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib + fi + ]) + aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) +fi +])# _LT_SYS_MODULE_PATH_AIX + + +# _LT_SHELL_INIT(ARG) +# ------------------- +m4_define([_LT_SHELL_INIT], +[m4_divert_text([M4SH-INIT], [$1 +])])# _LT_SHELL_INIT + + + +# _LT_PROG_ECHO_BACKSLASH +# ----------------------- +# Find how we can fake an echo command that does not interpret backslash. +# In particular, with Autoconf 2.60 or later we add some code to the start +# of the generated configure script that will find a shell with a builtin +# printf (that we can use as an echo command). +m4_defun([_LT_PROG_ECHO_BACKSLASH], +[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +AC_MSG_CHECKING([how to print strings]) +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$[]1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + +case $ECHO in + printf*) AC_MSG_RESULT([printf]) ;; + print*) AC_MSG_RESULT([print -r]) ;; + *) AC_MSG_RESULT([cat]) ;; +esac + +m4_ifdef([_AS_DETECT_SUGGESTED], +[_AS_DETECT_SUGGESTED([ + test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test "X`printf %s $ECHO`" = "X$ECHO" \ + || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) + +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) +_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) +])# _LT_PROG_ECHO_BACKSLASH + + +# _LT_WITH_SYSROOT +# ---------------- +AC_DEFUN([_LT_WITH_SYSROOT], +[AC_MSG_CHECKING([for sysroot]) +AC_ARG_WITH([sysroot], +[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], + [Search for dependent libraries within DIR (or the compiler's sysroot + if not specified).])], +[], [with_sysroot=no]) + +dnl lt_sysroot will always be passed unquoted. We quote it here +dnl in case the user passed a directory name. +lt_sysroot= +case $with_sysroot in #( + yes) + if test yes = "$GCC"; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + AC_MSG_RESULT([$with_sysroot]) + AC_MSG_ERROR([The sysroot must be an absolute path.]) + ;; +esac + + AC_MSG_RESULT([${lt_sysroot:-no}]) +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl +[dependent libraries, and where our libraries should be installed.])]) + +# _LT_ENABLE_LOCK +# --------------- +m4_defun([_LT_ENABLE_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AS_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test no = "$enable_libtool_lock" || enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out what ABI is being produced by ac_compile, and set mode + # options accordingly. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE=32 + ;; + *ELF-64*) + HPUX_IA64_MODE=64 + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test yes = "$lt_cv_prog_gnu_ld"; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +mips64*-*linux*) + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + emul=elf + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + emul="${emul}32" + ;; + *64-bit*) + emul="${emul}64" + ;; + esac + case `/usr/bin/file conftest.$ac_objext` in + *MSB*) + emul="${emul}btsmip" + ;; + *LSB*) + emul="${emul}ltsmip" + ;; + esac + case `/usr/bin/file conftest.$ac_objext` in + *N32*) + emul="${emul}n32" + ;; + esac + LD="${LD-ld} -m $emul" + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. Note that the listed cases only cover the + # situations where additional linker options are needed (such as when + # doing 32-bit compilation for a host where ld defaults to 64-bit, or + # vice versa); the common cases where no linker options are needed do + # not appear in the list. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + case `/usr/bin/file conftest.o` in + *x86-64*) + LD="${LD-ld} -m elf32_x86_64" + ;; + *) + LD="${LD-ld} -m elf_i386" + ;; + esac + ;; + powerpc64le-*linux*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + powerpcle-*linux*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test yes != "$lt_cv_cc_needs_belf"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS=$SAVE_CFLAGS + fi + ;; +*-*solaris*) + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) + case $host in + i?86-*-solaris*|x86_64-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD=${LD-ld}_sol2 + fi + ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks=$enable_libtool_lock +])# _LT_ENABLE_LOCK + + +# _LT_PROG_AR +# ----------- +m4_defun([_LT_PROG_AR], +[AC_CHECK_TOOLS(AR, [ar], false) +: ${AR=ar} +: ${AR_FLAGS=cru} +_LT_DECL([], [AR], [1], [The archiver]) +_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) + +AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], + [lt_cv_ar_at_file=no + AC_COMPILE_IFELSE([AC_LANG_PROGRAM], + [echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([lt_ar_try]) + if test 0 -eq "$ac_status"; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + AC_TRY_EVAL([lt_ar_try]) + if test 0 -ne "$ac_status"; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + ]) + ]) + +if test no = "$lt_cv_ar_at_file"; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi +_LT_DECL([], [archiver_list_spec], [1], + [How to feed a file listing to the archiver]) +])# _LT_PROG_AR + + +# _LT_CMD_OLD_ARCHIVE +# ------------------- +m4_defun([_LT_CMD_OLD_ARCHIVE], +[_LT_PROG_AR + +AC_CHECK_TOOL(STRIP, strip, :) +test -z "$STRIP" && STRIP=: +_LT_DECL([], [STRIP], [1], [A symbol stripping program]) + +AC_CHECK_TOOL(RANLIB, ranlib, :) +test -z "$RANLIB" && RANLIB=: +_LT_DECL([], [RANLIB], [1], + [Commands used to install an old-style archive]) + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + bitrig* | openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" +fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac +_LT_DECL([], [old_postinstall_cmds], [2]) +_LT_DECL([], [old_postuninstall_cmds], [2]) +_LT_TAGDECL([], [old_archive_cmds], [2], + [Commands used to build an old-style archive]) +_LT_DECL([], [lock_old_archive_extraction], [0], + [Whether to use a lock for old archive extraction]) +])# _LT_CMD_OLD_ARCHIVE + + +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([_LT_COMPILER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + fi + $RM conftest* +]) + +if test yes = "[$]$2"; then + m4_if([$5], , :, [$5]) +else + m4_if([$6], , :, [$6]) +fi +])# _LT_COMPILER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) + + +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------- +# Check whether the given linker option works +AC_DEFUN([_LT_LINKER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS $3" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + else + $2=yes + fi + fi + $RM -r conftest* + LDFLAGS=$save_LDFLAGS +]) + +if test yes = "[$]$2"; then + m4_if([$4], , :, [$4]) +else + m4_if([$5], , :, [$5]) +fi +])# _LT_LINKER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) + + +# LT_CMD_MAX_LEN +#--------------- +AC_DEFUN([LT_CMD_MAX_LEN], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + teststring=ABCD + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len" && \ + test undefined != "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test 17 != "$i" # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac +]) +if test -n "$lt_cv_sys_max_cmd_len"; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +max_cmd_len=$lt_cv_sys_max_cmd_len +_LT_DECL([], [max_cmd_len], [0], + [What is the maximum length of a command?]) +])# LT_CMD_MAX_LEN + +# Old name: +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) + + +# _LT_HEADER_DLFCN +# ---------------- +m4_defun([_LT_HEADER_DLFCN], +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl +])# _LT_HEADER_DLFCN + + +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# ---------------------------------------------------------------- +m4_defun([_LT_TRY_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test yes = "$cross_compiling"; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +[#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisibility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +}] +_LT_EOF + if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_dlunknown|x*) $3 ;; + esac + else : + # compilation failed + $3 + fi +fi +rm -fr conftest* +])# _LT_TRY_DLOPEN_SELF + + +# LT_SYS_DLOPEN_SELF +# ------------------ +AC_DEFUN([LT_SYS_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test yes != "$enable_dlopen"; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen=load_add_on + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen=LoadLibrary + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen=dlopen + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ + lt_cv_dlopen=dyld + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ]) + ;; + + tpf*) + # Don't try to run any link tests for TPF. We know it's impossible + # because TPF is a cross-compiler, and we know how we open DSOs. + lt_cv_dlopen=dlopen + lt_cv_dlopen_libs= + lt_cv_dlopen_self=no + ;; + + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen=shl_load], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen=dlopen], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld]) + ]) + ]) + ]) + ]) + ]) + ;; + esac + + if test no = "$lt_cv_dlopen"; then + enable_dlopen=no + else + enable_dlopen=yes + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS=$CPPFLAGS + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS=$LDFLAGS + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS=$LIBS + LIBS="$lt_cv_dlopen_libs $LIBS" + + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) + + if test yes = "$lt_cv_dlopen_self"; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) + fi + + CPPFLAGS=$save_CPPFLAGS + LDFLAGS=$save_LDFLAGS + LIBS=$save_LIBS + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi +_LT_DECL([dlopen_support], [enable_dlopen], [0], + [Whether dlopen is supported]) +_LT_DECL([dlopen_self], [enable_dlopen_self], [0], + [Whether dlopen of programs is supported]) +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], + [Whether dlopen of statically linked programs is supported]) +])# LT_SYS_DLOPEN_SELF + +# Old name: +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) + + +# _LT_COMPILER_C_O([TAGNAME]) +# --------------------------- +# Check to see if options -c and -o are simultaneously supported by compiler. +# This macro does not hard code the compiler like AC_PROG_CC_C_O. +m4_defun([_LT_COMPILER_C_O], +[m4_require([_LT_DECL_SED])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . 2>&AS_MESSAGE_LOG_FD + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* +]) +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], + [Does compiler simultaneously support -c and -o options?]) +])# _LT_COMPILER_C_O + + +# _LT_COMPILER_FILE_LOCKS([TAGNAME]) +# ---------------------------------- +# Check to see if we can do hard links to lock some files if needed +m4_defun([_LT_COMPILER_FILE_LOCKS], +[m4_require([_LT_ENABLE_LOCK])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_COMPILER_C_O([$1]) + +hard_links=nottested +if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test no = "$hard_links"; then + AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) +])# _LT_COMPILER_FILE_LOCKS + + +# _LT_CHECK_OBJDIR +# ---------------- +m4_defun([_LT_CHECK_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +_LT_DECL([], [objdir], [0], + [The name of the directory that contains temporary libtool files])dnl +m4_pattern_allow([LT_OBJDIR])dnl +AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/", + [Define to the sub-directory where libtool stores uninstalled libraries.]) +])# _LT_CHECK_OBJDIR + + +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) +# -------------------------------------- +# Check hardcoding attributes. +m4_defun([_LT_LINKER_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || + test -n "$_LT_TAGVAR(runpath_var, $1)" || + test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then + + # We can hardcode non-existent directories. + if test no != "$_LT_TAGVAR(hardcode_direct, $1)" && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" && + test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then + # Linking always hardcodes the temporary library directory. + _LT_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) + +if test relink = "$_LT_TAGVAR(hardcode_action, $1)" || + test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then + # Fast installation is not supported + enable_fast_install=no +elif test yes = "$shlibpath_overrides_runpath" || + test no = "$enable_shared"; then + # Fast installation is not necessary + enable_fast_install=needless +fi +_LT_TAGDECL([], [hardcode_action], [0], + [How to hardcode a shared library path into an executable]) +])# _LT_LINKER_HARDCODE_LIBPATH + + +# _LT_CMD_STRIPLIB +# ---------------- +m4_defun([_LT_CMD_STRIPLIB], +[m4_require([_LT_DECL_EGREP]) +striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP"; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + fi + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +fi +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) +_LT_DECL([], [striplib], [1]) +])# _LT_CMD_STRIPLIB + + +# _LT_PREPARE_MUNGE_PATH_LIST +# --------------------------- +# Make sure func_munge_path_list() is defined correctly. +m4_defun([_LT_PREPARE_MUNGE_PATH_LIST], +[[# func_munge_path_list VARIABLE PATH +# ----------------------------------- +# VARIABLE is name of variable containing _space_ separated list of +# directories to be munged by the contents of PATH, which is string +# having a format: +# "DIR[:DIR]:" +# string "DIR[ DIR]" will be prepended to VARIABLE +# ":DIR[:DIR]" +# string "DIR[ DIR]" will be appended to VARIABLE +# "DIRP[:DIRP]::[DIRA:]DIRA" +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string +# "DIRA[ DIRA]" will be appended to VARIABLE +# "DIR[:DIR]" +# VARIABLE will be replaced by "DIR[ DIR]" +func_munge_path_list () +{ + case x@S|@2 in + x) + ;; + *:) + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" + ;; + x:*) + eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" + ;; + *::*) + eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" + eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" + ;; + *) + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" + ;; + esac +} +]])# _LT_PREPARE_PATH_LIST + + +# _LT_SYS_DYNAMIC_LINKER([TAG]) +# ----------------------------- +# PORTME Fill in your ld.so characteristics +m4_defun([_LT_SYS_DYNAMIC_LINKER], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_OBJDUMP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl +AC_MSG_CHECKING([dynamic linker characteristics]) +m4_if([$1], + [], [ +if test yes = "$GCC"; then + case $host_os in + darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; + *) lt_awk_arg='/^libraries:/' ;; + esac + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; + *) lt_sed_strip_eq='s|=/|/|g' ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary... + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + # ...but if some path component already ends with the multilib dir we assume + # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). + case "$lt_multi_os_dir; $lt_search_path_spec " in + "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) + lt_multi_os_dir= + ;; + esac + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" + elif test -n "$lt_multi_os_dir"; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS = " "; FS = "/|\n";} { + lt_foo = ""; + lt_count = 0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo = "/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[[lt_foo]]++; } + if (lt_freq[[lt_foo]] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=.so +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +AC_ARG_VAR([LT_SYS_LIBRARY_PATH], +[User-defined run-time library search path.]) + +case $host_os in +aix3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$release$shared_ext$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='$libname$release$shared_ext$major' + ;; + +aix[[4-9]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test ia64 = "$host_cpu"; then + # AIX 5 supports IA64 + library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line '#! .'. This would cause the generated library to + # depend on '.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # Using Import Files as archive members, it is possible to support + # filename-based versioning of shared library archives on AIX. While + # this would work for both with and without runtime linking, it will + # prevent static linking of such archives. So we do filename-based + # shared library versioning with .so extension only, which is used + # when both runtime linking and shared linking is enabled. + # Unfortunately, runtime linking may impact performance, so we do + # not want this to be the default eventually. Also, we use the + # versioned .so libs for executables only if there is the -brtl + # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. + # To allow for filename-based versioning support, we need to create + # libNAME.so.V as an archive file, containing: + # *) an Import File, referring to the versioned filename of the + # archive as well as the shared archive member, telling the + # bitwidth (32 or 64) of that shared object, and providing the + # list of exported symbols of that shared object, eventually + # decorated with the 'weak' keyword + # *) the shared object with the F_LOADONLY flag set, to really avoid + # it being seen by the linker. + # At run time we better use the real file rather than another symlink, + # but for link time we create the symlink libNAME.so -> libNAME.so.V + + case $with_aix_soname,$aix_use_runtimelinking in + # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + aix,yes) # traditional libtool + dynamic_linker='AIX unversionable lib.so' + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + ;; + aix,no) # traditional AIX only + dynamic_linker='AIX lib.a[(]lib.so.V[)]' + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='$libname$release.a $libname.a' + soname_spec='$libname$release$shared_ext$major' + ;; + svr4,*) # full svr4 only + dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]" + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' + # We do not specify a path in Import Files, so LIBPATH fires. + shlibpath_overrides_runpath=yes + ;; + *,yes) # both, prefer svr4 + dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]" + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' + # unpreferred sharedlib libNAME.a needs extra handling + postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' + postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' + # We do not specify a path in Import Files, so LIBPATH fires. + shlibpath_overrides_runpath=yes + ;; + *,no) # both, prefer aix + dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]" + library_names_spec='$libname$release.a $libname.a' + soname_spec='$libname$release$shared_ext$major' + # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling + postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' + postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' + ;; + esac + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='$libname$shared_ext' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[[45]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=.dll + need_version=no + need_lib_prefix=no + + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' + library_names_spec='$libname.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec=$LIB + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' + soname_spec='$libname$release$major$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[[23]].*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2.*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[[01]]* | freebsdelf3.[[01]]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=no + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + if test 32 = "$HPUX_IA64_MODE"; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + sys_lib_dlsearch_path_spec=/usr/lib/hpux32 + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + sys_lib_dlsearch_path_spec=/usr/lib/hpux64 + fi + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; + +interix[[3-9]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test yes = "$lt_cv_prog_gnu_ld"; then + version_type=linux # correct to gnu/linux during the next big refactor + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='$libname$release$shared_ext$major' + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" + sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +linux*android*) + version_type=none # Android doesn't support versioned libraries. + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext' + soname_spec='$libname$release$shared_ext' + finish_cmds= + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + dynamic_linker='Android linker' + # Don't embed -rpath directories since the linker doesn't support them. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], + [lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], + [lt_cv_shlibpath_overrides_runpath=yes])]) + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + ]) + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + + # Ideally, we could use ldconfig to report *all* directores which are + # searched for libraries, however this is still not possible. Aside from not + # being certain /sbin/ldconfig is available, command + # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, + # even though it is searched at run-time. Try to do the best guess by + # appending ld.so.conf contents (and includes) to the search path. + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd* | bitrig*) + version_type=sunos + sys_lib_dlsearch_path_spec=/usr/lib + need_lib_prefix=no + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then + need_version=no + else + need_version=yes + fi + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +os2*) + libname_spec='$name' + version_type=windows + shrext_cmds=.dll + need_version=no + need_lib_prefix=no + # OS/2 can only load a DLL with a base name of 8 characters or less. + soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; + v=$($ECHO $release$versuffix | tr -d .-); + n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); + $ECHO $n$v`$shared_ext' + library_names_spec='${libname}_dll.$libext' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=BEGINLIBPATH + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='$libname$release$shared_ext$major' + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test yes = "$with_gnu_ld"; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec; then + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' + soname_spec='$libname$shared_ext.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=sco + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test yes = "$with_gnu_ld"; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test no = "$dynamic_linker" && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test yes = "$GCC"; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then + sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec +fi + +if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then + sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec +fi + +# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... +configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec + +# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code +func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" + +# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool +configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH + +_LT_DECL([], [variables_saved_for_relink], [1], + [Variables whose values should be saved in libtool wrapper scripts and + restored at link time]) +_LT_DECL([], [need_lib_prefix], [0], + [Do we need the "lib" prefix for modules?]) +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) +_LT_DECL([], [version_type], [0], [Library versioning type]) +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) +_LT_DECL([], [shlibpath_overrides_runpath], [0], + [Is shlibpath searched before the hard-coded library search path?]) +_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) +_LT_DECL([], [library_names_spec], [1], + [[List of archive names. First name is the real one, the rest are links. + The last name is the one that the linker finds with -lNAME]]) +_LT_DECL([], [soname_spec], [1], + [[The coded name of the library, if different from the real name]]) +_LT_DECL([], [install_override_mode], [1], + [Permission mode override for installation of shared libraries]) +_LT_DECL([], [postinstall_cmds], [2], + [Command to use after installation of a shared archive]) +_LT_DECL([], [postuninstall_cmds], [2], + [Command to use after uninstallation of a shared archive]) +_LT_DECL([], [finish_cmds], [2], + [Commands used to finish a libtool library installation in a directory]) +_LT_DECL([], [finish_eval], [1], + [[As "finish_cmds", except a single script fragment to be evaled but + not shown]]) +_LT_DECL([], [hardcode_into_libs], [0], + [Whether we should hardcode library paths into libraries]) +_LT_DECL([], [sys_lib_search_path_spec], [2], + [Compile-time system search path for libraries]) +_LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2], + [Detected run-time system search path for libraries]) +_LT_DECL([], [configure_time_lt_sys_library_path], [2], + [Explicit LT_SYS_LIBRARY_PATH set during ./configure time]) +])# _LT_SYS_DYNAMIC_LINKER + + +# _LT_PATH_TOOL_PREFIX(TOOL) +# -------------------------- +# find a file program that can recognize shared library +AC_DEFUN([_LT_PATH_TOOL_PREFIX], +[m4_require([_LT_DECL_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD=$MAGIC_CMD + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="m4_if([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS=$lt_save_ifs + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$1"; then + lt_cv_path_MAGIC_CMD=$ac_dir/"$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD=$lt_cv_path_MAGIC_CMD + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS=$lt_save_ifs + MAGIC_CMD=$lt_save_MAGIC_CMD + ;; +esac]) +MAGIC_CMD=$lt_cv_path_MAGIC_CMD +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +_LT_DECL([], [MAGIC_CMD], [0], + [Used to examine libraries when file_magic_cmd begins with "file"])dnl +])# _LT_PATH_TOOL_PREFIX + +# Old name: +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) + + +# _LT_PATH_MAGIC +# -------------- +# find a file program that can recognize a shared library +m4_defun([_LT_PATH_MAGIC], +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# _LT_PATH_MAGIC + + +# LT_PATH_LD +# ---------- +# find the pathname to the GNU or non-GNU linker +AC_DEFUN([LT_PATH_LD], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl + +AC_ARG_WITH([gnu-ld], + [AS_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test no = "$withval" || with_gnu_ld=yes], + [with_gnu_ld=no])dnl + +ac_prog=ld +if test yes = "$GCC"; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by $CC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return, which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD=$ac_prog + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test yes = "$with_gnu_ld"; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS=$lt_save_ifs + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD=$ac_dir/$ac_prog + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &1 conftest.i +cat conftest.i conftest.i >conftest2.i +: ${lt_DD:=$DD} +AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd], +[if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then + cmp -s conftest.i conftest.out \ + && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: +fi]) +rm -f conftest.i conftest2.i conftest.out]) +])# _LT_PATH_DD + + +# _LT_CMD_TRUNCATE +# ---------------- +# find command to truncate a binary pipe +m4_defun([_LT_CMD_TRUNCATE], +[m4_require([_LT_PATH_DD]) +AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin], +[printf 0123456789abcdef0123456789abcdef >conftest.i +cat conftest.i conftest.i >conftest2.i +lt_cv_truncate_bin= +if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then + cmp -s conftest.i conftest.out \ + && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" +fi +rm -f conftest.i conftest2.i conftest.out +test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"]) +_LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1], + [Command to truncate a binary pipe]) +])# _LT_CMD_TRUNCATE + + +# _LT_CHECK_MAGIC_METHOD +# ---------------------- +# how to check for library dependencies +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_MAGIC_METHOD], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +AC_CACHE_CHECK([how to recognize dependent libraries], +lt_cv_deplibs_check_method, +[lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# 'unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# that responds to the $file_magic_cmd with a given extended regex. +# If you have 'file' or equivalent on your system and you're not sure +# whether 'pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[[4-9]]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[[45]]*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + if ( file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[[3-9]]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd* | bitrig*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +os2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` + fi + ;; + esac +fi + +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + +_LT_DECL([], [deplibs_check_method], [1], + [Method to check whether dependent libraries are shared objects]) +_LT_DECL([], [file_magic_cmd], [1], + [Command to use when deplibs_check_method = "file_magic"]) +_LT_DECL([], [file_magic_glob], [1], + [How to find potential files when deplibs_check_method = "file_magic"]) +_LT_DECL([], [want_nocaseglob], [1], + [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) +])# _LT_CHECK_MAGIC_METHOD + + +# LT_PATH_NM +# ---------- +# find the pathname to a BSD- or MS-compatible name lister +AC_DEFUN([LT_PATH_NM], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM=$NM +else + lt_nm_to_check=${ac_tool_prefix}nm + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS=$lt_save_ifs + test -z "$ac_dir" && ac_dir=. + tmp_nm=$ac_dir/$lt_tmp_nm + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty + case $build_os in + mingw*) lt_bad_file=conftest.nm/nofile ;; + *) lt_bad_file=/dev/null ;; + esac + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in + *$lt_bad_file* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break 2 + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break 2 + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS=$lt_save_ifs + done + : ${lt_cv_path_NM=no} +fi]) +if test no != "$lt_cv_path_NM"; then + NM=$lt_cv_path_NM +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols -headers" + ;; + *) + DUMPBIN=: + ;; + esac + fi + AC_SUBST([DUMPBIN]) + if test : != "$DUMPBIN"; then + NM=$DUMPBIN + fi +fi +test -z "$NM" && NM=nm +AC_SUBST([NM]) +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl + +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], + [lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) + cat conftest.out >&AS_MESSAGE_LOG_FD + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest*]) +])# LT_PATH_NM + +# Old names: +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_PROG_NM], []) +dnl AC_DEFUN([AC_PROG_NM], []) + +# _LT_CHECK_SHAREDLIB_FROM_LINKLIB +# -------------------------------- +# how to determine the name of the shared library +# associated with a specific link library. +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +m4_require([_LT_DECL_DLLTOOL]) +AC_CACHE_CHECK([how to associate runtime and link libraries], +lt_cv_sharedlib_from_linklib_cmd, +[lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh; + # decide which one to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd=$ECHO + ;; +esac +]) +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + +_LT_DECL([], [sharedlib_from_linklib_cmd], [1], + [Command to associate shared and link libraries]) +])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB + + +# _LT_PATH_MANIFEST_TOOL +# ---------------------- +# locate the manifest tool +m4_defun([_LT_PATH_MANIFEST_TOOL], +[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], + [lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&AS_MESSAGE_LOG_FD + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest*]) +if test yes != "$lt_cv_path_mainfest_tool"; then + MANIFEST_TOOL=: +fi +_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl +])# _LT_PATH_MANIFEST_TOOL + + +# _LT_DLL_DEF_P([FILE]) +# --------------------- +# True iff FILE is a Windows DLL '.def' file. +# Keep in sync with func_dll_def_p in the libtool script +AC_DEFUN([_LT_DLL_DEF_P], +[dnl + test DEF = "`$SED -n dnl + -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace + -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments + -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl + -e q dnl Only consider the first "real" line + $1`" dnl +])# _LT_DLL_DEF_P + + +# LT_LIB_M +# -------- +# check for math library +AC_DEFUN([LT_LIB_M], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw) + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM=-lm) + ;; +esac +AC_SUBST([LIBM]) +])# LT_LIB_M + +# Old name: +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_CHECK_LIBM], []) + + +# _LT_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------- +m4_defun([_LT_COMPILER_NO_RTTI], +[m4_require([_LT_TAG_COMPILER])dnl + +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + +if test yes = "$GCC"; then + case $cc_basename in + nvcc*) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; + *) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; + esac + + _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], + [Compiler flag to turn off builtin functions]) +])# _LT_COMPILER_NO_RTTI + + +# _LT_CMD_GLOBAL_SYMBOLS +# ---------------------- +m4_defun([_LT_CMD_GLOBAL_SYMBOLS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([LT_PATH_NM])dnl +AC_REQUIRE([LT_PATH_LD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_TAG_COMPILER])dnl + +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) + if test ia64 = "$host_cpu"; then + symcode='[[ABCDEGRST]]' + fi + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris*) + symcode='[[BDRT]]' + ;; +sco3.2v5*) + symcode='[[DT]]' + ;; +sysv4.2uw2*) + symcode='[[DT]]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[[ABDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGIRSTW]]' ;; +esac + +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Gets list of data symbols to import. + lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" + # Adjust the below global symbol transforms to fixup imported variables. + lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" + lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" + lt_c_name_lib_hook="\ + -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ + -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" +else + # Disable hooks by default. + lt_cv_sys_global_symbol_to_import= + lt_cdecl_hook= + lt_c_name_hook= + lt_c_name_lib_hook= +fi + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +$lt_cdecl_hook\ +" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ +" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ +$lt_c_name_hook\ +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" + +# Transform an extracted symbol line into symbol name with lib prefix and +# symbol address. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ +$lt_c_name_lib_hook\ +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ +" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function, + # D for any global variable and I for any imported variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK ['"\ +" {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ +" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ +" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ +" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ +" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx]" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if AC_TRY_EVAL(ac_compile); then + # Now try to grab the symbols. + nlist=conftest.nm + if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE +/* DATA imports from DLLs on WIN32 can't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT@&t@_DLSYM_CONST +#elif defined __osf__ +/* This system does not cope well with relocations in const data. */ +# define LT@&t@_DLSYM_CONST +#else +# define LT@&t@_DLSYM_CONST const +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +LT@&t@_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[[]] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS=conftstm.$ac_objext + CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test yes = "$pipe_works"; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) +else + AC_MSG_RESULT(ok) +fi + +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], + [Take the output of nm and produce a listing of raw symbols and C names]) +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], + [Transform the output of nm in a proper C declaration]) +_LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1], + [Transform the output of nm into a list of symbols to manually relocate]) +_LT_DECL([global_symbol_to_c_name_address], + [lt_cv_sys_global_symbol_to_c_name_address], [1], + [Transform the output of nm in a C name address pair]) +_LT_DECL([global_symbol_to_c_name_address_lib_prefix], + [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], + [Transform the output of nm in a C name address pair when lib prefix is needed]) +_LT_DECL([nm_interface], [lt_cv_nm_interface], [1], + [The name lister interface]) +_LT_DECL([], [nm_file_list_spec], [1], + [Specify filename containing input files for $NM]) +]) # _LT_CMD_GLOBAL_SYMBOLS + + +# _LT_COMPILER_PIC([TAGNAME]) +# --------------------------- +m4_defun([_LT_COMPILER_PIC], +[m4_require([_LT_TAG_COMPILER])dnl +_LT_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_TAGVAR(lt_prog_compiler_static, $1)= + +m4_if([$1], [CXX], [ + # C++ specific cases for pic, static, wl, etc. + if test yes = "$GXX"; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test ia64 = "$host_cpu"; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the '-m68020' flag to GCC prevents building anything better, + # like '-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + case $host_os in + os2*) + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' + ;; + esac + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix[[4-9]]*) + # All AIX code is PIC. + if test ia64 = "$host_cpu"; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + dgux*) + case $cc_basename in + ec++*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' + if test ia64 != "$host_cpu"; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + case $cc_basename in + KCC*) + # KAI C++ Compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + ecpc* ) + # old Intel C++ for x86_64, which still supported -KPIC. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + icpc* ) + # Intel C++, used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx*) + # Digital/Compaq C++ + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc*) + # Lucid + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + vxworks*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test yes = "$GCC"; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test ia64 = "$host_cpu"; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the '-m68020' flag to GCC prevents building anything better, + # like '-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + case $host_os in + os2*) + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' + ;; + esac + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' + if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test ia64 = "$host_cpu"; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + case $cc_basename in + nagfor*) + # NAG Fortran compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + case $host_os in + os2*) + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' + ;; + esac + ;; + + hpux9* | hpux10* | hpux11*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + case $cc_basename in + # old Intel for x86_64, which still supported -KPIC. + ecc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' + ;; + nagfor*) + # NAG Fortran compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + tcc*) + # Fabrice Bellard et al's Tiny C Compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + ccc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='' + ;; + *Sun\ F* | *Sun*Fortran*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + *Intel*\ [[CF]]*Compiler*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + *Portland\ Group*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + rdos*) + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + solaris*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; + *) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; + esac + ;; + + sunos4*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + unicos*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + + uts4*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +case $host_os in + # For platforms that do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" + ;; +esac + +AC_CACHE_CHECK([for $compiler option to produce PIC], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) +_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], + [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], + [Additional compiler flags for building library objects]) + +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], + [How to pass a linker flag through the compiler]) +# +# Check to make sure the static flag actually works. +# +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], + _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), + $lt_tmp_static_flag, + [], + [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], + [Compiler flag to prevent dynamic linking]) +])# _LT_COMPILER_PIC + + +# _LT_LINKER_SHLIBS([TAGNAME]) +# ---------------------------- +# See if the linker supports building shared libraries. +m4_defun([_LT_LINKER_SHLIBS], +[AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +m4_if([$1], [CXX], [ + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + case $host_os in + aix[[4-9]]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to GNU nm, but means don't demangle to AIX nm. + # Without the "-l" option, or with the "-B" option, AIX nm treats + # weak defined symbols like other global defined symbols, whereas + # GNU nm marks them as "W". + # While the 'weak' keyword is ignored in the Export File, we need + # it in the Import File for the 'aix-soname' feature, so we have + # to replace the "-B" option with "-P" for AIX nm. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds + ;; + cygwin* | mingw* | cegcc*) + case $cc_basename in + cl*) + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + ;; + esac + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac +], [ + runpath_var= + _LT_TAGVAR(allow_undefined_flag, $1)= + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(archive_cmds, $1)= + _LT_TAGVAR(archive_expsym_cmds, $1)= + _LT_TAGVAR(compiler_needs_object, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(hardcode_automatic, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(hardcode_libdir_separator, $1)= + _LT_TAGVAR(hardcode_minus_L, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_TAGVAR(inherit_rpath, $1)=no + _LT_TAGVAR(link_all_deplibs, $1)=unknown + _LT_TAGVAR(module_cmds, $1)= + _LT_TAGVAR(module_expsym_cmds, $1)= + _LT_TAGVAR(old_archive_from_new_cmds, $1)= + _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_TAGVAR(thread_safe_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ' (' and ')$', so one must not match beginning or + # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', + # as well as any symbol that contains 'd'. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. +dnl Note also adjust exclude_expsyms for C++ above. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test yes != "$GCC"; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd* | bitrig*) + with_gnu_ld=no + ;; + esac + + _LT_TAGVAR(ld_shlibs, $1)=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no + if test yes = "$with_gnu_ld"; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; + *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test yes = "$lt_use_gnu_ld_interface"; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='$wl' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + supports_anon_versioning=no + case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[[3-9]]*) + # On AIX/PPC, the GNU linker is very broken + if test ia64 != "$host_cpu"; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.19, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file, use it as + # is; otherwise, prepend EXPORTS... + _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + os2*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + shrext_cmds=.dll + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + prefix_cmds="$SED"~ + if test EXPORTS = "`$SED 1q $export_symbols`"; then + prefix_cmds="$prefix_cmds -e 1d"; + fi~ + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test linux-dietlibc = "$host_os"; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test no = "$tmp_diet" + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + _LT_TAGVAR(whole_archive_flag_spec, $1)= + tmp_sharedflag='--shared' ;; + nagfor*) # NAGFOR 5.3 + tmp_sharedflag='-Wl,-shared' ;; + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + + if test yes = "$supports_anon_versioning"; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + tcc*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' + ;; + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test yes = "$supports_anon_versioning"; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + sunos4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + + if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then + runpath_var= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; + + aix[[4-9]]*) + if test ia64 = "$host_cpu"; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag= + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to GNU nm, but means don't demangle to AIX nm. + # Without the "-l" option, or with the "-B" option, AIX nm treats + # weak defined symbols like other global defined symbols, whereas + # GNU nm marks them as "W". + # While the 'weak' keyword is ignored in the Export File, we need + # it in the Import File for the 'aix-soname' feature, so we have + # to replace the "-B" option with "-P" for AIX nm. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # have runtime linking enabled, and use it for executables. + # For shared libraries, we enable/disable runtime linking + # depending on the kind of the shared library created - + # when "with_aix_soname,aix_use_runtimelinking" is: + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables + # "aix,yes" lib.so shared, rtl:yes, for executables + # lib.a static archive + # "both,no" lib.so.V(shr.o) shared, rtl:yes + # lib.a(lib.so.V) shared, rtl:no, for executables + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables + # lib.a(lib.so.V) shared, rtl:no + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables + # lib.a static archive + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then + aix_use_runtimelinking=yes + break + fi + done + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then + # With aix-soname=svr4, we create the lib.so.V shared archives only, + # so we don't have lib.a shared libs to link our executables. + # We have to force runtime linking in this case. + aix_use_runtimelinking=yes + LDFLAGS="$LDFLAGS -Wl,-brtl" + fi + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='$wl-f,' + case $with_aix_soname,$aix_use_runtimelinking in + aix,*) ;; # traditional, no import file + svr4,* | *,yes) # use import file + # The Import File defines what to hardcode. + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=no + ;; + esac + + if test yes = "$GCC"; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`$CC -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + ;; + esac + shared_flag='-shared' + if test yes = "$aix_use_runtimelinking"; then + shared_flag="$shared_flag "'$wl-G' + fi + # Need to ensure runtime linking is disabled for the traditional + # shared library, or the linker may eventually find shared libraries + # /with/ Import File - we do not want to mix them. + shared_flag_aix='-shared' + shared_flag_svr4='-shared $wl-G' + else + # not using gcc + if test ia64 = "$host_cpu"; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test yes = "$aix_use_runtimelinking"; then + shared_flag='$wl-G' + else + shared_flag='$wl-bM:SRE' + fi + shared_flag_aix='$wl-bM:SRE' + shared_flag_svr4='$wl-G' + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag + else + if test ia64 = "$host_cpu"; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' + if test yes = "$with_gnu_ld"; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' + # -brtl affects multiple linker settings, -berok does not and is overridden later + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' + if test svr4 != "$with_aix_soname"; then + # This is similar to how AIX traditionally builds its shared libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' + fi + if test aix != "$with_aix_soname"; then + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' + else + # used by -dlpreopen to get the symbols + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' + fi + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; + + bsdi[[45]]*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + case $cc_basename in + cl*) + # Native MSVC + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=.dll + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then + cp "$export_symbols" "$output_objdir/$soname.def"; + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; + else + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile=$lt_outputfile.exe + lt_tool_outputfile=$lt_tool_outputfile.exe + ;; + esac~ + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=.dll + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + esac + ;; + + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + + dgux*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2.*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test yes = "$GCC"; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' + ;; + + hpux10*) + if test yes,no = "$GCC,$with_gnu_ld"; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test no = "$with_gnu_ld"; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + fi + ;; + + hpux11*) + if test yes,no = "$GCC,$with_gnu_ld"; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + m4_if($1, [], [ + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + _LT_LINKER_OPTION([if $CC understands -b], + _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) + ;; + esac + fi + if test no = "$with_gnu_ld"; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test yes = "$GCC"; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], + [lt_cv_irix_exported_symbol], + [save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" + AC_LINK_IFELSE( + [AC_LANG_SOURCE( + [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], + [C++], [[int foo (void) { return 0; }]], + [Fortran 77], [[ + subroutine foo + end]], + [Fortran], [[ + subroutine foo + end]])])], + [lt_cv_irix_exported_symbol=yes], + [lt_cv_irix_exported_symbol=no]) + LDFLAGS=$save_LDFLAGS]) + if test yes = "$lt_cv_irix_exported_symbol"; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' + fi + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + linux*) + case $cc_basename in + tcc*) + # Fabrice Bellard et al's Tiny C Compiler + _LT_TAGVAR(ld_shlibs, $1)=yes + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *nto* | *qnx*) + ;; + + openbsd* | bitrig*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' + fi + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + os2*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + shrext_cmds=.dll + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + prefix_cmds="$SED"~ + if test EXPORTS = "`$SED 1q $export_symbols`"; then + prefix_cmds="$prefix_cmds -e 1d"; + fi~ + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + osf3*) + if test yes = "$GCC"; then + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test yes = "$GCC"; then + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + solaris*) + _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' + if test yes = "$GCC"; then + wlarc='$wl' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='$wl' + _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands '-z linker_flag'. GCC discards it without '$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test yes = "$GCC"; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + fi + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + sunos4*) + if test sequent = "$host_vendor"; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4) + case $host_vendor in + sni) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4.3*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + if test yes = "$GCC"; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We CANNOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' + runpath_var='LD_RUN_PATH' + + if test yes = "$GCC"; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + + if test sni = "$host_vendor"; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym' + ;; + esac + fi + fi +]) +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) +test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no + +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld + +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl +_LT_DECL([], [extract_expsyms_cmds], [2], + [The commands to extract the exported symbol list from a shared archive]) + +# +# Do we need to explicitly link libc? +# +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test yes,yes = "$GCC,$enable_shared"; then + case $_LT_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_CACHE_CHECK([whether -lc should be explicitly linked in], + [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), + [$RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) + _LT_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) + then + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no + else + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + ]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) + ;; + esac + fi + ;; +esac + +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], + [Whether or not to add -lc for building shared libraries]) +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes], + [enable_shared_with_static_runtimes], [0], + [Whether or not to disallow shared libs when runtime libs are static]) +_LT_TAGDECL([], [export_dynamic_flag_spec], [1], + [Compiler flag to allow reflexive dlopens]) +_LT_TAGDECL([], [whole_archive_flag_spec], [1], + [Compiler flag to generate shared objects directly from archives]) +_LT_TAGDECL([], [compiler_needs_object], [1], + [Whether the compiler copes with passing no objects directly]) +_LT_TAGDECL([], [old_archive_from_new_cmds], [2], + [Create an old-style archive from a shared archive]) +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], + [Create a temporary old-style archive to link instead of a shared archive]) +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) +_LT_TAGDECL([], [archive_expsym_cmds], [2]) +_LT_TAGDECL([], [module_cmds], [2], + [Commands used to build a loadable module if different from building + a shared archive.]) +_LT_TAGDECL([], [module_expsym_cmds], [2]) +_LT_TAGDECL([], [with_gnu_ld], [1], + [Whether we are building with GNU ld or not]) +_LT_TAGDECL([], [allow_undefined_flag], [1], + [Flag that allows shared libraries with undefined symbols to be built]) +_LT_TAGDECL([], [no_undefined_flag], [1], + [Flag that enforces no undefined symbols]) +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], + [Flag to hardcode $libdir into a binary during linking. + This must work even if $libdir does not exist]) +_LT_TAGDECL([], [hardcode_libdir_separator], [1], + [Whether we need a single "-rpath" flag with a separated argument]) +_LT_TAGDECL([], [hardcode_direct], [0], + [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes + DIR into the resulting binary]) +_LT_TAGDECL([], [hardcode_direct_absolute], [0], + [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes + DIR into the resulting binary and the resulting library dependency is + "absolute", i.e impossible to change by setting $shlibpath_var if the + library is relocated]) +_LT_TAGDECL([], [hardcode_minus_L], [0], + [Set to "yes" if using the -LDIR flag during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_shlibpath_var], [0], + [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_automatic], [0], + [Set to "yes" if building a shared library automatically hardcodes DIR + into the library and all subsequent libraries and executables linked + against it]) +_LT_TAGDECL([], [inherit_rpath], [0], + [Set to yes if linker adds runtime paths of dependent libraries + to runtime path list]) +_LT_TAGDECL([], [link_all_deplibs], [0], + [Whether libtool must link a program against all its dependency libraries]) +_LT_TAGDECL([], [always_export_symbols], [0], + [Set to "yes" if exported symbols are required]) +_LT_TAGDECL([], [export_symbols_cmds], [2], + [The commands to list exported symbols]) +_LT_TAGDECL([], [exclude_expsyms], [1], + [Symbols that should not be listed in the preloaded symbols]) +_LT_TAGDECL([], [include_expsyms], [1], + [Symbols that must always be exported]) +_LT_TAGDECL([], [prelink_cmds], [2], + [Commands necessary for linking programs (against libraries) with templates]) +_LT_TAGDECL([], [postlink_cmds], [2], + [Commands necessary for finishing linking programs]) +_LT_TAGDECL([], [file_list_spec], [1], + [Specify filename containing input files]) +dnl FIXME: Not yet implemented +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], +dnl [Compiler flag to generate thread safe objects]) +])# _LT_LINKER_SHLIBS + + +# _LT_LANG_C_CONFIG([TAG]) +# ------------------------ +# Ensure that the configuration variables for a C compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to 'libtool'. +m4_defun([_LT_LANG_C_CONFIG], +[m4_require([_LT_DECL_EGREP])dnl +lt_save_CC=$CC +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + +_LT_TAG_COMPILER +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + LT_SYS_DLOPEN_SELF + _LT_CMD_STRIPLIB + + # Report what library types will actually be built + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test no = "$can_build_shared" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test yes = "$enable_shared" && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[[4-9]]*) + if test ia64 != "$host_cpu"; then + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in + yes,aix,yes) ;; # shared object as lib.so file only + yes,svr4,*) ;; # shared object as lib.so archive member only + yes,*) enable_static=no ;; # shared object in lib.a archive as well + esac + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test yes = "$enable_shared" || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_CONFIG($1) +fi +AC_LANG_POP +CC=$lt_save_CC +])# _LT_LANG_C_CONFIG + + +# _LT_LANG_CXX_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a C++ compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to 'libtool'. +m4_defun([_LT_LANG_CXX_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +if test -n "$CXX" && ( test no != "$CXX" && + ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || + (test g++ != "$CXX"))); then + AC_PROG_CXXCPP +else + _lt_caught_CXX_error=yes +fi + +AC_LANG_PUSH(C++) +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(compiler_needs_object, $1)=no +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the CXX compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test yes != "$_lt_caught_CXX_error"; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="int some_variable = 0;" + + # Code to be used in simple link tests + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC=$CC + lt_save_CFLAGS=$CFLAGS + lt_save_LD=$LD + lt_save_GCC=$GCC + GCC=$GXX + lt_save_with_gnu_ld=$with_gnu_ld + lt_save_path_LD=$lt_cv_path_LD + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx + else + $as_unset lt_cv_prog_gnu_ld + fi + if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX + else + $as_unset lt_cv_path_LD + fi + test -z "${LDCXX+set}" || LD=$LDCXX + CC=${CXX-"c++"} + CFLAGS=$CXXFLAGS + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + + if test -n "$compiler"; then + # We don't want -fno-exception when compiling C++ code, so set the + # no_builtin_flag separately + if test yes = "$GXX"; then + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + else + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + fi + + if test yes = "$GXX"; then + # Set up default GNU C++ configuration + + LT_PATH_LD + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test yes = "$with_gnu_ld"; then + _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='$wl' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | + $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + GXX=no + with_gnu_ld=no + wlarc= + fi + + # PORTME: fill in a description of your system's C++ link characteristics + AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) + _LT_TAGVAR(ld_shlibs, $1)=yes + case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aix[[4-9]]*) + if test ia64 = "$host_cpu"; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag= + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # have runtime linking enabled, and use it for executables. + # For shared libraries, we enable/disable runtime linking + # depending on the kind of the shared library created - + # when "with_aix_soname,aix_use_runtimelinking" is: + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables + # "aix,yes" lib.so shared, rtl:yes, for executables + # lib.a static archive + # "both,no" lib.so.V(shr.o) shared, rtl:yes + # lib.a(lib.so.V) shared, rtl:no, for executables + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables + # lib.a(lib.so.V) shared, rtl:no + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables + # lib.a static archive + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then + # With aix-soname=svr4, we create the lib.so.V shared archives only, + # so we don't have lib.a shared libs to link our executables. + # We have to force runtime linking in this case. + aix_use_runtimelinking=yes + LDFLAGS="$LDFLAGS -Wl,-brtl" + fi + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='$wl-f,' + case $with_aix_soname,$aix_use_runtimelinking in + aix,*) ;; # no import file + svr4,* | *,yes) # use import file + # The Import File defines what to hardcode. + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=no + ;; + esac + + if test yes = "$GXX"; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`$CC -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + if test yes = "$aix_use_runtimelinking"; then + shared_flag=$shared_flag' $wl-G' + fi + # Need to ensure runtime linking is disabled for the traditional + # shared library, or the linker may eventually find shared libraries + # /with/ Import File - we do not want to mix them. + shared_flag_aix='-shared' + shared_flag_svr4='-shared $wl-G' + else + # not using gcc + if test ia64 = "$host_cpu"; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test yes = "$aix_use_runtimelinking"; then + shared_flag='$wl-G' + else + shared_flag='$wl-bM:SRE' + fi + shared_flag_aix='$wl-bM:SRE' + shared_flag_svr4='$wl-G' + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to + # export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + # The "-G" linker flag allows undefined symbols. + _LT_TAGVAR(no_undefined_flag, $1)='-bernotok' + # Determine the default libpath from the value encoded in an empty + # executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" + + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag + else + if test ia64 = "$host_cpu"; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' + if test yes = "$with_gnu_ld"; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' + # -brtl affects multiple linker settings, -berok does not and is overridden later + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' + if test svr4 != "$with_aix_soname"; then + # This is similar to how AIX traditionally builds its shared + # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' + fi + if test aix != "$with_aix_soname"; then + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' + else + # used by -dlpreopen to get the symbols + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' + fi + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' + fi + fi + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32* | cegcc*) + case $GXX,$cc_basename in + ,cl* | no,cl*) + # Native MSVC + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=.dll + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then + cp "$export_symbols" "$output_objdir/$soname.def"; + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; + else + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile=$lt_outputfile.exe + lt_tool_outputfile=$lt_tool_outputfile.exe + ;; + esac~ + func_to_tool_file "$lt_outputfile"~ + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # g++ + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file, use it as + # is; otherwise, prepend EXPORTS... + _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + + os2*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + shrext_cmds=.dll + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + prefix_cmds="$SED"~ + if test EXPORTS = "`$SED 1q $export_symbols`"; then + prefix_cmds="$prefix_cmds -e 1d"; + fi~ + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + dgux*) + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx*) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + freebsd2.*) + # C++ shared libraries reported to be fairly broken before + # switch to ELF + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + freebsd-elf*) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + + freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + hpux9*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test yes = "$GXX"; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + hpux10*|hpux11*) + if test no = "$with_gnu_ld"; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test yes = "$GXX"; then + if test no = "$with_gnu_ld"; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test yes = "$GXX"; then + if test no = "$with_gnu_ld"; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' + fi + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc* | ecpc* ) + # Intel C++ + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + case `$CC -V` in + *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) + _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' + _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ + $RANLIB $oldlib' + _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 6 and above use weak symbols + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + ;; + cxx*) + # Compaq C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' + ;; + xl* | mpixl* | bgxl*) + # IBM XL 8.0 on PPC, with GNU ld + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + if test yes = "$supports_anon_versioning"; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' + fi + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + esac + ;; + esac + ;; + + lynxos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + m88k*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + mvs*) + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + + *nto* | *qnx*) + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + openbsd* | bitrig*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' + _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' + fi + output_verbose_link_cmd=func_echo_all + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + case $host in + osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; + *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; + esac + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + cxx*) + case $host in + osf3*) + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' + ;; + *) + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ + $RM $lib.exp' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test yes,no = "$GXX,$with_gnu_ld"; then + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' + case $host in + osf3*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + psos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + lcc*) + # Lucid + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(archive_cmds_need_lc,$1)=yes + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands '-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test yes,no = "$GXX,$with_gnu_ld"; then + _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs' + if $CC --version | $GREP -v '^2\.7' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + else + # g++ 2.7 appears to require '-G' NOT '-shared' on this + # platform. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + fi + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We CANNOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ + '"$_LT_TAGVAR(old_archive_cmds, $1)" + _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ + '"$_LT_TAGVAR(reload_cmds, $1)" + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + vxworks*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + + AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) + test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no + + _LT_TAGVAR(GCC, $1)=$GXX + _LT_TAGVAR(LD, $1)=$LD + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS + LDCXX=$LD + LD=$lt_save_LD + GCC=$lt_save_GCC + with_gnu_ld=$lt_save_with_gnu_ld + lt_cv_path_LDCXX=$lt_cv_path_LD + lt_cv_path_LD=$lt_save_path_LD + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +fi # test yes != "$_lt_caught_CXX_error" + +AC_LANG_POP +])# _LT_LANG_CXX_CONFIG + + +# _LT_FUNC_STRIPNAME_CNF +# ---------------------- +# func_stripname_cnf prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# +# This function is identical to the (non-XSI) version of func_stripname, +# except this one can be used by m4 code that may be executed by configure, +# rather than the libtool script. +m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl +AC_REQUIRE([_LT_DECL_SED]) +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) +func_stripname_cnf () +{ + case @S|@2 in + .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;; + *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;; + esac +} # func_stripname_cnf +])# _LT_FUNC_STRIPNAME_CNF + + +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) +# --------------------------------- +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +m4_defun([_LT_SYS_HIDDEN_LIBDEPS], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl +# Dependencies to place before and after the object being linked: +_LT_TAGVAR(predep_objects, $1)= +_LT_TAGVAR(postdep_objects, $1)= +_LT_TAGVAR(predeps, $1)= +_LT_TAGVAR(postdeps, $1)= +_LT_TAGVAR(compiler_lib_search_path, $1)= + +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF +int a; +void foo (void) { a = 0; } +_LT_EOF +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF +class Foo +{ +public: + Foo (void) { a = 0; } +private: + int a; +}; +_LT_EOF +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer*4 a + a=0 + return + end +_LT_EOF +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer a + a=0 + return + end +_LT_EOF +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF +public class foo { + private int a; + public void bar (void) { + a = 0; + } +}; +_LT_EOF +], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF +package foo +func foo() { +} +_LT_EOF +]) + +_lt_libdeps_save_CFLAGS=$CFLAGS +case "$CC $CFLAGS " in #( +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; +esac + +dnl Parse the compiler output and extract the necessary +dnl objects, libraries and library flags. +if AC_TRY_EVAL(ac_compile); then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + for p in `eval "$output_verbose_link_cmd"`; do + case $prev$p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test x-L = "$p" || + test x-R = "$p"; then + prev=$p + continue + fi + + # Expand the sysroot to ease extracting the directories later. + if test -z "$prev"; then + case $p in + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; + esac + fi + case $p in + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; + esac + if test no = "$pre_test_object_deps_done"; then + case $prev in + -L | -R) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then + _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p + else + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$_LT_TAGVAR(postdeps, $1)"; then + _LT_TAGVAR(postdeps, $1)=$prev$p + else + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p" + fi + fi + prev= + ;; + + *.lto.$objext) ;; # Ignore GCC LTO objects + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test no = "$pre_test_object_deps_done"; then + if test -z "$_LT_TAGVAR(predep_objects, $1)"; then + _LT_TAGVAR(predep_objects, $1)=$p + else + _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" + fi + else + if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then + _LT_TAGVAR(postdep_objects, $1)=$p + else + _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling $1 test program" +fi + +$RM -f confest.$objext +CFLAGS=$_lt_libdeps_save_CFLAGS + +# PORTME: override above test on systems where it is broken +m4_if([$1], [CXX], +[case $host_os in +interix[[3-9]]*) + # Interix 3.5 installs completely hosed .la files for C++, so rather than + # hack all around it, let's just trust "g++" to DTRT. + _LT_TAGVAR(predep_objects,$1)= + _LT_TAGVAR(postdep_objects,$1)= + _LT_TAGVAR(postdeps,$1)= + ;; +esac +]) + +case " $_LT_TAGVAR(postdeps, $1) " in +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; +esac + _LT_TAGVAR(compiler_lib_search_dirs, $1)= +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'` +fi +_LT_TAGDECL([], [compiler_lib_search_dirs], [1], + [The directories searched by this compiler when creating a shared library]) +_LT_TAGDECL([], [predep_objects], [1], + [Dependencies to place before and after the objects being linked to + create a shared library]) +_LT_TAGDECL([], [postdep_objects], [1]) +_LT_TAGDECL([], [predeps], [1]) +_LT_TAGDECL([], [postdeps], [1]) +_LT_TAGDECL([], [compiler_lib_search_path], [1], + [The library search path used internally by the compiler when linking + a shared library]) +])# _LT_SYS_HIDDEN_LIBDEPS + + +# _LT_LANG_F77_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a Fortran 77 compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to 'libtool'. +m4_defun([_LT_LANG_F77_CONFIG], +[AC_LANG_PUSH(Fortran 77) +if test -z "$F77" || test no = "$F77"; then + _lt_disable_F77=yes +fi + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the F77 compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test yes != "$_lt_disable_F77"; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" + + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC=$CC + lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS + CC=${F77-"f77"} + CFLAGS=$FFLAGS + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + GCC=$G77 + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test no = "$can_build_shared" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test yes = "$enable_shared" && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test ia64 != "$host_cpu"; then + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in + yes,aix,yes) ;; # shared object as lib.so file only + yes,svr4,*) ;; # shared object as lib.so archive member only + yes,*) enable_static=no ;; # shared object in lib.a archive as well + esac + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test yes = "$enable_shared" || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)=$G77 + _LT_TAGVAR(LD, $1)=$LD + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS +fi # test yes != "$_lt_disable_F77" + +AC_LANG_POP +])# _LT_LANG_F77_CONFIG + + +# _LT_LANG_FC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for a Fortran compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to 'libtool'. +m4_defun([_LT_LANG_FC_CONFIG], +[AC_LANG_PUSH(Fortran) + +if test -z "$FC" || test no = "$FC"; then + _lt_disable_FC=yes +fi + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for fc test sources. +ac_ext=${ac_fc_srcext-f} + +# Object file extension for compiled fc test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the FC compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test yes != "$_lt_disable_FC"; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" + + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC=$CC + lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS + CC=${FC-"f95"} + CFLAGS=$FCFLAGS + compiler=$CC + GCC=$ac_cv_fc_compiler_gnu + + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test no = "$can_build_shared" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test yes = "$enable_shared" && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test ia64 != "$host_cpu"; then + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in + yes,aix,yes) ;; # shared object as lib.so file only + yes,svr4,*) ;; # shared object as lib.so archive member only + yes,*) enable_static=no ;; # shared object in lib.a archive as well + esac + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test yes = "$enable_shared" || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu + _LT_TAGVAR(LD, $1)=$LD + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS +fi # test yes != "$_lt_disable_FC" + +AC_LANG_POP +])# _LT_LANG_FC_CONFIG + + +# _LT_LANG_GCJ_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Java Compiler compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to 'libtool'. +m4_defun([_LT_LANG_GCJ_CONFIG], +[AC_REQUIRE([LT_PROG_GCJ])dnl +AC_LANG_SAVE + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC=yes +CC=${GCJ-"gcj"} +CFLAGS=$GCJFLAGS +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)=$LD +_LT_CC_BASENAME([$compiler]) + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds + +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) +fi + +AC_LANG_RESTORE + +GCC=$lt_save_GCC +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_GCJ_CONFIG + + +# _LT_LANG_GO_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Go compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to 'libtool'. +m4_defun([_LT_LANG_GO_CONFIG], +[AC_REQUIRE([LT_PROG_GO])dnl +AC_LANG_SAVE + +# Source file extension for Go test sources. +ac_ext=go + +# Object file extension for compiled Go test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="package main; func main() { }" + +# Code to be used in simple link tests +lt_simple_link_test_code='package main; func main() { }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC=yes +CC=${GOC-"gccgo"} +CFLAGS=$GOFLAGS +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)=$LD +_LT_CC_BASENAME([$compiler]) + +# Go did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds + +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) +fi + +AC_LANG_RESTORE + +GCC=$lt_save_GCC +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_GO_CONFIG + + +# _LT_LANG_RC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for the Windows resource compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to 'libtool'. +m4_defun([_LT_LANG_RC_CONFIG], +[AC_REQUIRE([LT_PROG_RC])dnl +AC_LANG_SAVE + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' + +# Code to be used in simple link tests +lt_simple_link_test_code=$lt_simple_compile_test_code + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC= +CC=${RC-"windres"} +CFLAGS= +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) +_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + +if test -n "$compiler"; then + : + _LT_CONFIG($1) +fi + +GCC=$lt_save_GCC +AC_LANG_RESTORE +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_RC_CONFIG + + +# LT_PROG_GCJ +# ----------- +AC_DEFUN([LT_PROG_GCJ], +[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], + [AC_CHECK_TOOL(GCJ, gcj,) + test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS)])])[]dnl +]) + +# Old name: +AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_GCJ], []) + + +# LT_PROG_GO +# ---------- +AC_DEFUN([LT_PROG_GO], +[AC_CHECK_TOOL(GOC, gccgo,) +]) + + +# LT_PROG_RC +# ---------- +AC_DEFUN([LT_PROG_RC], +[AC_CHECK_TOOL(RC, windres,) +]) + +# Old name: +AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_RC], []) + + +# _LT_DECL_EGREP +# -------------- +# If we don't have a new enough Autoconf to choose the best grep +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_EGREP], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_REQUIRE([AC_PROG_FGREP])dnl +test -z "$GREP" && GREP=grep +_LT_DECL([], [GREP], [1], [A grep program that handles long lines]) +_LT_DECL([], [EGREP], [1], [An ERE matcher]) +_LT_DECL([], [FGREP], [1], [A literal string matcher]) +dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too +AC_SUBST([GREP]) +]) + + +# _LT_DECL_OBJDUMP +# -------------- +# If we don't have a new enough Autoconf to choose the best objdump +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_OBJDUMP], +[AC_CHECK_TOOL(OBJDUMP, objdump, false) +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) +AC_SUBST([OBJDUMP]) +]) + +# _LT_DECL_DLLTOOL +# ---------------- +# Ensure DLLTOOL variable is set. +m4_defun([_LT_DECL_DLLTOOL], +[AC_CHECK_TOOL(DLLTOOL, dlltool, false) +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program]) +AC_SUBST([DLLTOOL]) +]) + +# _LT_DECL_SED +# ------------ +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +m4_defun([_LT_DECL_SED], +[AC_PROG_SED +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" +_LT_DECL([], [SED], [1], [A sed program that does not truncate output]) +_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], + [Sed that helps us avoid accidentally triggering echo(1) options like -n]) +])# _LT_DECL_SED + +m4_ifndef([AC_PROG_SED], [ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # + +m4_defun([AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +IFS=$as_save_IFS +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f "$lt_ac_sed" && continue + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test 10 -lt "$lt_ac_count" && break + lt_ac_count=`expr $lt_ac_count + 1` + if test "$lt_ac_count" -gt "$lt_ac_max"; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +]) +SED=$lt_cv_path_SED +AC_SUBST([SED]) +AC_MSG_RESULT([$SED]) +])#AC_PROG_SED +])#m4_ifndef + +# Old name: +AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_SED], []) + + +# _LT_CHECK_SHELL_FEATURES +# ------------------------ +# Find out whether the shell is Bourne or XSI compatible, +# or has some other useful features. +m4_defun([_LT_CHECK_SHELL_FEATURES], +[if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi +_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac +_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl +_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl +])# _LT_CHECK_SHELL_FEATURES + + +# _LT_PATH_CONVERSION_FUNCTIONS +# ----------------------------- +# Determine what file name conversion functions should be used by +# func_to_host_file (and, implicitly, by func_to_host_path). These are needed +# for certain cross-compile configurations and native mingw. +m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_MSG_CHECKING([how to convert $build file names to $host format]) +AC_CACHE_VAL(lt_cv_to_host_file_cmd, +[case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac +]) +to_host_file_cmd=$lt_cv_to_host_file_cmd +AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) +_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], + [0], [convert $build file names to $host format])dnl + +AC_MSG_CHECKING([how to convert $build file names to toolchain format]) +AC_CACHE_VAL(lt_cv_to_tool_file_cmd, +[#assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac +]) +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) +_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], + [0], [convert $build files to toolchain format])dnl +])# _LT_PATH_CONVERSION_FUNCTIONS + +# Helper functions for option handling. -*- Autoconf -*- +# +# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software +# Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 8 ltoptions.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) + + +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) +# ------------------------------------------ +m4_define([_LT_MANGLE_OPTION], +[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) + + +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) +# --------------------------------------- +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a +# matching handler defined, dispatch to it. Other OPTION-NAMEs are +# saved as a flag. +m4_define([_LT_SET_OPTION], +[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl +m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), + _LT_MANGLE_DEFUN([$1], [$2]), + [m4_warning([Unknown $1 option '$2'])])[]dnl +]) + + +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) +# ------------------------------------------------------------ +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +m4_define([_LT_IF_OPTION], +[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) + + +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) +# ------------------------------------------------------- +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME +# are set. +m4_define([_LT_UNLESS_OPTIONS], +[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), + [m4_define([$0_found])])])[]dnl +m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 +])[]dnl +]) + + +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) +# ---------------------------------------- +# OPTION-LIST is a space-separated list of Libtool options associated +# with MACRO-NAME. If any OPTION has a matching handler declared with +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about +# the unknown option and exit. +m4_defun([_LT_SET_OPTIONS], +[# Set options +m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [_LT_SET_OPTION([$1], _LT_Option)]) + +m4_if([$1],[LT_INIT],[ + dnl + dnl Simply set some default values (i.e off) if boolean options were not + dnl specified: + _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no + ]) + _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no + ]) + dnl + dnl If no reference was made to various pairs of opposing options, then + dnl we run the default mode handler for the pair. For example, if neither + dnl 'shared' nor 'disable-shared' was passed, we enable building of shared + dnl archives by default: + _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) + _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], + [_LT_ENABLE_FAST_INSTALL]) + _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], + [_LT_WITH_AIX_SONAME([aix])]) + ]) +])# _LT_SET_OPTIONS + + + +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) +# ----------------------------------------- +m4_define([_LT_MANGLE_DEFUN], +[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) + + +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) +# ----------------------------------------------- +m4_define([LT_OPTION_DEFINE], +[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl +])# LT_OPTION_DEFINE + + +# dlopen +# ------ +LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes +]) + +AU_DEFUN([AC_LIBTOOL_DLOPEN], +[_LT_SET_OPTION([LT_INIT], [dlopen]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the 'dlopen' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) + + +# win32-dll +# --------- +# Declare package support for building win32 dll's. +LT_OPTION_DEFINE([LT_INIT], [win32-dll], +[enable_win32_dll=yes + +case $host in +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; +esac + +test -z "$AS" && AS=as +_LT_DECL([], [AS], [1], [Assembler program])dnl + +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl + +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl +])# win32-dll + +AU_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +_LT_SET_OPTION([LT_INIT], [win32-dll]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the 'win32-dll' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) + + +# _LT_ENABLE_SHARED([DEFAULT]) +# ---------------------------- +# implement the --enable-shared flag, and supports the 'shared' and +# 'disable-shared' LT_INIT options. +# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. +m4_define([_LT_ENABLE_SHARED], +[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([shared], + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS=$lt_save_ifs + ;; + esac], + [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) + + _LT_DECL([build_libtool_libs], [enable_shared], [0], + [Whether or not to build shared libraries]) +])# _LT_ENABLE_SHARED + +LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) +]) + +AC_DEFUN([AC_DISABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], [disable-shared]) +]) + +AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_SHARED], []) +dnl AC_DEFUN([AM_DISABLE_SHARED], []) + + + +# _LT_ENABLE_STATIC([DEFAULT]) +# ---------------------------- +# implement the --enable-static flag, and support the 'static' and +# 'disable-static' LT_INIT options. +# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. +m4_define([_LT_ENABLE_STATIC], +[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([static], + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS=$lt_save_ifs + ;; + esac], + [enable_static=]_LT_ENABLE_STATIC_DEFAULT) + + _LT_DECL([build_old_libs], [enable_static], [0], + [Whether or not to build static libraries]) +])# _LT_ENABLE_STATIC + +LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) +]) + +AC_DEFUN([AC_DISABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], [disable-static]) +]) + +AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_STATIC], []) +dnl AC_DEFUN([AM_DISABLE_STATIC], []) + + + +# _LT_ENABLE_FAST_INSTALL([DEFAULT]) +# ---------------------------------- +# implement the --enable-fast-install flag, and support the 'fast-install' +# and 'disable-fast-install' LT_INIT options. +# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. +m4_define([_LT_ENABLE_FAST_INSTALL], +[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([fast-install], + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS=$lt_save_ifs + ;; + esac], + [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) + +_LT_DECL([fast_install], [enable_fast_install], [0], + [Whether or not to optimize for fast installation])dnl +])# _LT_ENABLE_FAST_INSTALL + +LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) + +# Old names: +AU_DEFUN([AC_ENABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the 'fast-install' option into LT_INIT's first parameter.]) +]) + +AU_DEFUN([AC_DISABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the 'disable-fast-install' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) +dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) + + +# _LT_WITH_AIX_SONAME([DEFAULT]) +# ---------------------------------- +# implement the --with-aix-soname flag, and support the `aix-soname=aix' +# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT +# is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. +m4_define([_LT_WITH_AIX_SONAME], +[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl +shared_archive_member_spec= +case $host,$enable_shared in +power*-*-aix[[5-9]]*,yes) + AC_MSG_CHECKING([which variant of shared library versioning to provide]) + AC_ARG_WITH([aix-soname], + [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], + [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])], + [case $withval in + aix|svr4|both) + ;; + *) + AC_MSG_ERROR([Unknown argument to --with-aix-soname]) + ;; + esac + lt_cv_with_aix_soname=$with_aix_soname], + [AC_CACHE_VAL([lt_cv_with_aix_soname], + [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) + with_aix_soname=$lt_cv_with_aix_soname]) + AC_MSG_RESULT([$with_aix_soname]) + if test aix != "$with_aix_soname"; then + # For the AIX way of multilib, we name the shared archive member + # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', + # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. + # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, + # the AIX toolchain works better with OBJECT_MODE set (default 32). + if test 64 = "${OBJECT_MODE-32}"; then + shared_archive_member_spec=shr_64 + else + shared_archive_member_spec=shr + fi + fi + ;; +*) + with_aix_soname=aix + ;; +esac + +_LT_DECL([], [shared_archive_member_spec], [0], + [Shared archive member basename, for filename based shared library versioning on AIX])dnl +])# _LT_WITH_AIX_SONAME + +LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) +LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) +LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) + + +# _LT_WITH_PIC([MODE]) +# -------------------- +# implement the --with-pic flag, and support the 'pic-only' and 'no-pic' +# LT_INIT options. +# MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. +m4_define([_LT_WITH_PIC], +[AC_ARG_WITH([pic], + [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for lt_pkg in $withval; do + IFS=$lt_save_ifs + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS=$lt_save_ifs + ;; + esac], + [pic_mode=m4_default([$1], [default])]) + +_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl +])# _LT_WITH_PIC + +LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) + +# Old name: +AU_DEFUN([AC_LIBTOOL_PICMODE], +[_LT_SET_OPTION([LT_INIT], [pic-only]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the 'pic-only' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) + + +m4_define([_LTDL_MODE], []) +LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], + [m4_define([_LTDL_MODE], [nonrecursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [recursive], + [m4_define([_LTDL_MODE], [recursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [subproject], + [m4_define([_LTDL_MODE], [subproject])]) + +m4_define([_LTDL_TYPE], []) +LT_OPTION_DEFINE([LTDL_INIT], [installable], + [m4_define([_LTDL_TYPE], [installable])]) +LT_OPTION_DEFINE([LTDL_INIT], [convenience], + [m4_define([_LTDL_TYPE], [convenience])]) + +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- +# +# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software +# Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 6 ltsugar.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) + + +# lt_join(SEP, ARG1, [ARG2...]) +# ----------------------------- +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their +# associated separator. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier +# versions in m4sugar had bugs. +m4_define([lt_join], +[m4_if([$#], [1], [], + [$#], [2], [[$2]], + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) +m4_define([_lt_join], +[m4_if([$#$2], [2], [], + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) + + +# lt_car(LIST) +# lt_cdr(LIST) +# ------------ +# Manipulate m4 lists. +# These macros are necessary as long as will still need to support +# Autoconf-2.59, which quotes differently. +m4_define([lt_car], [[$1]]) +m4_define([lt_cdr], +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], + [$#], 1, [], + [m4_dquote(m4_shift($@))])]) +m4_define([lt_unquote], $1) + + +# lt_append(MACRO-NAME, STRING, [SEPARATOR]) +# ------------------------------------------ +# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. +# Note that neither SEPARATOR nor STRING are expanded; they are appended +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). +# No SEPARATOR is output if MACRO-NAME was previously undefined (different +# than defined and empty). +# +# This macro is needed until we can rely on Autoconf 2.62, since earlier +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. +m4_define([lt_append], +[m4_define([$1], + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) + + + +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) +# ---------------------------------------------------------- +# Produce a SEP delimited list of all paired combinations of elements of +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list +# has the form PREFIXmINFIXSUFFIXn. +# Needed until we can rely on m4_combine added in Autoconf 2.62. +m4_define([lt_combine], +[m4_if(m4_eval([$# > 3]), [1], + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl +[[m4_foreach([_Lt_prefix], [$2], + [m4_foreach([_Lt_suffix], + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) + + +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) +# ----------------------------------------------------------------------- +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. +m4_define([lt_if_append_uniq], +[m4_ifdef([$1], + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], + [lt_append([$1], [$2], [$3])$4], + [$5])], + [lt_append([$1], [$2], [$3])$4])]) + + +# lt_dict_add(DICT, KEY, VALUE) +# ----------------------------- +m4_define([lt_dict_add], +[m4_define([$1($2)], [$3])]) + + +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) +# -------------------------------------------- +m4_define([lt_dict_add_subkey], +[m4_define([$1($2:$3)], [$4])]) + + +# lt_dict_fetch(DICT, KEY, [SUBKEY]) +# ---------------------------------- +m4_define([lt_dict_fetch], +[m4_ifval([$3], + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) + + +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) +# ----------------------------------------------------------------- +m4_define([lt_if_dict_fetch], +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], + [$5], + [$6])]) + + +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) +# -------------------------------------------------------------- +m4_define([lt_dict_filter], +[m4_if([$5], [], [], + [lt_join(m4_quote(m4_default([$4], [[, ]])), + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl +]) + +# ltversion.m4 -- version numbers -*- Autoconf -*- +# +# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# @configure_input@ + +# serial 4179 ltversion.m4 +# This file is part of GNU Libtool + +m4_define([LT_PACKAGE_VERSION], [2.4.6]) +m4_define([LT_PACKAGE_REVISION], [2.4.6]) + +AC_DEFUN([LTVERSION_VERSION], +[macro_version='2.4.6' +macro_revision='2.4.6' +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) +_LT_DECL(, macro_revision, 0) +]) + +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- +# +# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software +# Foundation, Inc. +# Written by Scott James Remnant, 2004. +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 5 lt~obsolete.m4 + +# These exist entirely to fool aclocal when bootstrapping libtool. +# +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), +# which have later been changed to m4_define as they aren't part of the +# exported API, or moved to Autoconf or Automake where they belong. +# +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us +# using a macro with the same name in our local m4/libtool.m4 it'll +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define +# and doesn't know about Autoconf macros at all.) +# +# So we provide this file, which has a silly filename so it's always +# included after everything else. This provides aclocal with the +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything +# because those macros already exist, or will be overwritten later. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. +# +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. +# Yes, that means every name once taken will need to remain here until +# we give up compatibility with versions before 1.7, at which point +# we need to keep only those names which we still refer to. + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) + +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) + +# nls.m4 serial 5 (gettext-0.18) +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016 Free Software +dnl Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl +dnl This file can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1995-2000. +dnl Bruno Haible , 2000-2003. + +AC_PREREQ([2.50]) + +AC_DEFUN([AM_NLS], +[ + AC_MSG_CHECKING([whether NLS is requested]) + dnl Default is enabled NLS + AC_ARG_ENABLE([nls], + [ --disable-nls do not use Native Language Support], + USE_NLS=$enableval, USE_NLS=yes) + AC_MSG_RESULT([$USE_NLS]) + AC_SUBST([USE_NLS]) +]) + +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# serial 11 (pkg-config-0.29.1) + +dnl Copyright © 2004 Scott James Remnant . +dnl Copyright © 2012-2015 Dan Nicholson +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, but +dnl WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +dnl 02111-1307, USA. +dnl +dnl As a special exception to the GNU General Public License, if you +dnl distribute this file as part of a program that contains a +dnl configuration script generated by Autoconf, you may include it under +dnl the same distribution terms that you use for the rest of that +dnl program. + +dnl PKG_PREREQ(MIN-VERSION) +dnl ----------------------- +dnl Since: 0.29 +dnl +dnl Verify that the version of the pkg-config macros are at least +dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's +dnl installed version of pkg-config, this checks the developer's version +dnl of pkg.m4 when generating configure. +dnl +dnl To ensure that this macro is defined, also add: +dnl m4_ifndef([PKG_PREREQ], +dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) +dnl +dnl See the "Since" comment for each macro you use to see what version +dnl of the macros you require. +m4_defun([PKG_PREREQ], +[m4_define([PKG_MACROS_VERSION], [0.29.1]) +m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, + [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) +])dnl PKG_PREREQ + +dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) +dnl ---------------------------------- +dnl Since: 0.16 +dnl +dnl Search for the pkg-config tool and set the PKG_CONFIG variable to +dnl first found in the path. Checks that the version of pkg-config found +dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is +dnl used since that's the first version where most current features of +dnl pkg-config existed. +AC_DEFUN([PKG_PROG_PKG_CONFIG], +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=m4_default([$1], [0.9.0]) + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + PKG_CONFIG="" + fi +fi[]dnl +])dnl PKG_PROG_PKG_CONFIG + +dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +dnl ------------------------------------------------------------------- +dnl Since: 0.18 +dnl +dnl Check to see whether a particular set of modules exists. Similar to +dnl PKG_CHECK_MODULES(), but does not set variables or print errors. +dnl +dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +dnl only at the first occurence in configure.ac, so if the first place +dnl it's called might be skipped (such as if it is within an "if", you +dnl have to call PKG_CHECK_EXISTS manually +AC_DEFUN([PKG_CHECK_EXISTS], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +if test -n "$PKG_CONFIG" && \ + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then + m4_default([$2], [:]) +m4_ifvaln([$3], [else + $3])dnl +fi]) + +dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +dnl --------------------------------------------- +dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting +dnl pkg_failed based on the result. +m4_define([_PKG_CONFIG], +[if test -n "$$1"; then + pkg_cv_[]$1="$$1" + elif test -n "$PKG_CONFIG"; then + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], + [pkg_failed=yes]) + else + pkg_failed=untried +fi[]dnl +])dnl _PKG_CONFIG + +dnl _PKG_SHORT_ERRORS_SUPPORTED +dnl --------------------------- +dnl Internal check to see if pkg-config supports short errors. +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi[]dnl +])dnl _PKG_SHORT_ERRORS_SUPPORTED + + +dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +dnl [ACTION-IF-NOT-FOUND]) +dnl -------------------------------------------------------------- +dnl Since: 0.4.0 +dnl +dnl Note that if there is a possibility the first call to +dnl PKG_CHECK_MODULES might not happen, you should be sure to include an +dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +AC_DEFUN([PKG_CHECK_MODULES], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl + +pkg_failed=no +AC_MSG_CHECKING([for $1]) + +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) + +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS +and $1[]_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details.]) + +if test $pkg_failed = yes; then + AC_MSG_RESULT([no]) + _PKG_SHORT_ERRORS_SUPPORTED + if test $_pkg_short_errors_supported = yes; then + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` + else + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD + + m4_default([$4], [AC_MSG_ERROR( +[Package requirements ($2) were not met: + +$$1_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +_PKG_TEXT])[]dnl + ]) +elif test $pkg_failed = untried; then + AC_MSG_RESULT([no]) + m4_default([$4], [AC_MSG_FAILURE( +[The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +_PKG_TEXT + +To get pkg-config, see .])[]dnl + ]) +else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + AC_MSG_RESULT([yes]) + $3 +fi[]dnl +])dnl PKG_CHECK_MODULES + + +dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +dnl [ACTION-IF-NOT-FOUND]) +dnl --------------------------------------------------------------------- +dnl Since: 0.29 +dnl +dnl Checks for existence of MODULES and gathers its build flags with +dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags +dnl and VARIABLE-PREFIX_LIBS from --libs. +dnl +dnl Note that if there is a possibility the first call to +dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to +dnl include an explicit call to PKG_PROG_PKG_CONFIG in your +dnl configure.ac. +AC_DEFUN([PKG_CHECK_MODULES_STATIC], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +_save_PKG_CONFIG=$PKG_CONFIG +PKG_CONFIG="$PKG_CONFIG --static" +PKG_CHECK_MODULES($@) +PKG_CONFIG=$_save_PKG_CONFIG[]dnl +])dnl PKG_CHECK_MODULES_STATIC + + +dnl PKG_INSTALLDIR([DIRECTORY]) +dnl ------------------------- +dnl Since: 0.27 +dnl +dnl Substitutes the variable pkgconfigdir as the location where a module +dnl should install pkg-config .pc files. By default the directory is +dnl $libdir/pkgconfig, but the default can be changed by passing +dnl DIRECTORY. The user can override through the --with-pkgconfigdir +dnl parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +])dnl PKG_INSTALLDIR + + +dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) +dnl -------------------------------- +dnl Since: 0.27 +dnl +dnl Substitutes the variable noarch_pkgconfigdir as the location where a +dnl module should install arch-independent pkg-config .pc files. By +dnl default the directory is $datadir/pkgconfig, but the default can be +dnl changed by passing DIRECTORY. The user can override through the +dnl --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +])dnl PKG_NOARCH_INSTALLDIR + + +dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, +dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +dnl ------------------------------------------- +dnl Since: 0.28 +dnl +dnl Retrieves the value of the pkg-config variable for the given module. +AC_DEFUN([PKG_CHECK_VAR], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl + +_PKG_CONFIG([$1], [variable="][$3]["], [$2]) +AS_VAR_COPY([$1], [pkg_cv_][$1]) + +AS_VAR_IF([$1], [""], [$5], [$4])dnl +])dnl PKG_CHECK_VAR + +dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES, +dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND], +dnl [DESCRIPTION], [DEFAULT]) +dnl ------------------------------------------ +dnl +dnl Prepare a "--with-" configure option using the lowercase +dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and +dnl PKG_CHECK_MODULES in a single macro. +AC_DEFUN([PKG_WITH_MODULES], +[ +m4_pushdef([with_arg], m4_tolower([$1])) + +m4_pushdef([description], + [m4_default([$5], [build with ]with_arg[ support])]) + +m4_pushdef([def_arg], [m4_default([$6], [auto])]) +m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes]) +m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no]) + +m4_case(def_arg, + [yes],[m4_pushdef([with_without], [--without-]with_arg)], + [m4_pushdef([with_without],[--with-]with_arg)]) + +AC_ARG_WITH(with_arg, + AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),, + [AS_TR_SH([with_]with_arg)=def_arg]) + +AS_CASE([$AS_TR_SH([with_]with_arg)], + [yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)], + [auto],[PKG_CHECK_MODULES([$1],[$2], + [m4_n([def_action_if_found]) $3], + [m4_n([def_action_if_not_found]) $4])]) + +m4_popdef([with_arg]) +m4_popdef([description]) +m4_popdef([def_arg]) + +])dnl PKG_WITH_MODULES + +dnl PKG_HAVE_WITH_MODULES(VARIABLE-PREFIX, MODULES, +dnl [DESCRIPTION], [DEFAULT]) +dnl ----------------------------------------------- +dnl +dnl Convenience macro to trigger AM_CONDITIONAL after PKG_WITH_MODULES +dnl check._[VARIABLE-PREFIX] is exported as make variable. +AC_DEFUN([PKG_HAVE_WITH_MODULES], +[ +PKG_WITH_MODULES([$1],[$2],,,[$3],[$4]) + +AM_CONDITIONAL([HAVE_][$1], + [test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"]) +])dnl PKG_HAVE_WITH_MODULES + +dnl PKG_HAVE_DEFINE_WITH_MODULES(VARIABLE-PREFIX, MODULES, +dnl [DESCRIPTION], [DEFAULT]) +dnl ------------------------------------------------------ +dnl +dnl Convenience macro to run AM_CONDITIONAL and AC_DEFINE after +dnl PKG_WITH_MODULES check. HAVE_[VARIABLE-PREFIX] is exported as make +dnl and preprocessor variable. +AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES], +[ +PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4]) + +AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"], + [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])]) +])dnl PKG_HAVE_DEFINE_WITH_MODULES + +# Copyright (C) 2002-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.16' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.16.1], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.16.1])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is '.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ([2.52])dnl + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +m4_define([_AM_COND_VALUE_$1], [$2])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + + +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], + [$1], [CXX], [depcc="$CXX" am_compiler_list=], + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], + [$1], [UPC], [depcc="$UPC" am_compiler_list=], + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + am__universal=false + m4_case([$1], [CC], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac], + [CXX], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac]) + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES. +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE([dependency-tracking], [dnl +AS_HELP_STRING( + [--enable-dependency-tracking], + [do not reject slow dependency extractors]) +AS_HELP_STRING( + [--disable-dependency-tracking], + [speeds up one-time build])]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([am__nodep])dnl +_AM_SUBST_NOTMAKE([am__nodep])dnl +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[{ + # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + # TODO: see whether this extra hack can be removed once we start + # requiring Autoconf 2.70 or later. + AS_CASE([$CONFIG_FILES], + [*\'*], [eval set x "$CONFIG_FILES"], + [*], [set x $CONFIG_FILES]) + shift + # Used to flag and report bootstrapping failures. + am_rc=0 + for am_mf + do + # Strip MF so we end up with the name of the file. + am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile which includes + # dependency-tracking related rules and includes. + # Grep'ing the whole file directly is not great: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ + || continue + am_dirpart=`AS_DIRNAME(["$am_mf"])` + am_filepart=`AS_BASENAME(["$am_mf"])` + AM_RUN_LOG([cd "$am_dirpart" \ + && sed -e '/# am--include-marker/d' "$am_filepart" \ + | $MAKE -f - am--depfiles]) || am_rc=$? + done + if test $am_rc -ne 0; then + AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments + for automatic dependency tracking. Try re-running configure with the + '--disable-dependency-tracking' option to at least be able to build + the package (albeit without support for automatic dependency tracking).]) + fi + AS_UNSET([am_dirpart]) + AS_UNSET([am_filepart]) + AS_UNSET([am_mf]) + AS_UNSET([am_rc]) + rm -f conftest-deps.mk +} +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking is enabled. +# This creates each '.Po' and '.Plo' makefile fragment that we'll need in +# order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. +m4_define([AC_PROG_CC], +m4_defn([AC_PROG_CC]) +[_AM_PROG_CC_C_O +]) + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.65])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[AC_DIAGNOSE([obsolete], + [$0: two- and three-arguments forms are deprecated.]) +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if( + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), + [ok:ok],, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) +AM_MISSING_PROG([AUTOCONF], [autoconf]) +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) +AM_MISSING_PROG([AUTOHEADER], [autoheader]) +AM_MISSING_PROG([MAKEINFO], [makeinfo]) +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES([CC])], + [m4_define([AC_PROG_CC], + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES([CXX])], + [m4_define([AC_PROG_CXX], + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES([OBJC])], + [m4_define([AC_PROG_OBJC], + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], + [_AM_DEPENDENCIES([OBJCXX])], + [m4_define([AC_PROG_OBJCXX], + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl +]) +AC_REQUIRE([AM_SILENT_RULES])dnl +dnl The testsuite driver may need to know about EXEEXT, so add the +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl + +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) + fi +fi +dnl The trailing newline in this macro's definition is deliberate, for +dnl backward compatibility and to allow trailing 'dnl'-style comments +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. +]) + +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +dnl mangled by Autoconf and run in a shell conditional statement. +m4_define([_AC_COMPILER_EXEEXT], +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +if test x"${install_sh+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi +AC_SUBST([install_sh])]) + +# Copyright (C) 2003-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- +# From Jim Meyering + +# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_MAINTAINER_MODE([DEFAULT-MODE]) +# ---------------------------------- +# Control maintainer-specific portions of Makefiles. +# Default is to disable them, unless 'enable' is passed literally. +# For symmetry, 'disable' may be passed as well. Anyway, the user +# can override the default with the --enable/--disable switch. +AC_DEFUN([AM_MAINTAINER_MODE], +[m4_case(m4_default([$1], [disable]), + [enable], [m4_define([am_maintainer_other], [disable])], + [disable], [m4_define([am_maintainer_other], [enable])], + [m4_define([am_maintainer_other], [enable]) + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) +AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) + dnl maintainer-mode's default is 'disable' unless 'enable' is passed + AC_ARG_ENABLE([maintainer-mode], + [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], + am_maintainer_other[ make rules and dependencies not useful + (and sometimes confusing) to the casual installer])], + [USE_MAINTAINER_MODE=$enableval], + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) + MAINT=$MAINTAINER_MODE_TRUE + AC_SUBST([MAINT])dnl +] +) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_MAKE_INCLUDE() +# ----------------- +# Check whether make has an 'include' directive that can support all +# the idioms we need for our automatic dependency tracking code. +AC_DEFUN([AM_MAKE_INCLUDE], +[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) +cat > confinc.mk << 'END' +am__doit: + @echo this is the am__doit target >confinc.out +.PHONY: am__doit +END +am__include="#" +am__quote= +# BSD make does it like this. +echo '.include "confinc.mk" # ignored' > confmf.BSD +# Other make implementations (GNU, Solaris 10, AIX) do it like this. +echo 'include confinc.mk # ignored' > confmf.GNU +_am_result=no +for s in GNU BSD; do + AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) + AS_CASE([$?:`cat confinc.out 2>/dev/null`], + ['0:this is the am__doit target'], + [AS_CASE([$s], + [BSD], [am__include='.include' am__quote='"'], + [am__include='include' am__quote=''])]) + if test "$am__include" != "#"; then + _am_result="yes ($s style)" + break + fi +done +rm -f confinc.* confmf.* +AC_MSG_RESULT([${_am_result}]) +AC_SUBST([am__include])]) +AC_SUBST([am__quote])]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it is modern enough. +# If it is, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + AC_MSG_WARN(['missing' script is too old or missing]) +fi +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# -------------------- +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) + +# _AM_SET_OPTIONS(OPTIONS) +# ------------------------ +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_PROG_CC_C_O +# --------------- +# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC +# to automatically call this. +AC_DEFUN([_AM_PROG_CC_C_O], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +AC_LANG_PUSH([C])dnl +AC_CACHE_CHECK( + [whether $CC understands -c and -o together], + [am_cv_prog_cc_c_o], + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i]) +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +AC_LANG_POP([C])]) + +# For backward compatibility. +AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_RUN_LOG(COMMAND) +# ------------------- +# Run COMMAND, save the exit status in ac_status, and log it. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) +AC_DEFUN([AM_RUN_LOG], +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + (exit $ac_status); }]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken + alias in your environment]) + fi + if test "$[2]" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT([yes]) +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi +AC_CONFIG_COMMANDS_PRE( + [AC_MSG_CHECKING([that generated files are newer than configure]) + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + AC_MSG_RESULT([done])]) +rm -f conftest.file +]) + +# Copyright (C) 2009-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_SILENT_RULES([DEFAULT]) +# -------------------------- +# Enable less verbose build rules; with the default set to DEFAULT +# ("yes" being less verbose, "no" or empty being verbose). +AC_DEFUN([AM_SILENT_RULES], +[AC_ARG_ENABLE([silent-rules], [dnl +AS_HELP_STRING( + [--enable-silent-rules], + [less verbose build output (undo: "make V=1")]) +AS_HELP_STRING( + [--disable-silent-rules], + [verbose build output (undo: "make V=0")])dnl +]) +case $enable_silent_rules in @%:@ ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +esac +dnl +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) +dnl do not support nested variable expansions. +dnl See automake bug#9928 and bug#10237. +am_make=${MAKE-make} +AC_CACHE_CHECK([whether $am_make supports nested variables], + [am_cv_make_support_nested_variables], + [if AS_ECHO([['TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi]) +if test $am_cv_make_support_nested_variables = yes; then + dnl Using '$V' instead of '$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AC_SUBST([AM_V])dnl +AM_SUBST_NOTMAKE([AM_V])dnl +AC_SUBST([AM_DEFAULT_V])dnl +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor 'install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in "make install-strip", and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# AM_SUBST_NOTMAKE(VARIABLE) +# -------------------------- +# Public sister of _AM_SUBST_NOTMAKE. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of 'v7', 'ustar', or 'pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +# +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AC_SUBST([AMTAR], ['$${TAR-tar}']) + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' + +m4_if([$1], [v7], + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], + + [m4_case([$1], + [ustar], + [# The POSIX 1988 'ustar' format is defined with fixed-size fields. + # There is notably a 21 bits limit for the UID and the GID. In fact, + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 + # and bug#13588). + am_max_uid=2097151 # 2^21 - 1 + am_max_gid=$am_max_uid + # The $UID and $GID variables are not portable, so we need to resort + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls + # below are definitely unexpected, so allow the users to see them + # (that is, avoid stderr redirection). + am_uid=`id -u || echo unknown` + am_gid=`id -g || echo unknown` + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) + if test $am_uid -le $am_max_uid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) + if test $am_gid -le $am_max_gid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi], + + [pax], + [], + + [m4_fatal([Unknown tar format])]) + + AC_MSG_CHECKING([how to create a $1 tar archive]) + + # Go ahead even if we have the value already cached. We do so because we + # need to set the values for the 'am__tar' and 'am__untar' variables. + _am_tools=${am_cv_prog_tar_$1-$_am_tools} + + for _am_tool in $_am_tools; do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works. + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar /dev/null 2>&1 && break + fi + done + rm -rf conftest.dir + + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) + AC_MSG_RESULT([$am_cv_prog_tar_$1])]) + +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + +dnl Copyright (c) 2002-2015 +dnl The Xfce development team. All rights reserved. +dnl +dnl Written for Xfce by Benedikt Meurer . +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License along +dnl with this program; if not, write to the Free Software Foundation, Inc., +dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +dnl +dnl xdt-depends +dnl ----------- +dnl Contains M4 macros to check for software dependencies. +dnl Partly based on prior work of the XDG contributors. +dnl + + + +dnl We need recent a autoconf version +AC_PREREQ([2.60]) + + + +dnl XDT_PROG_PKG_CONFIG() +dnl +dnl Checks for the freedesktop.org pkg-config +dnl utility and sets the PKG_CONFIG environment +dnl variable to the full path if found. +dnl +AC_DEFUN([XDT_PROG_PKG_CONFIG], +[ + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + m4_ifdef([PKG_PROG_PKG_CONFIG], + [ + PKG_PROG_PKG_CONFIG([$xdt_cv_PKG_CONFIG_MIN_VERSION]) + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + ], + [ + echo + echo "*** The pkg-config utility could not be found on your system." + echo "*** Make sure it is in your path, or set the PKG_CONFIG" + echo "*** environment variable to the full path to pkg-config." + echo "*** You can download pkg-config from the freedesktop.org" + echo "*** software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1 + ]) +]) + + + +dnl XDT_CHECK_PACKAGE(varname, package, version, [action-if], [action-if-not]) +dnl +dnl Checks if "package" >= "version" is installed on the +dnl target system, using the pkg-config utility. If the +dnl dependency is met, "varname"_CFLAGS, "varname"_LIBS, +dnl "varname"_VERSION and "varname"_REQUIRED_VERSION +dnl will be set and marked for substition. +dnl +dnl "varname"_REQUIRED_VERSION will be set to the value of +dnl "version". This is mostly useful to automatically +dnl place the correct version information into the RPM +dnl .spec file. +dnl +dnl In addition, if the dependency is met, "action-if" will +dnl be executed if given. +dnl +dnl If the package check fails, "action-if-not" will be +dnl executed. If this parameter isn't specified, a diagnostic +dnl message will be printed and the configure script will +dnl be terminated with exit code 1. +dnl +AC_DEFUN([XDT_CHECK_PACKAGE], +[ + XDT_PROG_PKG_CONFIG() + + AC_MSG_CHECKING([for $2 >= $3]) + if $PKG_CONFIG "--atleast-version=$3" "$2" >/dev/null 2>&1; then + $1_VERSION=`$PKG_CONFIG --modversion "$2"` + AC_MSG_RESULT([$$1_VERSION]) + + AC_MSG_CHECKING([$1_CFLAGS]) + $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` + AC_MSG_RESULT([$$1_CFLAGS]) + + AC_MSG_CHECKING([$1_LIBS]) + $1_LIBS=`$PKG_CONFIG --libs "$2"` + AC_MSG_RESULT([$$1_LIBS]) + + $1_REQUIRED_VERSION=$3 + + AC_SUBST([$1_VERSION]) + AC_SUBST([$1_CFLAGS]) + AC_SUBST([$1_LIBS]) + AC_SUBST([$1_REQUIRED_VERSION]) + + ifelse([$4], , , [$4]) + elif $PKG_CONFIG --exists "$2" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "$2"` + AC_MSG_RESULT([found, but $xdt_cv_version]) + + ifelse([$5], , + [ + echo "*** The required package $2 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade $2 to atleast version $3, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + ], [$5]) + else + AC_MSG_RESULT([not found]) + + ifelse([$5], , + [ + echo "*** The required package $2 was not found on your system." + echo "*** Please install $2 (atleast version $3) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + ], [$5]) + fi +]) + + + +dnl XDT_CHECK_OPTIONAL_PACKAGE(varname, package, version, optionname, helpstring, [default]) +dnl +dnl Checks for an optional dependency on "package" >= "version". "default" +dnl can be "yes" or "no" (defaults to "yes" if not specified) and controls +dnl whether configure should check this dependency by default, or only if +dnl the user explicitly enables it using a command line switch. +dnl +dnl This macro automatically adds a commandline switch based on the "optionname" +dnl parameter (--enable-optionname/--disable-optionname), which allows the +dnl user to explicitly control whether this optional dependency should be +dnl enabled or not. The "helpstring" parameter gives a brief(!) description +dnl about this dependency. +dnl +dnl If the user chose to enable this dependency and the required package +dnl was found, this macro defines the variable "varname"_FOUND and sets it +dnl to the string "yes", in addition to the 4 variables set by XDT_CHECK_PACKAGE. +dnl But "varname"_FOUND will not be marked for substition. Furthermore, +dnl a CPP define HAVE_"varname" will be placed in config.h (or added to +dnl the cc command line, depending on your configure.ac) and set to +dnl 1. +dnl +AC_DEFUN([XDT_CHECK_OPTIONAL_PACKAGE], +[ + AC_REQUIRE([XDT_PROG_PKG_CONFIG]) + + AC_ARG_ENABLE([$4], +AC_HELP_STRING([--enable-$4], [Enable checking for $5 (default=m4_default([$6], [yes]))]) +AC_HELP_STRING([--disable-$4], [Disable checking for $5]), + [xdt_cv_$1_check=$enableval], [xdt_cv_$1_check=m4_default([$6], [yes])]) + + if test x"$xdt_cv_$1_check" = x"yes"; then + if $PKG_CONFIG --exists "$2 >= $3" >/dev/null 2>&1; then + XDT_CHECK_PACKAGE([$1], [$2], [$3], + [ + AC_DEFINE([HAVE_$1], [1], [Define if $2 >= $3 present]) + $1_FOUND="yes" + ]) + else + AC_MSG_CHECKING([for optional package $2 >= $3]) + AC_MSG_RESULT([not found]) + fi + else + AC_MSG_CHECKING([for optional package $2]) + AC_MSG_RESULT([disabled]) + fi + + AM_CONDITIONAL([HAVE_$1], [test x"$$1_FOUND" = x"yes"]) +]) + + + +dnl XDT_CHECK_LIBX11() +dnl +dnl Executes various checks for X11. Sets LIBX11_CFLAGS, LIBX11_LDFLAGS +dnl and LIBX11_LIBS (and marks them for substitution). In addition +dnl HAVE_LIBX11 is set to 1 in config.h, if the X window system and +dnl the development files are detected on the target system. +dnl +AC_DEFUN([XDT_CHECK_LIBX11], +[ + AC_REQUIRE([AC_PATH_XTRA]) + + LIBX11_CFLAGS= LIBX11_LDFLAGS= LIBX11_LIBS= + if test x"$no_x" != x"yes"; then + AC_CHECK_LIB([X11], [main], + [ + AC_DEFINE([HAVE_LIBX11], [1], [Define if libX11 is available]) + LIBX11_CFLAGS="$X_CFLAGS" + for option in $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS; do + case "$option" in + -L*) + path=`echo $option | sed 's/^-L//'` + if test x"$path" != x""; then + LIBX11_LDFLAGS="$LIBX11_LDFLAGS -L$path" + fi + ;; + *) + LIBX11_LIBS="$LIBX11_LIBS $option" + ;; + esac + done + if ! echo $LIBX11_LIBS | grep -- '-lX11' >/dev/null; then + LIBX11_LIBS="$LIBX11_LIBS -lX11" + fi + ], [], [$X_CFLAGS $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS]) + fi + AC_SUBST([LIBX11_CFLAGS]) + AC_SUBST([LIBX11_LDFLAGS]) + AC_SUBST([LIBX11_LIBS]) +]) + + + +dnl XDT_CHECK_LIBX11_REQUIRE() +dnl +dnl Similar to XDT_CHECK_LIBX11(), but terminates with an error if +dnl the X window system and development files aren't detected on the +dnl target system. +dnl +AC_DEFUN([XDT_CHECK_LIBX11_REQUIRE], +[ + AC_REQUIRE([XDT_CHECK_LIBX11]) + + if test x"$no_x" = x"yes"; then + AC_MSG_ERROR([X Window system libraries and header files are required]) + fi +]) + + + +dnl XDT_CHECK_LIBSM() +dnl +dnl Checks whether the session management library is present on the +dnl target system, and sets LIBSM_CFLAGS, LIBSM_LDFLAGS and LIBSM_LIBS +dnl properly. In addition, HAVE_LIBSM will be set to 1 in config.h +dnl if libSM is detected. +dnl +AC_DEFUN([XDT_CHECK_LIBSM], +[ + AC_REQUIRE([XDT_CHECK_LIBX11]) + + LIBSM_CFLAGS= LIBSM_LDFLAGS= LIBSM_LIBS= + if test x"$no_x" != x"yes"; then + AC_CHECK_LIB([SM], [SmcSaveYourselfDone], + [ + AC_DEFINE([HAVE_LIBSM], [1], [Define if libSM is available]) + LIBSM_CFLAGS="$LIBX11_CFLAGS" + LIBSM_LDFLAGS="$LIBX11_LDFLAGS" + LIBSM_LIBS="$LIBX11_LIBS" + if ! echo $LIBSM_LIBS | grep -- '-lSM' >/dev/null; then + LIBSM_LIBS="$LIBSM_LIBS -lSM -lICE" + fi + ], [], [$LIBX11_CFLAGS $LIBX11_LDFLAGS $LIBX11_LIBS -lICE]) + fi + AC_SUBST([LIBSM_CFLAGS]) + AC_SUBST([LIBSM_LDFLAGS]) + AC_SUBST([LIBSM_LIBS]) +]) + + + +dnl XDT_CHECK_LIBXPM() +dnl +dnl Checks if the Xpm library is present on the target system, and +dnl sets LIBXPM_CFLAGS, LIBXPM_LDFLAGS and LIBXPM_LIBS. In addition, +dnl HAVE_LIBXPM will be set to 1 in config.h if libXpm is detected. +dnl +AC_DEFUN([XDT_CHECK_LIBXPM], +[ + AC_REQUIRE([XDT_CHECK_LIBX11]) + + LIBXPM_CFLAGS= LIBXPM_LDFLAGS= LIBXPM_LIBS= + if test "$no_x" != "yes"; then + AC_CHECK_LIB([Xpm], [main], + [ + AC_DEFINE([HAVE_LIBXPM], [1], [Define if libXpm is available]) + LIBXPM_CFLAGS="$LIBX11_CFLAGS" + LIBXPM_LDFLAGS="$LIBX11_LDFLAGS" + LIBXPM_LIBS="$LIBX11_LIBS" + if ! echo $LIBXPM_LIBS | grep -- '-lXpm' >/dev/null; then + LIBXPM_LIBS="$LIBXPM_LIBS -lXpm" + fi + ], [], [$LIBX11_CFLAGS $LIBX11_LDFLAGS $LIBX11_LIBS -lXpm]) + fi + AC_SUBST([LIBXPM_CFLAGS]) + AC_SUBST([LIBXPM_LDFLAGS]) + AC_SUBST([LIBXPM_LIBS]) +]) + + + +dnl XDT_CHECK_LIBXPM_REQUIRE() +dnl +dnl Similar to XDT_CHECK_LIBXPM(), but fails if the Xpm library isn't +dnl present on the target system. +dnl +AC_DEFUN([XDT_CHECK_LIBXPM_REQUIRE], +[ + AC_REQUIRE([XDT_CHECK_LIBX11_REQUIRE]) + AC_REQUIRE([XDT_CHECK_LIBXPM]) + + if test x"$LIBXPM_LIBS" = x""; then + AC_MSG_ERROR([The Xpm library was not found on your system]) + fi +]) + + +dnl Copyright (c) 2002-2015 +dnl The Xfce development team. All rights reserved. +dnl +dnl Written for Xfce by Benedikt Meurer . +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License along +dnl with this program; if not, write to the Free Software Foundation, Inc., +dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +dnl +dnl xdt-i18n +dnl -------- +dnl Internalization M4 macros. +dnl + + +dnl XDT_I18N(LINGUAS [, PACKAGE]) +dnl +dnl This macro takes care of setting up everything for i18n support. +dnl +dnl If PACKAGE isn't specified, it defaults to the package tarname; see +dnl the description of AC_INIT() for an explanation of what makes up +dnl the package tarname. Normally, you don't need to specify PACKAGE, +dnl but you can stick with the default. +dnl +AC_DEFUN([XDT_I18N], +[ + dnl Substitute GETTEXT_PACKAGE variable + GETTEXT_PACKAGE=m4_default([$2], [AC_PACKAGE_TARNAME()]) + AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Name of default gettext domain]) + AC_SUBST([GETTEXT_PACKAGE]) + + dnl gettext and stuff + ALL_LINGUAS="$1" + AM_GLIB_GNU_GETTEXT() + + dnl This is required on some Linux systems + AC_CHECK_FUNC([bind_textdomain_codeset]) + + dnl Determine where to install locale files + AC_MSG_CHECKING([for locales directory]) + AC_ARG_WITH([locales-dir], + [ + AC_HELP_STRING([--with-locales-dir=DIR], [Install locales into DIR]) + ], [localedir=$withval], + [ + if test x"$CATOBJEXT" = x".mo"; then + localedir=$libdir/locale + else + localedir=$datadir/locale + fi + ]) + AC_MSG_RESULT([$localedir]) + AC_SUBST([localedir]) + + dnl Determine additional xgettext flags + AC_MSG_CHECKING([for additional xgettext flags]) + if test x"$XGETTEXT_ARGS" = x""; then + XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8"; + else + XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8"; + fi + AC_SUBST([XGETTEXT_ARGS]) + AC_MSG_RESULT([$XGETTEXT_ARGS]) +]) + + diff -Nru pragha-1.3.3/autogen.sh pragha-1.3.992/autogen.sh --- pragha-1.3.3/autogen.sh 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/autogen.sh 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -#!/bin/sh - -echo "Running Xfce Developer Tools..." - -xdt-autogen $@ -if [ $? -ne 0 ]; then - echo "xdt-autogen Failed" - echo "Prease, install xfce4-dev-tools" - echo "or verify Errors" -fi diff -Nru pragha-1.3.3/compile pragha-1.3.992/compile --- pragha-1.3.3/compile 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/compile 2019-08-13 12:52:09.000000000 +0000 @@ -0,0 +1,348 @@ +#! /bin/sh +# Wrapper for compilers which do not understand '-c -o'. + +scriptversion=2018-03-07.03; # UTC + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Written by Tom Tromey . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +nl=' +' + +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent tools from complaining about whitespace usage. +IFS=" "" $nl" + +file_conv= + +# func_file_conv build_file lazy +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. If the determined conversion +# type is listed in (the comma separated) LAZY, no conversion will +# take place. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv/,$2, in + *,$file_conv,*) + ;; + mingw/*) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin/*) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine/*) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_cl_dashL linkdir +# Make cl look for libraries in LINKDIR +func_cl_dashL () +{ + func_file_conv "$1" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" +} + +# func_cl_dashl library +# Do a library search-path lookup for cl +func_cl_dashl () +{ + lib=$1 + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + lib=$dir/$lib.dll.lib + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + lib=$dir/$lib.lib + break + fi + if test -f "$dir/lib$lib.a"; then + found=yes + lib=$dir/lib$lib.a + break + fi + done + IFS=$save_IFS + + if test "$found" != yes; then + lib=$lib.lib + fi +} + +# func_cl_wrapper cl arg... +# Adjust compile command to suit cl +func_cl_wrapper () +{ + # Assume a capable shell + lib_path= + shared=: + linker_opts= + for arg + do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + eat=1 + case $2 in + *.o | *.[oO][bB][jJ]) + func_file_conv "$2" + set x "$@" -Fo"$file" + shift + ;; + *) + func_file_conv "$2" + set x "$@" -Fe"$file" + shift + ;; + esac + ;; + -I) + eat=1 + func_file_conv "$2" mingw + set x "$@" -I"$file" + shift + ;; + -I*) + func_file_conv "${1#-I}" mingw + set x "$@" -I"$file" + shift + ;; + -l) + eat=1 + func_cl_dashl "$2" + set x "$@" "$lib" + shift + ;; + -l*) + func_cl_dashl "${1#-l}" + set x "$@" "$lib" + shift + ;; + -L) + eat=1 + func_cl_dashL "$2" + ;; + -L*) + func_cl_dashL "${1#-L}" + ;; + -static) + shared=false + ;; + -Wl,*) + arg=${1#-Wl,} + save_ifs="$IFS"; IFS=',' + for flag in $arg; do + IFS="$save_ifs" + linker_opts="$linker_opts $flag" + done + IFS="$save_ifs" + ;; + -Xlinker) + eat=1 + linker_opts="$linker_opts $2" + ;; + -*) + set x "$@" "$1" + shift + ;; + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) + func_file_conv "$1" + set x "$@" -Tp"$file" + shift + ;; + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) + func_file_conv "$1" mingw + set x "$@" "$file" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift + done + if test -n "$linker_opts"; then + linker_opts="-link$linker_opts" + fi + exec "$@" $linker_opts + exit 1 +} + +eat= + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file 'INSTALL'. + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) + func_cl_wrapper "$@" # Doesn't return... + ;; +esac + +ofile= +cfile= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no '-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # '.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` + +# Create the lock directory. +# Note: use '[/\\:.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff -Nru pragha-1.3.3/config.guess pragha-1.3.992/config.guess --- pragha-1.3.3/config.guess 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/config.guess 2019-08-13 12:52:09.000000000 +0000 @@ -0,0 +1,1486 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright 1992-2018 Free Software Foundation, Inc. + +timestamp='2018-08-29' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). +# +# Originally written by Per Bothner; maintained since 2000 by Ben Elliston. +# +# You can get the latest version of this script from: +# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess +# +# Please send patches to . + + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Options: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright 1992-2018 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +tmp= +# shellcheck disable=SC2172 +trap 'test -z "$tmp" || rm -fr "$tmp"' 1 2 13 15 +trap 'exitcode=$?; test -z "$tmp" || rm -fr "$tmp"; exit $exitcode' 0 + +set_cc_for_build() { + : "${TMPDIR=/tmp}" + # shellcheck disable=SC2039 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } + dummy=$tmp/dummy + case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in + ,,) echo "int x;" > "$dummy.c" + for driver in cc gcc c89 c99 ; do + if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then + CC_FOR_BUILD="$driver" + break + fi + done + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; + esac +} + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if test -f /.attbin/uname ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +case "$UNAME_SYSTEM" in +Linux|GNU|GNU/*) + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + LIBC=gnu + + set_cc_for_build + cat <<-EOF > "$dummy.c" + #include + #if defined(__UCLIBC__) + LIBC=uclibc + #elif defined(__dietlibc__) + LIBC=dietlibc + #else + LIBC=gnu + #endif + EOF + eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" + + # If ldd exists, use it to detect musl libc. + if command -v ldd >/dev/null && \ + ldd --version 2>&1 | grep -q ^musl + then + LIBC=musl + fi + ;; +esac + +# Note: order is significant - the case branches are not exclusive. + +case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ + "/sbin/$sysctl" 2>/dev/null || \ + "/usr/sbin/$sysctl" 2>/dev/null || \ + echo unknown)` + case "$UNAME_MACHINE_ARCH" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + earmv*) + arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` + endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` + machine="${arch}${endian}"-unknown + ;; + *) machine="$UNAME_MACHINE_ARCH"-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently (or will in the future) and ABI. + case "$UNAME_MACHINE_ARCH" in + earm*) + os=netbsdelf + ;; + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ELF__ + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # Determine ABI tags. + case "$UNAME_MACHINE_ARCH" in + earm*) + expr='s/^earmv[0-9]/-eabi/;s/eb$//' + abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "$UNAME_VERSION" in + Debian*) + release='-gnu' + ;; + *) + release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "$machine-${os}${release}${abi-}" + exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" + exit ;; + *:LibertyBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` + echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" + exit ;; + *:MidnightBSD:*:*) + echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE" + exit ;; + *:ekkoBSD:*:*) + echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" + exit ;; + *:SolidBSD:*:*) + echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd"$UNAME_RELEASE" + exit ;; + *:MirBSD:*:*) + echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE" + exit ;; + *:Sortix:*:*) + echo "$UNAME_MACHINE"-unknown-sortix + exit ;; + *:Redox:*:*) + echo "$UNAME_MACHINE"-unknown-redox + exit ;; + mips:OSF1:*.*) + echo mips-dec-osf1 + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE=alpha ;; + "EV4.5 (21064)") + UNAME_MACHINE=alpha ;; + "LCA4 (21066/21068)") + UNAME_MACHINE=alpha ;; + "EV5 (21164)") + UNAME_MACHINE=alphaev5 ;; + "EV5.6 (21164A)") + UNAME_MACHINE=alphaev56 ;; + "EV5.6 (21164PC)") + UNAME_MACHINE=alphapca56 ;; + "EV5.7 (21164PC)") + UNAME_MACHINE=alphapca57 ;; + "EV6 (21264)") + UNAME_MACHINE=alphaev6 ;; + "EV6.7 (21264A)") + UNAME_MACHINE=alphaev67 ;; + "EV6.8CB (21264C)") + UNAME_MACHINE=alphaev68 ;; + "EV6.8AL (21264B)") + UNAME_MACHINE=alphaev68 ;; + "EV6.8CX (21264D)") + UNAME_MACHINE=alphaev68 ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE=alphaev69 ;; + "EV7 (21364)") + UNAME_MACHINE=alphaev7 ;; + "EV7.9 (21364A)") + UNAME_MACHINE=alphaev79 ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo "$UNAME_MACHINE"-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo "$UNAME_MACHINE"-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix"$UNAME_RELEASE" + exit ;; + arm*:riscos:*:*|arm*:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + s390x:SunOS:*:*) + echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" + exit ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" + exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux"$UNAME_RELEASE" + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + UNAME_REL="`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" + case `isainfo -b` in + 32) + echo i386-pc-solaris2"$UNAME_REL" + ;; + 64) + echo x86_64-pc-solaris2"$UNAME_REL" + ;; + esac + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`" + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos"$UNAME_RELEASE" + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos"$UNAME_RELEASE" + ;; + sun4) + echo sparc-sun-sunos"$UNAME_RELEASE" + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos"$UNAME_RELEASE" + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint"$UNAME_RELEASE" + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint"$UNAME_RELEASE" + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint"$UNAME_RELEASE" + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint"$UNAME_RELEASE" + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint"$UNAME_RELEASE" + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint"$UNAME_RELEASE" + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten"$UNAME_RELEASE" + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten"$UNAME_RELEASE" + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix"$UNAME_RELEASE" + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix"$UNAME_RELEASE" + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix"$UNAME_RELEASE" + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + set_cc_for_build + sed 's/^ //' << EOF > "$dummy.c" +#ifdef __cplusplus +#include /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o "$dummy" "$dummy.c" && + dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`"$dummy" "$dummyarg"` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos"$UNAME_RELEASE" + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] + then + if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \ + [ "$TARGET_BINARY_INTERFACE"x = x ] + then + echo m88k-dg-dgux"$UNAME_RELEASE" + else + echo m88k-dg-dguxbcs"$UNAME_RELEASE" + fi + else + echo i586-dg-dgux"$UNAME_RELEASE" + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`" + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" + fi + echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV" + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + set_cc_for_build + sed 's/^ //' << EOF > "$dummy.c" + #include + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[4567]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/lslpp ] ; then + IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | + awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` + else + IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" + fi + echo "$IBM_ARCH"-ibm-aix"$IBM_REV" + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` + case "$UNAME_MACHINE" in + 9000/31?) HP_ARCH=m68000 ;; + 9000/[34]??) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "$sc_cpu_version" in + 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 + 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "$sc_kernel_bits" in + 32) HP_ARCH=hppa2.0n ;; + 64) HP_ARCH=hppa2.0w ;; + '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "$HP_ARCH" = "" ]; then + set_cc_for_build + sed 's/^ //' << EOF > "$dummy.c" + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ "$HP_ARCH" = hppa2.0w ] + then + set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ + then + HP_ARCH=hppa2.0w + else + HP_ARCH=hppa64 + fi + fi + echo "$HP_ARCH"-hp-hpux"$HPUX_REV" + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux"$HPUX_REV" + exit ;; + 3050*:HI-UX:*:*) + set_cc_for_build + sed 's/^ //' << EOF > "$dummy.c" + #include + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo "$UNAME_MACHINE"-unknown-osf1mk + else + echo "$UNAME_MACHINE"-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE" + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi"$UNAME_RELEASE" + exit ;; + *:BSD/OS:*:*) + echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" + exit ;; + arm:FreeBSD:*:*) + UNAME_PROCESSOR=`uname -p` + set_cc_for_build + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabi + else + echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabihf + fi + exit ;; + *:FreeBSD:*:*) + UNAME_PROCESSOR=`/usr/bin/uname -p` + case "$UNAME_PROCESSOR" in + amd64) + UNAME_PROCESSOR=x86_64 ;; + i386) + UNAME_PROCESSOR=i586 ;; + esac + echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" + exit ;; + i*:CYGWIN*:*) + echo "$UNAME_MACHINE"-pc-cygwin + exit ;; + *:MINGW64*:*) + echo "$UNAME_MACHINE"-pc-mingw64 + exit ;; + *:MINGW*:*) + echo "$UNAME_MACHINE"-pc-mingw32 + exit ;; + *:MSYS*:*) + echo "$UNAME_MACHINE"-pc-msys + exit ;; + i*:PW*:*) + echo "$UNAME_MACHINE"-pc-pw32 + exit ;; + *:Interix*:*) + case "$UNAME_MACHINE" in + x86) + echo i586-pc-interix"$UNAME_RELEASE" + exit ;; + authenticamd | genuineintel | EM64T) + echo x86_64-unknown-interix"$UNAME_RELEASE" + exit ;; + IA64) + echo ia64-unknown-interix"$UNAME_RELEASE" + exit ;; + esac ;; + i*:UWIN*:*) + echo "$UNAME_MACHINE"-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + exit ;; + *:GNU:*:*) + # the GNU system + echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`" + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" + exit ;; + *:Minix:*:*) + echo "$UNAME_MACHINE"-unknown-minix + exit ;; + aarch64:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + aarch64_be:Linux:*:*) + UNAME_MACHINE=aarch64_be + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC=gnulibc1 ; fi + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + arc:Linux:*:* | arceb:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + arm*:Linux:*:*) + set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + else + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi + else + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf + fi + fi + exit ;; + avr32*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + cris:Linux:*:*) + echo "$UNAME_MACHINE"-axis-linux-"$LIBC" + exit ;; + crisv32:Linux:*:*) + echo "$UNAME_MACHINE"-axis-linux-"$LIBC" + exit ;; + e2k:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + frv:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + hexagon:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + i*86:Linux:*:*) + echo "$UNAME_MACHINE"-pc-linux-"$LIBC" + exit ;; + ia64:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + k1om:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + m32r*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + m68*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + set_cc_for_build + sed 's/^ //' << EOF > "$dummy.c" + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif +EOF + eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`" + test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; } + ;; + mips64el:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + openrisc*:Linux:*:*) + echo or1k-unknown-linux-"$LIBC" + exit ;; + or32:Linux:*:* | or1k*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-"$LIBC" + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-"$LIBC" + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; + PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; + *) echo hppa-unknown-linux-"$LIBC" ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-"$LIBC" + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-"$LIBC" + exit ;; + ppc64le:Linux:*:*) + echo powerpc64le-unknown-linux-"$LIBC" + exit ;; + ppcle:Linux:*:*) + echo powerpcle-unknown-linux-"$LIBC" + exit ;; + riscv32:Linux:*:* | riscv64:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" + exit ;; + sh64*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + sh*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + tile*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + vax:Linux:*:*) + echo "$UNAME_MACHINE"-dec-linux-"$LIBC" + exit ;; + x86_64:Linux:*:*) + echo "$UNAME_MACHINE"-pc-linux-"$LIBC" + exit ;; + xtensa*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION" + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo "$UNAME_MACHINE"-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo "$UNAME_MACHINE"-unknown-stop + exit ;; + i*86:atheos:*:*) + echo "$UNAME_MACHINE"-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo "$UNAME_MACHINE"-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos"$UNAME_RELEASE" + exit ;; + i*86:*DOS:*:*) + echo "$UNAME_MACHINE"-pc-msdosdjgpp + exit ;; + i*86:*:4.*:*) + UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" + else + echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}" + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" + else + echo "$UNAME_MACHINE"-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configure will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos"$UNAME_RELEASE" + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos"$UNAME_RELEASE" + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos"$UNAME_RELEASE" + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos"$UNAME_RELEASE" + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv"$UNAME_RELEASE" + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo "$UNAME_MACHINE"-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes . + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo "$UNAME_MACHINE"-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux"$UNAME_RELEASE" + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv"$UNAME_RELEASE" + else + echo mips-unknown-sysv"$UNAME_RELEASE" + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + x86_64:Haiku:*:*) + echo x86_64-unknown-haiku + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux"$UNAME_RELEASE" + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux"$UNAME_RELEASE" + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux"$UNAME_RELEASE" + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux"$UNAME_RELEASE" + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux"$UNAME_RELEASE" + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux"$UNAME_RELEASE" + exit ;; + SX-ACE:SUPER-UX:*:*) + echo sxace-nec-superux"$UNAME_RELEASE" + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody"$UNAME_RELEASE" + exit ;; + *:Rhapsody:*:*) + echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + set_cc_for_build + if test "$UNAME_PROCESSOR" = unknown ; then + UNAME_PROCESSOR=powerpc + fi + if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then + if [ "$CC_FOR_BUILD" != no_compiler_found ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc + if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_PPC >/dev/null + then + UNAME_PROCESSOR=powerpc + fi + fi + elif test "$UNAME_PROCESSOR" = i386 ; then + # Avoid executing cc on OS X 10.9, as it ships with a stub + # that puts up a graphical alert prompting to install + # developer tools. Any system running Mac OS X 10.7 or + # later (Darwin 11 and later) is required to have a 64-bit + # processor. This is not true of the ARM version of Darwin + # that Apple uses in portable devices. + UNAME_PROCESSOR=x86_64 + fi + echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = x86; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NEO-*:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk"$UNAME_RELEASE" + exit ;; + NSE-*:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk"$UNAME_RELEASE" + exit ;; + NSR-*:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk"$UNAME_RELEASE" + exit ;; + NSV-*:NONSTOP_KERNEL:*:*) + echo nsv-tandem-nsk"$UNAME_RELEASE" + exit ;; + NSX-*:NONSTOP_KERNEL:*:*) + echo nsx-tandem-nsk"$UNAME_RELEASE" + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + # shellcheck disable=SC2154 + if test "$cputype" = 386; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo "$UNAME_MACHINE"-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux"$UNAME_RELEASE" + exit ;; + *:DragonFly:*:*) + echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "$UNAME_MACHINE" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`" + exit ;; + i*86:rdos:*:*) + echo "$UNAME_MACHINE"-pc-rdos + exit ;; + i*86:AROS:*:*) + echo "$UNAME_MACHINE"-pc-aros + exit ;; + x86_64:VMkernel:*:*) + echo "$UNAME_MACHINE"-unknown-esx + exit ;; + amd64:Isilon\ OneFS:*:*) + echo x86_64-unknown-onefs + exit ;; +esac + +echo "$0: unable to guess system type" >&2 + +case "$UNAME_MACHINE:$UNAME_SYSTEM" in + mips:Linux | mips64:Linux) + # If we got here on MIPS GNU/Linux, output extra information. + cat >&2 <&2 </dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = "$UNAME_MACHINE" +UNAME_RELEASE = "$UNAME_RELEASE" +UNAME_SYSTEM = "$UNAME_SYSTEM" +UNAME_VERSION = "$UNAME_VERSION" +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff -Nru pragha-1.3.3/config.h.in pragha-1.3.992/config.h.in --- pragha-1.3.3/config.h.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/config.h.in 2019-08-13 12:52:18.000000000 +0000 @@ -0,0 +1,156 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* always defined to indicate that i18n is enabled */ +#undef ENABLE_NLS + +/* Ignore post 3.14 deprecations */ +#undef GDK_VERSION_MAX_ALLOWED + +/* Ignore post 3.14 deprecations */ +#undef GDK_VERSION_MIN_REQUIRED + +/* Name of default gettext domain */ +#undef GETTEXT_PACKAGE + +/* Define to 1 if you have the `bind_textdomain_codeset' function. */ +#undef HAVE_BIND_TEXTDOMAIN_CODESET + +/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the + CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYCURRENT + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + +/* Define to 1 if you have the `dcgettext' function. */ +#undef HAVE_DCGETTEXT + +/* Define to 1 if you have the header file. */ +#undef HAVE_DLFCN_H + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define if grilo-0.2 >= 0.2.11 present */ +#undef HAVE_GRILO2 + +/* Define if grilo-0.3 >= 0.3.0 present */ +#undef HAVE_GRILO3 + +/* Define if grilo-net-0.2 >= 0.2.5 present */ +#undef HAVE_GRILO_NET2 + +/* Define if grilo-net-0.3 >= 0.3.0 present */ +#undef HAVE_GRILO_NET3 + +/* Define if gstreamer-audio-1.0 >= 0.11.90 present */ +#undef HAVE_GSTREAMER_AUDIO + +/* Define if gudev-1.0 >= 145 present */ +#undef HAVE_GUDEV + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define if json-glib-1.0 >= 1.0.0 present */ +#undef HAVE_JSON_GLIB + +/* Define if your file defines LC_MESSAGES. */ +#undef HAVE_LC_MESSAGES + +/* Define if libcddb >= 1.3.0 present */ +#undef HAVE_LIBCDDB + +/* Define if libcdio >= 0.80 present */ +#undef HAVE_LIBCDIO + +/* Define if libcdio_paranoia >= 0.90 present */ +#undef HAVE_LIBCDIO_PARANOIA + +/* Define if libclastfm >= 0.5 present */ +#undef HAVE_LIBCLASTFM + +/* Define if libglyr >= 1.0.1 present */ +#undef HAVE_LIBGLYR + +/* Define if keybinder-3.0 >= 0.2.0 present */ +#undef HAVE_LIBKEYBINDER + +/* Define if libmtp >= 1.1.0 present */ +#undef HAVE_LIBMTP + +/* Define if libnotify >= 0.7.5 present */ +#undef HAVE_LIBNOTIFY + +/* Define if libpeas-1.0 >= 1.0.0 present */ +#undef HAVE_LIBPEAS + +/* Define if libsoup-2.4 >= 2.38 present */ +#undef HAVE_LIBSOUP + +/* Define if libxfce4ui-2 >= 4.10.0 present */ +#undef HAVE_LIBXFCE4UI + +/* Define to 1 if you have the header file. */ +#undef HAVE_LOCALE_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define if totem-plparser >= 2.26 present */ +#undef HAVE_PLPARSER + +/* Define if rygel-server-2.6 >= 0.26.0 present */ +#undef HAVE_RYGEL + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to the sub-directory where libtool stores uninstalled libraries. */ +#undef LT_OBJDIR + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Version number of package */ +#undef VERSION diff -Nru pragha-1.3.3/config.sub pragha-1.3.992/config.sub --- pragha-1.3.3/config.sub 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/config.sub 2019-08-13 12:52:09.000000000 +0000 @@ -0,0 +1,1790 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright 1992-2018 Free Software Foundation, Inc. + +timestamp='2018-08-29' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). + + +# Please send patches to . +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# You can get the latest version of this script from: +# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS + +Canonicalize a configuration name. + +Options: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +Copyright 1992-2018 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo "$1" + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Split fields of configuration type +IFS="-" read -r field1 field2 field3 field4 <&2 + exit 1 + ;; + *-*-*-*) + basic_machine=$field1-$field2 + os=$field3-$field4 + ;; + *-*-*) + # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two + # parts + maybe_os=$field2-$field3 + case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \ + | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \ + | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ + | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ + | storm-chaos* | os2-emx* | rtmk-nova*) + basic_machine=$field1 + os=$maybe_os + ;; + android-linux) + basic_machine=$field1-unknown + os=linux-android + ;; + *) + basic_machine=$field1-$field2 + os=$field3 + ;; + esac + ;; + *-*) + # A lone config we happen to match not fitting any patern + case $field1-$field2 in + decstation-3100) + basic_machine=mips-dec + os= + ;; + *-*) + # Second component is usually, but not always the OS + case $field2 in + # Prevent following clause from handling this valid os + sun*os*) + basic_machine=$field1 + os=$field2 + ;; + # Manufacturers + dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \ + | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \ + | unicom* | ibm* | next | hp | isi* | apollo | altos* \ + | convergent* | ncr* | news | 32* | 3600* | 3100* \ + | hitachi* | c[123]* | convex* | sun | crds | omron* | dg \ + | ultra | tti* | harris | dolphin | highlevel | gould \ + | cbm | ns | masscomp | apple | axis | knuth | cray \ + | microblaze* | sim | cisco \ + | oki | wec | wrs | winbond) + basic_machine=$field1-$field2 + os= + ;; + *) + basic_machine=$field1 + os=$field2 + ;; + esac + ;; + esac + ;; + *) + # Convert single-component short-hands not valid as part of + # multi-component configurations. + case $field1 in + 386bsd) + basic_machine=i386-pc + os=bsd + ;; + a29khif) + basic_machine=a29k-amd + os=udi + ;; + adobe68k) + basic_machine=m68010-adobe + os=scout + ;; + alliant) + basic_machine=fx80-alliant + os= + ;; + altos | altos3068) + basic_machine=m68k-altos + os= + ;; + am29k) + basic_machine=a29k-none + os=bsd + ;; + amdahl) + basic_machine=580-amdahl + os=sysv + ;; + amiga) + basic_machine=m68k-unknown + os= + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=bsd + ;; + aros) + basic_machine=i386-pc + os=aros + ;; + aux) + basic_machine=m68k-apple + os=aux + ;; + balance) + basic_machine=ns32k-sequent + os=dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=linux + ;; + cegcc) + basic_machine=arm-unknown + os=cegcc + ;; + convex-c1) + basic_machine=c1-convex + os=bsd + ;; + convex-c2) + basic_machine=c2-convex + os=bsd + ;; + convex-c32) + basic_machine=c32-convex + os=bsd + ;; + convex-c34) + basic_machine=c34-convex + os=bsd + ;; + convex-c38) + basic_machine=c38-convex + os=bsd + ;; + cray) + basic_machine=j90-cray + os=unicos + ;; + crds | unos) + basic_machine=m68k-crds + os= + ;; + da30) + basic_machine=m68k-da30 + os= + ;; + decstation | pmax | pmin | dec3100 | decstatn) + basic_machine=mips-dec + os= + ;; + delta88) + basic_machine=m88k-motorola + os=sysv3 + ;; + dicos) + basic_machine=i686-pc + os=dicos + ;; + djgpp) + basic_machine=i586-pc + os=msdosdjgpp + ;; + ebmon29k) + basic_machine=a29k-amd + os=ebmon + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=ose + ;; + gmicro) + basic_machine=tron-gmicro + os=sysv + ;; + go32) + basic_machine=i386-pc + os=go32 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=hms + ;; + harris) + basic_machine=m88k-harris + os=sysv3 + ;; + hp300) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=hpux + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=proelf + ;; + i386mach) + basic_machine=i386-mach + os=mach + ;; + vsta) + basic_machine=i386-pc + os=vsta + ;; + isi68 | isi) + basic_machine=m68k-isi + os=sysv + ;; + m68knommu) + basic_machine=m68k-unknown + os=linux + ;; + magnum | m3230) + basic_machine=mips-mips + os=sysv + ;; + merlin) + basic_machine=ns32k-utek + os=sysv + ;; + mingw64) + basic_machine=x86_64-pc + os=mingw64 + ;; + mingw32) + basic_machine=i686-pc + os=mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=mingw32ce + ;; + monitor) + basic_machine=m68k-rom68k + os=coff + ;; + morphos) + basic_machine=powerpc-unknown + os=morphos + ;; + moxiebox) + basic_machine=moxie-unknown + os=moxiebox + ;; + msdos) + basic_machine=i386-pc + os=msdos + ;; + msys) + basic_machine=i686-pc + os=msys + ;; + mvs) + basic_machine=i370-ibm + os=mvs + ;; + nacl) + basic_machine=le32-unknown + os=nacl + ;; + ncr3000) + basic_machine=i486-ncr + os=sysv4 + ;; + netbsd386) + basic_machine=i386-pc + os=netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=newsos + ;; + news1000) + basic_machine=m68030-sony + os=newsos + ;; + necv70) + basic_machine=v70-nec + os=sysv + ;; + nh3000) + basic_machine=m68k-harris + os=cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=cxux + ;; + nindy960) + basic_machine=i960-intel + os=nindy + ;; + mon960) + basic_machine=i960-intel + os=mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=nonstopux + ;; + os400) + basic_machine=powerpc-ibm + os=os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=ose + ;; + os68k) + basic_machine=m68k-none + os=os68k + ;; + paragon) + basic_machine=i860-intel + os=osf + ;; + parisc) + basic_machine=hppa-unknown + os=linux + ;; + pw32) + basic_machine=i586-unknown + os=pw32 + ;; + rdos | rdos64) + basic_machine=x86_64-pc + os=rdos + ;; + rdos32) + basic_machine=i386-pc + os=rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=coff + ;; + sa29200) + basic_machine=a29k-amd + os=udi + ;; + sei) + basic_machine=mips-sei + os=seiux + ;; + sequent) + basic_machine=i386-sequent + os= + ;; + sps7) + basic_machine=m68k-bull + os=sysv2 + ;; + st2000) + basic_machine=m68k-tandem + os= + ;; + stratus) + basic_machine=i860-stratus + os=sysv4 + ;; + sun2) + basic_machine=m68000-sun + os= + ;; + sun2os3) + basic_machine=m68000-sun + os=sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=sunos4 + ;; + sun3) + basic_machine=m68k-sun + os= + ;; + sun3os3) + basic_machine=m68k-sun + os=sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=sunos4 + ;; + sun4) + basic_machine=sparc-sun + os= + ;; + sun4os3) + basic_machine=sparc-sun + os=sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=solaris2 + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + os= + ;; + sv1) + basic_machine=sv1-cray + os=unicos + ;; + symmetry) + basic_machine=i386-sequent + os=dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=unicos + ;; + t90) + basic_machine=t90-cray + os=unicos + ;; + toad1) + basic_machine=pdp10-xkl + os=tops20 + ;; + tpf) + basic_machine=s390x-ibm + os=tpf + ;; + udi29k) + basic_machine=a29k-amd + os=udi + ;; + ultra3) + basic_machine=a29k-nyu + os=sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=none + ;; + vaxv) + basic_machine=vax-dec + os=sysv + ;; + vms) + basic_machine=vax-dec + os=vms + ;; + vxworks960) + basic_machine=i960-wrs + os=vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=vxworks + ;; + xbox) + basic_machine=i686-pc + os=mingw32 + ;; + ymp) + basic_machine=ymp-cray + os=unicos + ;; + *) + basic_machine=$1 + os= + ;; + esac + ;; +esac + +# Decode 1-component or ad-hoc basic machines +case $basic_machine in + # Here we handle the default manufacturer of certain CPU types. It is in + # some cases the only manufacturer, in others, it is the most popular. + w89k) + cpu=hppa1.1 + vendor=winbond + ;; + op50n) + cpu=hppa1.1 + vendor=oki + ;; + op60c) + cpu=hppa1.1 + vendor=oki + ;; + ibm*) + cpu=i370 + vendor=ibm + ;; + orion105) + cpu=clipper + vendor=highlevel + ;; + mac | mpw | mac-mpw) + cpu=m68k + vendor=apple + ;; + pmac | pmac-mpw) + cpu=powerpc + vendor=apple + ;; + + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + cpu=m68000 + vendor=att + ;; + 3b*) + cpu=we32k + vendor=att + ;; + bluegene*) + cpu=powerpc + vendor=ibm + os=cnk + ;; + decsystem10* | dec10*) + cpu=pdp10 + vendor=dec + os=tops10 + ;; + decsystem20* | dec20*) + cpu=pdp10 + vendor=dec + os=tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + cpu=m68k + vendor=motorola + ;; + dpx2*) + cpu=m68k + vendor=bull + os=sysv3 + ;; + encore | umax | mmax) + cpu=ns32k + vendor=encore + ;; + elxsi) + cpu=elxsi + vendor=elxsi + os=${os:-bsd} + ;; + fx2800) + cpu=i860 + vendor=alliant + ;; + genix) + cpu=ns32k + vendor=ns + ;; + h3050r* | hiux*) + cpu=hppa1.1 + vendor=hitachi + os=hiuxwe2 + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + cpu=hppa1.0 + vendor=hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + cpu=m68000 + vendor=hp + ;; + hp9k3[2-9][0-9]) + cpu=m68k + vendor=hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + cpu=hppa1.0 + vendor=hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + cpu=hppa1.1 + vendor=hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + cpu=hppa1.1 + vendor=hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + cpu=hppa1.1 + vendor=hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + cpu=hppa1.1 + vendor=hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + cpu=hppa1.0 + vendor=hp + ;; + i*86v32) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + os=sysv32 + ;; + i*86v4*) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + os=sysv4 + ;; + i*86v) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + os=sysv + ;; + i*86sol2) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + os=solaris2 + ;; + j90 | j90-cray) + cpu=j90 + vendor=cray + os=${os:-unicos} + ;; + iris | iris4d) + cpu=mips + vendor=sgi + case $os in + irix*) + ;; + *) + os=irix4 + ;; + esac + ;; + miniframe) + cpu=m68000 + vendor=convergent + ;; + *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*) + cpu=m68k + vendor=atari + os=mint + ;; + news-3600 | risc-news) + cpu=mips + vendor=sony + os=newsos + ;; + next | m*-next) + cpu=m68k + vendor=next + case $os in + nextstep* ) + ;; + ns2*) + os=nextstep2 + ;; + *) + os=nextstep3 + ;; + esac + ;; + np1) + cpu=np1 + vendor=gould + ;; + op50n-* | op60c-*) + cpu=hppa1.1 + vendor=oki + os=proelf + ;; + pa-hitachi) + cpu=hppa1.1 + vendor=hitachi + os=hiuxwe2 + ;; + pbd) + cpu=sparc + vendor=tti + ;; + pbb) + cpu=m68k + vendor=tti + ;; + pc532) + cpu=ns32k + vendor=pc532 + ;; + pn) + cpu=pn + vendor=gould + ;; + power) + cpu=power + vendor=ibm + ;; + ps2) + cpu=i386 + vendor=ibm + ;; + rm[46]00) + cpu=mips + vendor=siemens + ;; + rtpc | rtpc-*) + cpu=romp + vendor=ibm + ;; + sde) + cpu=mipsisa32 + vendor=sde + os=${os:-elf} + ;; + simso-wrs) + cpu=sparclite + vendor=wrs + os=vxworks + ;; + tower | tower-32) + cpu=m68k + vendor=ncr + ;; + vpp*|vx|vx-*) + cpu=f301 + vendor=fujitsu + ;; + w65) + cpu=w65 + vendor=wdc + ;; + w89k-*) + cpu=hppa1.1 + vendor=winbond + os=proelf + ;; + none) + cpu=none + vendor=none + ;; + leon|leon[3-9]) + cpu=sparc + vendor=$basic_machine + ;; + leon-*|leon[3-9]-*) + cpu=sparc + vendor=`echo "$basic_machine" | sed 's/-.*//'` + ;; + + *-*) + IFS="-" read -r cpu vendor <&2 + exit 1 + ;; + esac + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $vendor in + digital*) + vendor=dec + ;; + commodore*) + vendor=cbm + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x$os != x ] +then +case $os in + # First match some system type aliases that might get confused + # with valid system types. + # solaris* is a basic system type, with this one exception. + auroraux) + os=auroraux + ;; + bluegene*) + os=cnk + ;; + solaris1 | solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + solaris) + os=solaris2 + ;; + unixware*) + os=sysv4.2uw + ;; + gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # es1800 is here to avoid being matched by es* (a different OS) + es1800*) + os=ose + ;; + # Some version numbers need modification + chorusos*) + os=chorusos + ;; + isc) + os=isc2.2 + ;; + sco6) + os=sco5v6 + ;; + sco5) + os=sco3.2v5 + ;; + sco4) + os=sco3.2v4 + ;; + sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + ;; + sco3.2v[4-9]* | sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + ;; + scout) + # Don't match below + ;; + sco*) + os=sco3.2v2 + ;; + psos*) + os=psos + ;; + # Now accept the basic system types. + # The portable systems comes first. + # Each alternative MUST end in a * to match a version number. + # sysv* is not here because it comes later, after sysvr4. + gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ + | *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\ + | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ + | sym* | kopensolaris* | plan9* \ + | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \ + | aos* | aros* | cloudabi* | sortix* \ + | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \ + | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \ + | knetbsd* | mirbsd* | netbsd* \ + | bitrig* | openbsd* | solidbsd* | libertybsd* \ + | ekkobsd* | kfreebsd* | freebsd* | riscix* | lynxos* \ + | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \ + | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \ + | udi* | eabi* | lites* | ieee* | go32* | aux* | hcos* \ + | chorusrdb* | cegcc* | glidix* \ + | cygwin* | msys* | pe* | moss* | proelf* | rtems* \ + | midipix* | mingw32* | mingw64* | linux-gnu* | linux-android* \ + | linux-newlib* | linux-musl* | linux-uclibc* \ + | uxpv* | beos* | mpeix* | udk* | moxiebox* \ + | interix* | uwin* | mks* | rhapsody* | darwin* \ + | openstep* | oskit* | conix* | pw32* | nonstopux* \ + | storm-chaos* | tops10* | tenex* | tops20* | its* \ + | os2* | vos* | palmos* | uclinux* | nucleus* \ + | morphos* | superux* | rtmk* | windiss* \ + | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \ + | skyos* | haiku* | rdos* | toppers* | drops* | es* \ + | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ + | midnightbsd*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + qnx*) + case $cpu in + x86 | i*86) + ;; + *) + os=nto-$os + ;; + esac + ;; + hiux*) + os=hiuxwe2 + ;; + nto-qnx*) + ;; + nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + sim | xray | os68k* | v88r* \ + | windows* | osx | abug | netware* | os9* \ + | macos* | mpw* | magic* | mmixware* | mon960* | lnews*) + ;; + linux-dietlibc) + os=linux-dietlibc + ;; + linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + lynx*178) + os=lynxos178 + ;; + lynx*5) + os=lynxos5 + ;; + lynx*) + os=lynxos + ;; + mac*) + os=`echo "$os" | sed -e 's|mac|macos|'` + ;; + opened*) + os=openedition + ;; + os400*) + os=os400 + ;; + sunos5*) + os=`echo "$os" | sed -e 's|sunos5|solaris2|'` + ;; + sunos6*) + os=`echo "$os" | sed -e 's|sunos6|solaris3|'` + ;; + wince*) + os=wince + ;; + utek*) + os=bsd + ;; + dynix*) + os=bsd + ;; + acis*) + os=aos + ;; + atheos*) + os=atheos + ;; + syllable*) + os=syllable + ;; + 386bsd) + os=bsd + ;; + ctix* | uts*) + os=sysv + ;; + nova*) + os=rtmk-nova + ;; + ns2) + os=nextstep2 + ;; + nsk*) + os=nsk + ;; + # Preserve the version number of sinix5. + sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + sinix*) + os=sysv4 + ;; + tpf*) + os=tpf + ;; + triton*) + os=sysv3 + ;; + oss*) + os=sysv3 + ;; + svr4*) + os=sysv4 + ;; + svr3) + os=sysv3 + ;; + sysvr4) + os=sysv4 + ;; + # This must come after sysvr4. + sysv*) + ;; + ose*) + os=ose + ;; + *mint | mint[0-9]* | *MiNT | MiNT[0-9]*) + os=mint + ;; + zvmoe) + os=zvmoe + ;; + dicos*) + os=dicos + ;; + pikeos*) + # Until real need of OS specific support for + # particular features comes up, bare metal + # configurations are quite functional. + case $cpu in + arm*) + os=eabi + ;; + *) + os=elf + ;; + esac + ;; + nacl*) + ;; + ios) + ;; + none) + ;; + *-eabi) + ;; + *) + echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $cpu-$vendor in + score-*) + os=elf + ;; + spu-*) + os=elf + ;; + *-acorn) + os=riscix1.2 + ;; + arm*-rebel) + os=linux + ;; + arm*-semi) + os=aout + ;; + c4x-* | tic4x-*) + os=coff + ;; + c8051-*) + os=elf + ;; + clipper-intergraph) + os=clix + ;; + hexagon-*) + os=elf + ;; + tic54x-*) + os=coff + ;; + tic55x-*) + os=coff + ;; + tic6x-*) + os=coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=tops20 + ;; + pdp11-*) + os=none + ;; + *-dec | vax-*) + os=ultrix4.2 + ;; + m68*-apollo) + os=domain + ;; + i386-sun) + os=sunos4.0.2 + ;; + m68000-sun) + os=sunos3 + ;; + m68*-cisco) + os=aout + ;; + mep-*) + os=elf + ;; + mips*-cisco) + os=elf + ;; + mips*-*) + os=elf + ;; + or32-*) + os=coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=sysv3 + ;; + sparc-* | *-sun) + os=sunos4.1.1 + ;; + pru-*) + os=elf + ;; + *-be) + os=beos + ;; + *-ibm) + os=aix + ;; + *-knuth) + os=mmixware + ;; + *-wec) + os=proelf + ;; + *-winbond) + os=proelf + ;; + *-oki) + os=proelf + ;; + *-hp) + os=hpux + ;; + *-hitachi) + os=hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=sysv + ;; + *-cbm) + os=amigaos + ;; + *-dg) + os=dgux + ;; + *-dolphin) + os=sysv3 + ;; + m68k-ccur) + os=rtu + ;; + m88k-omron*) + os=luna + ;; + *-next) + os=nextstep + ;; + *-sequent) + os=ptx + ;; + *-crds) + os=unos + ;; + *-ns) + os=genix + ;; + i370-*) + os=mvs + ;; + *-gould) + os=sysv + ;; + *-highlevel) + os=bsd + ;; + *-encore) + os=bsd + ;; + *-sgi) + os=irix + ;; + *-siemens) + os=sysv4 + ;; + *-masscomp) + os=rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=uxpv + ;; + *-rom68k) + os=coff + ;; + *-*bug) + os=coff + ;; + *-apple) + os=macos + ;; + *-atari*) + os=mint + ;; + *-wrs) + os=vxworks + ;; + *) + os=none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +case $vendor in + unknown) + case $os in + riscix*) + vendor=acorn + ;; + sunos*) + vendor=sun + ;; + cnk*|-aix*) + vendor=ibm + ;; + beos*) + vendor=be + ;; + hpux*) + vendor=hp + ;; + mpeix*) + vendor=hp + ;; + hiux*) + vendor=hitachi + ;; + unos*) + vendor=crds + ;; + dgux*) + vendor=dg + ;; + luna*) + vendor=omron + ;; + genix*) + vendor=ns + ;; + clix*) + vendor=intergraph + ;; + mvs* | opened*) + vendor=ibm + ;; + os400*) + vendor=ibm + ;; + ptx*) + vendor=sequent + ;; + tpf*) + vendor=ibm + ;; + vxsim* | vxworks* | windiss*) + vendor=wrs + ;; + aux*) + vendor=apple + ;; + hms*) + vendor=hitachi + ;; + mpw* | macos*) + vendor=apple + ;; + *mint | mint[0-9]* | *MiNT | MiNT[0-9]*) + vendor=atari + ;; + vos*) + vendor=stratus + ;; + esac + ;; +esac + +echo "$cpu-$vendor-$os" +exit + +# Local variables: +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff -Nru pragha-1.3.3/configure pragha-1.3.992/configure --- pragha-1.3.3/configure 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/configure 2019-08-13 12:52:11.000000000 +0000 @@ -0,0 +1,22081 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.69 for pragha 1.3.99.1. +# +# Report bugs to . +# +# Copyright (c) 2009-2019 +# Matias De lellis +# +# +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 + + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and mati86dl@gmail.com +$0: about your system, including any error possibly output +$0: before this message. Then install a modern shell, or +$0: manually run the script under such a shell if you do +$0: have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + +SHELL=${CONFIG_SHELL-/bin/sh} + + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='pragha' +PACKAGE_TARNAME='pragha' +PACKAGE_VERSION='1.3.99.1' +PACKAGE_STRING='pragha 1.3.99.1' +PACKAGE_BUGREPORT='mati86dl@gmail.com' +PACKAGE_URL='' + +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIBOBJS +HAVE_LIBCDDB_FALSE +HAVE_LIBCDDB_TRUE +LIBCDDB_REQUIRED_VERSION +LIBCDDB_LIBS +LIBCDDB_CFLAGS +LIBCDDB_VERSION +HAVE_LIBCDIO_PARANOIA_FALSE +HAVE_LIBCDIO_PARANOIA_TRUE +LIBCDIO_PARANOIA_REQUIRED_VERSION +LIBCDIO_PARANOIA_LIBS +LIBCDIO_PARANOIA_CFLAGS +LIBCDIO_PARANOIA_VERSION +HAVE_LIBCDIO_FALSE +HAVE_LIBCDIO_TRUE +LIBCDIO_REQUIRED_VERSION +LIBCDIO_LIBS +LIBCDIO_CFLAGS +LIBCDIO_VERSION +HAVE_LIBCLASTFM_FALSE +HAVE_LIBCLASTFM_TRUE +LIBCLASTFM_REQUIRED_VERSION +LIBCLASTFM_LIBS +LIBCLASTFM_CFLAGS +LIBCLASTFM_VERSION +HAVE_GRILO_NET2_FALSE +HAVE_GRILO_NET2_TRUE +GRILO_NET2_REQUIRED_VERSION +GRILO_NET2_LIBS +GRILO_NET2_CFLAGS +GRILO_NET2_VERSION +HAVE_GRILO_NET3_FALSE +HAVE_GRILO_NET3_TRUE +GRILO_NET3_REQUIRED_VERSION +GRILO_NET3_LIBS +GRILO_NET3_CFLAGS +GRILO_NET3_VERSION +HAVE_GRILO2_FALSE +HAVE_GRILO2_TRUE +GRILO2_REQUIRED_VERSION +GRILO2_LIBS +GRILO2_CFLAGS +GRILO2_VERSION +HAVE_GRILO3_FALSE +HAVE_GRILO3_TRUE +GRILO3_REQUIRED_VERSION +GRILO3_LIBS +GRILO3_CFLAGS +GRILO3_VERSION +HAVE_RYGEL_FALSE +HAVE_RYGEL_TRUE +RYGEL_REQUIRED_VERSION +RYGEL_LIBS +RYGEL_CFLAGS +RYGEL_VERSION +HAVE_JSON_GLIB_FALSE +HAVE_JSON_GLIB_TRUE +JSON_GLIB_REQUIRED_VERSION +JSON_GLIB_LIBS +JSON_GLIB_CFLAGS +JSON_GLIB_VERSION +HAVE_LIBSOUP_FALSE +HAVE_LIBSOUP_TRUE +LIBSOUP_REQUIRED_VERSION +LIBSOUP_LIBS +LIBSOUP_CFLAGS +LIBSOUP_VERSION +HAVE_LIBMTP_FALSE +HAVE_LIBMTP_TRUE +LIBMTP_REQUIRED_VERSION +LIBMTP_LIBS +LIBMTP_CFLAGS +LIBMTP_VERSION +HAVE_LIBGLYR_FALSE +HAVE_LIBGLYR_TRUE +LIBGLYR_REQUIRED_VERSION +LIBGLYR_LIBS +LIBGLYR_CFLAGS +LIBGLYR_VERSION +HAVE_LIBKEYBINDER_FALSE +HAVE_LIBKEYBINDER_TRUE +LIBKEYBINDER_REQUIRED_VERSION +LIBKEYBINDER_LIBS +LIBKEYBINDER_CFLAGS +LIBKEYBINDER_VERSION +HAVE_LIBNOTIFY_FALSE +HAVE_LIBNOTIFY_TRUE +LIBNOTIFY_REQUIRED_VERSION +LIBNOTIFY_LIBS +LIBNOTIFY_CFLAGS +LIBNOTIFY_VERSION +DBUS_PLUGINS_SUPPORT_FALSE +DBUS_PLUGINS_SUPPORT_TRUE +HAVE_GUDEV_FALSE +HAVE_GUDEV_TRUE +GUDEV_REQUIRED_VERSION +GUDEV_LIBS +GUDEV_CFLAGS +GUDEV_VERSION +HAVE_PLPARSER_FALSE +HAVE_PLPARSER_TRUE +PLPARSER_REQUIRED_VERSION +PLPARSER_LIBS +PLPARSER_CFLAGS +PLPARSER_VERSION +HAVE_LIBXFCE4UI_FALSE +HAVE_LIBXFCE4UI_TRUE +LIBXFCE4UI_REQUIRED_VERSION +LIBXFCE4UI_LIBS +LIBXFCE4UI_CFLAGS +LIBXFCE4UI_VERSION +HAVE_GSTREAMER_AUDIO_FALSE +HAVE_GSTREAMER_AUDIO_TRUE +GSTREAMER_AUDIO_REQUIRED_VERSION +GSTREAMER_AUDIO_LIBS +GSTREAMER_AUDIO_CFLAGS +GSTREAMER_AUDIO_VERSION +LIBPEAS_GTK_REQUIRED_VERSION +LIBPEAS_GTK_LIBS +LIBPEAS_GTK_CFLAGS +LIBPEAS_GTK_VERSION +HAVE_LIBPEAS_FALSE +HAVE_LIBPEAS_TRUE +LIBPEAS_REQUIRED_VERSION +LIBPEAS_LIBS +LIBPEAS_CFLAGS +LIBPEAS_VERSION +PRAGHA_LIBS +PRAGHA_CFLAGS +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH +PKG_CONFIG +HAVE_XDT_CSOURCE +XGETTEXT_ARGS +MKINSTALLDIRS +POSUB +POFILES +PO_IN_DATADIR_FALSE +PO_IN_DATADIR_TRUE +INTLLIBS +INSTOBJEXT +GMOFILES +DATADIRNAME +CATOBJEXT +CATALOGS +MSGFMT_OPTS +INTL_MACOSX_LIBS +GETTEXT_PACKAGE +CPP +LT_SYS_LIBRARY_PATH +OTOOL64 +OTOOL +LIPO +NMEDIT +DSYMUTIL +MANIFEST_TOOL +RANLIB +ac_ct_AR +AR +DLLTOOL +OBJDUMP +LN_S +NM +ac_ct_DUMPBIN +DUMPBIN +LD +FGREP +EGREP +GREP +SED +LIBTOOL +ALL_LINGUAS +INTLTOOL_PERL +GMSGFMT +MSGFMT +MSGMERGE +XGETTEXT +INTLTOOL_POLICY_RULE +INTLTOOL_SERVICE_RULE +INTLTOOL_THEME_RULE +INTLTOOL_SCHEMAS_RULE +INTLTOOL_CAVES_RULE +INTLTOOL_XML_NOMERGE_RULE +INTLTOOL_XML_RULE +INTLTOOL_KBD_RULE +INTLTOOL_XAM_RULE +INTLTOOL_UI_RULE +INTLTOOL_SOUNDLIST_RULE +INTLTOOL_SHEET_RULE +INTLTOOL_SERVER_RULE +INTLTOOL_PONG_RULE +INTLTOOL_OAF_RULE +INTLTOOL_PROP_RULE +INTLTOOL_KEYS_RULE +INTLTOOL_DIRECTORY_RULE +INTLTOOL_DESKTOP_RULE +intltool__v_merge_options_0 +intltool__v_merge_options_ +INTLTOOL_V_MERGE_OPTIONS +INTLTOOL__v_MERGE_0 +INTLTOOL__v_MERGE_ +INTLTOOL_V_MERGE +INTLTOOL_EXTRACT +INTLTOOL_MERGE +INTLTOOL_UPDATE +USE_NLS +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +am__nodep +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CC +PLUGIN_LIBTOOL_FLAGS +CFLAGS +WINDRES +WIN32_FALSE +WIN32_TRUE +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +MAINT +MAINTAINER_MODE_FALSE +MAINTAINER_MODE_TRUE +AM_BACKSLASH +AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL +am__quote' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_silent_rules +enable_maintainer_mode +enable_debug +enable_dependency_tracking +enable_nls +enable_static +enable_shared +with_pic +enable_fast_install +with_aix_soname +with_gnu_ld +with_sysroot +enable_libtool_lock +with_locales_dir +enable_libpeas_1_0 +enable_gstreamer_audio +enable_libxfce4ui +enable_totem_plparser +enable_gudev_1_0 +enable_libnotify +enable_keybinder +enable_libglyr +enable_libmtp +enable_libsoup_2_4 +enable_json_glib_1_0 +enable_rygel_server_2_6 +enable_grilo_0_3 +enable_grilo_0_2 +enable_grilo_net_0_3 +enable_grilo_net_0_2 +enable_libclastfm +enable_libcdio +enable_libcdio_paranoia +enable_libcddb +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +LT_SYS_LIBRARY_PATH +CPP +PKG_CONFIG +PKG_CONFIG_PATH +PKG_CONFIG_LIBDIR +PRAGHA_CFLAGS +PRAGHA_LIBS' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures pragha 1.3.99.1 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/pragha] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of pragha 1.3.99.1:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") + --enable-maintainer-mode + enable make rules and dependencies not useful (and + sometimes confusing) to the casual installer + --enable-debug Turn on debugging + --enable-dependency-tracking + do not reject slow dependency extractors + --disable-dependency-tracking + speeds up one-time build + --disable-nls do not use Native Language Support + --enable-static[=PKGS] build static libraries [default=no] + --enable-shared[=PKGS] build shared libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] + --disable-libtool-lock avoid locking (might break parallel builds) + --enable-libpeas-1.0 Enable checking for libpeas-1.0 library + (default=[yes]) + --disable-libpeas-1.0 Disable checking for libpeas-1.0 library + --enable-gstreamer-audio + Enable checking for gstreamer-audio + (default=[yes]) + --disable-gstreamer-audio + Disable checking for gstreamer-audio + --enable-libxfce4ui Enable checking for libxfce4ui library + (default=[yes]) + --disable-libxfce4ui Disable checking for libxfce4ui library + --enable-totem-plparser Enable checking for totem-plparser library + (default=[yes]) + --disable-totem-plparser + Disable checking for totem-plparser library + --enable-gudev-1.0 Enable checking for gudev-1.0 library + (default=[yes]) + --disable-gudev-1.0 Disable checking for gudev-1.0 library + --enable-libnotify Enable checking for libnotify library + (default=[yes]) + --disable-libnotify Disable checking for libnotify library + --enable-keybinder Enable checking for keybinder library + (default=[yes]) + --disable-keybinder Disable checking for keybinder library + --enable-libglyr Enable checking for libglyr library + (default=[yes]) + --disable-libglyr Disable checking for libglyr library + --enable-libmtp Enable checking for libmtp library + (default=[yes]) + --disable-libmtp Disable checking for libmtp library + --enable-libsoup-2.4 Enable checking for libsoup-2.4 library + (default=[yes]) + --disable-libsoup-2.4 Disable checking for libsoup-2.4 library + --enable-json-glib-1.0 Enable checking for json-glib-1.0 library + (default=[yes]) + --disable-json-glib-1.0 Disable checking for json-glib-1.0 library + --enable-rygel-server-2.6 + Enable checking for rygel-server-2.6 library + (default=[yes]) + --disable-rygel-server-2.6 + Disable checking for rygel-server-2.6 library + --enable-grilo-0.3 Enable checking for grilo-0.3 library + (default=[yes]) + --disable-grilo-0.3 Disable checking for grilo-0.3 library + --enable-grilo-0.2 Enable checking for grilo-0.2 library + (default=[yes]) + --disable-grilo-0.2 Disable checking for grilo-0.2 library + --enable-grilo-net-0.3 Enable checking for grilo-net-0.3 library + (default=[yes]) + --disable-grilo-net-0.3 Disable checking for grilo-net-0.3 library + --enable-grilo-net-0.2 Enable checking for grilo-net-0.2 library + (default=[yes]) + --disable-grilo-net-0.2 Disable checking for grilo-net-0.2 library + --enable-libclastfm Enable checking for libclastfm library + (default=[yes]) + --disable-libclastfm Disable checking for libclastfm library + --enable-libcdio Enable checking for libcdio library + (default=[yes]) + --disable-libcdio Disable checking for libcdio library + --enable-libcdio_paranoia + Enable checking for libcdio_paranoia library + (default=[yes]) + --disable-libcdio_paranoia + Disable checking for libcdio_paranoia library + --enable-libcddb Enable checking for libcddb library + (default=[yes]) + --disable-libcddb Disable checking for libcddb library + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use + both] + --with-aix-soname=aix|svr4|both + shared library versioning (aka "SONAME") variant to + provide on AIX, [default=aix]. + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-sysroot[=DIR] Search for dependent libraries within DIR (or the + compiler's sysroot if not specified). + + --with-locales-dir=DIR Install locales into DIR + + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + LT_SYS_LIBRARY_PATH + User-defined run-time library search path. + CPP C preprocessor + PKG_CONFIG path to pkg-config utility + PKG_CONFIG_PATH + directories to add to pkg-config's search path + PKG_CONFIG_LIBDIR + path overriding pkg-config's built-in search path + PRAGHA_CFLAGS + C compiler flags for PRAGHA, overriding pkg-config + PRAGHA_LIBS linker flags for PRAGHA, overriding pkg-config + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +pragha configure 1.3.99.1 +generated by GNU Autoconf 2.69 + +Copyright (C) 2012 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. + +Copyright (c) 2009-2019 + Matias De lellis +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## --------------------------------- ## +## Report this to mati86dl@gmail.com ## +## --------------------------------- ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by pragha $as_me 1.3.99.1, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +ac_config_headers="$ac_config_headers config.h" + + +am__api_version='1.16' + +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken + alias in your environment" "$LINENO" 5 + fi + if test "$2" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi + +rm -f conftest.file + +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=1;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='pragha' + VERSION='1.3.99.1' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +mkdir_p='$(MKDIR_P)' + +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' + + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar pax cpio none' + +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + + + + + + +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } + # Check whether --enable-maintainer-mode was given. +if test "${enable_maintainer_mode+set}" = set; then : + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval +else + USE_MAINTAINER_MODE=no +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 +$as_echo "$USE_MAINTAINER_MODE" >&6; } + if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= + MAINTAINER_MODE_FALSE='#' +else + MAINTAINER_MODE_TRUE='#' + MAINTAINER_MODE_FALSE= +fi + + MAINT=$MAINTAINER_MODE_TRUE + + + + +$as_echo "#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_14" >>confdefs.h + + +$as_echo "#define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_14" >>confdefs.h + + +# Check whether --enable-debug was given. +if test "${enable_debug+set}" = set; then : + enableval=$enable_debug; + case "${enableval}" in + yes) debug=true ; + CFLAGS="$CFLAGS -DDEBUG -D_DEBUG -g -ggdb -O0 -fno-inline -fno-inline-functions" ;; + no) debug=false ; + CFLAGS="$CFLAGS -DNDEBUG" ;; + *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;; + esac + +else + debug=false + CFLAGS="$CFLAGS -DNDEBUG" + +fi + + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with mingw32 for a Windows host" >&5 +$as_echo_n "checking whether to build with mingw32 for a Windows host... " >&6; } +case "${host}" in + *-*-mingw*|*-*-cygwin*) WIN32="yes" ;; + *) WIN32="no" ;; +esac + + if test "$WIN32" = "yes"; then + WIN32_TRUE= + WIN32_FALSE='#' +else + WIN32_TRUE='#' + WIN32_FALSE= +fi + + +if test "x$WIN32" = "xyes"; then : + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. +set dummy ${ac_tool_prefix}windres; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_WINDRES+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$WINDRES"; then + ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_WINDRES="${ac_tool_prefix}windres" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +WINDRES=$ac_cv_prog_WINDRES +if test -n "$WINDRES"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 +$as_echo "$WINDRES" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_WINDRES"; then + ac_ct_WINDRES=$WINDRES + # Extract the first word of "windres", so it can be a program name with args. +set dummy windres; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_WINDRES+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_WINDRES"; then + ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_WINDRES="windres" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES +if test -n "$ac_ct_WINDRES"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 +$as_echo "$ac_ct_WINDRES" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_WINDRES" = x; then + WINDRES="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + WINDRES=$ac_ct_WINDRES + fi +else + WINDRES="$ac_cv_prog_WINDRES" +fi + + if test -z "$WINDRES"; then : + as_fn_error $? "windres is required when building for a Windows host" "$LINENO" 5 +fi +fi + + + +PLUGIN_LIBTOOL_FLAGS="-avoid-version -module -shared -export-dynamic -no-undefined" + + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=0;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } +if ${am_cv_prog_cc_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +$as_echo "$am_cv_prog_cc_c_o" >&6; } +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 +$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } +cat > confinc.mk << 'END' +am__doit: + @echo this is the am__doit target >confinc.out +.PHONY: am__doit +END +am__include="#" +am__quote= +# BSD make does it like this. +echo '.include "confinc.mk" # ignored' > confmf.BSD +# Other make implementations (GNU, Solaris 10, AIX) do it like this. +echo 'include confinc.mk # ignored' > confmf.GNU +_am_result=no +for s in GNU BSD; do + { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 + (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + case $?:`cat confinc.out 2>/dev/null` in #( + '0:this is the am__doit target') : + case $s in #( + BSD) : + am__include='.include' am__quote='"' ;; #( + *) : + am__include='include' am__quote='' ;; +esac ;; #( + *) : + ;; +esac + if test "$am__include" != "#"; then + _am_result="yes ($s style)" + break + fi +done +rm -f confinc.* confmf.* +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 +$as_echo "${_am_result}" >&6; } + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + +case "$am__api_version" in + 1.01234) + as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 + ;; + *) + ;; +esac + +INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` +INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +if test -n ""; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5 +$as_echo_n "checking for intltool >= ... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 +$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } + test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || + as_fn_error $? "Your intltool is too old. You need intltool or later." "$LINENO" 5 +fi + +# Extract the first word of "intltool-update", so it can be a program name with args. +set dummy intltool-update; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_UPDATE in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE +if test -n "$INTLTOOL_UPDATE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 +$as_echo "$INTLTOOL_UPDATE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "intltool-merge", so it can be a program name with args. +set dummy intltool-merge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_MERGE in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE +if test -n "$INTLTOOL_MERGE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 +$as_echo "$INTLTOOL_MERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "intltool-extract", so it can be a program name with args. +set dummy intltool-extract; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_EXTRACT in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT +if test -n "$INTLTOOL_EXTRACT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 +$as_echo "$INTLTOOL_EXTRACT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then + as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 +fi + +if test -z "$AM_DEFAULT_VERBOSITY"; then + AM_DEFAULT_VERBOSITY=1 +fi + + +INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' +INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' +INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' + + + + +INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' +intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' +intltool__v_merge_options_0='-q' + + + + + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' + INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' +else + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' +fi + INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# Check the gettext tools to make sure they are GNU +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $XGETTEXT in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +XGETTEXT=$ac_cv_path_XGETTEXT +if test -n "$XGETTEXT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MSGMERGE in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MSGMERGE=$ac_cv_path_MSGMERGE +if test -n "$MSGMERGE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MSGFMT=$ac_cv_path_MSGFMT +if test -n "$MSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then + as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 +fi +xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" +mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" +mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" +if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then + as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 +fi + +# Extract the first word of "perl", so it can be a program name with args. +set dummy perl; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_PERL+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_PERL in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL +if test -n "$INTLTOOL_PERL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 +$as_echo "$INTLTOOL_PERL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$INTLTOOL_PERL"; then + as_fn_error $? "perl not found" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 +$as_echo_n "checking for perl >= 5.8.1... " >&6; } +$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 +if test $? -ne 0; then + as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 +else + IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 +$as_echo "$IT_PERL_VERSION" >&6; } +fi +if test "x" != "xno-xml"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 +$as_echo_n "checking for XML::Parser... " >&6; } + if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } + else + as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 + fi +fi + +# Substitute ALL_LINGUAS so we can use it in po/Makefile + + + + + + + +case `pwd` in + *\ * | *\ *) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; +esac + + + +macro_version='2.4.6' +macro_revision='2.4.6' + + + + + + + + + + + + + +ltmain=$ac_aux_dir/ltmain.sh + +# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 +$as_echo_n "checking how to print strings... " >&6; } +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "" +} + +case $ECHO in + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 +$as_echo "printf" >&6; } ;; + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 +$as_echo "print -r" >&6; } ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 +$as_echo "cat" >&6; } ;; +esac + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +$as_echo_n "checking for a sed that does not truncate output... " >&6; } +if ${ac_cv_path_SED+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ + for ac_i in 1 2 3 4 5 6 7; do + ac_script="$ac_script$as_nl$ac_script" + done + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed + { ac_script=; unset ac_script;} + if test -z "$SED"; then + ac_path_SED_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_SED" || continue +# Check for GNU ac_path_SED and select it if it is found. + # Check for GNU $ac_path_SED +case `"$ac_path_SED" --version 2>&1` in +*GNU*) + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo '' >> "conftest.nl" + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_SED_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_SED="$ac_path_SED" + ac_path_SED_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_SED_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_SED"; then + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 + fi +else + ac_cv_path_SED=$SED +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 +$as_echo "$ac_cv_path_SED" >&6; } + SED="$ac_cv_path_SED" + rm -f conftest.sed + +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_GREP" || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP" || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 +$as_echo_n "checking for fgrep... " >&6; } +if ${ac_cv_path_FGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 + then ac_cv_path_FGREP="$GREP -F" + else + if test -z "$FGREP"; then + ac_path_FGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in fgrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_FGREP" || continue +# Check for GNU ac_path_FGREP and select it if it is found. + # Check for GNU $ac_path_FGREP +case `"$ac_path_FGREP" --version 2>&1` in +*GNU*) + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'FGREP' >> "conftest.nl" + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_FGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_FGREP="$ac_path_FGREP" + ac_path_FGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_FGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_FGREP"; then + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_FGREP=$FGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 +$as_echo "$ac_cv_path_FGREP" >&6; } + FGREP="$ac_cv_path_FGREP" + + +test -z "$GREP" && GREP=grep + + + + + + + + + + + + + + + + + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test yes = "$GCC"; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return, which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD=$ac_prog + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test yes = "$with_gnu_ld"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${lt_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS=$lt_save_ifs + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD=$ac_dir/$ac_prog + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${lt_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } +if ${lt_cv_path_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM=$NM +else + lt_nm_to_check=${ac_tool_prefix}nm + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS=$lt_save_ifs + test -z "$ac_dir" && ac_dir=. + tmp_nm=$ac_dir/$lt_tmp_nm + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty + case $build_os in + mingw*) lt_bad_file=conftest.nm/nofile ;; + *) lt_bad_file=/dev/null ;; + esac + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in + *$lt_bad_file* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break 2 + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break 2 + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS=$lt_save_ifs + done + : ${lt_cv_path_NM=no} +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 +$as_echo "$lt_cv_path_NM" >&6; } +if test no != "$lt_cv_path_NM"; then + NM=$lt_cv_path_NM +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + if test -n "$ac_tool_prefix"; then + for ac_prog in dumpbin "link -dump" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DUMPBIN"; then + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DUMPBIN=$ac_cv_prog_DUMPBIN +if test -n "$DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 +$as_echo "$DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$DUMPBIN" && break + done +fi +if test -z "$DUMPBIN"; then + ac_ct_DUMPBIN=$DUMPBIN + for ac_prog in dumpbin "link -dump" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DUMPBIN"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN +if test -n "$ac_ct_DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 +$as_echo "$ac_ct_DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_DUMPBIN" && break +done + + if test "x$ac_ct_DUMPBIN" = x; then + DUMPBIN=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DUMPBIN=$ac_ct_DUMPBIN + fi +fi + + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols -headers" + ;; + *) + DUMPBIN=: + ;; + esac + fi + + if test : != "$DUMPBIN"; then + NM=$DUMPBIN + fi +fi +test -z "$NM" && NM=nm + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 +$as_echo_n "checking the name lister ($NM) interface... " >&6; } +if ${lt_cv_nm_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: output\"" >&5) + cat conftest.out >&5 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 +$as_echo "$lt_cv_nm_interface" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + +# find the maximum length of command line arguments +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +$as_echo_n "checking the maximum length of command line arguments... " >&6; } +if ${lt_cv_sys_max_cmd_len+:} false; then : + $as_echo_n "(cached) " >&6 +else + i=0 + teststring=ABCD + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len" && \ + test undefined != "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test 17 != "$i" # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac + +fi + +if test -n "$lt_cv_sys_max_cmd_len"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 +$as_echo "none" >&6; } +fi +max_cmd_len=$lt_cv_sys_max_cmd_len + + + + + + +: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi + + + + + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 +$as_echo_n "checking how to convert $build file names to $host format... " >&6; } +if ${lt_cv_to_host_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac + +fi + +to_host_file_cmd=$lt_cv_to_host_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 +$as_echo "$lt_cv_to_host_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } +if ${lt_cv_to_tool_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + #assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac + +fi + +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 +$as_echo "$lt_cv_to_tool_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +$as_echo_n "checking for $LD option to reload object files... " >&6; } +if ${lt_cv_ld_reload_flag+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_reload_flag='-r' +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 +$as_echo "$lt_cv_ld_reload_flag" >&6; } +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test yes != "$GCC"; then + reload_cmds=false + fi + ;; + darwin*) + if test yes = "$GCC"; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 +$as_echo "$OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OBJDUMP="objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 +$as_echo "$ac_ct_OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJDUMP" = x; then + OBJDUMP="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJDUMP=$ac_ct_OBJDUMP + fi +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + +test -z "$OBJDUMP" && OBJDUMP=objdump + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 +$as_echo_n "checking how to recognize dependent libraries... " >&6; } +if ${lt_cv_deplibs_check_method+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# 'unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# that responds to the $file_magic_cmd with a given extended regex. +# If you have 'file' or equivalent on your system and you're not sure +# whether 'pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[4-9]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[45]*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + if ( file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[3-9]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd* | bitrig*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +os2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 +$as_echo "$lt_cv_deplibs_check_method" >&6; } + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` + fi + ;; + esac +fi + +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + + + + + + + + + + + + + + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DLLTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +$as_echo "$DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DLLTOOL="dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +$as_echo "$ac_ct_DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DLLTOOL" = x; then + DLLTOOL="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DLLTOOL=$ac_ct_DLLTOOL + fi +else + DLLTOOL="$ac_cv_prog_DLLTOOL" +fi + +test -z "$DLLTOOL" && DLLTOOL=dlltool + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 +$as_echo_n "checking how to associate runtime and link libraries... " >&6; } +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh; + # decide which one to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd=$ECHO + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + + + + + + + + +if test -n "$ac_tool_prefix"; then + for ac_prog in ar + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AR" && break + done +fi +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +fi + +: ${AR=ar} +: ${AR_FLAGS=cru} + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +$as_echo_n "checking for archiver @FILE support... " >&6; } +if ${lt_cv_ar_at_file+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ar_at_file=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test 0 -eq "$ac_status"; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test 0 -ne "$ac_status"; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 +$as_echo "$lt_cv_ar_at_file" >&6; } + +if test no = "$lt_cv_ar_at_file"; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +test -z "$STRIP" && STRIP=: + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +test -z "$RANLIB" && RANLIB=: + + + + + + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + bitrig* | openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" +fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } +if ${lt_cv_sys_global_symbol_pipe+:} false; then : + $as_echo_n "(cached) " >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[ABCDGISTW]' + ;; +hpux*) + if test ia64 = "$host_cpu"; then + symcode='[ABCDEGRST]' + fi + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris*) + symcode='[BDRT]' + ;; +sco3.2v5*) + symcode='[DT]' + ;; +sysv4.2uw2*) + symcode='[DT]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[ABDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGIRSTW]' ;; +esac + +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Gets list of data symbols to import. + lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" + # Adjust the below global symbol transforms to fixup imported variables. + lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" + lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" + lt_c_name_lib_hook="\ + -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ + -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" +else + # Disable hooks by default. + lt_cv_sys_global_symbol_to_import= + lt_cdecl_hook= + lt_c_name_hook= + lt_c_name_lib_hook= +fi + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +$lt_cdecl_hook\ +" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ +" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ +$lt_c_name_hook\ +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" + +# Transform an extracted symbol line into symbol name with lib prefix and +# symbol address. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ +$lt_c_name_lib_hook\ +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ +" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function, + # D for any global variable and I for any imported variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK '"\ +" {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ +" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ +" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ +" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ +" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE +/* DATA imports from DLLs on WIN32 can't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined __osf__ +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +LT_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS=conftstm.$ac_objext + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test yes = "$pipe_works"; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +$as_echo "failed" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } +fi + +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +$as_echo_n "checking for sysroot... " >&6; } + +# Check whether --with-sysroot was given. +if test "${with_sysroot+set}" = set; then : + withval=$with_sysroot; +else + with_sysroot=no +fi + + +lt_sysroot= +case $with_sysroot in #( + yes) + if test yes = "$GCC"; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 +$as_echo "$with_sysroot" >&6; } + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 + ;; +esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +$as_echo "${lt_sysroot:-no}" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 +$as_echo_n "checking for a working dd... " >&6; } +if ${ac_cv_path_lt_DD+:} false; then : + $as_echo_n "(cached) " >&6 +else + printf 0123456789abcdef0123456789abcdef >conftest.i +cat conftest.i conftest.i >conftest2.i +: ${lt_DD:=$DD} +if test -z "$lt_DD"; then + ac_path_lt_DD_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in dd; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_lt_DD" || continue +if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then + cmp -s conftest.i conftest.out \ + && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: +fi + $ac_path_lt_DD_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_lt_DD"; then + : + fi +else + ac_cv_path_lt_DD=$lt_DD +fi + +rm -f conftest.i conftest2.i conftest.out +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 +$as_echo "$ac_cv_path_lt_DD" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 +$as_echo_n "checking how to truncate binary pipes... " >&6; } +if ${lt_cv_truncate_bin+:} false; then : + $as_echo_n "(cached) " >&6 +else + printf 0123456789abcdef0123456789abcdef >conftest.i +cat conftest.i conftest.i >conftest2.i +lt_cv_truncate_bin= +if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then + cmp -s conftest.i conftest.out \ + && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" +fi +rm -f conftest.i conftest2.i conftest.out +test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 +$as_echo "$lt_cv_truncate_bin" >&6; } + + + + + + + +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +func_cc_basename () +{ + for cc_temp in $*""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac + done + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +} + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; +fi + +test no = "$enable_libtool_lock" || enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out what ABI is being produced by ac_compile, and set mode + # options accordingly. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE=32 + ;; + *ELF-64*) + HPUX_IA64_MODE=64 + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + if test yes = "$lt_cv_prog_gnu_ld"; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +mips64*-*linux*) + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + emul=elf + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + emul="${emul}32" + ;; + *64-bit*) + emul="${emul}64" + ;; + esac + case `/usr/bin/file conftest.$ac_objext` in + *MSB*) + emul="${emul}btsmip" + ;; + *LSB*) + emul="${emul}ltsmip" + ;; + esac + case `/usr/bin/file conftest.$ac_objext` in + *N32*) + emul="${emul}n32" + ;; + esac + LD="${LD-ld} -m $emul" + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. Note that the listed cases only cover the + # situations where additional linker options are needed (such as when + # doing 32-bit compilation for a host where ld defaults to 64-bit, or + # vice versa); the common cases where no linker options are needed do + # not appear in the list. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + case `/usr/bin/file conftest.o` in + *x86-64*) + LD="${LD-ld} -m elf32_x86_64" + ;; + *) + LD="${LD-ld} -m elf_i386" + ;; + esac + ;; + powerpc64le-*linux*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + powerpcle-*linux*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -belf" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; } +if ${lt_cv_cc_needs_belf+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_cc_needs_belf=yes +else + lt_cv_cc_needs_belf=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 +$as_echo "$lt_cv_cc_needs_belf" >&6; } + if test yes != "$lt_cv_cc_needs_belf"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS=$SAVE_CFLAGS + fi + ;; +*-*solaris*) + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) + case $host in + i?86-*-solaris*|x86_64-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD=${LD-ld}_sol2 + fi + ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks=$enable_libtool_lock + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. +set dummy ${ac_tool_prefix}mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$MANIFEST_TOOL"; then + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL +if test -n "$MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 +$as_echo "$MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL + # Extract the first word of "mt", so it can be a program name with args. +set dummy mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_MANIFEST_TOOL"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL +if test -n "$ac_ct_MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_MANIFEST_TOOL" = x; then + MANIFEST_TOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL + fi +else + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" +fi + +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } +if ${lt_cv_path_mainfest_tool+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&5 + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 +$as_echo "$lt_cv_path_mainfest_tool" >&6; } +if test yes != "$lt_cv_path_mainfest_tool"; then + MANIFEST_TOOL=: +fi + + + + + + + case $host_os in + rhapsody* | darwin*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DSYMUTIL"; then + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DSYMUTIL=$ac_cv_prog_DSYMUTIL +if test -n "$DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 +$as_echo "$DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DSYMUTIL"; then + ac_ct_DSYMUTIL=$DSYMUTIL + # Extract the first word of "dsymutil", so it can be a program name with args. +set dummy dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DSYMUTIL"; then + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL +if test -n "$ac_ct_DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 +$as_echo "$ac_ct_DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DSYMUTIL" = x; then + DSYMUTIL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DSYMUTIL=$ac_ct_DSYMUTIL + fi +else + DSYMUTIL="$ac_cv_prog_DSYMUTIL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NMEDIT"; then + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NMEDIT=$ac_cv_prog_NMEDIT +if test -n "$NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 +$as_echo "$NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NMEDIT"; then + ac_ct_NMEDIT=$NMEDIT + # Extract the first word of "nmedit", so it can be a program name with args. +set dummy nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NMEDIT"; then + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_NMEDIT="nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT +if test -n "$ac_ct_NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 +$as_echo "$ac_ct_NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NMEDIT" = x; then + NMEDIT=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NMEDIT=$ac_ct_NMEDIT + fi +else + NMEDIT="$ac_cv_prog_NMEDIT" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. +set dummy ${ac_tool_prefix}lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LIPO"; then + ac_cv_prog_LIPO="$LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_LIPO="${ac_tool_prefix}lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +LIPO=$ac_cv_prog_LIPO +if test -n "$LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 +$as_echo "$LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_LIPO"; then + ac_ct_LIPO=$LIPO + # Extract the first word of "lipo", so it can be a program name with args. +set dummy lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_LIPO"; then + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_LIPO="lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO +if test -n "$ac_ct_LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 +$as_echo "$ac_ct_LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_LIPO" = x; then + LIPO=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + LIPO=$ac_ct_LIPO + fi +else + LIPO="$ac_cv_prog_LIPO" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL"; then + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OTOOL="${ac_tool_prefix}otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL=$ac_cv_prog_OTOOL +if test -n "$OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 +$as_echo "$OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL"; then + ac_ct_OTOOL=$OTOOL + # Extract the first word of "otool", so it can be a program name with args. +set dummy otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL"; then + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OTOOL="otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL +if test -n "$ac_ct_OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 +$as_echo "$ac_ct_OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL" = x; then + OTOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL=$ac_ct_OTOOL + fi +else + OTOOL="$ac_cv_prog_OTOOL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL64+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL64"; then + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL64=$ac_cv_prog_OTOOL64 +if test -n "$OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 +$as_echo "$OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL64"; then + ac_ct_OTOOL64=$OTOOL64 + # Extract the first word of "otool64", so it can be a program name with args. +set dummy otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL64"; then + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OTOOL64="otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 +if test -n "$ac_ct_OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 +$as_echo "$ac_ct_OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL64" = x; then + OTOOL64=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL64=$ac_ct_OTOOL64 + fi +else + OTOOL64="$ac_cv_prog_OTOOL64" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 +$as_echo_n "checking for -single_module linker flag... " >&6; } +if ${lt_cv_apple_cc_single_mod+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_apple_cc_single_mod=no + if test -z "$LT_MULTI_MODULE"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&5 + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test 0 = "$_lt_result"; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&5 + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } +if ${lt_cv_ld_exported_symbols_list+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_ld_exported_symbols_list=yes +else + lt_cv_ld_exported_symbols_list=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 +$as_echo_n "checking for -force_load linker flag... " >&6; } +if ${lt_cv_ld_force_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 + echo "$AR cru libconftest.a conftest.o" >&5 + $AR cru libconftest.a conftest.o 2>&5 + echo "$RANLIB libconftest.a" >&5 + $RANLIB libconftest.a 2>&5 + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&5 + elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&5 + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 +$as_echo "$lt_cv_ld_force_load" >&6; } + case $host_os in + rhapsody* | darwin1.[012]) + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[91]*) + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + 10.[012][,.]*) + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test yes = "$lt_cv_apple_cc_single_mod"; then + _lt_dar_single_mod='$single_module' + fi + if test yes = "$lt_cv_ld_exported_symbols_list"; then + _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' + fi + if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac + +# func_munge_path_list VARIABLE PATH +# ----------------------------------- +# VARIABLE is name of variable containing _space_ separated list of +# directories to be munged by the contents of PATH, which is string +# having a format: +# "DIR[:DIR]:" +# string "DIR[ DIR]" will be prepended to VARIABLE +# ":DIR[:DIR]" +# string "DIR[ DIR]" will be appended to VARIABLE +# "DIRP[:DIRP]::[DIRA:]DIRA" +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string +# "DIRA[ DIRA]" will be appended to VARIABLE +# "DIR[:DIR]" +# VARIABLE will be replaced by "DIR[ DIR]" +func_munge_path_list () +{ + case x$2 in + x) + ;; + *:) + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" + ;; + x:*) + eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" + ;; + *::*) + eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" + eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" + ;; + *) + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" + ;; + esac +} + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_header in dlfcn.h +do : + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default +" +if test "x$ac_cv_header_dlfcn_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DLFCN_H 1 +_ACEOF + +fi + +done + + + + + +# Set options +# Check whether --enable-static was given. +if test "${enable_static+set}" = set; then : + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS=$lt_save_ifs + ;; + esac +else + enable_static=no +fi + + + + + + + + + + + enable_dlopen=no + + + enable_win32_dll=no + + + # Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS=$lt_save_ifs + ;; + esac +else + enable_shared=yes +fi + + + + + + + + + + + +# Check whether --with-pic was given. +if test "${with_pic+set}" = set; then : + withval=$with_pic; lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for lt_pkg in $withval; do + IFS=$lt_save_ifs + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS=$lt_save_ifs + ;; + esac +else + pic_mode=default +fi + + + + + + + + + # Check whether --enable-fast-install was given. +if test "${enable_fast_install+set}" = set; then : + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS=$lt_save_ifs + ;; + esac +else + enable_fast_install=yes +fi + + + + + + + + + shared_archive_member_spec= +case $host,$enable_shared in +power*-*-aix[5-9]*,yes) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 +$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } + +# Check whether --with-aix-soname was given. +if test "${with_aix_soname+set}" = set; then : + withval=$with_aix_soname; case $withval in + aix|svr4|both) + ;; + *) + as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 + ;; + esac + lt_cv_with_aix_soname=$with_aix_soname +else + if ${lt_cv_with_aix_soname+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_with_aix_soname=aix +fi + + with_aix_soname=$lt_cv_with_aix_soname +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 +$as_echo "$with_aix_soname" >&6; } + if test aix != "$with_aix_soname"; then + # For the AIX way of multilib, we name the shared archive member + # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', + # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. + # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, + # the AIX toolchain works better with OBJECT_MODE set (default 32). + if test 64 = "${OBJECT_MODE-32}"; then + shared_archive_member_spec=shr_64 + else + shared_archive_member_spec=shr + fi + fi + ;; +*) + with_aix_soname=aix + ;; +esac + + + + + + + + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS=$ltmain + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +test -z "$LN_S" && LN_S="ln -s" + + + + + + + + + + + + + + +if test -n "${ZSH_VERSION+set}"; then + setopt NO_GLOB_SUBST +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +$as_echo_n "checking for objdir... " >&6; } +if ${lt_cv_objdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +$as_echo "$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir + + + + + +cat >>confdefs.h <<_ACEOF +#define LT_OBJDIR "$lt_cv_objdir/" +_ACEOF + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test set != "${COLLECT_NAMES+set}"; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a '.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld=$lt_cv_prog_gnu_ld + +old_CC=$CC +old_CFLAGS=$CFLAGS + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +func_cc_basename $compiler +cc_basename=$func_cc_basename_result + + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD=$MAGIC_CMD + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS=$lt_save_ifs + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/${ac_tool_prefix}file"; then + lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD=$lt_cv_path_MAGIC_CMD + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS=$lt_save_ifs + MAGIC_CMD=$lt_save_MAGIC_CMD + ;; +esac +fi + +MAGIC_CMD=$lt_cv_path_MAGIC_CMD +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 +$as_echo_n "checking for file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD=$MAGIC_CMD + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS=$lt_save_ifs + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/file"; then + lt_cv_path_MAGIC_CMD=$ac_dir/"file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD=$lt_cv_path_MAGIC_CMD + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS=$lt_save_ifs + MAGIC_CMD=$lt_save_MAGIC_CMD + ;; +esac +fi + +MAGIC_CMD=$lt_cv_path_MAGIC_CMD +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +# Use C for the default configuration in the libtool script + +lt_save_CC=$CC +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* + + +if test -n "$compiler"; then + +lt_prog_compiler_no_builtin_flag= + +if test yes = "$GCC"; then + case $cc_basename in + nvcc*) + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; + *) + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; + esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + + + + + + + lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + + + if test yes = "$GCC"; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test ia64 = "$host_cpu"; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + lt_prog_compiler_pic='-fPIC' + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + lt_prog_compiler_pic='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the '-m68020' flag to GCC prevents building anything better, + # like '-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic='-DDLL_EXPORT' + case $host_os in + os2*) + lt_prog_compiler_static='$wl-static' + ;; + esac + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + lt_prog_compiler_wl='-Xlinker ' + if test -n "$lt_prog_compiler_pic"; then + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test ia64 = "$host_cpu"; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + case $cc_basename in + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + esac + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + case $host_os in + os2*) + lt_prog_compiler_static='$wl-static' + ;; + esac + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='$wl-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + case $cc_basename in + # old Intel for x86_64, which still supported -KPIC. + ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='--shared' + lt_prog_compiler_static='--static' + ;; + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + tcc*) + # Fabrice Bellard et al's Tiny C Compiler + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-qpic' + lt_prog_compiler_static='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; + *Sun\ F* | *Sun*Fortran*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' + ;; + *Intel*\ [CF]*Compiler*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + *Portland\ Group*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + lt_prog_compiler_wl='-Qoption ld ';; + *) + lt_prog_compiler_wl='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +case $host_os in + # For platforms that do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +$as_echo "$lt_cv_prog_compiler_pic" >&6; } +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if ${lt_cv_prog_compiler_pic_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } + +if test yes = "$lt_cv_prog_compiler_pic_works"; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi + + + + + + + + + + + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if ${lt_cv_prog_compiler_static_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_static_works=no + save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works=yes + fi + else + lt_cv_prog_compiler_static_works=yes + fi + fi + $RM -r conftest* + LDFLAGS=$save_LDFLAGS + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; } + +if test yes = "$lt_cv_prog_compiler_static_works"; then + : +else + lt_prog_compiler_static= +fi + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + +hard_links=nottested +if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test no = "$hard_links"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag= + always_export_symbols=no + archive_cmds= + archive_expsym_cmds= + compiler_needs_object=no + enable_shared_with_static_runtimes=no + export_dynamic_flag_spec= + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + hardcode_automatic=no + hardcode_direct=no + hardcode_direct_absolute=no + hardcode_libdir_flag_spec= + hardcode_libdir_separator= + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + inherit_rpath=no + link_all_deplibs=unknown + module_cmds= + module_expsym_cmds= + old_archive_from_new_cmds= + old_archive_from_expsyms_cmds= + thread_safe_flag_spec= + whole_archive_flag_spec= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ' (' and ')$', so one must not match beginning or + # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', + # as well as any symbol that contains 'd'. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test yes != "$GCC"; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd* | bitrig*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no + if test yes = "$with_gnu_ld"; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; + *\ \(GNU\ Binutils\)\ [3-9]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test yes = "$lt_use_gnu_ld_interface"; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='$wl' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + export_dynamic_flag_spec='$wl--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' + else + whole_archive_flag_spec= + fi + supports_anon_versioning=no + case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test ia64 != "$host_cpu"; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.19, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + export_dynamic_flag_spec='$wl--export-all-symbols' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file, use it as + # is; otherwise, prepend EXPORTS... + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs=no + fi + ;; + + haiku*) + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + link_all_deplibs=yes + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + shrext_cmds=.dll + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + prefix_cmds="$SED"~ + if test EXPORTS = "`$SED 1q $export_symbols`"; then + prefix_cmds="$prefix_cmds -e 1d"; + fi~ + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + enable_shared_with_static_runtimes=yes + ;; + + interix[3-9]*) + hardcode_direct=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='$wl-rpath,$libdir' + export_dynamic_flag_spec='$wl-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test linux-dietlibc = "$host_os"; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test no = "$tmp_diet" + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + whole_archive_flag_spec= + tmp_sharedflag='--shared' ;; + nagfor*) # NAGFOR 5.3 + tmp_sharedflag='-Wl,-shared' ;; + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + compiler_needs_object=yes + ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + compiler_needs_object=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + + if test yes = "$supports_anon_versioning"; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + tcc*) + export_dynamic_flag_spec='-rdynamic' + ;; + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test yes = "$supports_anon_versioning"; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test no = "$ld_shlibs"; then + runpath_var= + hardcode_libdir_flag_spec= + export_dynamic_flag_spec= + whole_archive_flag_spec= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix[4-9]*) + if test ia64 = "$host_cpu"; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag= + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to GNU nm, but means don't demangle to AIX nm. + # Without the "-l" option, or with the "-B" option, AIX nm treats + # weak defined symbols like other global defined symbols, whereas + # GNU nm marks them as "W". + # While the 'weak' keyword is ignored in the Export File, we need + # it in the Import File for the 'aix-soname' feature, so we have + # to replace the "-B" option with "-P" for AIX nm. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # have runtime linking enabled, and use it for executables. + # For shared libraries, we enable/disable runtime linking + # depending on the kind of the shared library created - + # when "with_aix_soname,aix_use_runtimelinking" is: + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables + # "aix,yes" lib.so shared, rtl:yes, for executables + # lib.a static archive + # "both,no" lib.so.V(shr.o) shared, rtl:yes + # lib.a(lib.so.V) shared, rtl:no, for executables + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables + # lib.a(lib.so.V) shared, rtl:no + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables + # lib.a static archive + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then + aix_use_runtimelinking=yes + break + fi + done + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then + # With aix-soname=svr4, we create the lib.so.V shared archives only, + # so we don't have lib.a shared libs to link our executables. + # We have to force runtime linking in this case. + aix_use_runtimelinking=yes + LDFLAGS="$LDFLAGS -Wl,-brtl" + fi + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_direct_absolute=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + file_list_spec='$wl-f,' + case $with_aix_soname,$aix_use_runtimelinking in + aix,*) ;; # traditional, no import file + svr4,* | *,yes) # use import file + # The Import File defines what to hardcode. + hardcode_direct=no + hardcode_direct_absolute=no + ;; + esac + + if test yes = "$GCC"; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`$CC -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + shared_flag='-shared' + if test yes = "$aix_use_runtimelinking"; then + shared_flag="$shared_flag "'$wl-G' + fi + # Need to ensure runtime linking is disabled for the traditional + # shared library, or the linker may eventually find shared libraries + # /with/ Import File - we do not want to mix them. + shared_flag_aix='-shared' + shared_flag_svr4='-shared $wl-G' + else + # not using gcc + if test ia64 = "$host_cpu"; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test yes = "$aix_use_runtimelinking"; then + shared_flag='$wl-G' + else + shared_flag='$wl-bM:SRE' + fi + shared_flag_aix='$wl-bM:SRE' + shared_flag_svr4='$wl-G' + fi + fi + + export_dynamic_flag_spec='$wl-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + if test set = "${lt_cv_aix_libpath+set}"; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=/usr/lib:/lib + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi + + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag + else + if test ia64 = "$host_cpu"; then + hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + if test set = "${lt_cv_aix_libpath+set}"; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=/usr/lib:/lib + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi + + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' $wl-bernotok' + allow_undefined_flag=' $wl-berok' + if test yes = "$with_gnu_ld"; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec='$convenience' + fi + archive_cmds_need_lc=yes + archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' + # -brtl affects multiple linker settings, -berok does not and is overridden later + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' + if test svr4 != "$with_aix_soname"; then + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' + fi + if test aix != "$with_aix_soname"; then + archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' + else + # used by -dlpreopen to get the symbols + archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' + fi + archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + bsdi[45]*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + case $cc_basename in + cl*) + # Native MSVC + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + always_export_symbols=yes + file_list_spec='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=.dll + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then + cp "$export_symbols" "$output_objdir/$soname.def"; + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; + else + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true' + enable_shared_with_static_runtimes=yes + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + old_postinstall_cmds='chmod 644 $oldlib' + postlink_cmds='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile=$lt_outputfile.exe + lt_tool_outputfile=$lt_tool_outputfile.exe + ;; + esac~ + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=.dll + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_from_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' + enable_shared_with_static_runtimes=yes + ;; + esac + ;; + + darwin* | rhapsody*) + + + archive_cmds_need_lc=no + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + if test yes = "$lt_cv_ld_force_load"; then + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + + else + whole_archive_flag_spec='' + fi + link_all_deplibs=yes + allow_undefined_flag=$_lt_dar_allow_undefined + case $cc_basename in + ifort*|nagfor*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test yes = "$_lt_dar_can_shared"; then + output_verbose_link_cmd=func_echo_all + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" + archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" + module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" + + else + ld_shlibs=no + fi + + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2.*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test yes = "$GCC"; then + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' + else + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='$wl+b $wl$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='$wl-E' + ;; + + hpux10*) + if test yes,no = "$GCC,$with_gnu_ld"; then + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test no = "$with_gnu_ld"; then + hardcode_libdir_flag_spec='$wl+b $wl$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='$wl-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + + hpux11*) + if test yes,no = "$GCC,$with_gnu_ld"; then + case $host_cpu in + hppa*64*) + archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 +$as_echo_n "checking if $CC understands -b... " >&6; } +if ${lt_cv_prog_compiler__b+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler__b=no + save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -b" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler__b=yes + fi + else + lt_cv_prog_compiler__b=yes + fi + fi + $RM -r conftest* + LDFLAGS=$save_LDFLAGS + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 +$as_echo "$lt_cv_prog_compiler__b" >&6; } + +if test yes = "$lt_cv_prog_compiler__b"; then + archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' +else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' +fi + + ;; + esac + fi + if test no = "$with_gnu_ld"; then + hardcode_libdir_flag_spec='$wl+b $wl$libdir' + hardcode_libdir_separator=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + *) + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='$wl-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test yes = "$GCC"; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } +if ${lt_cv_irix_exported_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int foo (void) { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_irix_exported_symbol=yes +else + lt_cv_irix_exported_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 +$as_echo "$lt_cv_irix_exported_symbol" >&6; } + if test yes = "$lt_cv_irix_exported_symbol"; then + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' + fi + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + hardcode_libdir_separator=: + inherit_rpath=yes + link_all_deplibs=yes + ;; + + linux*) + case $cc_basename in + tcc*) + # Fabrice Bellard et al's Tiny C Compiler + ld_shlibs=yes + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + *nto* | *qnx*) + ;; + + openbsd* | bitrig*) + if test -f /usr/libexec/ld.so; then + hardcode_direct=yes + hardcode_shlibpath_var=no + hardcode_direct_absolute=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec='$wl-rpath,$libdir' + export_dynamic_flag_spec='$wl-E' + else + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='$wl-rpath,$libdir' + fi + else + ld_shlibs=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + shrext_cmds=.dll + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + prefix_cmds="$SED"~ + if test EXPORTS = "`$SED 1q $export_symbols`"; then + prefix_cmds="$prefix_cmds -e 1d"; + fi~ + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + enable_shared_with_static_runtimes=yes + ;; + + osf3*) + if test yes = "$GCC"; then + allow_undefined_flag=' $wl-expect_unresolved $wl\*' + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test yes = "$GCC"; then + allow_undefined_flag=' $wl-expect_unresolved $wl\*' + archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + archive_cmds_need_lc='no' + hardcode_libdir_separator=: + ;; + + solaris*) + no_undefined_flag=' -z defs' + if test yes = "$GCC"; then + wlarc='$wl' + archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='$wl' + archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands '-z linker_flag'. GCC discards it without '$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test yes = "$GCC"; then + whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' + else + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test sequent = "$host_vendor"; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag='$wl-z,text' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + + if test yes = "$GCC"; then + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We CANNOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag='$wl-z,text' + allow_undefined_flag='$wl-z,nodefs' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='$wl-R,$libdir' + hardcode_libdir_separator=':' + link_all_deplibs=yes + export_dynamic_flag_spec='$wl-Bexport' + runpath_var='LD_RUN_PATH' + + if test yes = "$GCC"; then + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + + if test sni = "$host_vendor"; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + export_dynamic_flag_spec='$wl-Blargedynsym' + ;; + esac + fi + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +$as_echo "$ld_shlibs" >&6; } +test no = "$ld_shlibs" && can_build_shared=no + +with_gnu_ld=$with_gnu_ld + + + + + + + + + + + + + + + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test yes,yes = "$GCC,$enable_shared"; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } +if ${lt_cv_archive_cmds_need_lc+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + lt_cv_archive_cmds_need_lc=no + else + lt_cv_archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc + ;; + esac + fi + ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } + +if test yes = "$GCC"; then + case $host_os in + darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; + *) lt_awk_arg='/^libraries:/' ;; + esac + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; + *) lt_sed_strip_eq='s|=/|/|g' ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary... + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + # ...but if some path component already ends with the multilib dir we assume + # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). + case "$lt_multi_os_dir; $lt_search_path_spec " in + "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) + lt_multi_os_dir= + ;; + esac + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" + elif test -n "$lt_multi_os_dir"; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS = " "; FS = "/|\n";} { + lt_foo = ""; + lt_count = 0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo = "/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[lt_foo]++; } + if (lt_freq[lt_foo] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's|/\([A-Za-z]:\)|\1|g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=.so +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + + + +case $host_os in +aix3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$release$shared_ext$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='$libname$release$shared_ext$major' + ;; + +aix[4-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test ia64 = "$host_cpu"; then + # AIX 5 supports IA64 + library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line '#! .'. This would cause the generated library to + # depend on '.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # Using Import Files as archive members, it is possible to support + # filename-based versioning of shared library archives on AIX. While + # this would work for both with and without runtime linking, it will + # prevent static linking of such archives. So we do filename-based + # shared library versioning with .so extension only, which is used + # when both runtime linking and shared linking is enabled. + # Unfortunately, runtime linking may impact performance, so we do + # not want this to be the default eventually. Also, we use the + # versioned .so libs for executables only if there is the -brtl + # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. + # To allow for filename-based versioning support, we need to create + # libNAME.so.V as an archive file, containing: + # *) an Import File, referring to the versioned filename of the + # archive as well as the shared archive member, telling the + # bitwidth (32 or 64) of that shared object, and providing the + # list of exported symbols of that shared object, eventually + # decorated with the 'weak' keyword + # *) the shared object with the F_LOADONLY flag set, to really avoid + # it being seen by the linker. + # At run time we better use the real file rather than another symlink, + # but for link time we create the symlink libNAME.so -> libNAME.so.V + + case $with_aix_soname,$aix_use_runtimelinking in + # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + aix,yes) # traditional libtool + dynamic_linker='AIX unversionable lib.so' + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + ;; + aix,no) # traditional AIX only + dynamic_linker='AIX lib.a(lib.so.V)' + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='$libname$release.a $libname.a' + soname_spec='$libname$release$shared_ext$major' + ;; + svr4,*) # full svr4 only + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' + # We do not specify a path in Import Files, so LIBPATH fires. + shlibpath_overrides_runpath=yes + ;; + *,yes) # both, prefer svr4 + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' + # unpreferred sharedlib libNAME.a needs extra handling + postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' + postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' + # We do not specify a path in Import Files, so LIBPATH fires. + shlibpath_overrides_runpath=yes + ;; + *,no) # both, prefer aix + dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" + library_names_spec='$libname$release.a $libname.a' + soname_spec='$libname$release$shared_ext$major' + # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling + postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' + postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' + ;; + esac + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='$libname$shared_ext' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=.dll + need_version=no + need_lib_prefix=no + + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' + library_names_spec='$libname.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec=$LIB + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' + soname_spec='$libname$release$major$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[23].*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2.*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=no + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + if test 32 = "$HPUX_IA64_MODE"; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + sys_lib_dlsearch_path_spec=/usr/lib/hpux32 + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + sys_lib_dlsearch_path_spec=/usr/lib/hpux64 + fi + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; + +interix[3-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test yes = "$lt_cv_prog_gnu_ld"; then + version_type=linux # correct to gnu/linux during the next big refactor + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='$libname$release$shared_ext$major' + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" + sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +linux*android*) + version_type=none # Android doesn't support versioned libraries. + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext' + soname_spec='$libname$release$shared_ext' + finish_cmds= + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + dynamic_linker='Android linker' + # Don't embed -rpath directories since the linker doesn't support them. + hardcode_libdir_flag_spec='-L$libdir' + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : + lt_cv_shlibpath_overrides_runpath=yes +fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + + # Ideally, we could use ldconfig to report *all* directores which are + # searched for libraries, however this is still not possible. Aside from not + # being certain /sbin/ldconfig is available, command + # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, + # even though it is searched at run-time. Try to do the best guess by + # appending ld.so.conf contents (and includes) to the search path. + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd* | bitrig*) + version_type=sunos + sys_lib_dlsearch_path_spec=/usr/lib + need_lib_prefix=no + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then + need_version=no + else + need_version=yes + fi + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +os2*) + libname_spec='$name' + version_type=windows + shrext_cmds=.dll + need_version=no + need_lib_prefix=no + # OS/2 can only load a DLL with a base name of 8 characters or less. + soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; + v=$($ECHO $release$versuffix | tr -d .-); + n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); + $ECHO $n$v`$shared_ext' + library_names_spec='${libname}_dll.$libext' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=BEGINLIBPATH + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='$libname$release$shared_ext$major' + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test yes = "$with_gnu_ld"; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec; then + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' + soname_spec='$libname$shared_ext.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=sco + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test yes = "$with_gnu_ld"; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test no = "$dynamic_linker" && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test yes = "$GCC"; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then + sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec +fi + +if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then + sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec +fi + +# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... +configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec + +# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code +func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" + +# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool +configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || + test -n "$runpath_var" || + test yes = "$hardcode_automatic"; then + + # We can hardcode non-existent directories. + if test no != "$hardcode_direct" && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && + test no != "$hardcode_minus_L"; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +$as_echo "$hardcode_action" >&6; } + +if test relink = "$hardcode_action" || + test yes = "$inherit_rpath"; then + # Fast installation is not supported + enable_fast_install=no +elif test yes = "$shlibpath_overrides_runpath" || + test no = "$enable_shared"; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + + + + + + if test yes != "$enable_dlopen"; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen=load_add_on + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen=LoadLibrary + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen=dlopen + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl +else + + lt_cv_dlopen=dyld + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + tpf*) + # Don't try to run any link tests for TPF. We know it's impossible + # because TPF is a cross-compiler, and we know how we open DSOs. + lt_cv_dlopen=dlopen + lt_cv_dlopen_libs= + lt_cv_dlopen_self=no + ;; + + *) + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = xyes; then : + lt_cv_dlopen=shl_load +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if ${ac_cv_lib_dld_shl_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = xyes; then : + lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld +else + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = xyes; then : + lt_cv_dlopen=dlopen +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if ${ac_cv_lib_svld_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = xyes; then : + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if ${ac_cv_lib_dld_dld_link+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = xyes; then : + lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test no = "$lt_cv_dlopen"; then + enable_dlopen=no + else + enable_dlopen=yes + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS=$CPPFLAGS + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS=$LDFLAGS + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS=$LIBS + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test yes = "$cross_compiling"; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisibility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test yes = "$lt_cv_dlopen_self"; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self_static+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test yes = "$cross_compiling"; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisibility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS=$save_CPPFLAGS + LDFLAGS=$save_LDFLAGS + LIBS=$save_LIBS + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + + + + + + + + + + + + + + + + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP"; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + + + + + + + + + + + + + # Report what library types will actually be built + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } + test no = "$can_build_shared" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test yes = "$enable_shared" && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[4-9]*) + if test ia64 != "$host_cpu"; then + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in + yes,aix,yes) ;; # shared object as lib.so file only + yes,svr4,*) ;; # shared object as lib.so archive member only + yes,*) enable_static=no ;; # shared object in lib.a archive as well + esac + fi + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } + # Make sure either enable_shared or enable_static is yes. + test yes = "$enable_shared" || enable_static=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } + + + + +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC=$lt_save_CC + + + + + + + + + + + + + + + + ac_config_commands="$ac_config_commands libtool" + + + + +# Only expand once: + + + + + GETTEXT_PACKAGE=pragha + +cat >>confdefs.h <<_ACEOF +#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" +_ACEOF + + + + ALL_LINGUAS="ar bg ca_ES cs da de es el fr hu id it ja ko_KR lt nl no pl pt pt_BR ru sk sv tr uk vi zh_CN" + + for ac_header in locale.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" +if test "x$ac_cv_header_locale_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LOCALE_H 1 +_ACEOF + +fi + +done + + if test $ac_cv_header_locale_h = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 +$as_echo_n "checking for LC_MESSAGES... " >&6; } +if ${am_cv_val_LC_MESSAGES+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +return LC_MESSAGES + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_val_LC_MESSAGES=yes +else + am_cv_val_LC_MESSAGES=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 +$as_echo "$am_cv_val_LC_MESSAGES" >&6; } + if test $am_cv_val_LC_MESSAGES = yes; then + +$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h + + fi + fi + USE_NLS=yes + + + gt_cv_have_gettext=no + + CATOBJEXT=NONE + XGETTEXT=: + INTLLIBS= + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 +$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } +if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +CFLocaleCopyCurrent(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyCurrent=yes +else + gt_cv_func_CFLocaleCopyCurrent=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" + fi + + + + ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" +if test "x$ac_cv_header_libintl_h" = xyes; then : + gt_cv_func_dgettext_libintl="no" + libintl_extra_libs="" + + # + # First check in libc + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 +$as_echo_n "checking for ngettext in libc... " >&6; } +if ${gt_cv_func_ngettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include + +int +main () +{ +return !ngettext ("","", 1) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_ngettext_libc=yes +else + gt_cv_func_ngettext_libc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 +$as_echo "$gt_cv_func_ngettext_libc" >&6; } + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 +$as_echo_n "checking for dgettext in libc... " >&6; } +if ${gt_cv_func_dgettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include + +int +main () +{ +return !dgettext ("","") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_dgettext_libc=yes +else + gt_cv_func_dgettext_libc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 +$as_echo "$gt_cv_func_dgettext_libc" >&6; } + fi + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + for ac_func in bind_textdomain_codeset +do : + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_BIND_TEXTDOMAIN_CODESET 1 +_ACEOF + +fi +done + + fi + + # + # If we don't have everything we want, check in libintl + # + if test "$gt_cv_func_dgettext_libc" != "yes" \ + || test "$gt_cv_func_ngettext_libc" != "yes" \ + || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 +$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } +if ${ac_cv_lib_intl_bindtextdomain+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char bindtextdomain (); +int +main () +{ +return bindtextdomain (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_bindtextdomain=yes +else + ac_cv_lib_intl_bindtextdomain=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 +$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } +if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 +$as_echo_n "checking for ngettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_ngettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char ngettext (); +int +main () +{ +return ngettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_ngettext=yes +else + ac_cv_lib_intl_ngettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 +$as_echo "$ac_cv_lib_intl_ngettext" >&6; } +if test "x$ac_cv_lib_intl_ngettext" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 +$as_echo_n "checking for dgettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_dgettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dgettext (); +int +main () +{ +return dgettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_dgettext=yes +else + ac_cv_lib_intl_dgettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 +$as_echo "$ac_cv_lib_intl_dgettext" >&6; } +if test "x$ac_cv_lib_intl_dgettext" = xyes; then : + gt_cv_func_dgettext_libintl=yes +fi + +fi + +fi + + + if test "$gt_cv_func_dgettext_libintl" != "yes" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 +$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 +$as_echo "" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 +$as_echo_n "checking for ngettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_ngettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl -liconv $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char ngettext (); +int +main () +{ +return ngettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_ngettext=yes +else + ac_cv_lib_intl_ngettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 +$as_echo "$ac_cv_lib_intl_ngettext" >&6; } +if test "x$ac_cv_lib_intl_ngettext" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 +$as_echo_n "checking for dcgettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_dcgettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl -liconv $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dcgettext (); +int +main () +{ +return dcgettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_dcgettext=yes +else + ac_cv_lib_intl_dcgettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 +$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } +if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : + gt_cv_func_dgettext_libintl=yes + libintl_extra_libs=-liconv +else + : +fi + +else + : +fi + + fi + + # + # If we found libintl, then check in it for bind_textdomain_codeset(); + # we'll prefer libc if neither have bind_textdomain_codeset(), + # and both have dgettext and ngettext + # + if test "$gt_cv_func_dgettext_libintl" = "yes" ; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS -lintl $libintl_extra_libs" + unset ac_cv_func_bind_textdomain_codeset + for ac_func in bind_textdomain_codeset +do : + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_BIND_TEXTDOMAIN_CODESET 1 +_ACEOF + +fi +done + + LIBS="$glib_save_LIBS" + + if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then + gt_cv_func_dgettext_libc=no + else + if test "$gt_cv_func_dgettext_libc" = "yes" \ + && test "$gt_cv_func_ngettext_libc" = "yes"; then + gt_cv_func_dgettext_libintl=no + fi + fi + fi + fi + + if test "$gt_cv_func_dgettext_libc" = "yes" \ + || test "$gt_cv_func_dgettext_libintl" = "yes"; then + gt_cv_have_gettext=yes + fi + + if test "$gt_cv_func_dgettext_libintl" = "yes"; then + INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS" + fi + + if test "$gt_cv_have_gettext" = "yes"; then + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + # Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + /*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then + ac_cv_path_MSGFMT="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test "$MSGFMT" != "no"; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS $INTLLIBS" + for ac_func in dcgettext +do : + ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" +if test "x$ac_cv_func_dcgettext" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DCGETTEXT 1 +_ACEOF + +fi +done + + MSGFMT_OPTS= + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 +$as_echo_n "checking if msgfmt accepts -c... " >&6; } + cat >conftest.foo <<_ACEOF + +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: test 1.0\n" +"PO-Revision-Date: 2007-02-15 12:01+0100\n" +"Last-Translator: test \n" +"Language-Team: C \n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" + +_ACEOF +if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 + ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +echo "$as_me: failed input was:" >&5 +sed 's/^/| /' conftest.foo >&5 +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + # Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + /*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + CATOBJEXT=.gmo + DATADIRNAME=share +else + case $host in + *-*-solaris*) + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + CATOBJEXT=.gmo + DATADIRNAME=share +else + CATOBJEXT=.mo + DATADIRNAME=lib +fi + + ;; + *-*-openbsd*) + CATOBJEXT=.mo + DATADIRNAME=share + ;; + *) + CATOBJEXT=.mo + DATADIRNAME=lib + ;; + esac +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$glib_save_LIBS" + INSTOBJEXT=.mo + else + gt_cv_have_gettext=no + fi + fi + +fi + + + + if test "$gt_cv_have_gettext" = "yes" ; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + fi + + # We need to process the po/ directory. + POSUB=po + + ac_config_commands="$ac_config_commands default-1" + + + for lang in $ALL_LINGUAS; do + GMOFILES="$GMOFILES $lang.gmo" + POFILES="$POFILES $lang.po" + done + + + + + + + + + + + + + + if test "$gt_cv_have_gettext" = "yes"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 +$as_echo_n "checking for catalogs to be installed... " >&6; } + NEW_LINGUAS= + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + NEW_LINGUAS="$NEW_LINGUAS $presentlang" + fi + done + LINGUAS=$NEW_LINGUAS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 +$as_echo "$LINGUAS" >&6; } + fi + + if test -n "$LINGUAS"; then + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done + fi + fi + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + test -d po || mkdir po + if test "x$srcdir" != "x."; then + if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then + posrcprefix="$srcdir/" + else + posrcprefix="../$srcdir/" + fi + else + posrcprefix="../" + fi + rm -f po/POTFILES + sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ + < $srcdir/po/POTFILES.in > po/POTFILES + + + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5 +$as_echo_n "checking for locales directory... " >&6; } + +# Check whether --with-locales-dir was given. +if test "${with_locales_dir+set}" = set; then : + withval=$with_locales_dir; localedir=$withval +else + + if test x"$CATOBJEXT" = x".mo"; then + localedir=$libdir/locale + else + localedir=$datadir/locale + fi + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5 +$as_echo "$localedir" >&6; } + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5 +$as_echo_n "checking for additional xgettext flags... " >&6; } + if test x"$XGETTEXT_ARGS" = x""; then + XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8"; + else + XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8"; + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5 +$as_echo "$XGETTEXT_ARGS" >&6; } + + +# Extract the first word of "xdt-csource", so it can be a program name with args. +set dummy xdt-csource; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_HAVE_XDT_CSOURCE+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$HAVE_XDT_CSOURCE"; then + ac_cv_prog_HAVE_XDT_CSOURCE="$HAVE_XDT_CSOURCE" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_HAVE_XDT_CSOURCE="yes" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +HAVE_XDT_CSOURCE=$ac_cv_prog_HAVE_XDT_CSOURCE +if test -n "$HAVE_XDT_CSOURCE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XDT_CSOURCE" >&5 +$as_echo "$HAVE_XDT_CSOURCE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test x"$HAVE_XDT_CSOURCE" != xyes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "xdt-csource not installed +See \`config.log' for more details" "$LINENO" 5; } +fi + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRAGHA" >&5 +$as_echo_n "checking for PRAGHA... " >&6; } + +if test -n "$PRAGHA_CFLAGS"; then + pkg_cv_PRAGHA_CFLAGS="$PRAGHA_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ + gstreamer-1.0 >= 0.11.90 \\ + gstreamer-base-1.0 >= 0.11.90 \\ + gio-2.0 >= 2.42 \\ + gtk+-3.0 >= 3.14 \\ + sqlite3 >= 3.4 \\ + taglib_c >= 1.8\""; } >&5 + ($PKG_CONFIG --exists --print-errors "\ + gstreamer-1.0 >= 0.11.90 \ + gstreamer-base-1.0 >= 0.11.90 \ + gio-2.0 >= 2.42 \ + gtk+-3.0 >= 3.14 \ + sqlite3 >= 3.4 \ + taglib_c >= 1.8") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PRAGHA_CFLAGS=`$PKG_CONFIG --cflags "\ + gstreamer-1.0 >= 0.11.90 \ + gstreamer-base-1.0 >= 0.11.90 \ + gio-2.0 >= 2.42 \ + gtk+-3.0 >= 3.14 \ + sqlite3 >= 3.4 \ + taglib_c >= 1.8" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$PRAGHA_LIBS"; then + pkg_cv_PRAGHA_LIBS="$PRAGHA_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ + gstreamer-1.0 >= 0.11.90 \\ + gstreamer-base-1.0 >= 0.11.90 \\ + gio-2.0 >= 2.42 \\ + gtk+-3.0 >= 3.14 \\ + sqlite3 >= 3.4 \\ + taglib_c >= 1.8\""; } >&5 + ($PKG_CONFIG --exists --print-errors "\ + gstreamer-1.0 >= 0.11.90 \ + gstreamer-base-1.0 >= 0.11.90 \ + gio-2.0 >= 2.42 \ + gtk+-3.0 >= 3.14 \ + sqlite3 >= 3.4 \ + taglib_c >= 1.8") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PRAGHA_LIBS=`$PKG_CONFIG --libs "\ + gstreamer-1.0 >= 0.11.90 \ + gstreamer-base-1.0 >= 0.11.90 \ + gio-2.0 >= 2.42 \ + gtk+-3.0 >= 3.14 \ + sqlite3 >= 3.4 \ + taglib_c >= 1.8" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + PRAGHA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\ + gstreamer-1.0 >= 0.11.90 \ + gstreamer-base-1.0 >= 0.11.90 \ + gio-2.0 >= 2.42 \ + gtk+-3.0 >= 3.14 \ + sqlite3 >= 3.4 \ + taglib_c >= 1.8" 2>&1` + else + PRAGHA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\ + gstreamer-1.0 >= 0.11.90 \ + gstreamer-base-1.0 >= 0.11.90 \ + gio-2.0 >= 2.42 \ + gtk+-3.0 >= 3.14 \ + sqlite3 >= 3.4 \ + taglib_c >= 1.8" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$PRAGHA_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (\ + gstreamer-1.0 >= 0.11.90 \ + gstreamer-base-1.0 >= 0.11.90 \ + gio-2.0 >= 2.42 \ + gtk+-3.0 >= 3.14 \ + sqlite3 >= 3.4 \ + taglib_c >= 1.8) were not met: + +$PRAGHA_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables PRAGHA_CFLAGS +and PRAGHA_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables PRAGHA_CFLAGS +and PRAGHA_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see . +See \`config.log' for more details" "$LINENO" 5; } +else + PRAGHA_CFLAGS=$pkg_cv_PRAGHA_CFLAGS + PRAGHA_LIBS=$pkg_cv_PRAGHA_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + + + +LIBPEAS_FOUND="no" + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + + + # Check whether --enable-libpeas-1.0 was given. +if test "${enable_libpeas_1_0+set}" = set; then : + enableval=$enable_libpeas_1_0; xdt_cv_LIBPEAS_check=$enableval +else + xdt_cv_LIBPEAS_check=yes +fi + + + if test x"$xdt_cv_LIBPEAS_check" = x"yes"; then + if $PKG_CONFIG --exists "libpeas-1.0 >= 1.0.0" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpeas-1.0 >= 1.0.0" >&5 +$as_echo_n "checking for libpeas-1.0 >= 1.0.0... " >&6; } + if $PKG_CONFIG "--atleast-version=1.0.0" "libpeas-1.0" >/dev/null 2>&1; then + LIBPEAS_VERSION=`$PKG_CONFIG --modversion "libpeas-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPEAS_VERSION" >&5 +$as_echo "$LIBPEAS_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBPEAS_CFLAGS" >&5 +$as_echo_n "checking LIBPEAS_CFLAGS... " >&6; } + LIBPEAS_CFLAGS=`$PKG_CONFIG --cflags "libpeas-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPEAS_CFLAGS" >&5 +$as_echo "$LIBPEAS_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBPEAS_LIBS" >&5 +$as_echo_n "checking LIBPEAS_LIBS... " >&6; } + LIBPEAS_LIBS=`$PKG_CONFIG --libs "libpeas-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPEAS_LIBS" >&5 +$as_echo "$LIBPEAS_LIBS" >&6; } + + LIBPEAS_REQUIRED_VERSION=1.0.0 + + + + + + + + +$as_echo "#define HAVE_LIBPEAS 1" >>confdefs.h + + LIBPEAS_FOUND="yes" + + elif $PKG_CONFIG --exists "libpeas-1.0" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "libpeas-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package libpeas-1.0 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade libpeas-1.0 to atleast version 1.0.0, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package libpeas-1.0 was not found on your system." + echo "*** Please install libpeas-1.0 (atleast version 1.0.0) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libpeas-1.0 >= 1.0.0" >&5 +$as_echo_n "checking for optional package libpeas-1.0 >= 1.0.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libpeas-1.0" >&5 +$as_echo_n "checking for optional package libpeas-1.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$LIBPEAS_FOUND" = x"yes"; then + HAVE_LIBPEAS_TRUE= + HAVE_LIBPEAS_FALSE='#' +else + HAVE_LIBPEAS_TRUE='#' + HAVE_LIBPEAS_FALSE= +fi + + + +if test x"$LIBPEAS_FOUND" = x"yes"; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpeas-gtk-1.0 >= 1.0.0" >&5 +$as_echo_n "checking for libpeas-gtk-1.0 >= 1.0.0... " >&6; } + if $PKG_CONFIG "--atleast-version=1.0.0" "libpeas-gtk-1.0" >/dev/null 2>&1; then + LIBPEAS_GTK_VERSION=`$PKG_CONFIG --modversion "libpeas-gtk-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPEAS_GTK_VERSION" >&5 +$as_echo "$LIBPEAS_GTK_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBPEAS_GTK_CFLAGS" >&5 +$as_echo_n "checking LIBPEAS_GTK_CFLAGS... " >&6; } + LIBPEAS_GTK_CFLAGS=`$PKG_CONFIG --cflags "libpeas-gtk-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPEAS_GTK_CFLAGS" >&5 +$as_echo "$LIBPEAS_GTK_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBPEAS_GTK_LIBS" >&5 +$as_echo_n "checking LIBPEAS_GTK_LIBS... " >&6; } + LIBPEAS_GTK_LIBS=`$PKG_CONFIG --libs "libpeas-gtk-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPEAS_GTK_LIBS" >&5 +$as_echo "$LIBPEAS_GTK_LIBS" >&6; } + + LIBPEAS_GTK_REQUIRED_VERSION=1.0.0 + + + + + + + + elif $PKG_CONFIG --exists "libpeas-gtk-1.0" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "libpeas-gtk-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package libpeas-gtk-1.0 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade libpeas-gtk-1.0 to atleast version 1.0.0, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package libpeas-gtk-1.0 was not found on your system." + echo "*** Please install libpeas-gtk-1.0 (atleast version 1.0.0) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + +fi + +PRAGHA_CFLAGS+=" $LIBPEAS_CFLAGS $LIBPEAS_GTK_CFLAGS" +PRAGHA_LIBS+=" $LIBPEAS_LIBS $LIBPEAS_GTK_LIBS" + + +GSTREAMER_AUDIO_FOUND="no" + + + + # Check whether --enable-gstreamer-audio was given. +if test "${enable_gstreamer_audio+set}" = set; then : + enableval=$enable_gstreamer_audio; xdt_cv_GSTREAMER_AUDIO_check=$enableval +else + xdt_cv_GSTREAMER_AUDIO_check=yes +fi + + + if test x"$xdt_cv_GSTREAMER_AUDIO_check" = x"yes"; then + if $PKG_CONFIG --exists "gstreamer-audio-1.0 >= 0.11.90" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-audio-1.0 >= 0.11.90" >&5 +$as_echo_n "checking for gstreamer-audio-1.0 >= 0.11.90... " >&6; } + if $PKG_CONFIG "--atleast-version=0.11.90" "gstreamer-audio-1.0" >/dev/null 2>&1; then + GSTREAMER_AUDIO_VERSION=`$PKG_CONFIG --modversion "gstreamer-audio-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_AUDIO_VERSION" >&5 +$as_echo "$GSTREAMER_AUDIO_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_AUDIO_CFLAGS" >&5 +$as_echo_n "checking GSTREAMER_AUDIO_CFLAGS... " >&6; } + GSTREAMER_AUDIO_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-audio-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_AUDIO_CFLAGS" >&5 +$as_echo "$GSTREAMER_AUDIO_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_AUDIO_LIBS" >&5 +$as_echo_n "checking GSTREAMER_AUDIO_LIBS... " >&6; } + GSTREAMER_AUDIO_LIBS=`$PKG_CONFIG --libs "gstreamer-audio-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_AUDIO_LIBS" >&5 +$as_echo "$GSTREAMER_AUDIO_LIBS" >&6; } + + GSTREAMER_AUDIO_REQUIRED_VERSION=0.11.90 + + + + + + + + +$as_echo "#define HAVE_GSTREAMER_AUDIO 1" >>confdefs.h + + GSTREAMER_AUDIO_FOUND="yes" + + elif $PKG_CONFIG --exists "gstreamer-audio-1.0" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "gstreamer-audio-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package gstreamer-audio-1.0 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade gstreamer-audio-1.0 to atleast version 0.11.90, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package gstreamer-audio-1.0 was not found on your system." + echo "*** Please install gstreamer-audio-1.0 (atleast version 0.11.90) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package gstreamer-audio-1.0 >= 0.11.90" >&5 +$as_echo_n "checking for optional package gstreamer-audio-1.0 >= 0.11.90... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package gstreamer-audio-1.0" >&5 +$as_echo_n "checking for optional package gstreamer-audio-1.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$GSTREAMER_AUDIO_FOUND" = x"yes"; then + HAVE_GSTREAMER_AUDIO_TRUE= + HAVE_GSTREAMER_AUDIO_FALSE='#' +else + HAVE_GSTREAMER_AUDIO_TRUE='#' + HAVE_GSTREAMER_AUDIO_FALSE= +fi + + + +PRAGHA_CFLAGS+=" $GSTREAMER_AUDIO_CFLAGS" +PRAGHA_LIBS+=" $GSTREAMER_AUDIO_LIBS" + + +LIBXFCE4UI_FOUND="no" + + + + # Check whether --enable-libxfce4ui was given. +if test "${enable_libxfce4ui+set}" = set; then : + enableval=$enable_libxfce4ui; xdt_cv_LIBXFCE4UI_check=$enableval +else + xdt_cv_LIBXFCE4UI_check=yes +fi + + + if test x"$xdt_cv_LIBXFCE4UI_check" = x"yes"; then + if $PKG_CONFIG --exists "libxfce4ui-2 >= 4.10.0" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-2 >= 4.10.0" >&5 +$as_echo_n "checking for libxfce4ui-2 >= 4.10.0... " >&6; } + if $PKG_CONFIG "--atleast-version=4.10.0" "libxfce4ui-2" >/dev/null 2>&1; then + LIBXFCE4UI_VERSION=`$PKG_CONFIG --modversion "libxfce4ui-2"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_VERSION" >&5 +$as_echo "$LIBXFCE4UI_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_CFLAGS" >&5 +$as_echo_n "checking LIBXFCE4UI_CFLAGS... " >&6; } + LIBXFCE4UI_CFLAGS=`$PKG_CONFIG --cflags "libxfce4ui-2"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_CFLAGS" >&5 +$as_echo "$LIBXFCE4UI_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_LIBS" >&5 +$as_echo_n "checking LIBXFCE4UI_LIBS... " >&6; } + LIBXFCE4UI_LIBS=`$PKG_CONFIG --libs "libxfce4ui-2"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_LIBS" >&5 +$as_echo "$LIBXFCE4UI_LIBS" >&6; } + + LIBXFCE4UI_REQUIRED_VERSION=4.10.0 + + + + + + + + +$as_echo "#define HAVE_LIBXFCE4UI 1" >>confdefs.h + + LIBXFCE4UI_FOUND="yes" + + elif $PKG_CONFIG --exists "libxfce4ui-2" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4ui-2"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package libxfce4ui-2 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade libxfce4ui-2 to atleast version 4.10.0, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package libxfce4ui-2 was not found on your system." + echo "*** Please install libxfce4ui-2 (atleast version 4.10.0) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libxfce4ui-2 >= 4.10.0" >&5 +$as_echo_n "checking for optional package libxfce4ui-2 >= 4.10.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libxfce4ui-2" >&5 +$as_echo_n "checking for optional package libxfce4ui-2... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$LIBXFCE4UI_FOUND" = x"yes"; then + HAVE_LIBXFCE4UI_TRUE= + HAVE_LIBXFCE4UI_FALSE='#' +else + HAVE_LIBXFCE4UI_TRUE='#' + HAVE_LIBXFCE4UI_FALSE= +fi + + + +PRAGHA_CFLAGS+=" $LIBXFCE4UI_CFLAGS" +PRAGHA_LIBS+=" $LIBXFCE4UI_LIBS" + + +PLPARSER_FOUND="no" + + + + # Check whether --enable-totem-plparser was given. +if test "${enable_totem_plparser+set}" = set; then : + enableval=$enable_totem_plparser; xdt_cv_PLPARSER_check=$enableval +else + xdt_cv_PLPARSER_check=yes +fi + + + if test x"$xdt_cv_PLPARSER_check" = x"yes"; then + if $PKG_CONFIG --exists "totem-plparser >= 2.26" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for totem-plparser >= 2.26" >&5 +$as_echo_n "checking for totem-plparser >= 2.26... " >&6; } + if $PKG_CONFIG "--atleast-version=2.26" "totem-plparser" >/dev/null 2>&1; then + PLPARSER_VERSION=`$PKG_CONFIG --modversion "totem-plparser"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLPARSER_VERSION" >&5 +$as_echo "$PLPARSER_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking PLPARSER_CFLAGS" >&5 +$as_echo_n "checking PLPARSER_CFLAGS... " >&6; } + PLPARSER_CFLAGS=`$PKG_CONFIG --cflags "totem-plparser"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLPARSER_CFLAGS" >&5 +$as_echo "$PLPARSER_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking PLPARSER_LIBS" >&5 +$as_echo_n "checking PLPARSER_LIBS... " >&6; } + PLPARSER_LIBS=`$PKG_CONFIG --libs "totem-plparser"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLPARSER_LIBS" >&5 +$as_echo "$PLPARSER_LIBS" >&6; } + + PLPARSER_REQUIRED_VERSION=2.26 + + + + + + + + +$as_echo "#define HAVE_PLPARSER 1" >>confdefs.h + + PLPARSER_FOUND="yes" + + elif $PKG_CONFIG --exists "totem-plparser" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "totem-plparser"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package totem-plparser was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade totem-plparser to atleast version 2.26, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package totem-plparser was not found on your system." + echo "*** Please install totem-plparser (atleast version 2.26) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package totem-plparser >= 2.26" >&5 +$as_echo_n "checking for optional package totem-plparser >= 2.26... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package totem-plparser" >&5 +$as_echo_n "checking for optional package totem-plparser... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$PLPARSER_FOUND" = x"yes"; then + HAVE_PLPARSER_TRUE= + HAVE_PLPARSER_FALSE='#' +else + HAVE_PLPARSER_TRUE='#' + HAVE_PLPARSER_FALSE= +fi + + + +PRAGHA_CFLAGS+=" $PLPARSER_CFLAGS" +PRAGHA_LIBS+=" $PLPARSER_LIBS" + + +GUDEV_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then + + + + # Check whether --enable-gudev-1.0 was given. +if test "${enable_gudev_1_0+set}" = set; then : + enableval=$enable_gudev_1_0; xdt_cv_GUDEV_check=$enableval +else + xdt_cv_GUDEV_check=yes +fi + + + if test x"$xdt_cv_GUDEV_check" = x"yes"; then + if $PKG_CONFIG --exists "gudev-1.0 >= 145" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gudev-1.0 >= 145" >&5 +$as_echo_n "checking for gudev-1.0 >= 145... " >&6; } + if $PKG_CONFIG "--atleast-version=145" "gudev-1.0" >/dev/null 2>&1; then + GUDEV_VERSION=`$PKG_CONFIG --modversion "gudev-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUDEV_VERSION" >&5 +$as_echo "$GUDEV_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking GUDEV_CFLAGS" >&5 +$as_echo_n "checking GUDEV_CFLAGS... " >&6; } + GUDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUDEV_CFLAGS" >&5 +$as_echo "$GUDEV_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking GUDEV_LIBS" >&5 +$as_echo_n "checking GUDEV_LIBS... " >&6; } + GUDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUDEV_LIBS" >&5 +$as_echo "$GUDEV_LIBS" >&6; } + + GUDEV_REQUIRED_VERSION=145 + + + + + + + + +$as_echo "#define HAVE_GUDEV 1" >>confdefs.h + + GUDEV_FOUND="yes" + + elif $PKG_CONFIG --exists "gudev-1.0" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "gudev-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package gudev-1.0 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade gudev-1.0 to atleast version 145, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package gudev-1.0 was not found on your system." + echo "*** Please install gudev-1.0 (atleast version 145) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package gudev-1.0 >= 145" >&5 +$as_echo_n "checking for optional package gudev-1.0 >= 145... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package gudev-1.0" >&5 +$as_echo_n "checking for optional package gudev-1.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$GUDEV_FOUND" = x"yes"; then + HAVE_GUDEV_TRUE= + HAVE_GUDEV_FALSE='#' +else + HAVE_GUDEV_TRUE='#' + HAVE_GUDEV_FALSE= +fi + + +else + if 0; then + HAVE_GUDEV_TRUE= + HAVE_GUDEV_FALSE='#' +else + HAVE_GUDEV_TRUE='#' + HAVE_GUDEV_FALSE= +fi + +fi + +PRAGHA_CFLAGS+=" $GUDEV_CFLAGS" +PRAGHA_LIBS+=" $GUDEV_LIBS" + + +DBUS_PLUGINS_SUPPORT="no" +if test x"$LIBPEAS_FOUND" = x"yes" && test x"$WIN32" = x"no"; then +DBUS_PLUGINS_SUPPORT="yes" +fi + + if test "$DBUS_PLUGINS_SUPPORT" = "yes"; then + DBUS_PLUGINS_SUPPORT_TRUE= + DBUS_PLUGINS_SUPPORT_FALSE='#' +else + DBUS_PLUGINS_SUPPORT_TRUE='#' + DBUS_PLUGINS_SUPPORT_FALSE= +fi + + + +LIBNOTIFY_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then + + + + # Check whether --enable-libnotify was given. +if test "${enable_libnotify+set}" = set; then : + enableval=$enable_libnotify; xdt_cv_LIBNOTIFY_check=$enableval +else + xdt_cv_LIBNOTIFY_check=yes +fi + + + if test x"$xdt_cv_LIBNOTIFY_check" = x"yes"; then + if $PKG_CONFIG --exists "libnotify >= 0.7.5" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnotify >= 0.7.5" >&5 +$as_echo_n "checking for libnotify >= 0.7.5... " >&6; } + if $PKG_CONFIG "--atleast-version=0.7.5" "libnotify" >/dev/null 2>&1; then + LIBNOTIFY_VERSION=`$PKG_CONFIG --modversion "libnotify"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBNOTIFY_VERSION" >&5 +$as_echo "$LIBNOTIFY_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBNOTIFY_CFLAGS" >&5 +$as_echo_n "checking LIBNOTIFY_CFLAGS... " >&6; } + LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBNOTIFY_CFLAGS" >&5 +$as_echo "$LIBNOTIFY_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBNOTIFY_LIBS" >&5 +$as_echo_n "checking LIBNOTIFY_LIBS... " >&6; } + LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBNOTIFY_LIBS" >&5 +$as_echo "$LIBNOTIFY_LIBS" >&6; } + + LIBNOTIFY_REQUIRED_VERSION=0.7.5 + + + + + + + + +$as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h + + LIBNOTIFY_FOUND="yes" + + elif $PKG_CONFIG --exists "libnotify" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "libnotify"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package libnotify was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade libnotify to atleast version 0.7.5, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package libnotify was not found on your system." + echo "*** Please install libnotify (atleast version 0.7.5) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libnotify >= 0.7.5" >&5 +$as_echo_n "checking for optional package libnotify >= 0.7.5... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libnotify" >&5 +$as_echo_n "checking for optional package libnotify... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$LIBNOTIFY_FOUND" = x"yes"; then + HAVE_LIBNOTIFY_TRUE= + HAVE_LIBNOTIFY_FALSE='#' +else + HAVE_LIBNOTIFY_TRUE='#' + HAVE_LIBNOTIFY_FALSE= +fi + + +else + if 0; then + HAVE_LIBNOTIFY_TRUE= + HAVE_LIBNOTIFY_FALSE='#' +else + HAVE_LIBNOTIFY_TRUE='#' + HAVE_LIBNOTIFY_FALSE= +fi + +fi + + +LIBKEYBINDER_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then + + + + # Check whether --enable-keybinder was given. +if test "${enable_keybinder+set}" = set; then : + enableval=$enable_keybinder; xdt_cv_LIBKEYBINDER_check=$enableval +else + xdt_cv_LIBKEYBINDER_check=yes +fi + + + if test x"$xdt_cv_LIBKEYBINDER_check" = x"yes"; then + if $PKG_CONFIG --exists "keybinder-3.0 >= 0.2.0" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for keybinder-3.0 >= 0.2.0" >&5 +$as_echo_n "checking for keybinder-3.0 >= 0.2.0... " >&6; } + if $PKG_CONFIG "--atleast-version=0.2.0" "keybinder-3.0" >/dev/null 2>&1; then + LIBKEYBINDER_VERSION=`$PKG_CONFIG --modversion "keybinder-3.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBKEYBINDER_VERSION" >&5 +$as_echo "$LIBKEYBINDER_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBKEYBINDER_CFLAGS" >&5 +$as_echo_n "checking LIBKEYBINDER_CFLAGS... " >&6; } + LIBKEYBINDER_CFLAGS=`$PKG_CONFIG --cflags "keybinder-3.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBKEYBINDER_CFLAGS" >&5 +$as_echo "$LIBKEYBINDER_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBKEYBINDER_LIBS" >&5 +$as_echo_n "checking LIBKEYBINDER_LIBS... " >&6; } + LIBKEYBINDER_LIBS=`$PKG_CONFIG --libs "keybinder-3.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBKEYBINDER_LIBS" >&5 +$as_echo "$LIBKEYBINDER_LIBS" >&6; } + + LIBKEYBINDER_REQUIRED_VERSION=0.2.0 + + + + + + + + +$as_echo "#define HAVE_LIBKEYBINDER 1" >>confdefs.h + + LIBKEYBINDER_FOUND="yes" + + elif $PKG_CONFIG --exists "keybinder-3.0" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "keybinder-3.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package keybinder-3.0 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade keybinder-3.0 to atleast version 0.2.0, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package keybinder-3.0 was not found on your system." + echo "*** Please install keybinder-3.0 (atleast version 0.2.0) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package keybinder-3.0 >= 0.2.0" >&5 +$as_echo_n "checking for optional package keybinder-3.0 >= 0.2.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package keybinder-3.0" >&5 +$as_echo_n "checking for optional package keybinder-3.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$LIBKEYBINDER_FOUND" = x"yes"; then + HAVE_LIBKEYBINDER_TRUE= + HAVE_LIBKEYBINDER_FALSE='#' +else + HAVE_LIBKEYBINDER_TRUE='#' + HAVE_LIBKEYBINDER_FALSE= +fi + + +else + if 0; then + HAVE_LIBKEYBINDER_TRUE= + HAVE_LIBKEYBINDER_FALSE='#' +else + HAVE_LIBKEYBINDER_TRUE='#' + HAVE_LIBKEYBINDER_FALSE= +fi + +fi + + +LIBGLYR_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then + + + + # Check whether --enable-libglyr was given. +if test "${enable_libglyr+set}" = set; then : + enableval=$enable_libglyr; xdt_cv_LIBGLYR_check=$enableval +else + xdt_cv_LIBGLYR_check=yes +fi + + + if test x"$xdt_cv_LIBGLYR_check" = x"yes"; then + if $PKG_CONFIG --exists "libglyr >= 1.0.1" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libglyr >= 1.0.1" >&5 +$as_echo_n "checking for libglyr >= 1.0.1... " >&6; } + if $PKG_CONFIG "--atleast-version=1.0.1" "libglyr" >/dev/null 2>&1; then + LIBGLYR_VERSION=`$PKG_CONFIG --modversion "libglyr"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGLYR_VERSION" >&5 +$as_echo "$LIBGLYR_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGLYR_CFLAGS" >&5 +$as_echo_n "checking LIBGLYR_CFLAGS... " >&6; } + LIBGLYR_CFLAGS=`$PKG_CONFIG --cflags "libglyr"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGLYR_CFLAGS" >&5 +$as_echo "$LIBGLYR_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGLYR_LIBS" >&5 +$as_echo_n "checking LIBGLYR_LIBS... " >&6; } + LIBGLYR_LIBS=`$PKG_CONFIG --libs "libglyr"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGLYR_LIBS" >&5 +$as_echo "$LIBGLYR_LIBS" >&6; } + + LIBGLYR_REQUIRED_VERSION=1.0.1 + + + + + + + + +$as_echo "#define HAVE_LIBGLYR 1" >>confdefs.h + + LIBGLYR_FOUND="yes" + + elif $PKG_CONFIG --exists "libglyr" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "libglyr"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package libglyr was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade libglyr to atleast version 1.0.1, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package libglyr was not found on your system." + echo "*** Please install libglyr (atleast version 1.0.1) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libglyr >= 1.0.1" >&5 +$as_echo_n "checking for optional package libglyr >= 1.0.1... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libglyr" >&5 +$as_echo_n "checking for optional package libglyr... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$LIBGLYR_FOUND" = x"yes"; then + HAVE_LIBGLYR_TRUE= + HAVE_LIBGLYR_FALSE='#' +else + HAVE_LIBGLYR_TRUE='#' + HAVE_LIBGLYR_FALSE= +fi + + +else + if 0; then + HAVE_LIBGLYR_TRUE= + HAVE_LIBGLYR_FALSE='#' +else + HAVE_LIBGLYR_TRUE='#' + HAVE_LIBGLYR_FALSE= +fi + +fi + + +LIBMTP_FOUND="no" +if test x"$GUDEV_FOUND" = x"yes"; then + + + + # Check whether --enable-libmtp was given. +if test "${enable_libmtp+set}" = set; then : + enableval=$enable_libmtp; xdt_cv_LIBMTP_check=$enableval +else + xdt_cv_LIBMTP_check=yes +fi + + + if test x"$xdt_cv_LIBMTP_check" = x"yes"; then + if $PKG_CONFIG --exists "libmtp >= 1.1.0" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmtp >= 1.1.0" >&5 +$as_echo_n "checking for libmtp >= 1.1.0... " >&6; } + if $PKG_CONFIG "--atleast-version=1.1.0" "libmtp" >/dev/null 2>&1; then + LIBMTP_VERSION=`$PKG_CONFIG --modversion "libmtp"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMTP_VERSION" >&5 +$as_echo "$LIBMTP_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBMTP_CFLAGS" >&5 +$as_echo_n "checking LIBMTP_CFLAGS... " >&6; } + LIBMTP_CFLAGS=`$PKG_CONFIG --cflags "libmtp"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMTP_CFLAGS" >&5 +$as_echo "$LIBMTP_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBMTP_LIBS" >&5 +$as_echo_n "checking LIBMTP_LIBS... " >&6; } + LIBMTP_LIBS=`$PKG_CONFIG --libs "libmtp"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMTP_LIBS" >&5 +$as_echo "$LIBMTP_LIBS" >&6; } + + LIBMTP_REQUIRED_VERSION=1.1.0 + + + + + + + + +$as_echo "#define HAVE_LIBMTP 1" >>confdefs.h + + LIBMTP_FOUND="yes" + + elif $PKG_CONFIG --exists "libmtp" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "libmtp"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package libmtp was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade libmtp to atleast version 1.1.0, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package libmtp was not found on your system." + echo "*** Please install libmtp (atleast version 1.1.0) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libmtp >= 1.1.0" >&5 +$as_echo_n "checking for optional package libmtp >= 1.1.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libmtp" >&5 +$as_echo_n "checking for optional package libmtp... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$LIBMTP_FOUND" = x"yes"; then + HAVE_LIBMTP_TRUE= + HAVE_LIBMTP_FALSE='#' +else + HAVE_LIBMTP_TRUE='#' + HAVE_LIBMTP_FALSE= +fi + + +else + if 0; then + HAVE_LIBMTP_TRUE= + HAVE_LIBMTP_FALSE='#' +else + HAVE_LIBMTP_TRUE='#' + HAVE_LIBMTP_FALSE= +fi + +fi + + +LIBSOUP_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then + + + + # Check whether --enable-libsoup-2.4 was given. +if test "${enable_libsoup_2_4+set}" = set; then : + enableval=$enable_libsoup_2_4; xdt_cv_LIBSOUP_check=$enableval +else + xdt_cv_LIBSOUP_check=yes +fi + + + if test x"$xdt_cv_LIBSOUP_check" = x"yes"; then + if $PKG_CONFIG --exists "libsoup-2.4 >= 2.38" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup-2.4 >= 2.38" >&5 +$as_echo_n "checking for libsoup-2.4 >= 2.38... " >&6; } + if $PKG_CONFIG "--atleast-version=2.38" "libsoup-2.4" >/dev/null 2>&1; then + LIBSOUP_VERSION=`$PKG_CONFIG --modversion "libsoup-2.4"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSOUP_VERSION" >&5 +$as_echo "$LIBSOUP_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBSOUP_CFLAGS" >&5 +$as_echo_n "checking LIBSOUP_CFLAGS... " >&6; } + LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSOUP_CFLAGS" >&5 +$as_echo "$LIBSOUP_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBSOUP_LIBS" >&5 +$as_echo_n "checking LIBSOUP_LIBS... " >&6; } + LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSOUP_LIBS" >&5 +$as_echo "$LIBSOUP_LIBS" >&6; } + + LIBSOUP_REQUIRED_VERSION=2.38 + + + + + + + + +$as_echo "#define HAVE_LIBSOUP 1" >>confdefs.h + + LIBSOUP_FOUND="yes" + + elif $PKG_CONFIG --exists "libsoup-2.4" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "libsoup-2.4"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package libsoup-2.4 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade libsoup-2.4 to atleast version 2.38, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package libsoup-2.4 was not found on your system." + echo "*** Please install libsoup-2.4 (atleast version 2.38) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libsoup-2.4 >= 2.38" >&5 +$as_echo_n "checking for optional package libsoup-2.4 >= 2.38... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libsoup-2.4" >&5 +$as_echo_n "checking for optional package libsoup-2.4... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$LIBSOUP_FOUND" = x"yes"; then + HAVE_LIBSOUP_TRUE= + HAVE_LIBSOUP_FALSE='#' +else + HAVE_LIBSOUP_TRUE='#' + HAVE_LIBSOUP_FALSE= +fi + + +else + if 0; then + HAVE_LIBSOUP_TRUE= + HAVE_LIBSOUP_FALSE='#' +else + HAVE_LIBSOUP_TRUE='#' + HAVE_LIBSOUP_FALSE= +fi + +fi + + +JSON_GLIB_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then + + + + # Check whether --enable-json-glib-1.0 was given. +if test "${enable_json_glib_1_0+set}" = set; then : + enableval=$enable_json_glib_1_0; xdt_cv_JSON_GLIB_check=$enableval +else + xdt_cv_JSON_GLIB_check=yes +fi + + + if test x"$xdt_cv_JSON_GLIB_check" = x"yes"; then + if $PKG_CONFIG --exists "json-glib-1.0 >= 1.0.0" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for json-glib-1.0 >= 1.0.0" >&5 +$as_echo_n "checking for json-glib-1.0 >= 1.0.0... " >&6; } + if $PKG_CONFIG "--atleast-version=1.0.0" "json-glib-1.0" >/dev/null 2>&1; then + JSON_GLIB_VERSION=`$PKG_CONFIG --modversion "json-glib-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JSON_GLIB_VERSION" >&5 +$as_echo "$JSON_GLIB_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking JSON_GLIB_CFLAGS" >&5 +$as_echo_n "checking JSON_GLIB_CFLAGS... " >&6; } + JSON_GLIB_CFLAGS=`$PKG_CONFIG --cflags "json-glib-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JSON_GLIB_CFLAGS" >&5 +$as_echo "$JSON_GLIB_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking JSON_GLIB_LIBS" >&5 +$as_echo_n "checking JSON_GLIB_LIBS... " >&6; } + JSON_GLIB_LIBS=`$PKG_CONFIG --libs "json-glib-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JSON_GLIB_LIBS" >&5 +$as_echo "$JSON_GLIB_LIBS" >&6; } + + JSON_GLIB_REQUIRED_VERSION=1.0.0 + + + + + + + + +$as_echo "#define HAVE_JSON_GLIB 1" >>confdefs.h + + JSON_GLIB_FOUND="yes" + + elif $PKG_CONFIG --exists "json-glib-1.0" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "json-glib-1.0"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package json-glib-1.0 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade json-glib-1.0 to atleast version 1.0.0, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package json-glib-1.0 was not found on your system." + echo "*** Please install json-glib-1.0 (atleast version 1.0.0) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package json-glib-1.0 >= 1.0.0" >&5 +$as_echo_n "checking for optional package json-glib-1.0 >= 1.0.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package json-glib-1.0" >&5 +$as_echo_n "checking for optional package json-glib-1.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$JSON_GLIB_FOUND" = x"yes"; then + HAVE_JSON_GLIB_TRUE= + HAVE_JSON_GLIB_FALSE='#' +else + HAVE_JSON_GLIB_TRUE='#' + HAVE_JSON_GLIB_FALSE= +fi + + +else + if 0; then + HAVE_JSON_GLIB_TRUE= + HAVE_JSON_GLIB_FALSE='#' +else + HAVE_JSON_GLIB_TRUE='#' + HAVE_JSON_GLIB_FALSE= +fi + +fi + + +RYGEL_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then + + + + # Check whether --enable-rygel-server-2.6 was given. +if test "${enable_rygel_server_2_6+set}" = set; then : + enableval=$enable_rygel_server_2_6; xdt_cv_RYGEL_check=$enableval +else + xdt_cv_RYGEL_check=yes +fi + + + if test x"$xdt_cv_RYGEL_check" = x"yes"; then + if $PKG_CONFIG --exists "rygel-server-2.6 >= 0.26.0" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rygel-server-2.6 >= 0.26.0" >&5 +$as_echo_n "checking for rygel-server-2.6 >= 0.26.0... " >&6; } + if $PKG_CONFIG "--atleast-version=0.26.0" "rygel-server-2.6" >/dev/null 2>&1; then + RYGEL_VERSION=`$PKG_CONFIG --modversion "rygel-server-2.6"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RYGEL_VERSION" >&5 +$as_echo "$RYGEL_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking RYGEL_CFLAGS" >&5 +$as_echo_n "checking RYGEL_CFLAGS... " >&6; } + RYGEL_CFLAGS=`$PKG_CONFIG --cflags "rygel-server-2.6"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RYGEL_CFLAGS" >&5 +$as_echo "$RYGEL_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking RYGEL_LIBS" >&5 +$as_echo_n "checking RYGEL_LIBS... " >&6; } + RYGEL_LIBS=`$PKG_CONFIG --libs "rygel-server-2.6"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RYGEL_LIBS" >&5 +$as_echo "$RYGEL_LIBS" >&6; } + + RYGEL_REQUIRED_VERSION=0.26.0 + + + + + + + + +$as_echo "#define HAVE_RYGEL 1" >>confdefs.h + + RYGEL_FOUND="yes" + + elif $PKG_CONFIG --exists "rygel-server-2.6" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "rygel-server-2.6"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package rygel-server-2.6 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade rygel-server-2.6 to atleast version 0.26.0, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package rygel-server-2.6 was not found on your system." + echo "*** Please install rygel-server-2.6 (atleast version 0.26.0) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package rygel-server-2.6 >= 0.26.0" >&5 +$as_echo_n "checking for optional package rygel-server-2.6 >= 0.26.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package rygel-server-2.6" >&5 +$as_echo_n "checking for optional package rygel-server-2.6... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$RYGEL_FOUND" = x"yes"; then + HAVE_RYGEL_TRUE= + HAVE_RYGEL_FALSE='#' +else + HAVE_RYGEL_TRUE='#' + HAVE_RYGEL_FALSE= +fi + + +else + if 0; then + HAVE_RYGEL_TRUE= + HAVE_RYGEL_FALSE='#' +else + HAVE_RYGEL_TRUE='#' + HAVE_RYGEL_FALSE= +fi + +fi + + +GRILO_FOUND="no" +GRILO3_FOUND="no" +GRILO2_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then + + + + # Check whether --enable-grilo-0.3 was given. +if test "${enable_grilo_0_3+set}" = set; then : + enableval=$enable_grilo_0_3; xdt_cv_GRILO3_check=$enableval +else + xdt_cv_GRILO3_check=yes +fi + + + if test x"$xdt_cv_GRILO3_check" = x"yes"; then + if $PKG_CONFIG --exists "grilo-0.3 >= 0.3.0" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grilo-0.3 >= 0.3.0" >&5 +$as_echo_n "checking for grilo-0.3 >= 0.3.0... " >&6; } + if $PKG_CONFIG "--atleast-version=0.3.0" "grilo-0.3" >/dev/null 2>&1; then + GRILO3_VERSION=`$PKG_CONFIG --modversion "grilo-0.3"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRILO3_VERSION" >&5 +$as_echo "$GRILO3_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking GRILO3_CFLAGS" >&5 +$as_echo_n "checking GRILO3_CFLAGS... " >&6; } + GRILO3_CFLAGS=`$PKG_CONFIG --cflags "grilo-0.3"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRILO3_CFLAGS" >&5 +$as_echo "$GRILO3_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking GRILO3_LIBS" >&5 +$as_echo_n "checking GRILO3_LIBS... " >&6; } + GRILO3_LIBS=`$PKG_CONFIG --libs "grilo-0.3"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRILO3_LIBS" >&5 +$as_echo "$GRILO3_LIBS" >&6; } + + GRILO3_REQUIRED_VERSION=0.3.0 + + + + + + + + +$as_echo "#define HAVE_GRILO3 1" >>confdefs.h + + GRILO3_FOUND="yes" + + elif $PKG_CONFIG --exists "grilo-0.3" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "grilo-0.3"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package grilo-0.3 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade grilo-0.3 to atleast version 0.3.0, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package grilo-0.3 was not found on your system." + echo "*** Please install grilo-0.3 (atleast version 0.3.0) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package grilo-0.3 >= 0.3.0" >&5 +$as_echo_n "checking for optional package grilo-0.3 >= 0.3.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package grilo-0.3" >&5 +$as_echo_n "checking for optional package grilo-0.3... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$GRILO3_FOUND" = x"yes"; then + HAVE_GRILO3_TRUE= + HAVE_GRILO3_FALSE='#' +else + HAVE_GRILO3_TRUE='#' + HAVE_GRILO3_FALSE= +fi + + +if test x"$GRILO3_FOUND" = x"no"; then + + + + # Check whether --enable-grilo-0.2 was given. +if test "${enable_grilo_0_2+set}" = set; then : + enableval=$enable_grilo_0_2; xdt_cv_GRILO2_check=$enableval +else + xdt_cv_GRILO2_check=yes +fi + + + if test x"$xdt_cv_GRILO2_check" = x"yes"; then + if $PKG_CONFIG --exists "grilo-0.2 >= 0.2.11" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grilo-0.2 >= 0.2.11" >&5 +$as_echo_n "checking for grilo-0.2 >= 0.2.11... " >&6; } + if $PKG_CONFIG "--atleast-version=0.2.11" "grilo-0.2" >/dev/null 2>&1; then + GRILO2_VERSION=`$PKG_CONFIG --modversion "grilo-0.2"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRILO2_VERSION" >&5 +$as_echo "$GRILO2_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking GRILO2_CFLAGS" >&5 +$as_echo_n "checking GRILO2_CFLAGS... " >&6; } + GRILO2_CFLAGS=`$PKG_CONFIG --cflags "grilo-0.2"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRILO2_CFLAGS" >&5 +$as_echo "$GRILO2_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking GRILO2_LIBS" >&5 +$as_echo_n "checking GRILO2_LIBS... " >&6; } + GRILO2_LIBS=`$PKG_CONFIG --libs "grilo-0.2"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRILO2_LIBS" >&5 +$as_echo "$GRILO2_LIBS" >&6; } + + GRILO2_REQUIRED_VERSION=0.2.11 + + + + + + + + +$as_echo "#define HAVE_GRILO2 1" >>confdefs.h + + GRILO2_FOUND="yes" + + elif $PKG_CONFIG --exists "grilo-0.2" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "grilo-0.2"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package grilo-0.2 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade grilo-0.2 to atleast version 0.2.11, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package grilo-0.2 was not found on your system." + echo "*** Please install grilo-0.2 (atleast version 0.2.11) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package grilo-0.2 >= 0.2.11" >&5 +$as_echo_n "checking for optional package grilo-0.2 >= 0.2.11... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package grilo-0.2" >&5 +$as_echo_n "checking for optional package grilo-0.2... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$GRILO2_FOUND" = x"yes"; then + HAVE_GRILO2_TRUE= + HAVE_GRILO2_FALSE='#' +else + HAVE_GRILO2_TRUE='#' + HAVE_GRILO2_FALSE= +fi + + +else + if 0; then + HAVE_GRILO2_TRUE= + HAVE_GRILO2_FALSE='#' +else + HAVE_GRILO2_TRUE='#' + HAVE_GRILO2_FALSE= +fi + +fi +else + if 0; then + HAVE_GRILO3_TRUE= + HAVE_GRILO3_FALSE='#' +else + HAVE_GRILO3_TRUE='#' + HAVE_GRILO3_FALSE= +fi + + if 0; then + HAVE_GRILO2_TRUE= + HAVE_GRILO2_FALSE='#' +else + HAVE_GRILO2_TRUE='#' + HAVE_GRILO2_FALSE= +fi + +fi + +if test x"$GRILO3_FOUND" = x"yes"; then +GRILO_FOUND="yes" +fi +if test x"$GRILO2_FOUND" = x"yes"; then +GRILO_FOUND="yes" +fi + + +GRILO_NET_FOUND="no" +GRILO_NET3_FOUND="no" +GRILO_NET2_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then + + + + # Check whether --enable-grilo-net-0.3 was given. +if test "${enable_grilo_net_0_3+set}" = set; then : + enableval=$enable_grilo_net_0_3; xdt_cv_GRILO_NET3_check=$enableval +else + xdt_cv_GRILO_NET3_check=yes +fi + + + if test x"$xdt_cv_GRILO_NET3_check" = x"yes"; then + if $PKG_CONFIG --exists "grilo-net-0.3 >= 0.3.0" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grilo-net-0.3 >= 0.3.0" >&5 +$as_echo_n "checking for grilo-net-0.3 >= 0.3.0... " >&6; } + if $PKG_CONFIG "--atleast-version=0.3.0" "grilo-net-0.3" >/dev/null 2>&1; then + GRILO_NET3_VERSION=`$PKG_CONFIG --modversion "grilo-net-0.3"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRILO_NET3_VERSION" >&5 +$as_echo "$GRILO_NET3_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking GRILO_NET3_CFLAGS" >&5 +$as_echo_n "checking GRILO_NET3_CFLAGS... " >&6; } + GRILO_NET3_CFLAGS=`$PKG_CONFIG --cflags "grilo-net-0.3"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRILO_NET3_CFLAGS" >&5 +$as_echo "$GRILO_NET3_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking GRILO_NET3_LIBS" >&5 +$as_echo_n "checking GRILO_NET3_LIBS... " >&6; } + GRILO_NET3_LIBS=`$PKG_CONFIG --libs "grilo-net-0.3"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRILO_NET3_LIBS" >&5 +$as_echo "$GRILO_NET3_LIBS" >&6; } + + GRILO_NET3_REQUIRED_VERSION=0.3.0 + + + + + + + + +$as_echo "#define HAVE_GRILO_NET3 1" >>confdefs.h + + GRILO_NET3_FOUND="yes" + + elif $PKG_CONFIG --exists "grilo-net-0.3" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "grilo-net-0.3"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package grilo-net-0.3 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade grilo-net-0.3 to atleast version 0.3.0, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package grilo-net-0.3 was not found on your system." + echo "*** Please install grilo-net-0.3 (atleast version 0.3.0) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package grilo-net-0.3 >= 0.3.0" >&5 +$as_echo_n "checking for optional package grilo-net-0.3 >= 0.3.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package grilo-net-0.3" >&5 +$as_echo_n "checking for optional package grilo-net-0.3... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$GRILO_NET3_FOUND" = x"yes"; then + HAVE_GRILO_NET3_TRUE= + HAVE_GRILO_NET3_FALSE='#' +else + HAVE_GRILO_NET3_TRUE='#' + HAVE_GRILO_NET3_FALSE= +fi + + +if test x"$GRILO_NET3_FOUND" = x"no"; then + + + + # Check whether --enable-grilo-net-0.2 was given. +if test "${enable_grilo_net_0_2+set}" = set; then : + enableval=$enable_grilo_net_0_2; xdt_cv_GRILO_NET2_check=$enableval +else + xdt_cv_GRILO_NET2_check=yes +fi + + + if test x"$xdt_cv_GRILO_NET2_check" = x"yes"; then + if $PKG_CONFIG --exists "grilo-net-0.2 >= 0.2.5" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grilo-net-0.2 >= 0.2.5" >&5 +$as_echo_n "checking for grilo-net-0.2 >= 0.2.5... " >&6; } + if $PKG_CONFIG "--atleast-version=0.2.5" "grilo-net-0.2" >/dev/null 2>&1; then + GRILO_NET2_VERSION=`$PKG_CONFIG --modversion "grilo-net-0.2"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRILO_NET2_VERSION" >&5 +$as_echo "$GRILO_NET2_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking GRILO_NET2_CFLAGS" >&5 +$as_echo_n "checking GRILO_NET2_CFLAGS... " >&6; } + GRILO_NET2_CFLAGS=`$PKG_CONFIG --cflags "grilo-net-0.2"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRILO_NET2_CFLAGS" >&5 +$as_echo "$GRILO_NET2_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking GRILO_NET2_LIBS" >&5 +$as_echo_n "checking GRILO_NET2_LIBS... " >&6; } + GRILO_NET2_LIBS=`$PKG_CONFIG --libs "grilo-net-0.2"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRILO_NET2_LIBS" >&5 +$as_echo "$GRILO_NET2_LIBS" >&6; } + + GRILO_NET2_REQUIRED_VERSION=0.2.5 + + + + + + + + +$as_echo "#define HAVE_GRILO_NET2 1" >>confdefs.h + + GRILO_NET2_FOUND="yes" + + elif $PKG_CONFIG --exists "grilo-net-0.2" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "grilo-net-0.2"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package grilo-net-0.2 was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade grilo-net-0.2 to atleast version 0.2.5, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package grilo-net-0.2 was not found on your system." + echo "*** Please install grilo-net-0.2 (atleast version 0.2.5) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package grilo-net-0.2 >= 0.2.5" >&5 +$as_echo_n "checking for optional package grilo-net-0.2 >= 0.2.5... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package grilo-net-0.2" >&5 +$as_echo_n "checking for optional package grilo-net-0.2... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$GRILO_NET2_FOUND" = x"yes"; then + HAVE_GRILO_NET2_TRUE= + HAVE_GRILO_NET2_FALSE='#' +else + HAVE_GRILO_NET2_TRUE='#' + HAVE_GRILO_NET2_FALSE= +fi + + +else + if 0; then + HAVE_GRILO_NET2_TRUE= + HAVE_GRILO_NET2_FALSE='#' +else + HAVE_GRILO_NET2_TRUE='#' + HAVE_GRILO_NET2_FALSE= +fi + +fi +else + if 0; then + HAVE_GRILO_NET3_TRUE= + HAVE_GRILO_NET3_FALSE='#' +else + HAVE_GRILO_NET3_TRUE='#' + HAVE_GRILO_NET3_FALSE= +fi + + if 0; then + HAVE_GRILO_NET2_TRUE= + HAVE_GRILO_NET2_FALSE='#' +else + HAVE_GRILO_NET2_TRUE='#' + HAVE_GRILO_NET2_FALSE= +fi + +fi + +if test x"$GRILO_NET3_FOUND" = x"yes"; then +GRILO_NET_FOUND="yes" +fi +if test x"$GRILO_NET2_FOUND" = x"yes"; then +GRILO_NET_FOUND="yes" +fi + + +LIBCLASTFM_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then + + + + # Check whether --enable-libclastfm was given. +if test "${enable_libclastfm+set}" = set; then : + enableval=$enable_libclastfm; xdt_cv_LIBCLASTFM_check=$enableval +else + xdt_cv_LIBCLASTFM_check=yes +fi + + + if test x"$xdt_cv_LIBCLASTFM_check" = x"yes"; then + if $PKG_CONFIG --exists "libclastfm >= 0.5" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclastfm >= 0.5" >&5 +$as_echo_n "checking for libclastfm >= 0.5... " >&6; } + if $PKG_CONFIG "--atleast-version=0.5" "libclastfm" >/dev/null 2>&1; then + LIBCLASTFM_VERSION=`$PKG_CONFIG --modversion "libclastfm"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCLASTFM_VERSION" >&5 +$as_echo "$LIBCLASTFM_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBCLASTFM_CFLAGS" >&5 +$as_echo_n "checking LIBCLASTFM_CFLAGS... " >&6; } + LIBCLASTFM_CFLAGS=`$PKG_CONFIG --cflags "libclastfm"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCLASTFM_CFLAGS" >&5 +$as_echo "$LIBCLASTFM_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBCLASTFM_LIBS" >&5 +$as_echo_n "checking LIBCLASTFM_LIBS... " >&6; } + LIBCLASTFM_LIBS=`$PKG_CONFIG --libs "libclastfm"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCLASTFM_LIBS" >&5 +$as_echo "$LIBCLASTFM_LIBS" >&6; } + + LIBCLASTFM_REQUIRED_VERSION=0.5 + + + + + + + + +$as_echo "#define HAVE_LIBCLASTFM 1" >>confdefs.h + + LIBCLASTFM_FOUND="yes" + + elif $PKG_CONFIG --exists "libclastfm" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "libclastfm"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package libclastfm was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade libclastfm to atleast version 0.5, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package libclastfm was not found on your system." + echo "*** Please install libclastfm (atleast version 0.5) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libclastfm >= 0.5" >&5 +$as_echo_n "checking for optional package libclastfm >= 0.5... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libclastfm" >&5 +$as_echo_n "checking for optional package libclastfm... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$LIBCLASTFM_FOUND" = x"yes"; then + HAVE_LIBCLASTFM_TRUE= + HAVE_LIBCLASTFM_FALSE='#' +else + HAVE_LIBCLASTFM_TRUE='#' + HAVE_LIBCLASTFM_FALSE= +fi + + +else + if 0; then + HAVE_LIBCLASTFM_TRUE= + HAVE_LIBCLASTFM_FALSE='#' +else + HAVE_LIBCLASTFM_TRUE='#' + HAVE_LIBCLASTFM_FALSE= +fi + +fi + + +LIBCDIO_FOUND="no" +LIBCDIO_PARANOIA_FOUND="no" +LIBCDDB_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then + + + + # Check whether --enable-libcdio was given. +if test "${enable_libcdio+set}" = set; then : + enableval=$enable_libcdio; xdt_cv_LIBCDIO_check=$enableval +else + xdt_cv_LIBCDIO_check=yes +fi + + + if test x"$xdt_cv_LIBCDIO_check" = x"yes"; then + if $PKG_CONFIG --exists "libcdio >= 0.80" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdio >= 0.80" >&5 +$as_echo_n "checking for libcdio >= 0.80... " >&6; } + if $PKG_CONFIG "--atleast-version=0.80" "libcdio" >/dev/null 2>&1; then + LIBCDIO_VERSION=`$PKG_CONFIG --modversion "libcdio"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCDIO_VERSION" >&5 +$as_echo "$LIBCDIO_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBCDIO_CFLAGS" >&5 +$as_echo_n "checking LIBCDIO_CFLAGS... " >&6; } + LIBCDIO_CFLAGS=`$PKG_CONFIG --cflags "libcdio"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCDIO_CFLAGS" >&5 +$as_echo "$LIBCDIO_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBCDIO_LIBS" >&5 +$as_echo_n "checking LIBCDIO_LIBS... " >&6; } + LIBCDIO_LIBS=`$PKG_CONFIG --libs "libcdio"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCDIO_LIBS" >&5 +$as_echo "$LIBCDIO_LIBS" >&6; } + + LIBCDIO_REQUIRED_VERSION=0.80 + + + + + + + + +$as_echo "#define HAVE_LIBCDIO 1" >>confdefs.h + + LIBCDIO_FOUND="yes" + + elif $PKG_CONFIG --exists "libcdio" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "libcdio"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package libcdio was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade libcdio to atleast version 0.80, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package libcdio was not found on your system." + echo "*** Please install libcdio (atleast version 0.80) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libcdio >= 0.80" >&5 +$as_echo_n "checking for optional package libcdio >= 0.80... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libcdio" >&5 +$as_echo_n "checking for optional package libcdio... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$LIBCDIO_FOUND" = x"yes"; then + HAVE_LIBCDIO_TRUE= + HAVE_LIBCDIO_FALSE='#' +else + HAVE_LIBCDIO_TRUE='#' + HAVE_LIBCDIO_FALSE= +fi + + + + + + + # Check whether --enable-libcdio_paranoia was given. +if test "${enable_libcdio_paranoia+set}" = set; then : + enableval=$enable_libcdio_paranoia; xdt_cv_LIBCDIO_PARANOIA_check=$enableval +else + xdt_cv_LIBCDIO_PARANOIA_check=yes +fi + + + if test x"$xdt_cv_LIBCDIO_PARANOIA_check" = x"yes"; then + if $PKG_CONFIG --exists "libcdio_paranoia >= 0.90" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdio_paranoia >= 0.90" >&5 +$as_echo_n "checking for libcdio_paranoia >= 0.90... " >&6; } + if $PKG_CONFIG "--atleast-version=0.90" "libcdio_paranoia" >/dev/null 2>&1; then + LIBCDIO_PARANOIA_VERSION=`$PKG_CONFIG --modversion "libcdio_paranoia"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCDIO_PARANOIA_VERSION" >&5 +$as_echo "$LIBCDIO_PARANOIA_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBCDIO_PARANOIA_CFLAGS" >&5 +$as_echo_n "checking LIBCDIO_PARANOIA_CFLAGS... " >&6; } + LIBCDIO_PARANOIA_CFLAGS=`$PKG_CONFIG --cflags "libcdio_paranoia"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCDIO_PARANOIA_CFLAGS" >&5 +$as_echo "$LIBCDIO_PARANOIA_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBCDIO_PARANOIA_LIBS" >&5 +$as_echo_n "checking LIBCDIO_PARANOIA_LIBS... " >&6; } + LIBCDIO_PARANOIA_LIBS=`$PKG_CONFIG --libs "libcdio_paranoia"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCDIO_PARANOIA_LIBS" >&5 +$as_echo "$LIBCDIO_PARANOIA_LIBS" >&6; } + + LIBCDIO_PARANOIA_REQUIRED_VERSION=0.90 + + + + + + + + +$as_echo "#define HAVE_LIBCDIO_PARANOIA 1" >>confdefs.h + + LIBCDIO_PARANOIA_FOUND="yes" + + elif $PKG_CONFIG --exists "libcdio_paranoia" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "libcdio_paranoia"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package libcdio_paranoia was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade libcdio_paranoia to atleast version 0.90, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package libcdio_paranoia was not found on your system." + echo "*** Please install libcdio_paranoia (atleast version 0.90) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libcdio_paranoia >= 0.90" >&5 +$as_echo_n "checking for optional package libcdio_paranoia >= 0.90... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libcdio_paranoia" >&5 +$as_echo_n "checking for optional package libcdio_paranoia... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$LIBCDIO_PARANOIA_FOUND" = x"yes"; then + HAVE_LIBCDIO_PARANOIA_TRUE= + HAVE_LIBCDIO_PARANOIA_FALSE='#' +else + HAVE_LIBCDIO_PARANOIA_TRUE='#' + HAVE_LIBCDIO_PARANOIA_FALSE= +fi + + + + + + + # Check whether --enable-libcddb was given. +if test "${enable_libcddb+set}" = set; then : + enableval=$enable_libcddb; xdt_cv_LIBCDDB_check=$enableval +else + xdt_cv_LIBCDDB_check=yes +fi + + + if test x"$xdt_cv_LIBCDDB_check" = x"yes"; then + if $PKG_CONFIG --exists "libcddb >= 1.3.0" >/dev/null 2>&1; then + + + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + if test x"$PKG_CONFIG" = x""; then + echo + echo "*** Your version of pkg-config is too old. You need atleast" + echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" + echo "*** from the freedesktop.org software repository at" + echo "***" + echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" + echo "***" + exit 1; + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcddb >= 1.3.0" >&5 +$as_echo_n "checking for libcddb >= 1.3.0... " >&6; } + if $PKG_CONFIG "--atleast-version=1.3.0" "libcddb" >/dev/null 2>&1; then + LIBCDDB_VERSION=`$PKG_CONFIG --modversion "libcddb"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCDDB_VERSION" >&5 +$as_echo "$LIBCDDB_VERSION" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBCDDB_CFLAGS" >&5 +$as_echo_n "checking LIBCDDB_CFLAGS... " >&6; } + LIBCDDB_CFLAGS=`$PKG_CONFIG --cflags "libcddb"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCDDB_CFLAGS" >&5 +$as_echo "$LIBCDDB_CFLAGS" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBCDDB_LIBS" >&5 +$as_echo_n "checking LIBCDDB_LIBS... " >&6; } + LIBCDDB_LIBS=`$PKG_CONFIG --libs "libcddb"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCDDB_LIBS" >&5 +$as_echo "$LIBCDDB_LIBS" >&6; } + + LIBCDDB_REQUIRED_VERSION=1.3.0 + + + + + + + + +$as_echo "#define HAVE_LIBCDDB 1" >>confdefs.h + + LIBCDDB_FOUND="yes" + + elif $PKG_CONFIG --exists "libcddb" >/dev/null 2>&1; then + xdt_cv_version=`$PKG_CONFIG --modversion "libcddb"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 +$as_echo "found, but $xdt_cv_version" >&6; } + + + echo "*** The required package libcddb was found on your system," + echo "*** but the installed version ($xdt_cv_version) is too old." + echo "*** Please upgrade libcddb to atleast version 1.3.0, or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you installed" + echo "*** the new version of the package in a nonstandard prefix so" + echo "*** pkg-config is able to find it." + exit 1 + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + + echo "*** The required package libcddb was not found on your system." + echo "*** Please install libcddb (atleast version 1.3.0) or adjust" + echo "*** the PKG_CONFIG_PATH environment variable if you" + echo "*** installed the package in a nonstandard prefix so that" + echo "*** pkg-config is able to find it." + exit 1 + + fi + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libcddb >= 1.3.0" >&5 +$as_echo_n "checking for optional package libcddb >= 1.3.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package libcddb" >&5 +$as_echo_n "checking for optional package libcddb... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + fi + + if test x"$LIBCDDB_FOUND" = x"yes"; then + HAVE_LIBCDDB_TRUE= + HAVE_LIBCDDB_FALSE='#' +else + HAVE_LIBCDDB_TRUE='#' + HAVE_LIBCDDB_FALSE= +fi + + +else + if 0; then + HAVE_LIBCDIO_TRUE= + HAVE_LIBCDIO_FALSE='#' +else + HAVE_LIBCDIO_TRUE='#' + HAVE_LIBCDIO_FALSE= +fi + + if 0; then + HAVE_LIBCDIO_PARANOIA_TRUE= + HAVE_LIBCDIO_PARANOIA_FALSE='#' +else + HAVE_LIBCDIO_PARANOIA_TRUE='#' + HAVE_LIBCDIO_PARANOIA_FALSE= +fi + + if 0; then + HAVE_LIBCDDB_TRUE= + HAVE_LIBCDDB_FALSE='#' +else + HAVE_LIBCDDB_TRUE='#' + HAVE_LIBCDDB_FALSE= +fi + +fi + +CDROM_SUPPORT="no" +if test x"$LIBCDIO_FOUND" = x"yes" && + test x"$LIBCDIO_PARANOIA_FOUND" = x"yes" && + test x"$LIBCDDB_FOUND" = x"yes"; then +CDROM_SUPPORT="yes" +fi + + +KOEL_SUPPORT="no" +if test x"$LIBPEAS_FOUND" = x"yes" && + test x"$LIBSOUP_FOUND" = x"yes" && + test x"$JSON_GLIB_FOUND" = x"yes"; then +KOEL_SUPPORT="yes" +fi + + +ac_config_files="$ac_config_files Makefile" + +ac_config_files="$ac_config_files data/Makefile" + +ac_config_files="$ac_config_files data/icons/Makefile" + +ac_config_files="$ac_config_files data/icons/16x16/Makefile" + +ac_config_files="$ac_config_files data/icons/24x24/Makefile" + +ac_config_files="$ac_config_files data/icons/32x32/Makefile" + +ac_config_files="$ac_config_files data/icons/48x48/Makefile" + +ac_config_files="$ac_config_files data/icons/64x64/Makefile" + +ac_config_files="$ac_config_files data/icons/128x128/Makefile" + +ac_config_files="$ac_config_files data/icons/symbolic/Makefile" + +ac_config_files="$ac_config_files data/ui/Makefile" + +ac_config_files="$ac_config_files po/Makefile.in" + +ac_config_files="$ac_config_files src/Makefile" + +ac_config_files="$ac_config_files src/win32/Makefile" + + +if test x"$LIBPEAS_FOUND" = x"yes"; then +ac_config_files="$ac_config_files plugins/Makefile" + +ac_config_files="$ac_config_files plugins/acoustid/Makefile" + +ac_config_files="$ac_config_files plugins/ampache/Makefile" + +ac_config_files="$ac_config_files plugins/mpris2/Makefile" + +ac_config_files="$ac_config_files plugins/keybinder/Makefile" + +ac_config_files="$ac_config_files plugins/koel/Makefile" + +ac_config_files="$ac_config_files plugins/gnome-media-keys/Makefile" + +ac_config_files="$ac_config_files plugins/song-info/Makefile" + +ac_config_files="$ac_config_files plugins/notify/Makefile" + +ac_config_files="$ac_config_files plugins/mtp/Makefile" + +ac_config_files="$ac_config_files plugins/removable-media/Makefile" + +ac_config_files="$ac_config_files plugins/tunein/Makefile" + +ac_config_files="$ac_config_files plugins/dlna/Makefile" + +ac_config_files="$ac_config_files plugins/dlna-renderer/Makefile" + +ac_config_files="$ac_config_files plugins/cdrom/Makefile" + +ac_config_files="$ac_config_files plugins/lastfm/Makefile" + +ac_config_files="$ac_config_files plugins/visualizer/Makefile" + +fi +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +$as_echo_n "checking that generated files are newer than configure... " >&6; } + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 +$as_echo "done" >&6; } + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then + as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then + as_fn_error $? "conditional \"WIN32\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + + ac_config_commands="$ac_config_commands po/stamp-it" + + +if test -z "${HAVE_LIBPEAS_TRUE}" && test -z "${HAVE_LIBPEAS_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBPEAS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GSTREAMER_AUDIO_TRUE}" && test -z "${HAVE_GSTREAMER_AUDIO_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GSTREAMER_AUDIO\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBXFCE4UI_TRUE}" && test -z "${HAVE_LIBXFCE4UI_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBXFCE4UI\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_PLPARSER_TRUE}" && test -z "${HAVE_PLPARSER_FALSE}"; then + as_fn_error $? "conditional \"HAVE_PLPARSER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GUDEV_TRUE}" && test -z "${HAVE_GUDEV_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GUDEV\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GUDEV_TRUE}" && test -z "${HAVE_GUDEV_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GUDEV\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${DBUS_PLUGINS_SUPPORT_TRUE}" && test -z "${DBUS_PLUGINS_SUPPORT_FALSE}"; then + as_fn_error $? "conditional \"DBUS_PLUGINS_SUPPORT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBNOTIFY_TRUE}" && test -z "${HAVE_LIBNOTIFY_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBNOTIFY\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBNOTIFY_TRUE}" && test -z "${HAVE_LIBNOTIFY_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBNOTIFY\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBKEYBINDER_TRUE}" && test -z "${HAVE_LIBKEYBINDER_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBKEYBINDER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBKEYBINDER_TRUE}" && test -z "${HAVE_LIBKEYBINDER_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBKEYBINDER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBGLYR_TRUE}" && test -z "${HAVE_LIBGLYR_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBGLYR\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBGLYR_TRUE}" && test -z "${HAVE_LIBGLYR_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBGLYR\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBMTP_TRUE}" && test -z "${HAVE_LIBMTP_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBMTP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBMTP_TRUE}" && test -z "${HAVE_LIBMTP_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBMTP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBSOUP_TRUE}" && test -z "${HAVE_LIBSOUP_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBSOUP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBSOUP_TRUE}" && test -z "${HAVE_LIBSOUP_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBSOUP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_JSON_GLIB_TRUE}" && test -z "${HAVE_JSON_GLIB_FALSE}"; then + as_fn_error $? "conditional \"HAVE_JSON_GLIB\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_JSON_GLIB_TRUE}" && test -z "${HAVE_JSON_GLIB_FALSE}"; then + as_fn_error $? "conditional \"HAVE_JSON_GLIB\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_RYGEL_TRUE}" && test -z "${HAVE_RYGEL_FALSE}"; then + as_fn_error $? "conditional \"HAVE_RYGEL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_RYGEL_TRUE}" && test -z "${HAVE_RYGEL_FALSE}"; then + as_fn_error $? "conditional \"HAVE_RYGEL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GRILO3_TRUE}" && test -z "${HAVE_GRILO3_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GRILO3\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GRILO2_TRUE}" && test -z "${HAVE_GRILO2_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GRILO2\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GRILO2_TRUE}" && test -z "${HAVE_GRILO2_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GRILO2\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GRILO3_TRUE}" && test -z "${HAVE_GRILO3_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GRILO3\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GRILO2_TRUE}" && test -z "${HAVE_GRILO2_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GRILO2\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GRILO_NET3_TRUE}" && test -z "${HAVE_GRILO_NET3_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GRILO_NET3\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GRILO_NET2_TRUE}" && test -z "${HAVE_GRILO_NET2_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GRILO_NET2\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GRILO_NET2_TRUE}" && test -z "${HAVE_GRILO_NET2_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GRILO_NET2\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GRILO_NET3_TRUE}" && test -z "${HAVE_GRILO_NET3_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GRILO_NET3\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GRILO_NET2_TRUE}" && test -z "${HAVE_GRILO_NET2_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GRILO_NET2\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBCLASTFM_TRUE}" && test -z "${HAVE_LIBCLASTFM_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBCLASTFM\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBCLASTFM_TRUE}" && test -z "${HAVE_LIBCLASTFM_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBCLASTFM\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBCDIO_TRUE}" && test -z "${HAVE_LIBCDIO_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBCDIO\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBCDIO_PARANOIA_TRUE}" && test -z "${HAVE_LIBCDIO_PARANOIA_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBCDIO_PARANOIA\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBCDDB_TRUE}" && test -z "${HAVE_LIBCDDB_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBCDDB\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBCDIO_TRUE}" && test -z "${HAVE_LIBCDIO_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBCDIO\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBCDIO_PARANOIA_TRUE}" && test -z "${HAVE_LIBCDIO_PARANOIA_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBCDIO_PARANOIA\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBCDDB_TRUE}" && test -z "${HAVE_LIBCDDB_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBCDDB\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by pragha $as_me 1.3.99.1, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to ." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +pragha config.status 1.3.99.1 +configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2012 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" + + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' +shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' +lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' +lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' +configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' +configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' + +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in SHELL \ +ECHO \ +PATH_SEPARATOR \ +SED \ +GREP \ +EGREP \ +FGREP \ +LD \ +NM \ +LN_S \ +lt_SP2NL \ +lt_NL2SP \ +reload_flag \ +OBJDUMP \ +deplibs_check_method \ +file_magic_cmd \ +file_magic_glob \ +want_nocaseglob \ +DLLTOOL \ +sharedlib_from_linklib_cmd \ +AR \ +AR_FLAGS \ +archiver_list_spec \ +STRIP \ +RANLIB \ +CC \ +CFLAGS \ +compiler \ +lt_cv_sys_global_symbol_pipe \ +lt_cv_sys_global_symbol_to_cdecl \ +lt_cv_sys_global_symbol_to_import \ +lt_cv_sys_global_symbol_to_c_name_address \ +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ +lt_cv_nm_interface \ +nm_file_list_spec \ +lt_cv_truncate_bin \ +lt_prog_compiler_no_builtin_flag \ +lt_prog_compiler_pic \ +lt_prog_compiler_wl \ +lt_prog_compiler_static \ +lt_cv_prog_compiler_c_o \ +need_locks \ +MANIFEST_TOOL \ +DSYMUTIL \ +NMEDIT \ +LIPO \ +OTOOL \ +OTOOL64 \ +shrext_cmds \ +export_dynamic_flag_spec \ +whole_archive_flag_spec \ +compiler_needs_object \ +with_gnu_ld \ +allow_undefined_flag \ +no_undefined_flag \ +hardcode_libdir_flag_spec \ +hardcode_libdir_separator \ +exclude_expsyms \ +include_expsyms \ +file_list_spec \ +variables_saved_for_relink \ +libname_spec \ +library_names_spec \ +soname_spec \ +install_override_mode \ +finish_eval \ +old_striplib \ +striplib; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in reload_cmds \ +old_postinstall_cmds \ +old_postuninstall_cmds \ +old_archive_cmds \ +extract_expsyms_cmds \ +old_archive_from_new_cmds \ +old_archive_from_expsyms_cmds \ +archive_cmds \ +archive_expsym_cmds \ +module_cmds \ +module_expsym_cmds \ +export_symbols_cmds \ +prelink_cmds \ +postlink_cmds \ +postinstall_cmds \ +postuninstall_cmds \ +finish_cmds \ +sys_lib_search_path_spec \ +configure_time_dlsearch_path \ +configure_time_lt_sys_library_path; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +ac_aux_dir='$ac_aux_dir' + +# See if we are running on zsh, and set the options that allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}"; then + setopt NO_GLOB_SUBST +fi + + + PACKAGE='$PACKAGE' + VERSION='$VERSION' + RM='$RM' + ofile='$ofile' + + + + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; + "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;; + "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;; + "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;; + "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;; + "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;; + "data/icons/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/64x64/Makefile" ;; + "data/icons/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/128x128/Makefile" ;; + "data/icons/symbolic/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/symbolic/Makefile" ;; + "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;; + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "src/win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/win32/Makefile" ;; + "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;; + "plugins/acoustid/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/acoustid/Makefile" ;; + "plugins/ampache/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ampache/Makefile" ;; + "plugins/mpris2/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mpris2/Makefile" ;; + "plugins/keybinder/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/keybinder/Makefile" ;; + "plugins/koel/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/koel/Makefile" ;; + "plugins/gnome-media-keys/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/gnome-media-keys/Makefile" ;; + "plugins/song-info/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/song-info/Makefile" ;; + "plugins/notify/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/notify/Makefile" ;; + "plugins/mtp/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mtp/Makefile" ;; + "plugins/removable-media/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/removable-media/Makefile" ;; + "plugins/tunein/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/tunein/Makefile" ;; + "plugins/dlna/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dlna/Makefile" ;; + "plugins/dlna-renderer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dlna-renderer/Makefile" ;; + "plugins/cdrom/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/cdrom/Makefile" ;; + "plugins/lastfm/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/lastfm/Makefile" ;; + "plugins/visualizer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/visualizer/Makefile" ;; + "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + # TODO: see whether this extra hack can be removed once we start + # requiring Autoconf 2.70 or later. + case $CONFIG_FILES in #( + *\'*) : + eval set x "$CONFIG_FILES" ;; #( + *) : + set x $CONFIG_FILES ;; #( + *) : + ;; +esac + shift + # Used to flag and report bootstrapping failures. + am_rc=0 + for am_mf + do + # Strip MF so we end up with the name of the file. + am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile which includes + # dependency-tracking related rules and includes. + # Grep'ing the whole file directly is not great: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ + || continue + am_dirpart=`$as_dirname -- "$am_mf" || +$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$am_mf" : 'X\(//\)[^/]' \| \ + X"$am_mf" : 'X\(//\)$' \| \ + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$am_mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + am_filepart=`$as_basename -- "$am_mf" || +$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ + X"$am_mf" : 'X\(//\)$' \| \ + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$am_mf" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + { echo "$as_me:$LINENO: cd "$am_dirpart" \ + && sed -e '/# am--include-marker/d' "$am_filepart" \ + | $MAKE -f - am--depfiles" >&5 + (cd "$am_dirpart" \ + && sed -e '/# am--include-marker/d' "$am_filepart" \ + | $MAKE -f - am--depfiles) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } || am_rc=$? + done + if test $am_rc -ne 0; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "Something went wrong bootstrapping makefile fragments + for automatic dependency tracking. Try re-running configure with the + '--disable-dependency-tracking' option to at least be able to build + the package (albeit without support for automatic dependency tracking). +See \`config.log' for more details" "$LINENO" 5; } + fi + { am_dirpart=; unset am_dirpart;} + { am_filepart=; unset am_filepart;} + { am_mf=; unset am_mf;} + { am_rc=; unset am_rc;} + rm -f conftest-deps.mk +} + ;; + "libtool":C) + + # See if we are running on zsh, and set the options that allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}"; then + setopt NO_GLOB_SUBST + fi + + cfgfile=${ofile}T + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL +# Generated automatically by $as_me ($PACKAGE) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. + +# Provide generalized library-building support services. +# Written by Gordon Matzigkeit, 1996 + +# Copyright (C) 2014 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# GNU Libtool is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of of the License, or +# (at your option) any later version. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program or library that is built +# using GNU Libtool, you may include this file under the same +# distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + + +# The names of the tagged configurations supported by this script. +available_tags='' + +# Configured defaults for sys_lib_dlsearch_path munging. +: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} + +# ### BEGIN LIBTOOL CONFIG + +# Which release of libtool.m4 was used? +macro_version=$macro_version +macro_revision=$macro_revision + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# What type of objects to build. +pic_mode=$pic_mode + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# Shared archive member basename,for filename based shared library versioning on AIX. +shared_archive_member_spec=$shared_archive_member_spec + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that protects backslashes. +ECHO=$lt_ECHO + +# The PATH separator for the build system. +PATH_SEPARATOR=$lt_PATH_SEPARATOR + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="\$SED -e 1s/^X//" + +# A grep program that handles long lines. +GREP=$lt_GREP + +# An ERE matcher. +EGREP=$lt_EGREP + +# A literal string matcher. +FGREP=$lt_FGREP + +# A BSD- or MS-compatible name lister. +NM=$lt_NM + +# Whether we need soft or hard links. +LN_S=$lt_LN_S + +# What is the maximum length of a command? +max_cmd_len=$max_cmd_len + +# Object file suffix (normally "o"). +objext=$ac_objext + +# Executable file suffix (normally ""). +exeext=$exeext + +# whether the shell understands "unset". +lt_unset=$lt_unset + +# turn spaces into newlines. +SP2NL=$lt_lt_SP2NL + +# turn newlines into spaces. +NL2SP=$lt_lt_NL2SP + +# convert \$build file names to \$host format. +to_host_file_cmd=$lt_cv_to_host_file_cmd + +# convert \$build files to toolchain format. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd + +# An object symbol dumper. +OBJDUMP=$lt_OBJDUMP + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method = "file_magic". +file_magic_cmd=$lt_file_magic_cmd + +# How to find potential files when deplibs_check_method = "file_magic". +file_magic_glob=$lt_file_magic_glob + +# Find potential files using nocaseglob when deplibs_check_method = "file_magic". +want_nocaseglob=$lt_want_nocaseglob + +# DLL creation program. +DLLTOOL=$lt_DLLTOOL + +# Command to associate shared and link libraries. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd + +# The archiver. +AR=$lt_AR + +# Flags to create an archive. +AR_FLAGS=$lt_AR_FLAGS + +# How to feed a file listing to the archiver. +archiver_list_spec=$lt_archiver_list_spec + +# A symbol stripping program. +STRIP=$lt_STRIP + +# Commands used to install an old-style archive. +RANLIB=$lt_RANLIB +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Whether to use a lock for old archive extraction. +lock_old_archive_extraction=$lock_old_archive_extraction + +# A C compiler. +LTCC=$lt_CC + +# LTCC compiler flags. +LTCFLAGS=$lt_CFLAGS + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm into a list of symbols to manually relocate. +global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import + +# Transform the output of nm in a C name address pair. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# Transform the output of nm in a C name address pair when lib prefix is needed. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix + +# The name lister interface. +nm_interface=$lt_lt_cv_nm_interface + +# Specify filename containing input files for \$NM. +nm_file_list_spec=$lt_nm_file_list_spec + +# The root where to search for dependent libraries,and where our libraries should be installed. +lt_sysroot=$lt_sysroot + +# Command to truncate a binary pipe. +lt_truncate_bin=$lt_lt_cv_truncate_bin + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# Used to examine libraries when file_magic_cmd begins with "file". +MAGIC_CMD=$MAGIC_CMD + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Manifest tool. +MANIFEST_TOOL=$lt_MANIFEST_TOOL + +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. +DSYMUTIL=$lt_DSYMUTIL + +# Tool to change global to local symbols on Mac OS X. +NMEDIT=$lt_NMEDIT + +# Tool to manipulate fat objects and archives on Mac OS X. +LIPO=$lt_LIPO + +# ldd/readelf like tool for Mach-O binaries on Mac OS X. +OTOOL=$lt_OTOOL + +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +OTOOL64=$lt_OTOOL64 + +# Old archive suffix (normally "a"). +libext=$libext + +# Shared library suffix (normally ".so"). +shrext_cmds=$lt_shrext_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at link time. +variables_saved_for_relink=$lt_variables_saved_for_relink + +# Do we need the "lib" prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Library versioning type. +version_type=$version_type + +# Shared library runtime path variable. +runpath_var=$runpath_var + +# Shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Permission mode override for installation of shared libraries. +install_override_mode=$lt_install_override_mode + +# Command to use after installation of a shared archive. +postinstall_cmds=$lt_postinstall_cmds + +# Command to use after uninstallation of a shared archive. +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# As "finish_cmds", except a single script fragment to be evaled but +# not shown. +finish_eval=$lt_finish_eval + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Compile-time system search path for libraries. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Detected run-time system search path for libraries. +sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path + +# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. +configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + + +# The linker used to build libraries. +LD=$lt_LD + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds + +# A language specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU compiler? +with_gcc=$GCC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct + +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \$shlibpath_var if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute + +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic + +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds + +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds + +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# ### END LIBTOOL CONFIG + +_LT_EOF + + cat <<'_LT_EOF' >> "$cfgfile" + +# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE + +# func_munge_path_list VARIABLE PATH +# ----------------------------------- +# VARIABLE is name of variable containing _space_ separated list of +# directories to be munged by the contents of PATH, which is string +# having a format: +# "DIR[:DIR]:" +# string "DIR[ DIR]" will be prepended to VARIABLE +# ":DIR[:DIR]" +# string "DIR[ DIR]" will be appended to VARIABLE +# "DIRP[:DIRP]::[DIRA:]DIRA" +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string +# "DIRA[ DIRA]" will be appended to VARIABLE +# "DIR[:DIR]" +# VARIABLE will be replaced by "DIR[ DIR]" +func_munge_path_list () +{ + case x$2 in + x) + ;; + *:) + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" + ;; + x:*) + eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" + ;; + *::*) + eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" + eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" + ;; + *) + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" + ;; + esac +} + + +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +func_cc_basename () +{ + for cc_temp in $*""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac + done + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +} + + +# ### END FUNCTIONS SHARED WITH CONFIGURE + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test set != "${COLLECT_NAMES+set}"; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + +ltmain=$ac_aux_dir/ltmain.sh + + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + + ;; + "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile + esac ;; + "po/stamp-it":C) + if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then + as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 + fi + rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" + >"po/stamp-it.tmp" + sed '/^#/d + s/^[[].*] *// + /^[ ]*$/d + '"s|^| $ac_top_srcdir/|" \ + "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" + + sed '/^POTFILES =/,/[^\\]$/ { + /^POTFILES =/!d + r po/POTFILES + } + ' "po/Makefile.in" >"po/Makefile" + rm -f "po/Makefile.tmp" + mv "po/stamp-it.tmp" "po/stamp-it" + ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + +echo "" +echo "Build Configuration for $PACKAGE version $VERSION" +echo "" +echo " Gtk version used......: $GTK_VERSION" +echo " Gstreamer version used: $GSTREAMER_VERSION" +echo "" +echo " Prefix................: ${prefix}" +echo " Host..................: ${host}" +echo "" +echo " Debug enabled.........: $debug" +echo "" +echo " Plugins enabled.......: $LIBPEAS_FOUND" +echo " * Show notification when change songs..........(Need libnotify >= 0.7.5).: $LIBNOTIFY_FOUND" +echo " * Controls Pragha using Mpris2 interface.................................: $DBUS_PLUGINS_SUPPORT" +echo " * Controls Pragha using gnome-media-keys interface.......................: $DBUS_PLUGINS_SUPPORT" +echo " * Play Audio cds...............(Need libcdio, libcdio_paranoia, libcddb).: $CDROM_SUPPORT" +echo " * Controls Pragha using multimedia keys....(Need keybinder-3.0 >= 0.2.0).: $LIBKEYBINDER_FOUND" +echo " * Search lyrics, artists info and albums art.....(Need libglyr >= 1.0.1).: $LIBGLYR_FOUND" +echo " * Search metadata on AcoustID.....................(Need libsoup >= 2.38).: $LIBSOUP_FOUND" +echo " * Search radios on TuneIn.........................(Need libsoup >= 2.38).: $LIBSOUP_FOUND" +echo " * Share music library on DLNA............(Need rygel-server-2.2 >= 0.26).: $RYGEL_FOUND" +echo " * Play songs on DLNA Servers......................(Need grilo >= 0.2.11).: $GRILO_FOUND" +echo " * Append music on Ampache server...............(Need grilo-net >= 0.2.5).: $GRILO_NET_FOUND" +echo " * Append music on Koel server...............(Need libsoup and json-glib).: $KOEL_SUPPORT" +echo " * Lastfm scroble, and add similar songs support (Need libclastfm >= 0.5).: $LIBCLASTFM_FOUND" +echo " * EXPERIMENTAL management of external devices...........(Need gudev-1.0).: $GUDEV_FOUND" +echo " * USB flash drive/Memory cards........................(Need gudev-1.0).: $GUDEV_FOUND" +echo " * Optical disc Hot-plug...............................(Need gudev-1.0).: $GUDEV_FOUND" +echo " * MTP compatible devices..................:(Need gudev-1.0 and libmtp).: $LIBMTP_FOUND" +echo "" +echo " Others build options..:" +echo " * Cubic volume support.....................(Need gstreamer-plugins-base).: $GSTREAMER_AUDIO_FOUND" +echo " * Better session management support........(Need libxfce4ui-2 >= 4.11.0).: $LIBXFCE4UI_FOUND" +echo " * Use totem-pl-parser to open playlists....(Need totem-plparser >= 2.26).: $PLPARSER_FOUND" +echo "" diff -Nru pragha-1.3.3/configure.ac pragha-1.3.992/configure.ac --- pragha-1.3.3/configure.ac 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/configure.ac 2019-08-13 11:42:44.000000000 +0000 @@ -6,12 +6,12 @@ dnl Version information m4_define([pragha_version_major], [1]) m4_define([pragha_version_minor], [3]) -m4_define([pragha_version_micro], [3]) +m4_define([pragha_version_micro], [99.1]) m4_define([pragha_version], [pragha_version_major().pragha_version_minor().pragha_version_micro()]) dnl Initialize autoconf -AC_COPYRIGHT([Copyright (c) 2009-2015 +AC_COPYRIGHT([Copyright (c) 2009-2019 Matias De lellis ]) AC_INIT([pragha], [pragha_version()], [mati86dl@gmail.com]) AC_CONFIG_HEADERS([config.h]) @@ -21,8 +21,8 @@ AM_MAINTAINER_MODE() dnl Set required and max glib/gdk versions -AC_DEFINE(GDK_VERSION_MIN_REQUIRED, GDK_VERSION_3_8, [Ignore post 3.10 deprecations]) -AC_DEFINE(GDK_VERSION_MAX_ALLOWED, GDK_VERSION_3_10, [Ignore post 3.10 deprecations]) +AC_DEFINE(GDK_VERSION_MIN_REQUIRED, GDK_VERSION_3_14, [Ignore post 3.14 deprecations]) +AC_DEFINE(GDK_VERSION_MAX_ALLOWED, GDK_VERSION_3_14, [Ignore post 3.14 deprecations]) dnl ********************* dnl * Debugging support * @@ -39,16 +39,22 @@ CFLAGS="$CFLAGS -DNDEBUG" ]) +dnl *********************************************************************** +dnl Check for win32 platform +dnl *********************************************************************** +AC_CANONICAL_HOST +AC_MSG_CHECKING([whether to build with mingw32 for a Windows host]) case "${host}" in - i[[3456789]]86-mingw32*) WIN32="yes" ;; - *cygwin*) WIN32="yes" ;; + *-*-mingw*|*-*-cygwin*) WIN32="yes" ;; *) WIN32="no" ;; esac + AM_CONDITIONAL([WIN32], test "$WIN32" = "yes") -if test x"$WIN32" = x"yes"; then -AC_CHECK_TOOL(WINDRES, windres) -fi +AS_IF([test "x$WIN32" = "xyes"], + [AC_CHECK_TOOL([WINDRES], [windres]) + AS_IF([test -z "$WINDRES"], + [AC_MSG_ERROR([windres is required when building for a Windows host])])]) AC_SUBST(CFLAGS) @@ -68,17 +74,27 @@ LT_INIT([disable-static]) dnl Check for i18n support -XDT_I18N([bg ca_ES cs de es el fr hu it ja ko_KR lt nl no pl pt pt_BR ru sv tr uk vi zh_CN]) +XDT_I18N([ar bg ca_ES cs da de es el fr hu id it ja ko_KR lt nl no pl pt pt_BR ru sk sv tr uk vi zh_CN]) + +dnl Check tools required +AC_CHECK_PROG([HAVE_XDT_CSOURCE], [xdt-csource], [yes]) +if test x"$HAVE_XDT_CSOURCE" != xyes; then + AC_MSG_FAILURE([xdt-csource not installed]) +fi -GSTREAMER_REQUIRED=0.11.90 dnl Check for required packages -XDT_CHECK_PACKAGE([GSTREAMER], [gstreamer-1.0], [$GSTREAMER_REQUIRED]) -XDT_CHECK_PACKAGE([GSTREAMER_BASE], [gstreamer-base-1.0], [$GSTREAMER_REQUIRED]) -XDT_CHECK_PACKAGE([GIO], [gio-2.0], [2.36]) -XDT_CHECK_PACKAGE([GTK], [gtk+-3.0], [3.8.0]) -XDT_CHECK_PACKAGE([SQLITE3], [sqlite3], [3.4]) -XDT_CHECK_PACKAGE([TAGLIB_C], [taglib_c], [1.8]) +PKG_CHECK_MODULES(PRAGHA, \ + gstreamer-1.0 >= 0.11.90 \ + gstreamer-base-1.0 >= 0.11.90 \ + gio-2.0 >= 2.42 \ + gtk+-3.0 >= 3.14 \ + sqlite3 >= 3.4 \ + taglib_c >= 1.8) + +AC_SUBST(PRAGHA_CFLAGS) +AC_SUBST(PRAGHA_LIBS) + dnl Check peas library to plugins support LIBPEAS_FOUND="no" @@ -91,6 +107,67 @@ XDT_CHECK_PACKAGE([LIBPEAS_GTK], [libpeas-gtk-1.0], [1.0.0]) fi +PRAGHA_CFLAGS+=" $LIBPEAS_CFLAGS $LIBPEAS_GTK_CFLAGS" +PRAGHA_LIBS+=" $LIBPEAS_LIBS $LIBPEAS_GTK_LIBS" + + +dnl Check gstreamer-audio +GSTREAMER_AUDIO_FOUND="no" +XDT_CHECK_OPTIONAL_PACKAGE([GSTREAMER_AUDIO], + [gstreamer-audio-1.0], 0.11.90, + [gstreamer-audio], + [gstreamer-audio], [yes]) + +PRAGHA_CFLAGS+=" $GSTREAMER_AUDIO_CFLAGS" +PRAGHA_LIBS+=" $GSTREAMER_AUDIO_LIBS" + + +dnl Check libxfce4ui +LIBXFCE4UI_FOUND="no" +XDT_CHECK_OPTIONAL_PACKAGE([LIBXFCE4UI], + [libxfce4ui-2], [4.10.0], + [libxfce4ui], + [libxfce4ui library], [yes]) + +PRAGHA_CFLAGS+=" $LIBXFCE4UI_CFLAGS" +PRAGHA_LIBS+=" $LIBXFCE4UI_LIBS" + + +dnl Check totem-pl-parser +PLPARSER_FOUND="no" +XDT_CHECK_OPTIONAL_PACKAGE([PLPARSER], + [totem-plparser], [2.26], + [totem-plparser], + [totem-plparser library], [yes]) + +PRAGHA_CFLAGS+=" $PLPARSER_CFLAGS" +PRAGHA_LIBS+=" $PLPARSER_LIBS" + + +dnl Check for gudev +GUDEV_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then +XDT_CHECK_OPTIONAL_PACKAGE([GUDEV], + [gudev-1.0], [145], + [gudev-1.0], + [gudev-1.0 library], [yes]) +else +AM_CONDITIONAL([HAVE_GUDEV], 0) +fi + +PRAGHA_CFLAGS+=" $GUDEV_CFLAGS" +PRAGHA_LIBS+=" $GUDEV_LIBS" + + +dnl Check dbus plugins support +DBUS_PLUGINS_SUPPORT="no" +if test x"$LIBPEAS_FOUND" = x"yes" && test x"$WIN32" = x"no"; then +DBUS_PLUGINS_SUPPORT="yes" +fi + +AM_CONDITIONAL([DBUS_PLUGINS_SUPPORT], test "$DBUS_PLUGINS_SUPPORT" = "yes") + + dnl Check notify support LIBNOTIFY_FOUND="no" if test x"$LIBPEAS_FOUND" = x"yes"; then @@ -102,6 +179,7 @@ AM_CONDITIONAL([HAVE_LIBNOTIFY], 0) fi + dnl Check global keyboard shortcuts support LIBKEYBINDER_FOUND="no" if test x"$LIBPEAS_FOUND" = x"yes"; then @@ -113,6 +191,7 @@ AM_CONDITIONAL([HAVE_LIBKEYBINDER], 0) fi + dnl Check libglyr LIBGLYR_FOUND="no" if test x"$LIBPEAS_FOUND" = x"yes"; then @@ -124,15 +203,6 @@ AM_CONDITIONAL([HAVE_LIBGLYR], 0) fi -GUDEV_FOUND="no" -if test x"$LIBPEAS_FOUND" = x"yes"; then -XDT_CHECK_OPTIONAL_PACKAGE([GUDEV], - [gudev-1.0], [145], - [gudev-1.0], - [gudev-1.0 library], [yes]) -else -AM_CONDITIONAL([HAVE_GUDEV], 0) -fi LIBMTP_FOUND="no" if test x"$GUDEV_FOUND" = x"yes"; then @@ -144,6 +214,7 @@ AM_CONDITIONAL([HAVE_LIBMTP], 0) fi + dnl Check libpsuop LIBSOUP_FOUND="no" if test x"$LIBPEAS_FOUND" = x"yes"; then @@ -155,28 +226,91 @@ AM_CONDITIONAL([HAVE_LIBSOUP], 0) fi + +dnl Check libpsuop +JSON_GLIB_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then +XDT_CHECK_OPTIONAL_PACKAGE([JSON_GLIB], + [json-glib-1.0], [1.0.0], + [json-glib-1.0], + [json-glib-1.0 library], [yes]) +else +AM_CONDITIONAL([HAVE_JSON_GLIB], 0) +fi + + dnl Check rygel RYGEL_FOUND="no" if test x"$LIBPEAS_FOUND" = x"yes"; then XDT_CHECK_OPTIONAL_PACKAGE([RYGEL], - [rygel-server-2.2], [0.20.0], - [rygel-server-2.2], - [rygel-server-2.2 library], [yes]) + [rygel-server-2.6], [0.26.0], + [rygel-server-2.6], + [rygel-server-2.6 library], [yes]) else AM_CONDITIONAL([HAVE_RYGEL], 0) fi + dnl Check grilo GRILO_FOUND="no" +GRILO3_FOUND="no" +GRILO2_FOUND="no" if test x"$LIBPEAS_FOUND" = x"yes"; then -XDT_CHECK_OPTIONAL_PACKAGE([GRILO], - [grilo-0.2], [0.2.10], +XDT_CHECK_OPTIONAL_PACKAGE([GRILO3], + [grilo-0.3], [0.3.0], + [grilo-0.3], + [grilo-0.3 library], [yes]) +if test x"$GRILO3_FOUND" = x"no"; then +XDT_CHECK_OPTIONAL_PACKAGE([GRILO2], + [grilo-0.2], [0.2.11], [grilo-0.2], [grilo-0.2 library], [yes]) else -AM_CONDITIONAL([HAVE_GRILO], 0) +AM_CONDITIONAL([HAVE_GRILO2], 0) +fi +else +AM_CONDITIONAL([HAVE_GRILO3], 0) +AM_CONDITIONAL([HAVE_GRILO2], 0) +fi + +if test x"$GRILO3_FOUND" = x"yes"; then +GRILO_FOUND="yes" +fi +if test x"$GRILO2_FOUND" = x"yes"; then +GRILO_FOUND="yes" +fi + + +dnl Check grilo-net +GRILO_NET_FOUND="no" +GRILO_NET3_FOUND="no" +GRILO_NET2_FOUND="no" +if test x"$LIBPEAS_FOUND" = x"yes"; then +XDT_CHECK_OPTIONAL_PACKAGE([GRILO_NET3], + [grilo-net-0.3], [0.3.0], + [grilo-net-0.3], + [grilo-net-0.3 library], [yes]) +if test x"$GRILO_NET3_FOUND" = x"no"; then +XDT_CHECK_OPTIONAL_PACKAGE([GRILO_NET2], + [grilo-net-0.2], [0.2.5], + [grilo-net-0.2], + [grilo-net-0.2 library], [yes]) +else +AM_CONDITIONAL([HAVE_GRILO_NET2], 0) +fi +else +AM_CONDITIONAL([HAVE_GRILO_NET3], 0) +AM_CONDITIONAL([HAVE_GRILO_NET2], 0) fi +if test x"$GRILO_NET3_FOUND" = x"yes"; then +GRILO_NET_FOUND="yes" +fi +if test x"$GRILO_NET2_FOUND" = x"yes"; then +GRILO_NET_FOUND="yes" +fi + + dnl Check libclastfm LIBCLASTFM_FOUND="no" if test x"$LIBPEAS_FOUND" = x"yes"; then @@ -188,6 +322,7 @@ AM_CONDITIONAL([HAVE_LIBCLASTFM], 0) fi + dnl Check libcdio, libcdio_paranoia and libcddb LIBCDIO_FOUND="no" LIBCDIO_PARANOIA_FOUND="no" @@ -214,34 +349,20 @@ fi CDROM_SUPPORT="no" -if test x"$LIBCDIO_FOUND" = x"yes"; then -if test x"$LIBCDIO_PARANOIA_FOUND" = x"yes"; then -if test x"$LIBCDDB_FOUND" = x"yes"; then +if test x"$LIBCDIO_FOUND" = x"yes" && + test x"$LIBCDIO_PARANOIA_FOUND" = x"yes" && + test x"$LIBCDDB_FOUND" = x"yes"; then CDROM_SUPPORT="yes" fi -fi -fi -dnl Check gstreamer-audio -GSTREAMER_AUDIO_FOUND="no" -XDT_CHECK_OPTIONAL_PACKAGE([GSTREAMER_AUDIO], - [gstreamer-audio-1.0], [$GSTREAMER_REQUIRED], - [gstreamer-audio], - [gstreamer-audio], [yes]) -dnl Check libxfce4ui -LIBXFCE4UI_FOUND="no" -XDT_CHECK_OPTIONAL_PACKAGE([LIBXFCE4UI], - [libxfce4ui-2], [4.10.0], - [libxfce4ui], - [libxfce4ui library], [yes]) +KOEL_SUPPORT="no" +if test x"$LIBPEAS_FOUND" = x"yes" && + test x"$LIBSOUP_FOUND" = x"yes" && + test x"$JSON_GLIB_FOUND" = x"yes"; then +KOEL_SUPPORT="yes" +fi -dnl Check totem-pl-parser -PLPARSER_FOUND="no" -XDT_CHECK_OPTIONAL_PACKAGE([PLPARSER], - [totem-plparser], [2.26], - [totem-plparser], - [totem-plparser library], [yes]) dnl Output files AC_CONFIG_FILES([Makefile]) @@ -253,18 +374,22 @@ AC_CONFIG_FILES([data/icons/48x48/Makefile]) AC_CONFIG_FILES([data/icons/64x64/Makefile]) AC_CONFIG_FILES([data/icons/128x128/Makefile]) +AC_CONFIG_FILES([data/icons/symbolic/Makefile]) +AC_CONFIG_FILES([data/ui/Makefile]) AC_CONFIG_FILES([po/Makefile.in]) AC_CONFIG_FILES([src/Makefile]) +AC_CONFIG_FILES([src/win32/Makefile]) if test x"$LIBPEAS_FOUND" = x"yes"; then AC_CONFIG_FILES([plugins/Makefile]) AC_CONFIG_FILES([plugins/acoustid/Makefile]) +AC_CONFIG_FILES([plugins/ampache/Makefile]) AC_CONFIG_FILES([plugins/mpris2/Makefile]) AC_CONFIG_FILES([plugins/keybinder/Makefile]) +AC_CONFIG_FILES([plugins/koel/Makefile]) AC_CONFIG_FILES([plugins/gnome-media-keys/Makefile]) AC_CONFIG_FILES([plugins/song-info/Makefile]) AC_CONFIG_FILES([plugins/notify/Makefile]) -AC_CONFIG_FILES([plugins/devices/Makefile]) AC_CONFIG_FILES([plugins/mtp/Makefile]) AC_CONFIG_FILES([plugins/removable-media/Makefile]) AC_CONFIG_FILES([plugins/tunein/Makefile]) @@ -272,6 +397,7 @@ AC_CONFIG_FILES([plugins/dlna-renderer/Makefile]) AC_CONFIG_FILES([plugins/cdrom/Makefile]) AC_CONFIG_FILES([plugins/lastfm/Makefile]) +AC_CONFIG_FILES([plugins/visualizer/Makefile]) fi AC_OUTPUT @@ -279,23 +405,31 @@ echo "Build Configuration for $PACKAGE version $VERSION" echo "" echo " Gtk version used......: $GTK_VERSION" +echo " Gstreamer version used: $GSTREAMER_VERSION" +echo "" echo " Prefix................: ${prefix}" +echo " Host..................: ${host}" +echo "" echo " Debug enabled.........: $debug" echo "" echo " Plugins enabled.......: $LIBPEAS_FOUND" echo " * Show notification when change songs..........(Need libnotify >= 0.7.5).: $LIBNOTIFY_FOUND" -echo " * Controls Pragha using Mpris2 interface.................................: $LIBPEAS_FOUND" -echo " * Controls Pragha using gnome-media-keys interface.......................: $LIBPEAS_FOUND" +echo " * Controls Pragha using Mpris2 interface.................................: $DBUS_PLUGINS_SUPPORT" +echo " * Controls Pragha using gnome-media-keys interface.......................: $DBUS_PLUGINS_SUPPORT" echo " * Play Audio cds...............(Need libcdio, libcdio_paranoia, libcddb).: $CDROM_SUPPORT" echo " * Controls Pragha using multimedia keys....(Need keybinder-3.0 >= 0.2.0).: $LIBKEYBINDER_FOUND" echo " * Search lyrics, artists info and albums art.....(Need libglyr >= 1.0.1).: $LIBGLYR_FOUND" echo " * Search metadata on AcoustID.....................(Need libsoup >= 2.38).: $LIBSOUP_FOUND" echo " * Search radios on TuneIn.........................(Need libsoup >= 2.38).: $LIBSOUP_FOUND" -echo " * Share music library on DLNA............(Need rygel-server-2.2 >= 0.20).: $RYGEL_FOUND" -echo " * Play songs on DLNA Servers..................(Need grilo-0.2 >= 0.2.10).: $GRILO_FOUND" +echo " * Share music library on DLNA............(Need rygel-server-2.2 >= 0.26).: $RYGEL_FOUND" +echo " * Play songs on DLNA Servers......................(Need grilo >= 0.2.11).: $GRILO_FOUND" +echo " * Append music on Ampache server...............(Need grilo-net >= 0.2.5).: $GRILO_NET_FOUND" +echo " * Append music on Koel server...............(Need libsoup and json-glib).: $KOEL_SUPPORT" echo " * Lastfm scroble, and add similar songs support (Need libclastfm >= 0.5).: $LIBCLASTFM_FOUND" -echo " * EXPERIMENTAL management of removable devices..........(Need gudev-1.0).: $GUDEV_FOUND" -echo " * EXPERIMENTAL management of mtp devices....:(Need gudev-1.0 and libmtp).: $LIBMTP_FOUND" +echo " * EXPERIMENTAL management of external devices...........(Need gudev-1.0).: $GUDEV_FOUND" +echo " * USB flash drive/Memory cards........................(Need gudev-1.0).: $GUDEV_FOUND" +echo " * Optical disc Hot-plug...............................(Need gudev-1.0).: $GUDEV_FOUND" +echo " * MTP compatible devices..................:(Need gudev-1.0 and libmtp).: $LIBMTP_FOUND" echo "" echo " Others build options..:" echo " * Cubic volume support.....................(Need gstreamer-plugins-base).: $GSTREAMER_AUDIO_FOUND" diff -Nru pragha-1.3.3/data/.gitignore pragha-1.3.992/data/.gitignore --- pragha-1.3.3/data/.gitignore 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/data/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -pragha.desktop diff -Nru pragha-1.3.3/data/icons/128x128/Makefile.in pragha-1.3.992/data/icons/128x128/Makefile.in --- pragha-1.3.3/data/icons/128x128/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/icons/128x128/Makefile.in 2019-08-13 12:52:09.000000000 +0000 @@ -0,0 +1,619 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/icons/128x128 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(iconsdir)" +DATA = $(icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +iconsdir = $(datadir)/icons/hicolor/128x128/apps +icons_DATA = \ + pragha.png + +EXTRA_DIST = \ + $(icons_DATA) + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/128x128/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/icons/128x128/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconsDATA: $(icons_DATA) + @$(NORMAL_INSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iconsdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(iconsdir)" || exit $$?; \ + done + +uninstall-iconsDATA: + @$(NORMAL_UNINSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(iconsdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-iconsDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconsDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-iconsDATA install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags-am uninstall uninstall-am uninstall-iconsDATA + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/data/icons/16x16/Makefile.am pragha-1.3.992/data/icons/16x16/Makefile.am --- pragha-1.3.3/data/icons/16x16/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/data/icons/16x16/Makefile.am 2018-06-21 11:24:11.000000000 +0000 @@ -1,6 +1,7 @@ iconsdir = $(datadir)/icons/hicolor/16x16/apps icons_DATA = \ + pragha-panel.png \ pragha.png EXTRA_DIST = \ - $(icons_DATA) \ No newline at end of file + $(icons_DATA) diff -Nru pragha-1.3.3/data/icons/16x16/Makefile.in pragha-1.3.992/data/icons/16x16/Makefile.in --- pragha-1.3.3/data/icons/16x16/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/icons/16x16/Makefile.in 2019-08-13 12:52:09.000000000 +0000 @@ -0,0 +1,620 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/icons/16x16 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(iconsdir)" +DATA = $(icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +iconsdir = $(datadir)/icons/hicolor/16x16/apps +icons_DATA = \ + pragha-panel.png \ + pragha.png + +EXTRA_DIST = \ + $(icons_DATA) + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/16x16/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/icons/16x16/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconsDATA: $(icons_DATA) + @$(NORMAL_INSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iconsdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(iconsdir)" || exit $$?; \ + done + +uninstall-iconsDATA: + @$(NORMAL_UNINSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(iconsdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-iconsDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconsDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-iconsDATA install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags-am uninstall uninstall-am uninstall-iconsDATA + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: Binary files /tmp/tmpytIb3W/tB9JJfAVoh/pragha-1.3.3/data/icons/16x16/pragha-panel.png and /tmp/tmpytIb3W/Y_gFMiTsf0/pragha-1.3.992/data/icons/16x16/pragha-panel.png differ diff -Nru pragha-1.3.3/data/icons/24x24/Makefile.am pragha-1.3.992/data/icons/24x24/Makefile.am --- pragha-1.3.3/data/icons/24x24/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/data/icons/24x24/Makefile.am 2018-06-21 11:24:11.000000000 +0000 @@ -1,6 +1,7 @@ iconsdir = $(datadir)/icons/hicolor/24x24/apps icons_DATA = \ + pragha-panel.png \ pragha.png EXTRA_DIST = \ - $(icons_DATA) \ No newline at end of file + $(icons_DATA) diff -Nru pragha-1.3.3/data/icons/24x24/Makefile.in pragha-1.3.992/data/icons/24x24/Makefile.in --- pragha-1.3.3/data/icons/24x24/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/icons/24x24/Makefile.in 2019-08-13 12:52:09.000000000 +0000 @@ -0,0 +1,620 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/icons/24x24 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(iconsdir)" +DATA = $(icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +iconsdir = $(datadir)/icons/hicolor/24x24/apps +icons_DATA = \ + pragha-panel.png \ + pragha.png + +EXTRA_DIST = \ + $(icons_DATA) + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/24x24/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/icons/24x24/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconsDATA: $(icons_DATA) + @$(NORMAL_INSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iconsdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(iconsdir)" || exit $$?; \ + done + +uninstall-iconsDATA: + @$(NORMAL_UNINSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(iconsdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-iconsDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconsDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-iconsDATA install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags-am uninstall uninstall-am uninstall-iconsDATA + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: Binary files /tmp/tmpytIb3W/tB9JJfAVoh/pragha-1.3.3/data/icons/24x24/pragha-panel.png and /tmp/tmpytIb3W/Y_gFMiTsf0/pragha-1.3.992/data/icons/24x24/pragha-panel.png differ diff -Nru pragha-1.3.3/data/icons/32x32/Makefile.am pragha-1.3.992/data/icons/32x32/Makefile.am --- pragha-1.3.3/data/icons/32x32/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/data/icons/32x32/Makefile.am 2018-06-21 11:24:11.000000000 +0000 @@ -1,6 +1,7 @@ iconsdir = $(datadir)/icons/hicolor/32x32/apps icons_DATA = \ + pragha-panel.png \ pragha.png EXTRA_DIST = \ - $(icons_DATA) \ No newline at end of file + $(icons_DATA) diff -Nru pragha-1.3.3/data/icons/32x32/Makefile.in pragha-1.3.992/data/icons/32x32/Makefile.in --- pragha-1.3.3/data/icons/32x32/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/icons/32x32/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,620 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/icons/32x32 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(iconsdir)" +DATA = $(icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +iconsdir = $(datadir)/icons/hicolor/32x32/apps +icons_DATA = \ + pragha-panel.png \ + pragha.png + +EXTRA_DIST = \ + $(icons_DATA) + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/32x32/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/icons/32x32/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconsDATA: $(icons_DATA) + @$(NORMAL_INSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iconsdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(iconsdir)" || exit $$?; \ + done + +uninstall-iconsDATA: + @$(NORMAL_UNINSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(iconsdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-iconsDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconsDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-iconsDATA install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags-am uninstall uninstall-am uninstall-iconsDATA + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: Binary files /tmp/tmpytIb3W/tB9JJfAVoh/pragha-1.3.3/data/icons/32x32/pragha-panel.png and /tmp/tmpytIb3W/Y_gFMiTsf0/pragha-1.3.992/data/icons/32x32/pragha-panel.png differ diff -Nru pragha-1.3.3/data/icons/48x48/Makefile.in pragha-1.3.992/data/icons/48x48/Makefile.in --- pragha-1.3.3/data/icons/48x48/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/icons/48x48/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,619 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/icons/48x48 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(iconsdir)" +DATA = $(icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +iconsdir = $(datadir)/icons/hicolor/48x48/apps +icons_DATA = \ + pragha.png + +EXTRA_DIST = \ + $(icons_DATA) + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/48x48/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/icons/48x48/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconsDATA: $(icons_DATA) + @$(NORMAL_INSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iconsdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(iconsdir)" || exit $$?; \ + done + +uninstall-iconsDATA: + @$(NORMAL_UNINSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(iconsdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-iconsDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconsDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-iconsDATA install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags-am uninstall uninstall-am uninstall-iconsDATA + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/data/icons/64x64/Makefile.in pragha-1.3.992/data/icons/64x64/Makefile.in --- pragha-1.3.3/data/icons/64x64/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/icons/64x64/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,619 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/icons/64x64 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(iconsdir)" +DATA = $(icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +iconsdir = $(datadir)/icons/hicolor/64x64/apps +icons_DATA = \ + pragha.png + +EXTRA_DIST = \ + $(icons_DATA) + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/64x64/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/icons/64x64/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconsDATA: $(icons_DATA) + @$(NORMAL_INSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iconsdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(iconsdir)" || exit $$?; \ + done + +uninstall-iconsDATA: + @$(NORMAL_UNINSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(iconsdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-iconsDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconsDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-iconsDATA install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags-am uninstall uninstall-am uninstall-iconsDATA + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/data/icons/Makefile.am pragha-1.3.992/data/icons/Makefile.am --- pragha-1.3.3/data/icons/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/data/icons/Makefile.am 2018-06-21 11:24:11.000000000 +0000 @@ -4,7 +4,8 @@ 32x32 \ 48x48 \ 64x64 \ - 128x128 + 128x128 \ + symbolic gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor diff -Nru pragha-1.3.3/data/icons/Makefile.in pragha-1.3.992/data/icons/Makefile.in --- pragha-1.3.3/data/icons/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/icons/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,769 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/icons +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + distdir distdir-am +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +SUBDIRS = \ + 16x16 \ + 24x24 \ + 32x32 \ + 48x48 \ + 64x64 \ + 128x128 \ + symbolic + +gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor +distuninstallcheck_listfiles = \ + find . -type f -print | grep -v ./share/icons/hicolor/icon-theme.cache + +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/icons/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-hook +.MAKE: $(am__recursive_targets) install-am install-data-am \ + install-strip uninstall-am + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ + check-am clean clean-generic clean-libtool cscopelist-am ctags \ + ctags-am distclean distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-hook install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am uninstall-hook + +.PRECIOUS: Makefile + + +update-icon-cache: + @-if test -z "$(DESTDIR)"; then \ + echo "Updating Gtk icon cache."; \ + $(gtk_update_icon_cache); \ + else \ + echo "*** Icon cache not updated. Remember to run:"; \ + echo "***"; \ + echo "*** $(gtk_update_icon_cache)"; \ + echo "***"; \ + fi + +install-data-hook: update-icon-cache +uninstall-hook: update-icon-cache + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/data/icons/symbolic/Makefile.am pragha-1.3.992/data/icons/symbolic/Makefile.am --- pragha-1.3.3/data/icons/symbolic/Makefile.am 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/icons/symbolic/Makefile.am 2018-06-21 11:24:11.000000000 +0000 @@ -0,0 +1,7 @@ +iconsdir = $(datadir)/icons/hicolor/symbolic/apps +icons_DATA = \ + pragha-panel-symbolic.svg + +EXTRA_DIST = \ + $(icons_DATA) + diff -Nru pragha-1.3.3/data/icons/symbolic/Makefile.in pragha-1.3.992/data/icons/symbolic/Makefile.in --- pragha-1.3.3/data/icons/symbolic/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/icons/symbolic/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,619 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/icons/symbolic +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(iconsdir)" +DATA = $(icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +iconsdir = $(datadir)/icons/hicolor/symbolic/apps +icons_DATA = \ + pragha-panel-symbolic.svg + +EXTRA_DIST = \ + $(icons_DATA) + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/symbolic/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/icons/symbolic/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconsDATA: $(icons_DATA) + @$(NORMAL_INSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iconsdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(iconsdir)" || exit $$?; \ + done + +uninstall-iconsDATA: + @$(NORMAL_UNINSTALL) + @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(iconsdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-iconsDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconsDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-iconsDATA install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags-am uninstall uninstall-am uninstall-iconsDATA + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/data/icons/symbolic/pragha-panel-symbolic.svg pragha-1.3.992/data/icons/symbolic/pragha-panel-symbolic.svg --- pragha-1.3.3/data/icons/symbolic/pragha-panel-symbolic.svg 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/icons/symbolic/pragha-panel-symbolic.svg 2019-03-20 20:15:03.000000000 +0000 @@ -0,0 +1,137 @@ + + + + + Pragha Panel Symbolic + + + + image/svg+xml + + Pragha Panel Symbolic + + + + + + + + + + + + + + + + + + + + + + + + diff -Nru pragha-1.3.3/data/io.github.pragha_music_player.metainfo.xml.in pragha-1.3.992/data/io.github.pragha_music_player.metainfo.xml.in --- pragha-1.3.3/data/io.github.pragha_music_player.metainfo.xml.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/io.github.pragha_music_player.metainfo.xml.in 2019-07-03 22:04:43.000000000 +0000 @@ -0,0 +1,59 @@ + + + + io.github.pragha_music_player + CC0-1.0 + GPL-3.0+ + <_name>Pragha Music Player + <_summary>Manage and listen your music + <_description> +

+ Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, SQLite, + and completely written in C, constructed to be fast, light, and + simultaneously tries to be complete without obstructing the daily work. + Although it was especifically designed for the Xfce desktop, it integrates + very well in other desktop environments. +

+

Features:

+
    +
  • Full integration with GTK3 support, but always completely independent of gnome or xfce
  • +
  • Two panel desing inspired on Amarok 1.4. Library and current playlist
  • +
  • Library with multiple views, according tags or folder structure
  • +
  • Search, filtering and queue songs on current playlist
  • +
  • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape files. Of course you need codecs
  • +
  • Playlist management. Exporting M3U and read M3U, PLS, XSPF and WAX playlists
  • +
  • Play audio CDs and identifies this with CDDB
  • +
  • Playback control with command line and MPRIS2
  • +
  • Native desktop notifications with libnotify
  • +
+ + pragha.desktop + + AudioVideo + Audio + + + <_keyword>audio + <_keyword>multimedia + <_keyword>player + + https://github.com/pragha-music-player/pragha/issues + https://www.bountysource.com/teams/pragha-music-player + https://github.com/pragha-music-player/pragha/wiki/FAQ + http://pragha-music-player.github.io + https://www.transifex.com/projects/p/Pragha/ + + + http://pragha-music-player.github.io/images/Pragha-Xfce-HIG.png + + + http://pragha-music-player.github.io/images/Pragha-Gnome3-HIG.png + + + http://pragha-music-player.github.io/images/Pragha-W7.jpg + + + pragha + mati86dl_at_gmail.com + Matias De lellis +
diff -Nru pragha-1.3.3/data/Makefile.am pragha-1.3.992/data/Makefile.am --- pragha-1.3.3/data/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/data/Makefile.am 2019-07-10 12:49:49.000000000 +0000 @@ -1,7 +1,9 @@ -SUBDIRS = icons +SUBDIRS = icons ui -appdatadir = $(datadir)/appdata -dist_appdata_DATA = pragha.appdata.xml +appstreamdir = $(datadir)/metainfo/ +appstream_in_files = io.github.pragha_music_player.metainfo.xml.in +appstream_DATA = $(appstream_in_files:.xml.in=.xml) +@INTLTOOL_XML_RULE@ desktopdir=$(datadir)/applications desktop_in_files = pragha.desktop.in @@ -9,7 +11,7 @@ @INTLTOOL_DESKTOP_RULE@ imagedir = $(datadir)/pixmaps/pragha -image_DATA = \ +image_DATA = \ album.png \ artist.png \ track.png \ @@ -18,10 +20,12 @@ man_MANS = pragha.1 -EXTRA_DIST = \ +EXTRA_DIST = \ + $(appstream_in_files) \ $(desktop_in_files) \ $(image_DATA) \ $(man_MANS) CLEANFILES = \ + $(appstream_DATA) \ $(desktop_DATA) diff -Nru pragha-1.3.3/data/Makefile.in pragha-1.3.992/data/Makefile.in --- pragha-1.3.3/data/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/Makefile.in 2019-08-13 12:52:09.000000000 +0000 @@ -0,0 +1,917 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +man1dir = $(mandir)/man1 +am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(appstreamdir)" \ + "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(imagedir)" +NROFF = nroff +MANS = $(man_MANS) +DATA = $(appstream_DATA) $(desktop_DATA) $(image_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + distdir distdir-am +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +SUBDIRS = icons ui +appstreamdir = $(datadir)/metainfo/ +appstream_in_files = io.github.pragha_music_player.metainfo.xml.in +appstream_DATA = $(appstream_in_files:.xml.in=.xml) +desktopdir = $(datadir)/applications +desktop_in_files = pragha.desktop.in +desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) +imagedir = $(datadir)/pixmaps/pragha +image_DATA = \ + album.png \ + artist.png \ + track.png \ + cover.png \ + genre.png + +man_MANS = pragha.1 +EXTRA_DIST = \ + $(appstream_in_files) \ + $(desktop_in_files) \ + $(image_DATA) \ + $(man_MANS) + +CLEANFILES = \ + $(appstream_DATA) \ + $(desktop_DATA) + +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-man1: $(man_MANS) + @$(NORMAL_INSTALL) + @list1=''; \ + list2='$(man_MANS)'; \ + test -n "$(man1dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.1[a-z]*$$/p'; \ + fi; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ + done; } + +uninstall-man1: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man1dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.1[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) +install-appstreamDATA: $(appstream_DATA) + @$(NORMAL_INSTALL) + @list='$(appstream_DATA)'; test -n "$(appstreamdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(appstreamdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(appstreamdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(appstreamdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(appstreamdir)" || exit $$?; \ + done + +uninstall-appstreamDATA: + @$(NORMAL_UNINSTALL) + @list='$(appstream_DATA)'; test -n "$(appstreamdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(appstreamdir)'; $(am__uninstall_files_from_dir) +install-desktopDATA: $(desktop_DATA) + @$(NORMAL_INSTALL) + @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ + done + +uninstall-desktopDATA: + @$(NORMAL_UNINSTALL) + @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir) +install-imageDATA: $(image_DATA) + @$(NORMAL_INSTALL) + @list='$(image_DATA)'; test -n "$(imagedir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(imagedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(imagedir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(imagedir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(imagedir)" || exit $$?; \ + done + +uninstall-imageDATA: + @$(NORMAL_UNINSTALL) + @list='$(image_DATA)'; test -n "$(imagedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(imagedir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile $(MANS) $(DATA) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(appstreamdir)" "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(imagedir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-appstreamDATA install-desktopDATA \ + install-imageDATA install-man + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: install-man1 + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-appstreamDATA uninstall-desktopDATA \ + uninstall-imageDATA uninstall-man + +uninstall-man: uninstall-man1 + +.MAKE: $(am__recursive_targets) install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ + check-am clean clean-generic clean-libtool cscopelist-am ctags \ + ctags-am distclean distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-appstreamDATA install-data \ + install-data-am install-desktopDATA install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-imageDATA install-info install-info-am install-man \ + install-man1 install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am uninstall-appstreamDATA uninstall-desktopDATA \ + uninstall-imageDATA uninstall-man uninstall-man1 + +.PRECIOUS: Makefile + +@INTLTOOL_XML_RULE@ +@INTLTOOL_DESKTOP_RULE@ + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/data/pragha.1 pragha-1.3.992/data/pragha.1 --- pragha-1.3.3/data/pragha.1 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/data/pragha.1 2019-08-13 23:42:26.000000000 +0000 @@ -1,4 +1,4 @@ -.TH "pragha" "1" "1.3.3" "Matias De lellis" "" +.TH "pragha" "1" "1.3.99.1" "Matias De lellis" "" .SH "NAME" .LP pragha \- A lightweight music player, forked of Consonance Music Manager diff -Nru pragha-1.3.3/data/pragha.appdata.xml pragha-1.3.992/data/pragha.appdata.xml --- pragha-1.3.3/data/pragha.appdata.xml 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/data/pragha.appdata.xml 1970-01-01 00:00:00.000000000 +0000 @@ -1,35 +0,0 @@ - - - - pragha.desktop - CC0-1.0 - GPL-3.0+ - Pragha Mucic Player - Manage and listen to music - -

- Pragha is a Lightweight Music Player for GNU/Linux, based on Gtk, sqlite, and - completely written in C, constructed to be fast, light, and simultaneously tries - to be complete without obstructing the daily work. -

-

Features:

-
    -
  • Full integration with GTK+3 support, but always completely independent of gnome or xfce
  • -
  • Two panel desing inspired on Amarok 1.4. Library and current playlist
  • -
  • Library with multiple views, according tags or folder structure
  • -
  • Search, filtering and queue songs on current playlist
  • -
  • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape files. Of course you need codecs
  • -
  • Playlist management. Exporting M3U and read M3U, PLS, XSPF and WAX playlists
  • -
  • Play audio CDs and identifies this with CDDB
  • -
  • Playback control with command line and MPRIS2
  • -
  • Native desktop notifications with libnotify
  • -
-
- http://pragha-music-player.github.io - - http://pragha-music-player.github.io/images/Pragha-Xfce-HIG.png - http://pragha-music-player.github.io/images/Pragha-Gnome3-HIG.png - http://pragha-music-player.github.io/images/Pragha-W7.jpg - - mati86dl_at_gmail.com -
diff -Nru pragha-1.3.3/data/pragha.desktop.in pragha-1.3.992/data/pragha.desktop.in --- pragha-1.3.3/data/pragha.desktop.in 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/data/pragha.desktop.in 2019-07-03 22:04:09.000000000 +0000 @@ -5,10 +5,11 @@ Name=Pragha _GenericName=Music Player -_Comment=Manage and listen to music +_Comment=Manage and listen your music Icon=pragha Categories=GTK;AudioVideo;Player; +_Keywords=audio;multimedia;player; Exec=pragha %F TryExec=pragha diff -Nru pragha-1.3.3/data/ui/Makefile.am pragha-1.3.992/data/ui/Makefile.am --- pragha-1.3.3/data/ui/Makefile.am 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/ui/Makefile.am 2019-07-10 12:58:38.000000000 +0000 @@ -0,0 +1,6 @@ +styledir = $(datadir)/pragha/style +style_DATA = \ + pragha.css + +EXTRA_DIST = \ + $(style_DATA) diff -Nru pragha-1.3.3/data/ui/Makefile.in pragha-1.3.992/data/ui/Makefile.in --- pragha-1.3.3/data/ui/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/ui/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,619 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/ui +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(styledir)" +DATA = $(style_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +styledir = $(datadir)/pragha/style +style_DATA = \ + pragha.css + +EXTRA_DIST = \ + $(style_DATA) + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/ui/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/ui/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-styleDATA: $(style_DATA) + @$(NORMAL_INSTALL) + @list='$(style_DATA)'; test -n "$(styledir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(styledir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(styledir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(styledir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(styledir)" || exit $$?; \ + done + +uninstall-styleDATA: + @$(NORMAL_UNINSTALL) + @list='$(style_DATA)'; test -n "$(styledir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(styledir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(styledir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-styleDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-styleDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip install-styleDATA installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags-am uninstall uninstall-am uninstall-styleDATA + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/data/ui/pragha.css pragha-1.3.992/data/ui/pragha.css --- pragha-1.3.3/data/ui/pragha.css 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/data/ui/pragha.css 2019-07-10 12:49:36.000000000 +0000 @@ -0,0 +1,28 @@ +/* Floating status bar */ +.floating-bar { + padding: 1px; + background-color: @theme_base_color; + border-width: 1px; + border-style: solid solid none; + border-color: @borders; + border-radius: 3px 3px 0 0; +} + +.floating-bar.bottom.left { /* axes left border and border radius */ + border-left-style: none; + border-top-left-radius: 0; +} +.floating-bar.bottom.right { /* axes right border and border radius */ + border-right-style: none; + border-top-right-radius: 0; +} + +.floating-bar:backdrop { + background-color: @theme_unfocused_base_color; + border-color: @unfocused_borders; +} + +.floating-bar button { + padding: 0px; +} + diff -Nru pragha-1.3.3/debian/changelog pragha-1.3.992/debian/changelog --- pragha-1.3.3/debian/changelog 2017-09-24 04:40:00.000000000 +0000 +++ pragha-1.3.992/debian/changelog 2014-07-05 09:11:23.000000000 +0000 @@ -1,5 +1,12 @@ -pragha (1.3.3-1) unstable; urgency=low +pragha (1.3.992-0build1~19.04) disco; urgency=low - * Initial release (Closes: #592985) + * Another 1.4 RC release + + -- pandajim (key for lives deb) Sat, 05 Jul 2014 17:11:23 +0800 + +pragha (1.3.2.1~15.04-1) vivid; urgency=low + + * new upstream release + + -- pandajim (key for lives deb) Sat, 05 Jul 2014 17:11:23 +0800 - -- Gabriel F. T. Gomes Sun, 24 Sep 2017 01:40:00 -0300 diff -Nru pragha-1.3.3/debian/compat pragha-1.3.992/debian/compat --- pragha-1.3.3/debian/compat 2017-09-24 04:40:00.000000000 +0000 +++ pragha-1.3.992/debian/compat 2014-07-05 09:11:23.000000000 +0000 @@ -1 +1 @@ -10 +9 diff -Nru pragha-1.3.3/debian/control pragha-1.3.992/debian/control --- pragha-1.3.3/debian/control 2017-09-24 04:40:00.000000000 +0000 +++ pragha-1.3.992/debian/control 2014-07-05 09:11:23.000000000 +0000 @@ -1,16 +1,16 @@ Source: pragha Section: sound Priority: optional -Maintainer: Gabriel F. T. Gomes -Build-Depends: debhelper (>= 10), intltool, pkg-config, libgstreamer1.0-dev, libgtk-3-dev (>= 3.8.0), libsqlite3-dev, libtagc0-dev (>= 1.8), xfce4-dev-tools (>= 4.12.0) -Standards-Version: 4.1.0 -Homepage: https://pragha-music-player.github.io/ +Maintainer: pandajim +Build-Depends: debhelper (>= 8.0.0), automake, autopoint, autoconf, libtool, intltool, libgtk-3-dev, libsqlite3-dev, libtagc0-dev, libtag1-dev, libtotem-plparser-dev, libgstreamer-plugins-base1.0-dev, libgstreamer1.0-dev, libxfce4ui-2-dev, libpeas-dev, libnotify-dev, libkeybinder-3.0-dev, libglyr-dev, libsoup2.4-dev, libgrilo-0.3-dev, libgudev-1.0-dev, libmtp-dev, libcdio-dev, libcddb2-dev, libcdio-paranoia-dev, exo-utils +Standards-Version: 3.9.4 +Homepage: http://pragha.wikispaces.com/ Package: pragha Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Recommends: gstreamer1.0-plugins-good, gstreamer1.0-pulseaudio -Description: Lightweight Music Player - Pragha is a Lightweight Music Player for GNU/Linux, based on Gtk, sqlite, - and completely written in C, constructed to be fast, light, and - simultaneously tries to be complete without obstructing the daily work. +Description: A Lightweight Music Player for GNU/Linux + A Lightweight Music Player for GNU/Linux, based on GTK+, + SQLite, completely written in C, constructed to be fast, + light, and simultaneously complete without obstructing + your daily work. diff -Nru pragha-1.3.3/debian/copyright pragha-1.3.992/debian/copyright --- pragha-1.3.3/debian/copyright 2017-09-24 04:40:00.000000000 +0000 +++ pragha-1.3.992/debian/copyright 2014-07-05 09:11:23.000000000 +0000 @@ -1,228 +1,39 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pragha -Source: https://pragha-music-player.github.io +Source: https://github.com/matiasdelellis/pragha/releases -Files: * -Copyright: 2007-2009 Sujith Manoharan - 2009-2015 Matias de Lellis - 2012-2013 Pavel Vasin -License: GPL-3+ - -Files: src/gtkcellrendererbubble.* -Copyright: 2009 Christian Hergert -License: LGPL-2.1+ - -Files: src/xml_helper.* -Copyright: 2010-2013 Vikram Ambrose -License: GPL-3+ - -Files: plugins/pragha-plugin-macros.h -Copyright: 2002-2005 Paolo Maggi - 2006 James Livingston - 2007 Bastien Nocera -License: GPL-2+ - -Files: plugins/gnome-media-keys/pragha-gnome-media-keys-plugin.* -Copyright: 2007 Jan Arne Petersen - 2012-2013 Pavel Vasin -License: GPL-3+ - -Files: win32/win32dep.* -Copyright: 2002-2003 Herman Bloggs -License: GPL-2+ - -Files: data/pragha.appdata.xml -Copyright: 2014-2015 Matias De lellis -License: CC0-1.0 - -Files: debian/* -Copyright: 2017 Gabriel F. T. Gomes -License: GPL-3+ - -License: GPL-3+ - This package is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see - . - On Debian systems, the complete text of the GNU General - Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". - -License: GPL-2+ - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - . - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - . - On Debian systems, the complete text of the GNU General - Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". - -License: LGPL-2.1+ - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - . - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - . - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - . - On Debian systems, the complete text of the GNU Lesser General - Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". - -License: CC0-1.0 - Creative Commons CC0 1.0 Universal - . - CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE - LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN - ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS - INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES - REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED - HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE - OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER. - . - Statement of Purpose - . - The laws of most jurisdictions throughout the world automatically - confer exclusive Copyright and Related Rights (defined below) upon the - creator and subsequent owner(s) (each and all, an "owner") of an - original work of authorship and/or a database (each, a "Work"). - . - Certain owners wish to permanently relinquish those rights to a Work - for the purpose of contributing to a commons of creative, cultural and - scientific works ("Commons") that the public can reliably and without - fear of later claims of infringement build upon, modify, incorporate in - other works, reuse and redistribute as freely as possible in any form - whatsoever and for any purposes, including without limitation - commercial purposes. These owners may contribute to the Commons to - promote the ideal of a free culture and the further production of - creative, cultural and scientific works, or to gain reputation or - greater distribution for their Work in part through the use and efforts - of others. - . - For these and/or other purposes and motivations, and without any - expectation of additional consideration or compensation, the person - associating CC0 with a Work (the "Affirmer"), to the extent that he or - she is an owner of Copyright and Related Rights in the Work, - voluntarily elects to apply CC0 to the Work and publicly distribute the - Work under its terms, with knowledge of his or her Copyright and - Related Rights in the Work and the meaning and intended legal effect of - CC0 on those rights. - . - 1. Copyright and Related Rights. A Work made available under CC0 may be - protected by copyright and related or neighboring rights ("Copyright - and Related Rights"). Copyright and Related Rights include, but are not - limited to, the following: - . - i. the right to reproduce, adapt, distribute, perform, display, - communicate, and translate a Work; - . - ii. moral rights retained by the original author(s) and/or - performer(s); - . - iii. publicity and privacy rights pertaining to a person's image or - likeness depicted in a Work; - . - iv. rights protecting against unfair competition in regards to a Work, - subject to the limitations in paragraph 4(a), below; - . - v. rights protecting the extraction, dissemination, use and reuse of - data in a Work; - . - vi. database rights (such as those arising under Directive 96/9/EC of - the European Parliament and of the Council of 11 March 1996 on the - legal protection of databases, and under any national implementation - thereof, including any amended or successor version of such directive); - and - . - vii. other similar, equivalent or corresponding rights throughout the - world based on applicable law or treaty, and any national - implementations thereof. - . - 2. Waiver. To the greatest extent permitted by, but not in - contravention of, applicable law, Affirmer hereby overtly, fully, - permanently, irrevocably and unconditionally waives, abandons, and - surrenders all of Affirmer's Copyright and Related Rights and - associated claims and causes of action, whether now known or unknown - (including existing as well as future claims and causes of action), in - the Work (i) in all territories worldwide, (ii) for the maximum - duration provided by applicable law or treaty (including future time - extensions), (iii) in any current or future medium and for any number - of copies, and (iv) for any purpose whatsoever, including without - limitation commercial, advertising or promotional purposes (the - "Waiver"). Affirmer makes the Waiver for the benefit of each member of - the public at large and to the detriment of Affirmer's heirs and - successors, fully intending that such Waiver shall not be subject to - revocation, rescission, cancellation, termination, or any other legal - or equitable action to disrupt the quiet enjoyment of the Work by the - public as contemplated by Affirmer's express Statement of Purpose. - . - 3. Public License Fallback. Should any part of the Waiver for any - reason be judged legally invalid or ineffective under applicable law, - then the Waiver shall be preserved to the maximum extent permitted - taking into account Affirmer's express Statement of Purpose. In - addition, to the extent the Waiver is so judged Affirmer hereby grants - to each affected person a royalty-free, non transferable, non - sublicensable, non exclusive, irrevocable and unconditional license to - exercise Affirmer's Copyright and Related Rights in the Work (i) in all - territories worldwide, (ii) for the maximum duration provided by - applicable law or treaty (including future time extensions), (iii) in - any current or future medium and for any number of copies, and (iv) for - any purpose whatsoever, including without limitation commercial, - advertising or promotional purposes (the "License"). The License shall - be deemed effective as of the date CC0 was applied by Affirmer to the - Work. Should any part of the License for any reason be judged legally - invalid or ineffective under applicable law, such partial invalidity or - ineffectiveness shall not invalidate the remainder of the License, and - in such case Affirmer hereby affirms that he or she will not (i) - exercise any of his or her remaining Copyright and Related Rights in - the Work or (ii) assert any associated claims and causes of action with - respect to the Work, in either case contrary to Affirmer's express - Statement of Purpose. - . - 4. Limitations and Disclaimers. - . - a. No trademark or patent rights held by Affirmer are waived, - abandoned, surrendered, licensed or otherwise affected by this - document. - . - b. Affirmer offers the Work as-is and makes no representations or - warranties of any kind concerning the Work, express, implied, statutory - or otherwise, including without limitation warranties of title, - merchantability, fitness for a particular purpose, non infringement, or - the absence of latent or other defects, accuracy, or the present or - absence of errors, whether or not discoverable, all to the greatest - extent permissible under applicable law. - . - c. Affirmer disclaims responsibility for clearing rights of other - persons that may apply to the Work or any use thereof, including - without limitation any person's Copyright and Related Rights in the - Work. Further, Affirmer disclaims responsibility for obtaining any - necessary consents, permissions or other rights required for any use of - the Work. - . - d. Affirmer understands and acknowledges that Creative Commons is not a - party to this document and has no duty or obligation with respect to - this CC0 or use of the Work. +This package was debianized by: + + pandajim (key for lives deb) + +The source was downloaded from: + + https://github.com/matiasdelellis/pragha/releases + +Upstream Authors: + + matiasdelellis, rat4, ssuominengentoo, BwackNinja, TingPing + +License: + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +On Debian systems, the complete text of the GNU General +Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + +The Debian packaging is: + + pandajim (key for lives deb) + +and is licensed under the GPL version 3, see above. diff -Nru pragha-1.3.3/debian/docs pragha-1.3.992/debian/docs --- pragha-1.3.3/debian/docs 2017-09-24 04:40:00.000000000 +0000 +++ pragha-1.3.992/debian/docs 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -FAQ diff -Nru pragha-1.3.3/debian/gbp.conf pragha-1.3.992/debian/gbp.conf --- pragha-1.3.3/debian/gbp.conf 2017-09-24 04:40:00.000000000 +0000 +++ pragha-1.3.992/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[DEFAULT] -pristine-tar = True -upstream-tag = upstream/v%(version)s - -[buildpackage] -ignore-branch = True diff -Nru pragha-1.3.3/debian/patches/fix-appstream-errors.patch pragha-1.3.992/debian/patches/fix-appstream-errors.patch --- pragha-1.3.3/debian/patches/fix-appstream-errors.patch 2017-09-24 04:40:00.000000000 +0000 +++ pragha-1.3.992/debian/patches/fix-appstream-errors.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,54 +0,0 @@ -Description: Fix conformance to current appstream standard - Current Appstream Standard requires changes to the metainfo contents - and to the metainfo location. The changes have been proposed upstream, - but not yet accepted. -Author: Gabriel F. T. Gomes -Bug: https://github.com/pragha-music-player/pragha/pull/125 - ---- a/data/Makefile.am -+++ b/data/Makefile.am -@@ -1,6 +1,6 @@ - SUBDIRS = icons - --appdatadir = $(datadir)/appdata -+appdatadir = $(datadir)/metainfo - dist_appdata_DATA = pragha.appdata.xml - - desktopdir=$(datadir)/applications ---- a/data/pragha.appdata.xml -+++ b/data/pragha.appdata.xml -@@ -1,7 +1,7 @@ - -- -- -- pragha.desktop -+ -+ -+ io.github.pragha-music-player - CC0-1.0 - GPL-3.0+ - Pragha Mucic Player -@@ -25,11 +25,18 @@ -
  • Native desktop notifications with libnotify
  • - - -+ pragha.desktop - http://pragha-music-player.github.io - -- http://pragha-music-player.github.io/images/Pragha-Xfce-HIG.png -- http://pragha-music-player.github.io/images/Pragha-Gnome3-HIG.png -- http://pragha-music-player.github.io/images/Pragha-W7.jpg -+ -+ http://pragha-music-player.github.io/images/Pragha-Xfce-HIG.png -+ -+ -+ http://pragha-music-player.github.io/images/Pragha-Gnome3-HIG.png -+ -+ -+ http://pragha-music-player.github.io/images/Pragha-W7.jpg -+ - -- mati86dl_at_gmail.com --
    -+ mati86dl_at_gmail.com -+ diff -Nru pragha-1.3.3/debian/patches/series pragha-1.3.992/debian/patches/series --- pragha-1.3.3/debian/patches/series 2017-09-24 04:40:00.000000000 +0000 +++ pragha-1.3.992/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -fix-appstream-errors.patch diff -Nru pragha-1.3.3/debian/rules pragha-1.3.992/debian/rules --- pragha-1.3.3/debian/rules 2017-09-24 04:40:00.000000000 +0000 +++ pragha-1.3.992/debian/rules 2014-07-05 09:11:23.000000000 +0000 @@ -1,24 +1,9 @@ #!/usr/bin/make -f +# -*- makefile -*- -# Enable all hardening options -export DEB_BUILD_MAINT_OPTIONS = hardening=+all +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 %: - dh $@ - -# Use xfce autogen -override_dh_autoreconf: - NOCONFIGURE=1 dh_autoreconf xdt-autogen - -# Use the --keep option with dh_installchangelogs, so that the upstream -# changelog file, i.e.: ChangeLog, gets installed with the name expected by -# Debian, i.e.: changelog. -override_dh_installchangelogs: - dh_installchangelogs --keep - -# Clean build files not removed by upstream clean rules -override_dh_clean: - dh_clean - rm -f config.h config.log config.status libtool stamp-h1 - rm -f po/*gmo po/Makefile.in po/POTFILES + dh $@ diff -Nru pragha-1.3.3/debian/source/options pragha-1.3.992/debian/source/options --- pragha-1.3.3/debian/source/options 2017-09-24 04:40:00.000000000 +0000 +++ pragha-1.3.992/debian/source/options 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -extend-diff-ignore = "(^|/)(config\.sub|config\.guess|Makefile)$" diff -Nru pragha-1.3.3/debian/watch pragha-1.3.992/debian/watch --- pragha-1.3.3/debian/watch 2017-09-24 04:40:00.000000000 +0000 +++ pragha-1.3.992/debian/watch 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -version=4 -opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/pragha-$1\.tar\.gz/ \ - https://github.com/pragha-music-player/pragha/tags .*/v?(\d\S+)\.tar\.gz diff -Nru pragha-1.3.3/depcomp pragha-1.3.992/depcomp --- pragha-1.3.3/depcomp 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/depcomp 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,791 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2018-03-07.03; # UTC + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva . + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by 'PROGRAMS ARGS'. + object Object file output by 'PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputting dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +# Get the directory component of the given path, and save it in the +# global variables '$dir'. Note that this directory component will +# be either empty or ending with a '/' character. This is deliberate. +set_dir_from () +{ + case $1 in + */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; + *) dir=;; + esac +} + +# Get the suffix-stripped basename of the given path, and save it the +# global variable '$base'. +set_base_from () +{ + base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` +} + +# If no dependency file was actually created by the compiler invocation, +# we still have to create a dummy depfile, to avoid errors with the +# Makefile "include basename.Plo" scheme. +make_dummy_depfile () +{ + echo "#dummy" > "$depfile" +} + +# Factor out some common post-processing of the generated depfile. +# Requires the auxiliary global variable '$tmpdepfile' to be set. +aix_post_process_depfile () +{ + # If the compiler actually managed to produce a dependency file, + # post-process it. + if test -f "$tmpdepfile"; then + # Each line is of the form 'foo.o: dependency.h'. + # Do two passes, one to just change these to + # $object: dependency.h + # and one to simply output + # dependency.h: + # which is needed to avoid the deleted-header problem. + { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" + sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" + } > "$depfile" + rm -f "$tmpdepfile" + else + make_dummy_depfile + fi +} + +# A tabulation character. +tab=' ' +# A newline character. +nl=' +' +# Character ranges might be problematic outside the C locale. +# These definitions help. +upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ +lower=abcdefghijklmnopqrstuvwxyz +digits=0123456789 +alpha=${upper}${lower} + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Avoid interferences from the environment. +gccflag= dashmflag= + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +cygpath_u="cygpath -u -f -" +if test "$depmode" = msvcmsys; then + # This is just like msvisualcpp but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvisualcpp +fi + +if test "$depmode" = msvc7msys; then + # This is just like msvc7 but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvc7 +fi + +if test "$depmode" = xlc; then + # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. + gccflag=-qmakedep=gcc,-MF + depmode=gcc +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. +## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. +## (see the conditional assignment to $gccflag above). +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). Also, it might not be +## supported by the other compilers which use the 'gcc' depmode. +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The second -e expression handles DOS-style file names with drive + # letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the "deleted header file" problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. +## Some versions of gcc put a space before the ':'. On the theory +## that the space means something, we add a space to the output as +## well. hp depmode also adds that space, but also prefixes the VPATH +## to the object. Take care to not repeat it in the output. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like '#:fec' to the end of the + # dependency line. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ + | tr "$nl" ' ' >> "$depfile" + echo >> "$depfile" + # The second pass generates a dummy entry for each header file. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" + ;; + +xlc) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts '$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u + "$@" -Wc,-M + else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u + "$@" -M + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + aix_post_process_depfile + ;; + +tcc) + # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 + # FIXME: That version still under development at the moment of writing. + # Make that this statement remains true also for stable, released + # versions. + # It will wrap lines (doesn't matter whether long or short) with a + # trailing '\', as in: + # + # foo.o : \ + # foo.c \ + # foo.h \ + # + # It will put a trailing '\' even on the last line, and will use leading + # spaces rather than leading tabs (at least since its commit 0394caf7 + # "Emit spaces for -MD"). + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. + # We have to change lines of the first kind to '$object: \'. + sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" + # And for each line of the second kind, we have to emit a 'dep.h:' + # dummy dependency, to avoid the deleted-header problem. + sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" + rm -f "$tmpdepfile" + ;; + +## The order of this option in the case statement is important, since the +## shell code in configure will try each of these formats in the order +## listed in this file. A plain '-MD' option would be understood by many +## compilers, so we must ensure this comes after the gcc and icc options. +pgcc) + # Portland's C compiler understands '-MD'. + # Will always output deps to 'file.d' where file is the root name of the + # source file under compilation, even if file resides in a subdirectory. + # The object file name does not affect the name of the '.d' file. + # pgcc 10.2 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using '\' : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + set_dir_from "$object" + # Use the source, not the object, to determine the base name, since + # that's sadly what pgcc will do too. + set_base_from "$source" + tmpdepfile=$base.d + + # For projects that build the same source file twice into different object + # files, the pgcc approach of using the *source* file root name can cause + # problems in parallel builds. Use a locking strategy to avoid stomping on + # the same $tmpdepfile. + lockdir=$base.d-lock + trap " + echo '$0: caught signal, cleaning up...' >&2 + rmdir '$lockdir' + exit 1 + " 1 2 13 15 + numtries=100 + i=$numtries + while test $i -gt 0; do + # mkdir is a portable test-and-set. + if mkdir "$lockdir" 2>/dev/null; then + # This process acquired the lock. + "$@" -MD + stat=$? + # Release the lock. + rmdir "$lockdir" + break + else + # If the lock is being held by a different process, wait + # until the winning process is done or we timeout. + while test -d "$lockdir" && test $i -gt 0; do + sleep 1 + i=`expr $i - 1` + done + fi + i=`expr $i - 1` + done + trap - 1 2 13 15 + if test $i -le 0; then + echo "$0: failed to acquire lock after $numtries attempts" >&2 + echo "$0: check lockdir '$lockdir'" >&2 + exit 1 + fi + + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" + # Add 'dependent.h:' lines. + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in 'foo.d' instead, so we check for that too. + # Subdirectories are respected. + set_dir_from "$object" + set_base_from "$object" + + if test "$libtool" = yes; then + # Libtool generates 2 separate objects for the 2 libraries. These + # two compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir$base.o.d # libtool 1.5 + tmpdepfile2=$dir.libs/$base.o.d # Likewise. + tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + # Same post-processing that is required for AIX mode. + aix_post_process_depfile + ;; + +msvc7) + if test "$libtool" = yes; then + showIncludes=-Wc,-showIncludes + else + showIncludes=-showIncludes + fi + "$@" $showIncludes > "$tmpdepfile" + stat=$? + grep -v '^Note: including file: ' "$tmpdepfile" + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The first sed program below extracts the file names and escapes + # backslashes for cygpath. The second sed program outputs the file + # name when reading, but also accumulates all include files in the + # hold buffer in order to output them again at the end. This only + # works with sed implementations that can handle large buffers. + sed < "$tmpdepfile" -n ' +/^Note: including file: *\(.*\)/ { + s//\1/ + s/\\/\\\\/g + p +}' | $cygpath_u | sort -u | sed -n ' +s/ /\\ /g +s/\(.*\)/'"$tab"'\1 \\/p +s/.\(.*\) \\/\1:/ +H +$ { + s/.*/'"$tab"'/ + G + p +}' >> "$depfile" + echo >> "$depfile" # make sure the fragment doesn't end with a backslash + rm -f "$tmpdepfile" + ;; + +msvc7msys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for ':' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. + "$@" $dashmflag | + sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this sed invocation + # correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no eat=no + for arg + do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + if test $eat = yes; then + eat=no + continue + fi + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -arch) + eat=yes ;; + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix=`echo "$object" | sed 's/^.*\././'` + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + # makedepend may prepend the VPATH from the source file name to the object. + # No need to regex-escape $object, excess matching of '.' is harmless. + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process the last invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed '1,2d' "$tmpdepfile" \ + | tr ' ' "$nl" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E \ + | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + | sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + IFS=" " + for arg + do + case "$arg" in + -o) + shift + ;; + $object) + shift + ;; + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E 2>/dev/null | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" + echo "$tab" >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvcmsys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff -Nru pragha-1.3.3/FAQ pragha-1.3.992/FAQ --- pragha-1.3.3/FAQ 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/FAQ 2018-06-21 11:24:11.000000000 +0000 @@ -8,4 +8,21 @@ If taglib >= 1.7 also support ape files. Then you need to install the gstreamer codecs needed to play them. In general installing gstreamer-plugins-bad and gstreamer-plugins-ugly - you can play all files. \ No newline at end of file + you can play all files. + +Q. Pragha does not use symbolic icons. +A. It was decided to use generic icons, and leave trhe design problems, to the + designers!. + As a developer, I just want to show an icon that when clicked, must start + the playback. "media-playback-start" sounds good. Do not?. Well, The + GNOME developers recommend using "media-playback-start-symbolic". Why?. + because the icon may not look good with dark themes. Ok.. But this is my + problem? No!. It's from the designers. + They can make the icons look symbolic where they think convenient. You do not + believe me? Add the following line to your favorite theme. + '.header-bar { -gtk-icon-style: symbolic; }' + or "GtkHeaderBar {-gtk-icon-style: symbolic;}' if you use gtk3 < 3.20. + In the same way you can force system tray icons symbolics adding this line + 'GtkTrayIcon { -gtk-icon-style: symbolic; }" + If you only want to change the Pragha icons, you can do it by adding a file + '~/.config/pragha/custom.css' with this. diff -Nru pragha-1.3.3/.gitignore pragha-1.3.992/.gitignore --- pragha-1.3.3/.gitignore 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1,18 +0,0 @@ -compile -config.* -configure -INSTALL -*.cache -*.m4 -/depcomp -/install-sh -/libtool -/Makefile -/Makefile.in -/missing -/mkinstalldirs -/ltmain.sh -/stamp-h1 -*.tar.bz2 -*.in -*Makefile \ No newline at end of file diff -Nru pragha-1.3.3/INSTALL pragha-1.3.992/INSTALL --- pragha-1.3.3/INSTALL 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/INSTALL 2019-08-13 12:52:09.000000000 +0000 @@ -0,0 +1,368 @@ +Installation Instructions +************************* + + Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software +Foundation, Inc. + + Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. This file is offered as-is, +without warranty of any kind. + +Basic Installation +================== + + Briefly, the shell command './configure && make && make install' +should configure, build, and install this package. The following +more-detailed instructions are generic; see the 'README' file for +instructions specific to this package. Some packages provide this +'INSTALL' file but do not implement all of the features documented +below. The lack of an optional feature in a given package is not +necessarily a bug. More recommendations for GNU packages can be found +in *note Makefile Conventions: (standards)Makefile Conventions. + + The 'configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a 'Makefile' in each directory of the package. +It may also create one or more '.h' files containing system-dependent +definitions. Finally, it creates a shell script 'config.status' that +you can run in the future to recreate the current configuration, and a +file 'config.log' containing compiler output (useful mainly for +debugging 'configure'). + + It can also use an optional file (typically called 'config.cache' and +enabled with '--cache-file=config.cache' or simply '-C') that saves the +results of its tests to speed up reconfiguring. Caching is disabled by +default to prevent problems with accidental use of stale cache files. + + If you need to do unusual things to compile the package, please try +to figure out how 'configure' could check whether to do them, and mail +diffs or instructions to the address given in the 'README' so they can +be considered for the next release. If you are using the cache, and at +some point 'config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file 'configure.ac' (or 'configure.in') is used to create +'configure' by a program called 'autoconf'. You need 'configure.ac' if +you want to change it or regenerate 'configure' using a newer version of +'autoconf'. + + The simplest way to compile this package is: + + 1. 'cd' to the directory containing the package's source code and type + './configure' to configure the package for your system. + + Running 'configure' might take a while. While running, it prints + some messages telling which features it is checking for. + + 2. Type 'make' to compile the package. + + 3. Optionally, type 'make check' to run any self-tests that come with + the package, generally using the just-built uninstalled binaries. + + 4. Type 'make install' to install the programs and any data files and + documentation. When installing into a prefix owned by root, it is + recommended that the package be configured and built as a regular + user, and only the 'make install' phase executed with root + privileges. + + 5. Optionally, type 'make installcheck' to repeat any self-tests, but + this time using the binaries in their final installed location. + This target does not install anything. Running this target as a + regular user, particularly if the prior 'make install' required + root privileges, verifies that the installation completed + correctly. + + 6. You can remove the program binaries and object files from the + source code directory by typing 'make clean'. To also remove the + files that 'configure' created (so you can compile the package for + a different kind of computer), type 'make distclean'. There is + also a 'make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + + 7. Often, you can also type 'make uninstall' to remove the installed + files again. In practice, not all packages have tested that + uninstallation works correctly, even though it is required by the + GNU Coding Standards. + + 8. Some packages, particularly those that use Automake, provide 'make + distcheck', which can by used by developers to test that all other + targets like 'make install' and 'make uninstall' work correctly. + This target is generally not run by end users. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the 'configure' script does not know about. Run './configure --help' +for details on some of the pertinent environment variables. + + You can give 'configure' initial values for configuration parameters +by setting variables in the command line or in the environment. Here is +an example: + + ./configure CC=c99 CFLAGS=-g LIBS=-lposix + + *Note Defining Variables::, for more details. + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you can use GNU 'make'. 'cd' to the +directory where you want the object files and executables to go and run +the 'configure' script. 'configure' automatically checks for the source +code in the directory that 'configure' is in and in '..'. This is known +as a "VPATH" build. + + With a non-GNU 'make', it is safer to compile the package for one +architecture at a time in the source code directory. After you have +installed the package for one architecture, use 'make distclean' before +reconfiguring for another architecture. + + On MacOS X 10.5 and later systems, you can create libraries and +executables that work on multiple system types--known as "fat" or +"universal" binaries--by specifying multiple '-arch' options to the +compiler but only a single '-arch' option to the preprocessor. Like +this: + + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ + CPP="gcc -E" CXXCPP="g++ -E" + + This is not guaranteed to produce working output in all cases, you +may have to build one architecture at a time and combine the results +using the 'lipo' tool if you have problems. + +Installation Names +================== + + By default, 'make install' installs the package's commands under +'/usr/local/bin', include files under '/usr/local/include', etc. You +can specify an installation prefix other than '/usr/local' by giving +'configure' the option '--prefix=PREFIX', where PREFIX must be an +absolute file name. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +pass the option '--exec-prefix=PREFIX' to 'configure', the package uses +PREFIX as the prefix for installing programs and libraries. +Documentation and other data files still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like '--bindir=DIR' to specify different values for particular +kinds of files. Run 'configure --help' for a list of the directories +you can set and what kinds of files go in them. In general, the default +for these options is expressed in terms of '${prefix}', so that +specifying just '--prefix' will affect all of the other directory +specifications that were not explicitly provided. + + The most portable way to affect installation locations is to pass the +correct locations to 'configure'; however, many packages provide one or +both of the following shortcuts of passing variable assignments to the +'make install' command line to change installation locations without +having to reconfigure or recompile. + + The first method involves providing an override variable for each +affected directory. For example, 'make install +prefix=/alternate/directory' will choose an alternate location for all +directory configuration variables that were expressed in terms of +'${prefix}'. Any directories that were specified during 'configure', +but not in terms of '${prefix}', must each be overridden at install time +for the entire installation to be relocated. The approach of makefile +variable overrides for each directory variable is required by the GNU +Coding Standards, and ideally causes no recompilation. However, some +platforms have known limitations with the semantics of shared libraries +that end up requiring recompilation when using this method, particularly +noticeable in packages that use GNU Libtool. + + The second method involves providing the 'DESTDIR' variable. For +example, 'make install DESTDIR=/alternate/directory' will prepend +'/alternate/directory' before all installation names. The approach of +'DESTDIR' overrides is not required by the GNU Coding Standards, and +does not work on platforms that have drive letters. On the other hand, +it does better at avoiding recompilation issues, and works well even +when some directory options were not specified in terms of '${prefix}' +at 'configure' time. + +Optional Features +================= + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving 'configure' the +option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'. + + Some packages pay attention to '--enable-FEATURE' options to +'configure', where FEATURE indicates an optional part of the package. +They may also pay attention to '--with-PACKAGE' options, where PACKAGE +is something like 'gnu-as' or 'x' (for the X Window System). The +'README' should mention any '--enable-' and '--with-' options that the +package recognizes. + + For packages that use the X Window System, 'configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the 'configure' options '--x-includes=DIR' and +'--x-libraries=DIR' to specify their locations. + + Some packages offer the ability to configure how verbose the +execution of 'make' will be. For these packages, running './configure +--enable-silent-rules' sets the default to minimal output, which can be +overridden with 'make V=1'; while running './configure +--disable-silent-rules' sets the default to verbose, which can be +overridden with 'make V=0'. + +Particular systems +================== + + On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC +is not installed, it is recommended to use the following options in +order to use an ANSI C compiler: + + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" + +and if that doesn't work, install pre-built binaries of GCC for HP-UX. + + HP-UX 'make' updates targets which have the same time stamps as their +prerequisites, which makes it generally unusable when shipped generated +files such as 'configure' are involved. Use GNU 'make' instead. + + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot +parse its '' header file. The option '-nodtk' can be used as a +workaround. If GNU CC is not installed, it is therefore recommended to +try + + ./configure CC="cc" + +and if that doesn't work, try + + ./configure CC="cc -nodtk" + + On Solaris, don't put '/usr/ucb' early in your 'PATH'. This +directory contains several dysfunctional programs; working variants of +these programs are available in '/usr/bin'. So, if you need '/usr/ucb' +in your 'PATH', put it _after_ '/usr/bin'. + + On Haiku, software installed for all users goes in '/boot/common', +not '/usr/local'. It is recommended to use the following options: + + ./configure --prefix=/boot/common + +Specifying the System Type +========================== + + There may be some features 'configure' cannot figure out +automatically, but needs to determine by the type of machine the package +will run on. Usually, assuming the package is built to be run on the +_same_ architectures, 'configure' can figure that out, but if it prints +a message saying it cannot guess the machine type, give it the +'--build=TYPE' option. TYPE can either be a short name for the system +type, such as 'sun4', or a canonical name which has the form: + + CPU-COMPANY-SYSTEM + +where SYSTEM can have one of these forms: + + OS + KERNEL-OS + + See the file 'config.sub' for the possible values of each field. If +'config.sub' isn't included in this package, then this package doesn't +need to know the machine type. + + If you are _building_ compiler tools for cross-compiling, you should +use the option '--target=TYPE' to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the +"host" platform (i.e., that on which the generated programs will +eventually be run) with '--host=TYPE'. + +Sharing Defaults +================ + + If you want to set default values for 'configure' scripts to share, +you can create a site shell script called 'config.site' that gives +default values for variables like 'CC', 'cache_file', and 'prefix'. +'configure' looks for 'PREFIX/share/config.site' if it exists, then +'PREFIX/etc/config.site' if it exists. Or, you can set the +'CONFIG_SITE' environment variable to the location of the site script. +A warning: not all 'configure' scripts look for a site script. + +Defining Variables +================== + + Variables not defined in a site shell script can be set in the +environment passed to 'configure'. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the 'configure' command line, using 'VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +causes the specified 'gcc' to be used as the C compiler (unless it is +overridden in the site shell script). + +Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an +Autoconf limitation. Until the limitation is lifted, you can use this +workaround: + + CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash + +'configure' Invocation +====================== + + 'configure' recognizes the following options to control how it +operates. + +'--help' +'-h' + Print a summary of all of the options to 'configure', and exit. + +'--help=short' +'--help=recursive' + Print a summary of the options unique to this package's + 'configure', and exit. The 'short' variant lists options used only + in the top level, while the 'recursive' variant lists options also + present in any nested packages. + +'--version' +'-V' + Print the version of Autoconf used to generate the 'configure' + script, and exit. + +'--cache-file=FILE' + Enable the cache: use and save the results of the tests in FILE, + traditionally 'config.cache'. FILE defaults to '/dev/null' to + disable caching. + +'--config-cache' +'-C' + Alias for '--cache-file=config.cache'. + +'--quiet' +'--silent' +'-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to '/dev/null' (any error + messages will still be shown). + +'--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + 'configure' can determine that directory automatically. + +'--prefix=DIR' + Use DIR as the installation prefix. *note Installation Names:: for + more details, including other options available for fine-tuning the + installation locations. + +'--no-create' +'-n' + Run the configure checks, but stop before creating any output + files. + +'configure' also accepts some other, not widely useful, options. Run +'configure --help' for more details. diff -Nru pragha-1.3.3/install-sh pragha-1.3.992/install-sh --- pragha-1.3.3/install-sh 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/install-sh 2019-08-13 12:52:09.000000000 +0000 @@ -0,0 +1,518 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2018-03-11.20; # UTC + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# 'make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +tab=' ' +nl=' +' +IFS=" $tab$nl" + +# Set DOITPROG to "echo" to test this script. + +doit=${DOITPROG-} +doit_exec=${doit:-exec} + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +is_target_a_directory=possibly + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) + is_target_a_directory=always + dst_arg=$2 + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + shift;; + + -T) is_target_a_directory=never;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +# We allow the use of options -d and -T together, by making -d +# take the precedence; this is for compatibility with GNU install. + +if test -n "$dir_arg"; then + if test -n "$dst_arg"; then + echo "$0: target directory not allowed when installing a directory." >&2 + exit 1 + fi +fi + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call 'install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + if test $# -gt 1 || test "$is_target_a_directory" = always; then + if test ! -d "$dst_arg"; then + echo "$0: $dst_arg: Is not a directory." >&2 + exit 1 + fi + fi +fi + +if test -z "$dir_arg"; then + do_exit='(exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names problematic for 'test' and other utilities. + case $src in + -* | [=\(\)!]) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + dst=$dst_arg + + # If destination is a directory, append the input filename. + if test -d "$dst"; then + if test "$is_target_a_directory" = never; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dstbase=`basename "$src"` + case $dst in + */) dst=$dst$dstbase;; + *) dst=$dst/$dstbase;; + esac + dstdir_status=0 + else + dstdir=`dirname "$dst"` + test -d "$dstdir" + dstdir_status=$? + fi + fi + + case $dstdir in + */) dstdirslash=$dstdir;; + *) dstdirslash=$dstdir/;; + esac + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + # Note that $RANDOM variable is not portable (e.g. dash); Use it + # here however when possible just to lower collision chance. + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + + trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 + + # Because "mkdir -p" follows existing symlinks and we likely work + # directly in world-writeable /tmp, make sure that the '$tmpdir' + # directory is successfully created first before we actually test + # 'mkdir -p' feature. + if (umask $mkdir_umask && + $mkdirprog $mkdir_mode "$tmpdir" && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + test_tmpdir="$tmpdir/a" + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + [-=\(\)!]*) prefix='./';; + *) prefix='';; + esac + + oIFS=$IFS + IFS=/ + set -f + set fnord $dstdir + shift + set +f + IFS=$oIFS + + prefixes= + + for d + do + test X"$d" = X && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=${dstdirslash}_inst.$$_ + rmtmp=${dstdirslash}_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + set +f && + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff -Nru pragha-1.3.3/ltmain.sh pragha-1.3.992/ltmain.sh --- pragha-1.3.3/ltmain.sh 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/ltmain.sh 2019-08-13 12:52:08.000000000 +0000 @@ -0,0 +1,11149 @@ +#! /bin/sh +## DO NOT EDIT - This file generated from ./build-aux/ltmain.in +## by inline-source v2014-01-03.01 + +# libtool (GNU libtool) 2.4.6 +# Provide generalized library-building support services. +# Written by Gordon Matzigkeit , 1996 + +# Copyright (C) 1996-2015 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# GNU Libtool is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + + +PROGRAM=libtool +PACKAGE=libtool +VERSION=2.4.6 +package_revision=2.4.6 + + +## ------ ## +## Usage. ## +## ------ ## + +# Run './libtool --help' for help with using this script from the +# command line. + + +## ------------------------------- ## +## User overridable command paths. ## +## ------------------------------- ## + +# After configure completes, it has a better idea of some of the +# shell tools we need than the defaults used by the functions shared +# with bootstrap, so set those here where they can still be over- +# ridden by the user, but otherwise take precedence. + +: ${AUTOCONF="autoconf"} +: ${AUTOMAKE="automake"} + + +## -------------------------- ## +## Source external libraries. ## +## -------------------------- ## + +# Much of our low-level functionality needs to be sourced from external +# libraries, which are installed to $pkgauxdir. + +# Set a version string for this script. +scriptversion=2015-01-20.17; # UTC + +# General shell script boiler plate, and helper functions. +# Written by Gary V. Vaughan, 2004 + +# Copyright (C) 2004-2015 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. + +# As a special exception to the GNU General Public License, if you distribute +# this file as part of a program or library that is built using GNU Libtool, +# you may include this file under the same distribution terms that you use +# for the rest of that program. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Please report bugs or propose patches to gary@gnu.org. + + +## ------ ## +## Usage. ## +## ------ ## + +# Evaluate this file near the top of your script to gain access to +# the functions and variables defined here: +# +# . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh +# +# If you need to override any of the default environment variable +# settings, do that before evaluating this file. + + +## -------------------- ## +## Shell normalisation. ## +## -------------------- ## + +# Some shells need a little help to be as Bourne compatible as possible. +# Before doing anything else, make sure all that help has been provided! + +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac +fi + +# NLS nuisances: We save the old values in case they are required later. +_G_user_locale= +_G_safe_locale= +for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES +do + eval "if test set = \"\${$_G_var+set}\"; then + save_$_G_var=\$$_G_var + $_G_var=C + export $_G_var + _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\" + _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" + fi" +done + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Make sure IFS has a sensible default +sp=' ' +nl=' +' +IFS="$sp $nl" + +# There are apparently some retarded systems that use ';' as a PATH separator! +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + + +## ------------------------- ## +## Locate command utilities. ## +## ------------------------- ## + + +# func_executable_p FILE +# ---------------------- +# Check that FILE is an executable regular file. +func_executable_p () +{ + test -f "$1" && test -x "$1" +} + + +# func_path_progs PROGS_LIST CHECK_FUNC [PATH] +# -------------------------------------------- +# Search for either a program that responds to --version with output +# containing "GNU", or else returned by CHECK_FUNC otherwise, by +# trying all the directories in PATH with each of the elements of +# PROGS_LIST. +# +# CHECK_FUNC should accept the path to a candidate program, and +# set $func_check_prog_result if it truncates its output less than +# $_G_path_prog_max characters. +func_path_progs () +{ + _G_progs_list=$1 + _G_check_func=$2 + _G_PATH=${3-"$PATH"} + + _G_path_prog_max=0 + _G_path_prog_found=false + _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:} + for _G_dir in $_G_PATH; do + IFS=$_G_save_IFS + test -z "$_G_dir" && _G_dir=. + for _G_prog_name in $_G_progs_list; do + for _exeext in '' .EXE; do + _G_path_prog=$_G_dir/$_G_prog_name$_exeext + func_executable_p "$_G_path_prog" || continue + case `"$_G_path_prog" --version 2>&1` in + *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;; + *) $_G_check_func $_G_path_prog + func_path_progs_result=$func_check_prog_result + ;; + esac + $_G_path_prog_found && break 3 + done + done + done + IFS=$_G_save_IFS + test -z "$func_path_progs_result" && { + echo "no acceptable sed could be found in \$PATH" >&2 + exit 1 + } +} + + +# We want to be able to use the functions in this file before configure +# has figured out where the best binaries are kept, which means we have +# to search for them ourselves - except when the results are already set +# where we skip the searches. + +# Unless the user overrides by setting SED, search the path for either GNU +# sed, or the sed that truncates its output the least. +test -z "$SED" && { + _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ + for _G_i in 1 2 3 4 5 6 7; do + _G_sed_script=$_G_sed_script$nl$_G_sed_script + done + echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed + _G_sed_script= + + func_check_prog_sed () + { + _G_path_prog=$1 + + _G_count=0 + printf 0123456789 >conftest.in + while : + do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo '' >> conftest.nl + "$_G_path_prog" -f conftest.sed conftest.out 2>/dev/null || break + diff conftest.out conftest.nl >/dev/null 2>&1 || break + _G_count=`expr $_G_count + 1` + if test "$_G_count" -gt "$_G_path_prog_max"; then + # Best one so far, save it but keep looking for a better one + func_check_prog_result=$_G_path_prog + _G_path_prog_max=$_G_count + fi + # 10*(2^10) chars as input seems more than enough + test 10 -lt "$_G_count" && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out + } + + func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin + rm -f conftest.sed + SED=$func_path_progs_result +} + + +# Unless the user overrides by setting GREP, search the path for either GNU +# grep, or the grep that truncates its output the least. +test -z "$GREP" && { + func_check_prog_grep () + { + _G_path_prog=$1 + + _G_count=0 + _G_path_prog_max=0 + printf 0123456789 >conftest.in + while : + do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo 'GREP' >> conftest.nl + "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' conftest.out 2>/dev/null || break + diff conftest.out conftest.nl >/dev/null 2>&1 || break + _G_count=`expr $_G_count + 1` + if test "$_G_count" -gt "$_G_path_prog_max"; then + # Best one so far, save it but keep looking for a better one + func_check_prog_result=$_G_path_prog + _G_path_prog_max=$_G_count + fi + # 10*(2^10) chars as input seems more than enough + test 10 -lt "$_G_count" && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out + } + + func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin + GREP=$func_path_progs_result +} + + +## ------------------------------- ## +## User overridable command paths. ## +## ------------------------------- ## + +# All uppercase variable names are used for environment variables. These +# variables can be overridden by the user before calling a script that +# uses them if a suitable command of that name is not already available +# in the command search PATH. + +: ${CP="cp -f"} +: ${ECHO="printf %s\n"} +: ${EGREP="$GREP -E"} +: ${FGREP="$GREP -F"} +: ${LN_S="ln -s"} +: ${MAKE="make"} +: ${MKDIR="mkdir"} +: ${MV="mv -f"} +: ${RM="rm -f"} +: ${SHELL="${CONFIG_SHELL-/bin/sh}"} + + +## -------------------- ## +## Useful sed snippets. ## +## -------------------- ## + +sed_dirname='s|/[^/]*$||' +sed_basename='s|^.*/||' + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='s|\([`"$\\]\)|\\\1|g' + +# Same as above, but do not quote variable references. +sed_double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution that turns a string into a regex matching for the +# string literally. +sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g' + +# Sed substitution that converts a w32 file name or path +# that contains forward slashes, into one that contains +# (escaped) backslashes. A very naive implementation. +sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' + +# Re-'\' parameter expansions in output of sed_double_quote_subst that +# were '\'-ed in input to the same. If an odd number of '\' preceded a +# '$' in input to sed_double_quote_subst, that '$' was protected from +# expansion. Since each input '\' is now two '\'s, look for any number +# of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'. +_G_bs='\\' +_G_bs2='\\\\' +_G_bs4='\\\\\\\\' +_G_dollar='\$' +sed_double_backslash="\ + s/$_G_bs4/&\\ +/g + s/^$_G_bs2$_G_dollar/$_G_bs&/ + s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g + s/\n//g" + + +## ----------------- ## +## Global variables. ## +## ----------------- ## + +# Except for the global variables explicitly listed below, the following +# functions in the '^func_' namespace, and the '^require_' namespace +# variables initialised in the 'Resource management' section, sourcing +# this file will not pollute your global namespace with anything +# else. There's no portable way to scope variables in Bourne shell +# though, so actually running these functions will sometimes place +# results into a variable named after the function, and often use +# temporary variables in the '^_G_' namespace. If you are careful to +# avoid using those namespaces casually in your sourcing script, things +# should continue to work as you expect. And, of course, you can freely +# overwrite any of the functions or variables defined here before +# calling anything to customize them. + +EXIT_SUCCESS=0 +EXIT_FAILURE=1 +EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. +EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. + +# Allow overriding, eg assuming that you follow the convention of +# putting '$debug_cmd' at the start of all your functions, you can get +# bash to show function call trace with: +# +# debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name +debug_cmd=${debug_cmd-":"} +exit_cmd=: + +# By convention, finish your script with: +# +# exit $exit_status +# +# so that you can set exit_status to non-zero if you want to indicate +# something went wrong during execution without actually bailing out at +# the point of failure. +exit_status=$EXIT_SUCCESS + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath=$0 + +# The name of this program. +progname=`$ECHO "$progpath" |$SED "$sed_basename"` + +# Make sure we have an absolute progpath for reexecution: +case $progpath in + [\\/]*|[A-Za-z]:\\*) ;; + *[\\/]*) + progdir=`$ECHO "$progpath" |$SED "$sed_dirname"` + progdir=`cd "$progdir" && pwd` + progpath=$progdir/$progname + ;; + *) + _G_IFS=$IFS + IFS=${PATH_SEPARATOR-:} + for progdir in $PATH; do + IFS=$_G_IFS + test -x "$progdir/$progname" && break + done + IFS=$_G_IFS + test -n "$progdir" || progdir=`pwd` + progpath=$progdir/$progname + ;; +esac + + +## ----------------- ## +## Standard options. ## +## ----------------- ## + +# The following options affect the operation of the functions defined +# below, and should be set appropriately depending on run-time para- +# meters passed on the command line. + +opt_dry_run=false +opt_quiet=false +opt_verbose=false + +# Categories 'all' and 'none' are always available. Append any others +# you will pass as the first argument to func_warning from your own +# code. +warning_categories= + +# By default, display warnings according to 'opt_warning_types'. Set +# 'warning_func' to ':' to elide all warnings, or func_fatal_error to +# treat the next displayed warning as a fatal error. +warning_func=func_warn_and_continue + +# Set to 'all' to display all warnings, 'none' to suppress all +# warnings, or a space delimited list of some subset of +# 'warning_categories' to display only the listed warnings. +opt_warning_types=all + + +## -------------------- ## +## Resource management. ## +## -------------------- ## + +# This section contains definitions for functions that each ensure a +# particular resource (a file, or a non-empty configuration variable for +# example) is available, and if appropriate to extract default values +# from pertinent package files. Call them using their associated +# 'require_*' variable to ensure that they are executed, at most, once. +# +# It's entirely deliberate that calling these functions can set +# variables that don't obey the namespace limitations obeyed by the rest +# of this file, in order that that they be as useful as possible to +# callers. + + +# require_term_colors +# ------------------- +# Allow display of bold text on terminals that support it. +require_term_colors=func_require_term_colors +func_require_term_colors () +{ + $debug_cmd + + test -t 1 && { + # COLORTERM and USE_ANSI_COLORS environment variables take + # precedence, because most terminfo databases neglect to describe + # whether color sequences are supported. + test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"} + + if test 1 = "$USE_ANSI_COLORS"; then + # Standard ANSI escape sequences + tc_reset='' + tc_bold=''; tc_standout='' + tc_red=''; tc_green='' + tc_blue=''; tc_cyan='' + else + # Otherwise trust the terminfo database after all. + test -n "`tput sgr0 2>/dev/null`" && { + tc_reset=`tput sgr0` + test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold` + tc_standout=$tc_bold + test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso` + test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1` + test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2` + test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4` + test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5` + } + fi + } + + require_term_colors=: +} + + +## ----------------- ## +## Function library. ## +## ----------------- ## + +# This section contains a variety of useful functions to call in your +# scripts. Take note of the portable wrappers for features provided by +# some modern shells, which will fall back to slower equivalents on +# less featureful shells. + + +# func_append VAR VALUE +# --------------------- +# Append VALUE onto the existing contents of VAR. + + # We should try to minimise forks, especially on Windows where they are + # unreasonably slow, so skip the feature probes when bash or zsh are + # being used: + if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then + : ${_G_HAVE_ARITH_OP="yes"} + : ${_G_HAVE_XSI_OPS="yes"} + # The += operator was introduced in bash 3.1 + case $BASH_VERSION in + [12].* | 3.0 | 3.0*) ;; + *) + : ${_G_HAVE_PLUSEQ_OP="yes"} + ;; + esac + fi + + # _G_HAVE_PLUSEQ_OP + # Can be empty, in which case the shell is probed, "yes" if += is + # useable or anything else if it does not work. + test -z "$_G_HAVE_PLUSEQ_OP" \ + && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ + && _G_HAVE_PLUSEQ_OP=yes + +if test yes = "$_G_HAVE_PLUSEQ_OP" +then + # This is an XSI compatible shell, allowing a faster implementation... + eval 'func_append () + { + $debug_cmd + + eval "$1+=\$2" + }' +else + # ...otherwise fall back to using expr, which is often a shell builtin. + func_append () + { + $debug_cmd + + eval "$1=\$$1\$2" + } +fi + + +# func_append_quoted VAR VALUE +# ---------------------------- +# Quote VALUE and append to the end of shell variable VAR, separated +# by a space. +if test yes = "$_G_HAVE_PLUSEQ_OP"; then + eval 'func_append_quoted () + { + $debug_cmd + + func_quote_for_eval "$2" + eval "$1+=\\ \$func_quote_for_eval_result" + }' +else + func_append_quoted () + { + $debug_cmd + + func_quote_for_eval "$2" + eval "$1=\$$1\\ \$func_quote_for_eval_result" + } +fi + + +# func_append_uniq VAR VALUE +# -------------------------- +# Append unique VALUE onto the existing contents of VAR, assuming +# entries are delimited by the first character of VALUE. For example: +# +# func_append_uniq options " --another-option option-argument" +# +# will only append to $options if " --another-option option-argument " +# is not already present somewhere in $options already (note spaces at +# each end implied by leading space in second argument). +func_append_uniq () +{ + $debug_cmd + + eval _G_current_value='`$ECHO $'$1'`' + _G_delim=`expr "$2" : '\(.\)'` + + case $_G_delim$_G_current_value$_G_delim in + *"$2$_G_delim"*) ;; + *) func_append "$@" ;; + esac +} + + +# func_arith TERM... +# ------------------ +# Set func_arith_result to the result of evaluating TERMs. + test -z "$_G_HAVE_ARITH_OP" \ + && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \ + && _G_HAVE_ARITH_OP=yes + +if test yes = "$_G_HAVE_ARITH_OP"; then + eval 'func_arith () + { + $debug_cmd + + func_arith_result=$(( $* )) + }' +else + func_arith () + { + $debug_cmd + + func_arith_result=`expr "$@"` + } +fi + + +# func_basename FILE +# ------------------ +# Set func_basename_result to FILE with everything up to and including +# the last / stripped. +if test yes = "$_G_HAVE_XSI_OPS"; then + # If this shell supports suffix pattern removal, then use it to avoid + # forking. Hide the definitions single quotes in case the shell chokes + # on unsupported syntax... + _b='func_basename_result=${1##*/}' + _d='case $1 in + */*) func_dirname_result=${1%/*}$2 ;; + * ) func_dirname_result=$3 ;; + esac' + +else + # ...otherwise fall back to using sed. + _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`' + _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"` + if test "X$func_dirname_result" = "X$1"; then + func_dirname_result=$3 + else + func_append func_dirname_result "$2" + fi' +fi + +eval 'func_basename () +{ + $debug_cmd + + '"$_b"' +}' + + +# func_dirname FILE APPEND NONDIR_REPLACEMENT +# ------------------------------------------- +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +eval 'func_dirname () +{ + $debug_cmd + + '"$_d"' +}' + + +# func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT +# -------------------------------------------------------- +# Perform func_basename and func_dirname in a single function +# call: +# dirname: Compute the dirname of FILE. If nonempty, +# add APPEND to the result, otherwise set result +# to NONDIR_REPLACEMENT. +# value returned in "$func_dirname_result" +# basename: Compute filename of FILE. +# value retuned in "$func_basename_result" +# For efficiency, we do not delegate to the functions above but instead +# duplicate the functionality here. +eval 'func_dirname_and_basename () +{ + $debug_cmd + + '"$_b"' + '"$_d"' +}' + + +# func_echo ARG... +# ---------------- +# Echo program name prefixed message. +func_echo () +{ + $debug_cmd + + _G_message=$* + + func_echo_IFS=$IFS + IFS=$nl + for _G_line in $_G_message; do + IFS=$func_echo_IFS + $ECHO "$progname: $_G_line" + done + IFS=$func_echo_IFS +} + + +# func_echo_all ARG... +# -------------------- +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + + +# func_echo_infix_1 INFIX ARG... +# ------------------------------ +# Echo program name, followed by INFIX on the first line, with any +# additional lines not showing INFIX. +func_echo_infix_1 () +{ + $debug_cmd + + $require_term_colors + + _G_infix=$1; shift + _G_indent=$_G_infix + _G_prefix="$progname: $_G_infix: " + _G_message=$* + + # Strip color escape sequences before counting printable length + for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan" + do + test -n "$_G_tc" && { + _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"` + _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"` + } + done + _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes + + func_echo_infix_1_IFS=$IFS + IFS=$nl + for _G_line in $_G_message; do + IFS=$func_echo_infix_1_IFS + $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2 + _G_prefix=$_G_indent + done + IFS=$func_echo_infix_1_IFS +} + + +# func_error ARG... +# ----------------- +# Echo program name prefixed message to standard error. +func_error () +{ + $debug_cmd + + $require_term_colors + + func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2 +} + + +# func_fatal_error ARG... +# ----------------------- +# Echo program name prefixed message to standard error, and exit. +func_fatal_error () +{ + $debug_cmd + + func_error "$*" + exit $EXIT_FAILURE +} + + +# func_grep EXPRESSION FILENAME +# ----------------------------- +# Check whether EXPRESSION matches any line of FILENAME, without output. +func_grep () +{ + $debug_cmd + + $GREP "$1" "$2" >/dev/null 2>&1 +} + + +# func_len STRING +# --------------- +# Set func_len_result to the length of STRING. STRING may not +# start with a hyphen. + test -z "$_G_HAVE_XSI_OPS" \ + && (eval 'x=a/b/c; + test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ + && _G_HAVE_XSI_OPS=yes + +if test yes = "$_G_HAVE_XSI_OPS"; then + eval 'func_len () + { + $debug_cmd + + func_len_result=${#1} + }' +else + func_len () + { + $debug_cmd + + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` + } +fi + + +# func_mkdir_p DIRECTORY-PATH +# --------------------------- +# Make sure the entire path to DIRECTORY-PATH is available. +func_mkdir_p () +{ + $debug_cmd + + _G_directory_path=$1 + _G_dir_list= + + if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then + + # Protect directory names starting with '-' + case $_G_directory_path in + -*) _G_directory_path=./$_G_directory_path ;; + esac + + # While some portion of DIR does not yet exist... + while test ! -d "$_G_directory_path"; do + # ...make a list in topmost first order. Use a colon delimited + # list incase some portion of path contains whitespace. + _G_dir_list=$_G_directory_path:$_G_dir_list + + # If the last portion added has no slash in it, the list is done + case $_G_directory_path in */*) ;; *) break ;; esac + + # ...otherwise throw away the child directory and loop + _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"` + done + _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'` + + func_mkdir_p_IFS=$IFS; IFS=: + for _G_dir in $_G_dir_list; do + IFS=$func_mkdir_p_IFS + # mkdir can fail with a 'File exist' error if two processes + # try to create one of the directories concurrently. Don't + # stop in that case! + $MKDIR "$_G_dir" 2>/dev/null || : + done + IFS=$func_mkdir_p_IFS + + # Bail out if we (or some other process) failed to create a directory. + test -d "$_G_directory_path" || \ + func_fatal_error "Failed to create '$1'" + fi +} + + +# func_mktempdir [BASENAME] +# ------------------------- +# Make a temporary directory that won't clash with other running +# libtool processes, and avoids race conditions if possible. If +# given, BASENAME is the basename for that directory. +func_mktempdir () +{ + $debug_cmd + + _G_template=${TMPDIR-/tmp}/${1-$progname} + + if test : = "$opt_dry_run"; then + # Return a directory name, but don't create it in dry-run mode + _G_tmpdir=$_G_template-$$ + else + + # If mktemp works, use that first and foremost + _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null` + + if test ! -d "$_G_tmpdir"; then + # Failing that, at least try and use $RANDOM to avoid a race + _G_tmpdir=$_G_template-${RANDOM-0}$$ + + func_mktempdir_umask=`umask` + umask 0077 + $MKDIR "$_G_tmpdir" + umask $func_mktempdir_umask + fi + + # If we're not in dry-run mode, bomb out on failure + test -d "$_G_tmpdir" || \ + func_fatal_error "cannot create temporary directory '$_G_tmpdir'" + fi + + $ECHO "$_G_tmpdir" +} + + +# func_normal_abspath PATH +# ------------------------ +# Remove doubled-up and trailing slashes, "." path components, +# and cancel out any ".." path components in PATH after making +# it an absolute path. +func_normal_abspath () +{ + $debug_cmd + + # These SED scripts presuppose an absolute path with a trailing slash. + _G_pathcar='s|^/\([^/]*\).*$|\1|' + _G_pathcdr='s|^/[^/]*||' + _G_removedotparts=':dotsl + s|/\./|/|g + t dotsl + s|/\.$|/|' + _G_collapseslashes='s|/\{1,\}|/|g' + _G_finalslash='s|/*$|/|' + + # Start from root dir and reassemble the path. + func_normal_abspath_result= + func_normal_abspath_tpath=$1 + func_normal_abspath_altnamespace= + case $func_normal_abspath_tpath in + "") + # Empty path, that just means $cwd. + func_stripname '' '/' "`pwd`" + func_normal_abspath_result=$func_stripname_result + return + ;; + # The next three entries are used to spot a run of precisely + # two leading slashes without using negated character classes; + # we take advantage of case's first-match behaviour. + ///*) + # Unusual form of absolute path, do nothing. + ;; + //*) + # Not necessarily an ordinary path; POSIX reserves leading '//' + # and for example Cygwin uses it to access remote file shares + # over CIFS/SMB, so we conserve a leading double slash if found. + func_normal_abspath_altnamespace=/ + ;; + /*) + # Absolute path, do nothing. + ;; + *) + # Relative path, prepend $cwd. + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath + ;; + esac + + # Cancel out all the simple stuff to save iterations. We also want + # the path to end with a slash for ease of parsing, so make sure + # there is one (and only one) here. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"` + while :; do + # Processed it all yet? + if test / = "$func_normal_abspath_tpath"; then + # If we ascended to the root using ".." the result may be empty now. + if test -z "$func_normal_abspath_result"; then + func_normal_abspath_result=/ + fi + break + fi + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$_G_pathcar"` + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$_G_pathcdr"` + # Figure out what to do with it + case $func_normal_abspath_tcomponent in + "") + # Trailing empty path component, ignore it. + ;; + ..) + # Parent dir; strip last assembled component from result. + func_dirname "$func_normal_abspath_result" + func_normal_abspath_result=$func_dirname_result + ;; + *) + # Actual path component, append it. + func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent" + ;; + esac + done + # Restore leading double-slash if one was found on entry. + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result +} + + +# func_notquiet ARG... +# -------------------- +# Echo program name prefixed message only when not in quiet mode. +func_notquiet () +{ + $debug_cmd + + $opt_quiet || func_echo ${1+"$@"} + + # A bug in bash halts the script if the last line of a function + # fails when set -e is in force, so we need another command to + # work around that: + : +} + + +# func_relative_path SRCDIR DSTDIR +# -------------------------------- +# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. +func_relative_path () +{ + $debug_cmd + + func_relative_path_result= + func_normal_abspath "$1" + func_relative_path_tlibdir=$func_normal_abspath_result + func_normal_abspath "$2" + func_relative_path_tbindir=$func_normal_abspath_result + + # Ascend the tree starting from libdir + while :; do + # check if we have found a prefix of bindir + case $func_relative_path_tbindir in + $func_relative_path_tlibdir) + # found an exact match + func_relative_path_tcancelled= + break + ;; + $func_relative_path_tlibdir*) + # found a matching prefix + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" + func_relative_path_tcancelled=$func_stripname_result + if test -z "$func_relative_path_result"; then + func_relative_path_result=. + fi + break + ;; + *) + func_dirname $func_relative_path_tlibdir + func_relative_path_tlibdir=$func_dirname_result + if test -z "$func_relative_path_tlibdir"; then + # Have to descend all the way to the root! + func_relative_path_result=../$func_relative_path_result + func_relative_path_tcancelled=$func_relative_path_tbindir + break + fi + func_relative_path_result=../$func_relative_path_result + ;; + esac + done + + # Now calculate path; take care to avoid doubling-up slashes. + func_stripname '' '/' "$func_relative_path_result" + func_relative_path_result=$func_stripname_result + func_stripname '/' '/' "$func_relative_path_tcancelled" + if test -n "$func_stripname_result"; then + func_append func_relative_path_result "/$func_stripname_result" + fi + + # Normalisation. If bindir is libdir, return '.' else relative path. + if test -n "$func_relative_path_result"; then + func_stripname './' '' "$func_relative_path_result" + func_relative_path_result=$func_stripname_result + fi + + test -n "$func_relative_path_result" || func_relative_path_result=. + + : +} + + +# func_quote_for_eval ARG... +# -------------------------- +# Aesthetically quote ARGs to be evaled later. +# This function returns two values: +# i) func_quote_for_eval_result +# double-quoted, suitable for a subsequent eval +# ii) func_quote_for_eval_unquoted_result +# has all characters that are still active within double +# quotes backslashified. +func_quote_for_eval () +{ + $debug_cmd + + func_quote_for_eval_unquoted_result= + func_quote_for_eval_result= + while test 0 -lt $#; do + case $1 in + *[\\\`\"\$]*) + _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;; + *) + _G_unquoted_arg=$1 ;; + esac + if test -n "$func_quote_for_eval_unquoted_result"; then + func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg" + else + func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg" + fi + + case $_G_unquoted_arg in + # Double-quote args containing shell metacharacters to delay + # word splitting, command substitution and variable expansion + # for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + _G_quoted_arg=\"$_G_unquoted_arg\" + ;; + *) + _G_quoted_arg=$_G_unquoted_arg + ;; + esac + + if test -n "$func_quote_for_eval_result"; then + func_append func_quote_for_eval_result " $_G_quoted_arg" + else + func_append func_quote_for_eval_result "$_G_quoted_arg" + fi + shift + done +} + + +# func_quote_for_expand ARG +# ------------------------- +# Aesthetically quote ARG to be evaled later; same as above, +# but do not quote variable references. +func_quote_for_expand () +{ + $debug_cmd + + case $1 in + *[\\\`\"]*) + _G_arg=`$ECHO "$1" | $SED \ + -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;; + *) + _G_arg=$1 ;; + esac + + case $_G_arg in + # Double-quote args containing shell metacharacters to delay + # word splitting and command substitution for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + _G_arg=\"$_G_arg\" + ;; + esac + + func_quote_for_expand_result=$_G_arg +} + + +# func_stripname PREFIX SUFFIX NAME +# --------------------------------- +# strip PREFIX and SUFFIX from NAME, and store in func_stripname_result. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +if test yes = "$_G_HAVE_XSI_OPS"; then + eval 'func_stripname () + { + $debug_cmd + + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary variable first. + func_stripname_result=$3 + func_stripname_result=${func_stripname_result#"$1"} + func_stripname_result=${func_stripname_result%"$2"} + }' +else + func_stripname () + { + $debug_cmd + + case $2 in + .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;; + *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;; + esac + } +fi + + +# func_show_eval CMD [FAIL_EXP] +# ----------------------------- +# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. +func_show_eval () +{ + $debug_cmd + + _G_cmd=$1 + _G_fail_exp=${2-':'} + + func_quote_for_expand "$_G_cmd" + eval "func_notquiet $func_quote_for_expand_result" + + $opt_dry_run || { + eval "$_G_cmd" + _G_status=$? + if test 0 -ne "$_G_status"; then + eval "(exit $_G_status); $_G_fail_exp" + fi + } +} + + +# func_show_eval_locale CMD [FAIL_EXP] +# ------------------------------------ +# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. Use the saved locale for evaluation. +func_show_eval_locale () +{ + $debug_cmd + + _G_cmd=$1 + _G_fail_exp=${2-':'} + + $opt_quiet || { + func_quote_for_expand "$_G_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + $opt_dry_run || { + eval "$_G_user_locale + $_G_cmd" + _G_status=$? + eval "$_G_safe_locale" + if test 0 -ne "$_G_status"; then + eval "(exit $_G_status); $_G_fail_exp" + fi + } +} + + +# func_tr_sh +# ---------- +# Turn $1 into a string suitable for a shell variable name. +# Result is stored in $func_tr_sh_result. All characters +# not in the set a-zA-Z0-9_ are replaced with '_'. Further, +# if $1 begins with a digit, a '_' is prepended as well. +func_tr_sh () +{ + $debug_cmd + + case $1 in + [0-9]* | *[!a-zA-Z0-9_]*) + func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'` + ;; + * ) + func_tr_sh_result=$1 + ;; + esac +} + + +# func_verbose ARG... +# ------------------- +# Echo program name prefixed message in verbose mode only. +func_verbose () +{ + $debug_cmd + + $opt_verbose && func_echo "$*" + + : +} + + +# func_warn_and_continue ARG... +# ----------------------------- +# Echo program name prefixed warning message to standard error. +func_warn_and_continue () +{ + $debug_cmd + + $require_term_colors + + func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2 +} + + +# func_warning CATEGORY ARG... +# ---------------------------- +# Echo program name prefixed warning message to standard error. Warning +# messages can be filtered according to CATEGORY, where this function +# elides messages where CATEGORY is not listed in the global variable +# 'opt_warning_types'. +func_warning () +{ + $debug_cmd + + # CATEGORY must be in the warning_categories list! + case " $warning_categories " in + *" $1 "*) ;; + *) func_internal_error "invalid warning category '$1'" ;; + esac + + _G_category=$1 + shift + + case " $opt_warning_types " in + *" $_G_category "*) $warning_func ${1+"$@"} ;; + esac +} + + +# func_sort_ver VER1 VER2 +# ----------------------- +# 'sort -V' is not generally available. +# Note this deviates from the version comparison in automake +# in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a +# but this should suffice as we won't be specifying old +# version formats or redundant trailing .0 in bootstrap.conf. +# If we did want full compatibility then we should probably +# use m4_version_compare from autoconf. +func_sort_ver () +{ + $debug_cmd + + printf '%s\n%s\n' "$1" "$2" \ + | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n +} + +# func_lt_ver PREV CURR +# --------------------- +# Return true if PREV and CURR are in the correct order according to +# func_sort_ver, otherwise false. Use it like this: +# +# func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..." +func_lt_ver () +{ + $debug_cmd + + test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q` +} + + +# Local variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" +# time-stamp-time-zone: "UTC" +# End: +#! /bin/sh + +# Set a version string for this script. +scriptversion=2014-01-07.03; # UTC + +# A portable, pluggable option parser for Bourne shell. +# Written by Gary V. Vaughan, 2010 + +# Copyright (C) 2010-2015 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Please report bugs or propose patches to gary@gnu.org. + + +## ------ ## +## Usage. ## +## ------ ## + +# This file is a library for parsing options in your shell scripts along +# with assorted other useful supporting features that you can make use +# of too. +# +# For the simplest scripts you might need only: +# +# #!/bin/sh +# . relative/path/to/funclib.sh +# . relative/path/to/options-parser +# scriptversion=1.0 +# func_options ${1+"$@"} +# eval set dummy "$func_options_result"; shift +# ...rest of your script... +# +# In order for the '--version' option to work, you will need to have a +# suitably formatted comment like the one at the top of this file +# starting with '# Written by ' and ending with '# warranty; '. +# +# For '-h' and '--help' to work, you will also need a one line +# description of your script's purpose in a comment directly above the +# '# Written by ' line, like the one at the top of this file. +# +# The default options also support '--debug', which will turn on shell +# execution tracing (see the comment above debug_cmd below for another +# use), and '--verbose' and the func_verbose function to allow your script +# to display verbose messages only when your user has specified +# '--verbose'. +# +# After sourcing this file, you can plug processing for additional +# options by amending the variables from the 'Configuration' section +# below, and following the instructions in the 'Option parsing' +# section further down. + +## -------------- ## +## Configuration. ## +## -------------- ## + +# You should override these variables in your script after sourcing this +# file so that they reflect the customisations you have added to the +# option parser. + +# The usage line for option parsing errors and the start of '-h' and +# '--help' output messages. You can embed shell variables for delayed +# expansion at the time the message is displayed, but you will need to +# quote other shell meta-characters carefully to prevent them being +# expanded when the contents are evaled. +usage='$progpath [OPTION]...' + +# Short help message in response to '-h' and '--help'. Add to this or +# override it after sourcing this library to reflect the full set of +# options your script accepts. +usage_message="\ + --debug enable verbose shell tracing + -W, --warnings=CATEGORY + report the warnings falling in CATEGORY [all] + -v, --verbose verbosely report processing + --version print version information and exit + -h, --help print short or long help message and exit +" + +# Additional text appended to 'usage_message' in response to '--help'. +long_help_message=" +Warning categories include: + 'all' show all warnings + 'none' turn off all the warnings + 'error' warnings are treated as fatal errors" + +# Help message printed before fatal option parsing errors. +fatal_help="Try '\$progname --help' for more information." + + + +## ------------------------- ## +## Hook function management. ## +## ------------------------- ## + +# This section contains functions for adding, removing, and running hooks +# to the main code. A hook is just a named list of of function, that can +# be run in order later on. + +# func_hookable FUNC_NAME +# ----------------------- +# Declare that FUNC_NAME will run hooks added with +# 'func_add_hook FUNC_NAME ...'. +func_hookable () +{ + $debug_cmd + + func_append hookable_fns " $1" +} + + +# func_add_hook FUNC_NAME HOOK_FUNC +# --------------------------------- +# Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must +# first have been declared "hookable" by a call to 'func_hookable'. +func_add_hook () +{ + $debug_cmd + + case " $hookable_fns " in + *" $1 "*) ;; + *) func_fatal_error "'$1' does not accept hook functions." ;; + esac + + eval func_append ${1}_hooks '" $2"' +} + + +# func_remove_hook FUNC_NAME HOOK_FUNC +# ------------------------------------ +# Remove HOOK_FUNC from the list of functions called by FUNC_NAME. +func_remove_hook () +{ + $debug_cmd + + eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`' +} + + +# func_run_hooks FUNC_NAME [ARG]... +# --------------------------------- +# Run all hook functions registered to FUNC_NAME. +# It is assumed that the list of hook functions contains nothing more +# than a whitespace-delimited list of legal shell function names, and +# no effort is wasted trying to catch shell meta-characters or preserve +# whitespace. +func_run_hooks () +{ + $debug_cmd + + case " $hookable_fns " in + *" $1 "*) ;; + *) func_fatal_error "'$1' does not support hook funcions.n" ;; + esac + + eval _G_hook_fns=\$$1_hooks; shift + + for _G_hook in $_G_hook_fns; do + eval $_G_hook '"$@"' + + # store returned options list back into positional + # parameters for next 'cmd' execution. + eval _G_hook_result=\$${_G_hook}_result + eval set dummy "$_G_hook_result"; shift + done + + func_quote_for_eval ${1+"$@"} + func_run_hooks_result=$func_quote_for_eval_result +} + + + +## --------------- ## +## Option parsing. ## +## --------------- ## + +# In order to add your own option parsing hooks, you must accept the +# full positional parameter list in your hook function, remove any +# options that you action, and then pass back the remaining unprocessed +# options in '_result', escaped suitably for +# 'eval'. Like this: +# +# my_options_prep () +# { +# $debug_cmd +# +# # Extend the existing usage message. +# usage_message=$usage_message' +# -s, --silent don'\''t print informational messages +# ' +# +# func_quote_for_eval ${1+"$@"} +# my_options_prep_result=$func_quote_for_eval_result +# } +# func_add_hook func_options_prep my_options_prep +# +# +# my_silent_option () +# { +# $debug_cmd +# +# # Note that for efficiency, we parse as many options as we can +# # recognise in a loop before passing the remainder back to the +# # caller on the first unrecognised argument we encounter. +# while test $# -gt 0; do +# opt=$1; shift +# case $opt in +# --silent|-s) opt_silent=: ;; +# # Separate non-argument short options: +# -s*) func_split_short_opt "$_G_opt" +# set dummy "$func_split_short_opt_name" \ +# "-$func_split_short_opt_arg" ${1+"$@"} +# shift +# ;; +# *) set dummy "$_G_opt" "$*"; shift; break ;; +# esac +# done +# +# func_quote_for_eval ${1+"$@"} +# my_silent_option_result=$func_quote_for_eval_result +# } +# func_add_hook func_parse_options my_silent_option +# +# +# my_option_validation () +# { +# $debug_cmd +# +# $opt_silent && $opt_verbose && func_fatal_help "\ +# '--silent' and '--verbose' options are mutually exclusive." +# +# func_quote_for_eval ${1+"$@"} +# my_option_validation_result=$func_quote_for_eval_result +# } +# func_add_hook func_validate_options my_option_validation +# +# You'll alse need to manually amend $usage_message to reflect the extra +# options you parse. It's preferable to append if you can, so that +# multiple option parsing hooks can be added safely. + + +# func_options [ARG]... +# --------------------- +# All the functions called inside func_options are hookable. See the +# individual implementations for details. +func_hookable func_options +func_options () +{ + $debug_cmd + + func_options_prep ${1+"$@"} + eval func_parse_options \ + ${func_options_prep_result+"$func_options_prep_result"} + eval func_validate_options \ + ${func_parse_options_result+"$func_parse_options_result"} + + eval func_run_hooks func_options \ + ${func_validate_options_result+"$func_validate_options_result"} + + # save modified positional parameters for caller + func_options_result=$func_run_hooks_result +} + + +# func_options_prep [ARG]... +# -------------------------- +# All initialisations required before starting the option parse loop. +# Note that when calling hook functions, we pass through the list of +# positional parameters. If a hook function modifies that list, and +# needs to propogate that back to rest of this script, then the complete +# modified list must be put in 'func_run_hooks_result' before +# returning. +func_hookable func_options_prep +func_options_prep () +{ + $debug_cmd + + # Option defaults: + opt_verbose=false + opt_warning_types= + + func_run_hooks func_options_prep ${1+"$@"} + + # save modified positional parameters for caller + func_options_prep_result=$func_run_hooks_result +} + + +# func_parse_options [ARG]... +# --------------------------- +# The main option parsing loop. +func_hookable func_parse_options +func_parse_options () +{ + $debug_cmd + + func_parse_options_result= + + # this just eases exit handling + while test $# -gt 0; do + # Defer to hook functions for initial option parsing, so they + # get priority in the event of reusing an option name. + func_run_hooks func_parse_options ${1+"$@"} + + # Adjust func_parse_options positional parameters to match + eval set dummy "$func_run_hooks_result"; shift + + # Break out of the loop if we already parsed every option. + test $# -gt 0 || break + + _G_opt=$1 + shift + case $_G_opt in + --debug|-x) debug_cmd='set -x' + func_echo "enabling shell trace mode" + $debug_cmd + ;; + + --no-warnings|--no-warning|--no-warn) + set dummy --warnings none ${1+"$@"} + shift + ;; + + --warnings|--warning|-W) + test $# = 0 && func_missing_arg $_G_opt && break + case " $warning_categories $1" in + *" $1 "*) + # trailing space prevents matching last $1 above + func_append_uniq opt_warning_types " $1" + ;; + *all) + opt_warning_types=$warning_categories + ;; + *none) + opt_warning_types=none + warning_func=: + ;; + *error) + opt_warning_types=$warning_categories + warning_func=func_fatal_error + ;; + *) + func_fatal_error \ + "unsupported warning category: '$1'" + ;; + esac + shift + ;; + + --verbose|-v) opt_verbose=: ;; + --version) func_version ;; + -\?|-h) func_usage ;; + --help) func_help ;; + + # Separate optargs to long options (plugins may need this): + --*=*) func_split_equals "$_G_opt" + set dummy "$func_split_equals_lhs" \ + "$func_split_equals_rhs" ${1+"$@"} + shift + ;; + + # Separate optargs to short options: + -W*) + func_split_short_opt "$_G_opt" + set dummy "$func_split_short_opt_name" \ + "$func_split_short_opt_arg" ${1+"$@"} + shift + ;; + + # Separate non-argument short options: + -\?*|-h*|-v*|-x*) + func_split_short_opt "$_G_opt" + set dummy "$func_split_short_opt_name" \ + "-$func_split_short_opt_arg" ${1+"$@"} + shift + ;; + + --) break ;; + -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; + *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; + esac + done + + # save modified positional parameters for caller + func_quote_for_eval ${1+"$@"} + func_parse_options_result=$func_quote_for_eval_result +} + + +# func_validate_options [ARG]... +# ------------------------------ +# Perform any sanity checks on option settings and/or unconsumed +# arguments. +func_hookable func_validate_options +func_validate_options () +{ + $debug_cmd + + # Display all warnings if -W was not given. + test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" + + func_run_hooks func_validate_options ${1+"$@"} + + # Bail if the options were screwed! + $exit_cmd $EXIT_FAILURE + + # save modified positional parameters for caller + func_validate_options_result=$func_run_hooks_result +} + + + +## ----------------- ## +## Helper functions. ## +## ----------------- ## + +# This section contains the helper functions used by the rest of the +# hookable option parser framework in ascii-betical order. + + +# func_fatal_help ARG... +# ---------------------- +# Echo program name prefixed message to standard error, followed by +# a help hint, and exit. +func_fatal_help () +{ + $debug_cmd + + eval \$ECHO \""Usage: $usage"\" + eval \$ECHO \""$fatal_help"\" + func_error ${1+"$@"} + exit $EXIT_FAILURE +} + + +# func_help +# --------- +# Echo long help message to standard output and exit. +func_help () +{ + $debug_cmd + + func_usage_message + $ECHO "$long_help_message" + exit 0 +} + + +# func_missing_arg ARGNAME +# ------------------------ +# Echo program name prefixed message to standard error and set global +# exit_cmd. +func_missing_arg () +{ + $debug_cmd + + func_error "Missing argument for '$1'." + exit_cmd=exit +} + + +# func_split_equals STRING +# ------------------------ +# Set func_split_equals_lhs and func_split_equals_rhs shell variables after +# splitting STRING at the '=' sign. +test -z "$_G_HAVE_XSI_OPS" \ + && (eval 'x=a/b/c; + test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ + && _G_HAVE_XSI_OPS=yes + +if test yes = "$_G_HAVE_XSI_OPS" +then + # This is an XSI compatible shell, allowing a faster implementation... + eval 'func_split_equals () + { + $debug_cmd + + func_split_equals_lhs=${1%%=*} + func_split_equals_rhs=${1#*=} + test "x$func_split_equals_lhs" = "x$1" \ + && func_split_equals_rhs= + }' +else + # ...otherwise fall back to using expr, which is often a shell builtin. + func_split_equals () + { + $debug_cmd + + func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'` + func_split_equals_rhs= + test "x$func_split_equals_lhs" = "x$1" \ + || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'` + } +fi #func_split_equals + + +# func_split_short_opt SHORTOPT +# ----------------------------- +# Set func_split_short_opt_name and func_split_short_opt_arg shell +# variables after splitting SHORTOPT after the 2nd character. +if test yes = "$_G_HAVE_XSI_OPS" +then + # This is an XSI compatible shell, allowing a faster implementation... + eval 'func_split_short_opt () + { + $debug_cmd + + func_split_short_opt_arg=${1#??} + func_split_short_opt_name=${1%"$func_split_short_opt_arg"} + }' +else + # ...otherwise fall back to using expr, which is often a shell builtin. + func_split_short_opt () + { + $debug_cmd + + func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'` + func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'` + } +fi #func_split_short_opt + + +# func_usage +# ---------- +# Echo short help message to standard output and exit. +func_usage () +{ + $debug_cmd + + func_usage_message + $ECHO "Run '$progname --help |${PAGER-more}' for full usage" + exit 0 +} + + +# func_usage_message +# ------------------ +# Echo short help message to standard output. +func_usage_message () +{ + $debug_cmd + + eval \$ECHO \""Usage: $usage"\" + echo + $SED -n 's|^# || + /^Written by/{ + x;p;x + } + h + /^Written by/q' < "$progpath" + echo + eval \$ECHO \""$usage_message"\" +} + + +# func_version +# ------------ +# Echo version message to standard output and exit. +func_version () +{ + $debug_cmd + + printf '%s\n' "$progname $scriptversion" + $SED -n ' + /(C)/!b go + :more + /\./!{ + N + s|\n# | | + b more + } + :go + /^# Written by /,/# warranty; / { + s|^# || + s|^# *$|| + s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2| + p + } + /^# Written by / { + s|^# || + p + } + /^warranty; /q' < "$progpath" + + exit $? +} + + +# Local variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" +# time-stamp-time-zone: "UTC" +# End: + +# Set a version string. +scriptversion='(GNU libtool) 2.4.6' + + +# func_echo ARG... +# ---------------- +# Libtool also displays the current mode in messages, so override +# funclib.sh func_echo with this custom definition. +func_echo () +{ + $debug_cmd + + _G_message=$* + + func_echo_IFS=$IFS + IFS=$nl + for _G_line in $_G_message; do + IFS=$func_echo_IFS + $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line" + done + IFS=$func_echo_IFS +} + + +# func_warning ARG... +# ------------------- +# Libtool warnings are not categorized, so override funclib.sh +# func_warning with this simpler definition. +func_warning () +{ + $debug_cmd + + $warning_func ${1+"$@"} +} + + +## ---------------- ## +## Options parsing. ## +## ---------------- ## + +# Hook in the functions to make sure our own options are parsed during +# the option parsing loop. + +usage='$progpath [OPTION]... [MODE-ARG]...' + +# Short help message in response to '-h'. +usage_message="Options: + --config show all configuration variables + --debug enable verbose shell tracing + -n, --dry-run display commands without modifying any files + --features display basic configuration information and exit + --mode=MODE use operation mode MODE + --no-warnings equivalent to '-Wnone' + --preserve-dup-deps don't remove duplicate dependency libraries + --quiet, --silent don't print informational messages + --tag=TAG use configuration variables from tag TAG + -v, --verbose print more informational messages than default + --version print version information + -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] + -h, --help, --help-all print short, long, or detailed help message +" + +# Additional text appended to 'usage_message' in response to '--help'. +func_help () +{ + $debug_cmd + + func_usage_message + $ECHO "$long_help_message + +MODE must be one of the following: + + clean remove files from the build directory + compile compile a source file into a libtool object + execute automatically set library path, then run a program + finish complete the installation of libtool libraries + install install libraries or executables + link create a library or an executable + uninstall remove libraries from an installed directory + +MODE-ARGS vary depending on the MODE. When passed as first option, +'--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that. +Try '$progname --help --mode=MODE' for a more detailed description of MODE. + +When reporting a bug, please describe a test case to reproduce it and +include the following information: + + host-triplet: $host + shell: $SHELL + compiler: $LTCC + compiler flags: $LTCFLAGS + linker: $LD (gnu? $with_gnu_ld) + version: $progname (GNU libtool) 2.4.6 + automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` + autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` + +Report bugs to . +GNU libtool home page: . +General help using GNU software: ." + exit 0 +} + + +# func_lo2o OBJECT-NAME +# --------------------- +# Transform OBJECT-NAME from a '.lo' suffix to the platform specific +# object suffix. + +lo2o=s/\\.lo\$/.$objext/ +o2lo=s/\\.$objext\$/.lo/ + +if test yes = "$_G_HAVE_XSI_OPS"; then + eval 'func_lo2o () + { + case $1 in + *.lo) func_lo2o_result=${1%.lo}.$objext ;; + * ) func_lo2o_result=$1 ;; + esac + }' + + # func_xform LIBOBJ-OR-SOURCE + # --------------------------- + # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise) + # suffix to a '.lo' libtool-object suffix. + eval 'func_xform () + { + func_xform_result=${1%.*}.lo + }' +else + # ...otherwise fall back to using sed. + func_lo2o () + { + func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"` + } + + func_xform () + { + func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'` + } +fi + + +# func_fatal_configuration ARG... +# ------------------------------- +# Echo program name prefixed message to standard error, followed by +# a configuration failure hint, and exit. +func_fatal_configuration () +{ + func_fatal_error ${1+"$@"} \ + "See the $PACKAGE documentation for more information." \ + "Fatal configuration error." +} + + +# func_config +# ----------- +# Display the configuration for all the tags in this script. +func_config () +{ + re_begincf='^# ### BEGIN LIBTOOL' + re_endcf='^# ### END LIBTOOL' + + # Default configuration. + $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" + + # Now print the configurations for the tags. + for tagname in $taglist; do + $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" + done + + exit $? +} + + +# func_features +# ------------- +# Display the features supported by this script. +func_features () +{ + echo "host: $host" + if test yes = "$build_libtool_libs"; then + echo "enable shared libraries" + else + echo "disable shared libraries" + fi + if test yes = "$build_old_libs"; then + echo "enable static libraries" + else + echo "disable static libraries" + fi + + exit $? +} + + +# func_enable_tag TAGNAME +# ----------------------- +# Verify that TAGNAME is valid, and either flag an error and exit, or +# enable the TAGNAME tag. We also add TAGNAME to the global $taglist +# variable here. +func_enable_tag () +{ + # Global variable: + tagname=$1 + + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" + sed_extractcf=/$re_begincf/,/$re_endcf/p + + # Validate tagname. + case $tagname in + *[!-_A-Za-z0-9,/]*) + func_fatal_error "invalid tag name: $tagname" + ;; + esac + + # Don't test for the "default" C tag, as we know it's + # there but not specially marked. + case $tagname in + CC) ;; + *) + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then + taglist="$taglist $tagname" + + # Evaluate the configuration. Be careful to quote the path + # and the sed script, to avoid splitting on whitespace, but + # also don't use non-portable quotes within backquotes within + # quotes we have to do it in 2 steps: + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` + eval "$extractedcf" + else + func_error "ignoring unknown tag $tagname" + fi + ;; + esac +} + + +# func_check_version_match +# ------------------------ +# Ensure that we are using m4 macros, and libtool script from the same +# release of libtool. +func_check_version_match () +{ + if test "$package_revision" != "$macro_revision"; then + if test "$VERSION" != "$macro_version"; then + if test -z "$macro_version"; then + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from an older release. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + fi + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, +$progname: but the definition of this LT_INIT comes from revision $macro_revision. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision +$progname: of $PACKAGE $VERSION and run autoconf again. +_LT_EOF + fi + + exit $EXIT_MISMATCH + fi +} + + +# libtool_options_prep [ARG]... +# ----------------------------- +# Preparation for options parsed by libtool. +libtool_options_prep () +{ + $debug_mode + + # Option defaults: + opt_config=false + opt_dlopen= + opt_dry_run=false + opt_help=false + opt_mode= + opt_preserve_dup_deps=false + opt_quiet=false + + nonopt= + preserve_args= + + # Shorthand for --mode=foo, only valid as the first argument + case $1 in + clean|clea|cle|cl) + shift; set dummy --mode clean ${1+"$@"}; shift + ;; + compile|compil|compi|comp|com|co|c) + shift; set dummy --mode compile ${1+"$@"}; shift + ;; + execute|execut|execu|exec|exe|ex|e) + shift; set dummy --mode execute ${1+"$@"}; shift + ;; + finish|finis|fini|fin|fi|f) + shift; set dummy --mode finish ${1+"$@"}; shift + ;; + install|instal|insta|inst|ins|in|i) + shift; set dummy --mode install ${1+"$@"}; shift + ;; + link|lin|li|l) + shift; set dummy --mode link ${1+"$@"}; shift + ;; + uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) + shift; set dummy --mode uninstall ${1+"$@"}; shift + ;; + esac + + # Pass back the list of options. + func_quote_for_eval ${1+"$@"} + libtool_options_prep_result=$func_quote_for_eval_result +} +func_add_hook func_options_prep libtool_options_prep + + +# libtool_parse_options [ARG]... +# --------------------------------- +# Provide handling for libtool specific options. +libtool_parse_options () +{ + $debug_cmd + + # Perform our own loop to consume as many options as possible in + # each iteration. + while test $# -gt 0; do + _G_opt=$1 + shift + case $_G_opt in + --dry-run|--dryrun|-n) + opt_dry_run=: + ;; + + --config) func_config ;; + + --dlopen|-dlopen) + opt_dlopen="${opt_dlopen+$opt_dlopen +}$1" + shift + ;; + + --preserve-dup-deps) + opt_preserve_dup_deps=: ;; + + --features) func_features ;; + + --finish) set dummy --mode finish ${1+"$@"}; shift ;; + + --help) opt_help=: ;; + + --help-all) opt_help=': help-all' ;; + + --mode) test $# = 0 && func_missing_arg $_G_opt && break + opt_mode=$1 + case $1 in + # Valid mode arguments: + clean|compile|execute|finish|install|link|relink|uninstall) ;; + + # Catch anything else as an error + *) func_error "invalid argument for $_G_opt" + exit_cmd=exit + break + ;; + esac + shift + ;; + + --no-silent|--no-quiet) + opt_quiet=false + func_append preserve_args " $_G_opt" + ;; + + --no-warnings|--no-warning|--no-warn) + opt_warning=false + func_append preserve_args " $_G_opt" + ;; + + --no-verbose) + opt_verbose=false + func_append preserve_args " $_G_opt" + ;; + + --silent|--quiet) + opt_quiet=: + opt_verbose=false + func_append preserve_args " $_G_opt" + ;; + + --tag) test $# = 0 && func_missing_arg $_G_opt && break + opt_tag=$1 + func_append preserve_args " $_G_opt $1" + func_enable_tag "$1" + shift + ;; + + --verbose|-v) opt_quiet=false + opt_verbose=: + func_append preserve_args " $_G_opt" + ;; + + # An option not handled by this hook function: + *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; + esac + done + + + # save modified positional parameters for caller + func_quote_for_eval ${1+"$@"} + libtool_parse_options_result=$func_quote_for_eval_result +} +func_add_hook func_parse_options libtool_parse_options + + + +# libtool_validate_options [ARG]... +# --------------------------------- +# Perform any sanity checks on option settings and/or unconsumed +# arguments. +libtool_validate_options () +{ + # save first non-option argument + if test 0 -lt $#; then + nonopt=$1 + shift + fi + + # preserve --debug + test : = "$debug_cmd" || func_append preserve_args " --debug" + + case $host in + # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 + # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 + *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*) + # don't eliminate duplications in $postdeps and $predeps + opt_duplicate_compiler_generated_deps=: + ;; + *) + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps + ;; + esac + + $opt_help || { + # Sanity checks first: + func_check_version_match + + test yes != "$build_libtool_libs" \ + && test yes != "$build_old_libs" \ + && func_fatal_configuration "not configured to build any kind of library" + + # Darwin sucks + eval std_shrext=\"$shrext_cmds\" + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$opt_dlopen" && test execute != "$opt_mode"; then + func_error "unrecognized option '-dlopen'" + $ECHO "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help=$help + help="Try '$progname --help --mode=$opt_mode' for more information." + } + + # Pass back the unparsed argument list + func_quote_for_eval ${1+"$@"} + libtool_validate_options_result=$func_quote_for_eval_result +} +func_add_hook func_validate_options libtool_validate_options + + +# Process options as early as possible so that --help and --version +# can return quickly. +func_options ${1+"$@"} +eval set dummy "$func_options_result"; shift + + + +## ----------- ## +## Main. ## +## ----------- ## + +magic='%%%MAGIC variable%%%' +magic_exe='%%%MAGIC EXE variable%%%' + +# Global variables. +extracted_archives= +extracted_serial=0 + +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + +# func_generated_by_libtool +# True iff stdin has been generated by Libtool. This function is only +# a basic sanity check; it will hardly flush out determined imposters. +func_generated_by_libtool_p () +{ + $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 +} + +# func_lalib_p file +# True iff FILE is a libtool '.la' library or '.lo' object file. +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_lalib_p () +{ + test -f "$1" && + $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p +} + +# func_lalib_unsafe_p file +# True iff FILE is a libtool '.la' library or '.lo' object file. +# This function implements the same check as func_lalib_p without +# resorting to external programs. To this end, it redirects stdin and +# closes it afterwards, without saving the original file descriptor. +# As a safety measure, use it only where a negative result would be +# fatal anyway. Works if 'file' does not exist. +func_lalib_unsafe_p () +{ + lalib_p=no + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then + for lalib_p_l in 1 2 3 4 + do + read lalib_p_line + case $lalib_p_line in + \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; + esac + done + exec 0<&5 5<&- + fi + test yes = "$lalib_p" +} + +# func_ltwrapper_script_p file +# True iff FILE is a libtool wrapper script +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_script_p () +{ + test -f "$1" && + $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p +} + +# func_ltwrapper_executable_p file +# True iff FILE is a libtool wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_executable_p () +{ + func_ltwrapper_exec_suffix= + case $1 in + *.exe) ;; + *) func_ltwrapper_exec_suffix=.exe ;; + esac + $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 +} + +# func_ltwrapper_scriptname file +# Assumes file is an ltwrapper_executable +# uses $file to determine the appropriate filename for a +# temporary ltwrapper_script. +func_ltwrapper_scriptname () +{ + func_dirname_and_basename "$1" "" "." + func_stripname '' '.exe' "$func_basename_result" + func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper +} + +# func_ltwrapper_p file +# True iff FILE is a libtool wrapper script or wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_p () +{ + func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" +} + + +# func_execute_cmds commands fail_cmd +# Execute tilde-delimited COMMANDS. +# If FAIL_CMD is given, eval that upon failure. +# FAIL_CMD may read-access the current command in variable CMD! +func_execute_cmds () +{ + $debug_cmd + + save_ifs=$IFS; IFS='~' + for cmd in $1; do + IFS=$sp$nl + eval cmd=\"$cmd\" + IFS=$save_ifs + func_show_eval "$cmd" "${2-:}" + done + IFS=$save_ifs +} + + +# func_source file +# Source FILE, adding directory component if necessary. +# Note that it is not necessary on cygwin/mingw to append a dot to +# FILE even if both FILE and FILE.exe exist: automatic-append-.exe +# behavior happens only for exec(3), not for open(2)! Also, sourcing +# 'FILE.' does not work on cygwin managed mounts. +func_source () +{ + $debug_cmd + + case $1 in + */* | *\\*) . "$1" ;; + *) . "./$1" ;; + esac +} + + +# func_resolve_sysroot PATH +# Replace a leading = in PATH with a sysroot. Store the result into +# func_resolve_sysroot_result +func_resolve_sysroot () +{ + func_resolve_sysroot_result=$1 + case $func_resolve_sysroot_result in + =*) + func_stripname '=' '' "$func_resolve_sysroot_result" + func_resolve_sysroot_result=$lt_sysroot$func_stripname_result + ;; + esac +} + +# func_replace_sysroot PATH +# If PATH begins with the sysroot, replace it with = and +# store the result into func_replace_sysroot_result. +func_replace_sysroot () +{ + case $lt_sysroot:$1 in + ?*:"$lt_sysroot"*) + func_stripname "$lt_sysroot" '' "$1" + func_replace_sysroot_result='='$func_stripname_result + ;; + *) + # Including no sysroot. + func_replace_sysroot_result=$1 + ;; + esac +} + +# func_infer_tag arg +# Infer tagged configuration to use if any are available and +# if one wasn't chosen via the "--tag" command line option. +# Only attempt this if the compiler in the base compile +# command doesn't match the default compiler. +# arg is usually of the form 'gcc ...' +func_infer_tag () +{ + $debug_cmd + + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + func_append_quoted CC_quoted "$arg" + done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` + case $@ in + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when configure was run. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; + # Blanks at the start of $base_compile will cause this to fail + # if we don't check for them as well. + *) + for z in $available_tags; do + if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then + # Evaluate the configuration. + eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" + CC_quoted= + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + func_append_quoted CC_quoted "$arg" + done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` + case "$@ " in + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + func_echo "unable to infer tagged configuration" + func_fatal_error "specify a tag with '--tag'" +# else +# func_verbose "using $tagname tagged configuration" + fi + ;; + esac + fi +} + + + +# func_write_libtool_object output_name pic_name nonpic_name +# Create a libtool object file (analogous to a ".la" file), +# but don't create it if we're doing a dry run. +func_write_libtool_object () +{ + write_libobj=$1 + if test yes = "$build_libtool_libs"; then + write_lobj=\'$2\' + else + write_lobj=none + fi + + if test yes = "$build_old_libs"; then + write_oldobj=\'$3\' + else + write_oldobj=none + fi + + $opt_dry_run || { + cat >${write_libobj}T </dev/null` + if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then + func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | + $SED -e "$sed_naive_backslashify"` + else + func_convert_core_file_wine_to_w32_result= + fi + fi +} +# end: func_convert_core_file_wine_to_w32 + + +# func_convert_core_path_wine_to_w32 ARG +# Helper function used by path conversion functions when $build is *nix, and +# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly +# configured wine environment available, with the winepath program in $build's +# $PATH. Assumes ARG has no leading or trailing path separator characters. +# +# ARG is path to be converted from $build format to win32. +# Result is available in $func_convert_core_path_wine_to_w32_result. +# Unconvertible file (directory) names in ARG are skipped; if no directory names +# are convertible, then the result may be empty. +func_convert_core_path_wine_to_w32 () +{ + $debug_cmd + + # unfortunately, winepath doesn't convert paths, only file names + func_convert_core_path_wine_to_w32_result= + if test -n "$1"; then + oldIFS=$IFS + IFS=: + for func_convert_core_path_wine_to_w32_f in $1; do + IFS=$oldIFS + func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" + if test -n "$func_convert_core_file_wine_to_w32_result"; then + if test -z "$func_convert_core_path_wine_to_w32_result"; then + func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result + else + func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" + fi + fi + done + IFS=$oldIFS + fi +} +# end: func_convert_core_path_wine_to_w32 + + +# func_cygpath ARGS... +# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when +# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) +# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or +# (2), returns the Cygwin file name or path in func_cygpath_result (input +# file name or path is assumed to be in w32 format, as previously converted +# from $build's *nix or MSYS format). In case (3), returns the w32 file name +# or path in func_cygpath_result (input file name or path is assumed to be in +# Cygwin format). Returns an empty string on error. +# +# ARGS are passed to cygpath, with the last one being the file name or path to +# be converted. +# +# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH +# environment variable; do not put it in $PATH. +func_cygpath () +{ + $debug_cmd + + if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then + func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` + if test "$?" -ne 0; then + # on failure, ensure result is empty + func_cygpath_result= + fi + else + func_cygpath_result= + func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'" + fi +} +#end: func_cygpath + + +# func_convert_core_msys_to_w32 ARG +# Convert file name or path ARG from MSYS format to w32 format. Return +# result in func_convert_core_msys_to_w32_result. +func_convert_core_msys_to_w32 () +{ + $debug_cmd + + # awkward: cmd appends spaces to result + func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | + $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"` +} +#end: func_convert_core_msys_to_w32 + + +# func_convert_file_check ARG1 ARG2 +# Verify that ARG1 (a file name in $build format) was converted to $host +# format in ARG2. Otherwise, emit an error message, but continue (resetting +# func_to_host_file_result to ARG1). +func_convert_file_check () +{ + $debug_cmd + + if test -z "$2" && test -n "$1"; then + func_error "Could not determine host file name corresponding to" + func_error " '$1'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback: + func_to_host_file_result=$1 + fi +} +# end func_convert_file_check + + +# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH +# Verify that FROM_PATH (a path in $build format) was converted to $host +# format in TO_PATH. Otherwise, emit an error message, but continue, resetting +# func_to_host_file_result to a simplistic fallback value (see below). +func_convert_path_check () +{ + $debug_cmd + + if test -z "$4" && test -n "$3"; then + func_error "Could not determine the host path corresponding to" + func_error " '$3'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback. This is a deliberately simplistic "conversion" and + # should not be "improved". See libtool.info. + if test "x$1" != "x$2"; then + lt_replace_pathsep_chars="s|$1|$2|g" + func_to_host_path_result=`echo "$3" | + $SED -e "$lt_replace_pathsep_chars"` + else + func_to_host_path_result=$3 + fi + fi +} +# end func_convert_path_check + + +# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG +# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT +# and appending REPL if ORIG matches BACKPAT. +func_convert_path_front_back_pathsep () +{ + $debug_cmd + + case $4 in + $1 ) func_to_host_path_result=$3$func_to_host_path_result + ;; + esac + case $4 in + $2 ) func_append func_to_host_path_result "$3" + ;; + esac +} +# end func_convert_path_front_back_pathsep + + +################################################## +# $build to $host FILE NAME CONVERSION FUNCTIONS # +################################################## +# invoked via '$to_host_file_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# Result will be available in $func_to_host_file_result. + + +# func_to_host_file ARG +# Converts the file name ARG from $build format to $host format. Return result +# in func_to_host_file_result. +func_to_host_file () +{ + $debug_cmd + + $to_host_file_cmd "$1" +} +# end func_to_host_file + + +# func_to_tool_file ARG LAZY +# converts the file name ARG from $build format to toolchain format. Return +# result in func_to_tool_file_result. If the conversion in use is listed +# in (the comma separated) LAZY, no conversion takes place. +func_to_tool_file () +{ + $debug_cmd + + case ,$2, in + *,"$to_tool_file_cmd",*) + func_to_tool_file_result=$1 + ;; + *) + $to_tool_file_cmd "$1" + func_to_tool_file_result=$func_to_host_file_result + ;; + esac +} +# end func_to_tool_file + + +# func_convert_file_noop ARG +# Copy ARG to func_to_host_file_result. +func_convert_file_noop () +{ + func_to_host_file_result=$1 +} +# end func_convert_file_noop + + +# func_convert_file_msys_to_w32 ARG +# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_file_result. +func_convert_file_msys_to_w32 () +{ + $debug_cmd + + func_to_host_file_result=$1 + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_to_host_file_result=$func_convert_core_msys_to_w32_result + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_w32 + + +# func_convert_file_cygwin_to_w32 ARG +# Convert file name ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_file_cygwin_to_w32 () +{ + $debug_cmd + + func_to_host_file_result=$1 + if test -n "$1"; then + # because $build is cygwin, we call "the" cygpath in $PATH; no need to use + # LT_CYGPATH in this case. + func_to_host_file_result=`cygpath -m "$1"` + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_cygwin_to_w32 + + +# func_convert_file_nix_to_w32 ARG +# Convert file name ARG from *nix to w32 format. Requires a wine environment +# and a working winepath. Returns result in func_to_host_file_result. +func_convert_file_nix_to_w32 () +{ + $debug_cmd + + func_to_host_file_result=$1 + if test -n "$1"; then + func_convert_core_file_wine_to_w32 "$1" + func_to_host_file_result=$func_convert_core_file_wine_to_w32_result + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_w32 + + +# func_convert_file_msys_to_cygwin ARG +# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_file_msys_to_cygwin () +{ + $debug_cmd + + func_to_host_file_result=$1 + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_cygpath -u "$func_convert_core_msys_to_w32_result" + func_to_host_file_result=$func_cygpath_result + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_cygwin + + +# func_convert_file_nix_to_cygwin ARG +# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed +# in a wine environment, working winepath, and LT_CYGPATH set. Returns result +# in func_to_host_file_result. +func_convert_file_nix_to_cygwin () +{ + $debug_cmd + + func_to_host_file_result=$1 + if test -n "$1"; then + # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. + func_convert_core_file_wine_to_w32 "$1" + func_cygpath -u "$func_convert_core_file_wine_to_w32_result" + func_to_host_file_result=$func_cygpath_result + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_cygwin + + +############################################# +# $build to $host PATH CONVERSION FUNCTIONS # +############################################# +# invoked via '$to_host_path_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# The result will be available in $func_to_host_path_result. +# +# Path separators are also converted from $build format to $host format. If +# ARG begins or ends with a path separator character, it is preserved (but +# converted to $host format) on output. +# +# All path conversion functions are named using the following convention: +# file name conversion function : func_convert_file_X_to_Y () +# path conversion function : func_convert_path_X_to_Y () +# where, for any given $build/$host combination the 'X_to_Y' value is the +# same. If conversion functions are added for new $build/$host combinations, +# the two new functions must follow this pattern, or func_init_to_host_path_cmd +# will break. + + +# func_init_to_host_path_cmd +# Ensures that function "pointer" variable $to_host_path_cmd is set to the +# appropriate value, based on the value of $to_host_file_cmd. +to_host_path_cmd= +func_init_to_host_path_cmd () +{ + $debug_cmd + + if test -z "$to_host_path_cmd"; then + func_stripname 'func_convert_file_' '' "$to_host_file_cmd" + to_host_path_cmd=func_convert_path_$func_stripname_result + fi +} + + +# func_to_host_path ARG +# Converts the path ARG from $build format to $host format. Return result +# in func_to_host_path_result. +func_to_host_path () +{ + $debug_cmd + + func_init_to_host_path_cmd + $to_host_path_cmd "$1" +} +# end func_to_host_path + + +# func_convert_path_noop ARG +# Copy ARG to func_to_host_path_result. +func_convert_path_noop () +{ + func_to_host_path_result=$1 +} +# end func_convert_path_noop + + +# func_convert_path_msys_to_w32 ARG +# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_path_result. +func_convert_path_msys_to_w32 () +{ + $debug_cmd + + func_to_host_path_result=$1 + if test -n "$1"; then + # Remove leading and trailing path separator characters from ARG. MSYS + # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; + # and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result=$func_convert_core_msys_to_w32_result + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_msys_to_w32 + + +# func_convert_path_cygwin_to_w32 ARG +# Convert path ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_path_cygwin_to_w32 () +{ + $debug_cmd + + func_to_host_path_result=$1 + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_cygwin_to_w32 + + +# func_convert_path_nix_to_w32 ARG +# Convert path ARG from *nix to w32 format. Requires a wine environment and +# a working winepath. Returns result in func_to_host_file_result. +func_convert_path_nix_to_w32 () +{ + $debug_cmd + + func_to_host_path_result=$1 + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result=$func_convert_core_path_wine_to_w32_result + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_nix_to_w32 + + +# func_convert_path_msys_to_cygwin ARG +# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_path_msys_to_cygwin () +{ + $debug_cmd + + func_to_host_path_result=$1 + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_msys_to_w32_result" + func_to_host_path_result=$func_cygpath_result + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_msys_to_cygwin + + +# func_convert_path_nix_to_cygwin ARG +# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a +# a wine environment, working winepath, and LT_CYGPATH set. Returns result in +# func_to_host_file_result. +func_convert_path_nix_to_cygwin () +{ + $debug_cmd + + func_to_host_path_result=$1 + if test -n "$1"; then + # Remove leading and trailing path separator characters from + # ARG. msys behavior is inconsistent here, cygpath turns them + # into '.;' and ';.', and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" + func_to_host_path_result=$func_cygpath_result + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_nix_to_cygwin + + +# func_dll_def_p FILE +# True iff FILE is a Windows DLL '.def' file. +# Keep in sync with _LT_DLL_DEF_P in libtool.m4 +func_dll_def_p () +{ + $debug_cmd + + func_dll_def_p_tmp=`$SED -n \ + -e 's/^[ ]*//' \ + -e '/^\(;.*\)*$/d' \ + -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \ + -e q \ + "$1"` + test DEF = "$func_dll_def_p_tmp" +} + + +# func_mode_compile arg... +func_mode_compile () +{ + $debug_cmd + + # Get the compilation command and the source file. + base_compile= + srcfile=$nonopt # always keep a non-empty value in "srcfile" + suppress_opt=yes + suppress_output= + arg_mode=normal + libobj= + later= + pie_flag= + + for arg + do + case $arg_mode in + arg ) + # do not "continue". Instead, add this to base_compile + lastarg=$arg + arg_mode=normal + ;; + + target ) + libobj=$arg + arg_mode=normal + continue + ;; + + normal ) + # Accept any command-line options. + case $arg in + -o) + test -n "$libobj" && \ + func_fatal_error "you cannot specify '-o' more than once" + arg_mode=target + continue + ;; + + -pie | -fpie | -fPIE) + func_append pie_flag " $arg" + continue + ;; + + -shared | -static | -prefer-pic | -prefer-non-pic) + func_append later " $arg" + continue + ;; + + -no-suppress) + suppress_opt=no + continue + ;; + + -Xcompiler) + arg_mode=arg # the next one goes into the "base_compile" arg list + continue # The current "srcfile" will either be retained or + ;; # replaced later. I would guess that would be a bug. + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + lastarg= + save_ifs=$IFS; IFS=, + for arg in $args; do + IFS=$save_ifs + func_append_quoted lastarg "$arg" + done + IFS=$save_ifs + func_stripname ' ' '' "$lastarg" + lastarg=$func_stripname_result + + # Add the arguments to base_compile. + func_append base_compile " $lastarg" + continue + ;; + + *) + # Accept the current argument as the source file. + # The previous "srcfile" becomes the current argument. + # + lastarg=$srcfile + srcfile=$arg + ;; + esac # case $arg + ;; + esac # case $arg_mode + + # Aesthetically quote the previous argument. + func_append_quoted base_compile "$lastarg" + done # for arg + + case $arg_mode in + arg) + func_fatal_error "you must specify an argument for -Xcompile" + ;; + target) + func_fatal_error "you must specify a target with '-o'" + ;; + *) + # Get the name of the library object. + test -z "$libobj" && { + func_basename "$srcfile" + libobj=$func_basename_result + } + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + case $libobj in + *.[cCFSifmso] | \ + *.ada | *.adb | *.ads | *.asm | \ + *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ + *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) + func_xform "$libobj" + libobj=$func_xform_result + ;; + esac + + case $libobj in + *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; + *) + func_fatal_error "cannot determine name of library object from '$libobj'" + ;; + esac + + func_infer_tag $base_compile + + for arg in $later; do + case $arg in + -shared) + test yes = "$build_libtool_libs" \ + || func_fatal_configuration "cannot build a shared library" + build_old_libs=no + continue + ;; + + -static) + build_libtool_libs=no + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + esac + done + + func_quote_for_eval "$libobj" + test "X$libobj" != "X$func_quote_for_eval_result" \ + && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ + && func_warning "libobj name '$libobj' may not contain shell special characters." + func_dirname_and_basename "$obj" "/" "" + objname=$func_basename_result + xdir=$func_dirname_result + lobj=$xdir$objdir/$objname + + test -z "$base_compile" && \ + func_fatal_help "you must specify a compilation command" + + # Delete any leftover library objects. + if test yes = "$build_old_libs"; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2* | cegcc*) + pic_mode=default + ;; + esac + if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test no = "$compiler_c_o"; then + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext + lockfile=$output_obj.lock + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test yes = "$need_locks"; then + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + elif test warn = "$need_locks"; then + if test -f "$lockfile"; then + $ECHO "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support '-c' and '-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + func_append removelist " $output_obj" + $ECHO "$srcfile" > "$lockfile" + fi + + $opt_dry_run || $RM $removelist + func_append removelist " $lockfile" + trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 + + func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 + srcfile=$func_to_tool_file_result + func_quote_for_eval "$srcfile" + qsrcfile=$func_quote_for_eval_result + + # Only build a PIC object if we are building libtool libraries. + if test yes = "$build_libtool_libs"; then + # Without this assignment, base_compile gets emptied. + fbsd_hideous_sh_bug=$base_compile + + if test no != "$pic_mode"; then + command="$base_compile $qsrcfile $pic_flag" + else + # Don't build PIC code + command="$base_compile $qsrcfile" + fi + + func_mkdir_p "$xdir$objdir" + + if test -z "$output_obj"; then + # Place PIC objects in $objdir + func_append command " -o $lobj" + fi + + func_show_eval_locale "$command" \ + 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' + + if test warn = "$need_locks" && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support '-c' and '-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + func_show_eval '$MV "$output_obj" "$lobj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + + # Allow error messages only from the first compilation. + if test yes = "$suppress_opt"; then + suppress_output=' >/dev/null 2>&1' + fi + fi + + # Only build a position-dependent object if we build old libraries. + if test yes = "$build_old_libs"; then + if test yes != "$pic_mode"; then + # Don't build PIC code + command="$base_compile $qsrcfile$pie_flag" + else + command="$base_compile $qsrcfile $pic_flag" + fi + if test yes = "$compiler_c_o"; then + func_append command " -o $obj" + fi + + # Suppress compiler output if we already did a PIC compilation. + func_append command "$suppress_output" + func_show_eval_locale "$command" \ + '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' + + if test warn = "$need_locks" && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support '-c' and '-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + func_show_eval '$MV "$output_obj" "$obj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + fi + + $opt_dry_run || { + func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" + + # Unlock the critical section if it was locked + if test no != "$need_locks"; then + removelist=$lockfile + $RM "$lockfile" + fi + } + + exit $EXIT_SUCCESS +} + +$opt_help || { + test compile = "$opt_mode" && func_mode_compile ${1+"$@"} +} + +func_mode_help () +{ + # We need to display help for each of the modes. + case $opt_mode in + "") + # Generic help is extracted from the usage comments + # at the start of this file. + func_help + ;; + + clean) + $ECHO \ +"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... + +Remove files from the build directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed +to RM. + +If FILE is a libtool library, object or program, all the files associated +with it are deleted. Otherwise, only FILE itself is deleted using RM." + ;; + + compile) + $ECHO \ +"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE + +Compile a source file into a libtool library object. + +This mode accepts the following additional options: + + -o OUTPUT-FILE set the output file name to OUTPUT-FILE + -no-suppress do not suppress compiler output for multiple passes + -prefer-pic try to build PIC objects only + -prefer-non-pic try to build non-PIC objects only + -shared do not build a '.o' file suitable for static linking + -static only build a '.o' file suitable for static linking + -Wc,FLAG pass FLAG directly to the compiler + +COMPILE-COMMAND is a command to be used in creating a 'standard' object file +from the given SOURCEFILE. + +The output file name is determined by removing the directory component from +SOURCEFILE, then substituting the C source code suffix '.c' with the +library object suffix, '.lo'." + ;; + + execute) + $ECHO \ +"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... + +Automatically set library path, then run a program. + +This mode accepts the following additional options: + + -dlopen FILE add the directory containing FILE to the library path + +This mode sets the library path environment variable according to '-dlopen' +flags. + +If any of the ARGS are libtool executable wrappers, then they are translated +into their corresponding uninstalled binary, and any of their required library +directories are added to the library path. + +Then, COMMAND is executed, with ARGS as arguments." + ;; + + finish) + $ECHO \ +"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... + +Complete the installation of libtool libraries. + +Each LIBDIR is a directory that contains libtool libraries. + +The commands that this mode executes may require superuser privileges. Use +the '--dry-run' option if you just want to see what would be executed." + ;; + + install) + $ECHO \ +"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... + +Install executables or libraries. + +INSTALL-COMMAND is the installation command. The first component should be +either the 'install' or 'cp' program. + +The following components of INSTALL-COMMAND are treated specially: + + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation + +The rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + + link) + $ECHO \ +"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... + +Link object files or libraries together to form another library, or to +create an executable program. + +LINK-COMMAND is a command using the C compiler that you would use to create +a program from several object files. + +The following components of LINK-COMMAND are treated specially: + + -all-static do not do any dynamic linking at all + -avoid-version do not add a version suffix if possible + -bindir BINDIR specify path to binaries directory (for systems where + libraries must be found in the PATH setting at runtime) + -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) + -export-symbols SYMFILE + try to export only the symbols listed in SYMFILE + -export-symbols-regex REGEX + try to export only the symbols matching REGEX + -LLIBDIR search LIBDIR for required installed libraries + -lNAME OUTPUT-FILE requires the installed library libNAME + -module build a library that can dlopened + -no-fast-install disable the fast-install mode + -no-install link a not-installable executable + -no-undefined declare that a library does not refer to external symbols + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects + -objectlist FILE use a list of object files found in FILE to specify objects + -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes) + -precious-files-regex REGEX + don't remove output files matching REGEX + -release RELEASE specify package release information + -rpath LIBDIR the created library will eventually be installed in LIBDIR + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries + -shared only do dynamic linking of libtool libraries + -shrext SUFFIX override the standard shared library file extension + -static do not do any dynamic linking of uninstalled libtool libraries + -static-libtool-libs + do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + -weak LIBNAME declare that the target provides the LIBNAME interface + -Wc,FLAG + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler + -Wl,FLAG + -Xlinker FLAG pass linker-specific FLAG directly to the linker + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) + +All other options (arguments beginning with '-') are ignored. + +Every other argument is treated as a filename. Files ending in '.la' are +treated as uninstalled libtool libraries, other files are standard or library +object files. + +If the OUTPUT-FILE ends in '.la', then a libtool library is created, +only library objects ('.lo' files) may be specified, and '-rpath' is +required, except when creating a convenience library. + +If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created +using 'ar' and 'ranlib', or on Windows using 'lib'. + +If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file +is created, otherwise an executable program is created." + ;; + + uninstall) + $ECHO \ +"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... + +Remove libraries from an installation directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed +to RM. + +If FILE is a libtool library, all the files associated with it are deleted. +Otherwise, only FILE itself is deleted using RM." + ;; + + *) + func_fatal_help "invalid operation mode '$opt_mode'" + ;; + esac + + echo + $ECHO "Try '$progname --help' for more information about other modes." +} + +# Now that we've collected a possible --mode arg, show help if necessary +if $opt_help; then + if test : = "$opt_help"; then + func_mode_help + else + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + func_mode_help + done + } | $SED -n '1p; 2,$s/^Usage:/ or: /p' + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + echo + func_mode_help + done + } | + $SED '1d + /^When reporting/,/^Report/{ + H + d + } + $x + /information about other modes/d + /more detailed .*MODE/d + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' + fi + exit $? +fi + + +# func_mode_execute arg... +func_mode_execute () +{ + $debug_cmd + + # The first argument is the command name. + cmd=$nonopt + test -z "$cmd" && \ + func_fatal_help "you must specify a COMMAND" + + # Handle -dlopen flags immediately. + for file in $opt_dlopen; do + test -f "$file" \ + || func_fatal_help "'$file' is not a file" + + dir= + case $file in + *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "'$lib' is not a valid libtool archive" + + # Read the libtool library. + dlname= + library_names= + func_source "$file" + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && \ + func_warning "'$file' was not linked with '-export-dynamic'" + continue + fi + + func_dirname "$file" "" "." + dir=$func_dirname_result + + if test -f "$dir/$objdir/$dlname"; then + func_append dir "/$objdir" + else + if test ! -f "$dir/$dlname"; then + func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'" + fi + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + func_dirname "$file" "" "." + dir=$func_dirname_result + ;; + + *) + func_warning "'-dlopen' is ignored for non-libtool libraries and objects" + continue + ;; + esac + + # Get the absolute pathname. + absdir=`cd "$dir" && pwd` + test -n "$absdir" && dir=$absdir + + # Now add the directory to shlibpath_var. + if eval "test -z \"\$$shlibpath_var\""; then + eval "$shlibpath_var=\"\$dir\"" + else + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" + fi + done + + # This variable tells wrapper scripts just to set shlibpath_var + # rather than running their programs. + libtool_execute_magic=$magic + + # Check if any of the arguments is a wrapper script. + args= + for file + do + case $file in + -* | *.la | *.lo ) ;; + *) + # Do a test to see if this is really a libtool program. + if func_ltwrapper_script_p "$file"; then + func_source "$file" + # Transform arg to wrapped name. + file=$progdir/$program + elif func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + func_source "$func_ltwrapper_scriptname_result" + # Transform arg to wrapped name. + file=$progdir/$program + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + func_append_quoted args "$file" + done + + if $opt_dry_run; then + # Display what would be done. + if test -n "$shlibpath_var"; then + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" + echo "export $shlibpath_var" + fi + $ECHO "$cmd$args" + exit $EXIT_SUCCESS + else + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved environment variables + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES + do + eval "if test \"\${save_$lt_var+set}\" = set; then + $lt_var=\$save_$lt_var; export $lt_var + else + $lt_unset $lt_var + fi" + done + + # Now prepare to actually exec the command. + exec_cmd=\$cmd$args + fi +} + +test execute = "$opt_mode" && func_mode_execute ${1+"$@"} + + +# func_mode_finish arg... +func_mode_finish () +{ + $debug_cmd + + libs= + libdirs= + admincmds= + + for opt in "$nonopt" ${1+"$@"} + do + if test -d "$opt"; then + func_append libdirs " $opt" + + elif test -f "$opt"; then + if func_lalib_unsafe_p "$opt"; then + func_append libs " $opt" + else + func_warning "'$opt' is not a valid libtool archive" + fi + + else + func_fatal_error "invalid argument '$opt'" + fi + done + + if test -n "$libs"; then + if test -n "$lt_sysroot"; then + sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` + sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" + else + sysroot_cmd= + fi + + # Remove sysroot references + if $opt_dry_run; then + for lib in $libs; do + echo "removing references to $lt_sysroot and '=' prefixes from $lib" + done + else + tmpdir=`func_mktempdir` + for lib in $libs; do + $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ + > $tmpdir/tmp-la + mv -f $tmpdir/tmp-la $lib + done + ${RM}r "$tmpdir" + fi + fi + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + func_execute_cmds "$finish_cmds" 'admincmds="$admincmds +'"$cmd"'"' + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $opt_dry_run || eval "$cmds" || func_append admincmds " + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + $opt_quiet && exit $EXIT_SUCCESS + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + echo "----------------------------------------------------------------------" + echo "Libraries have been installed in:" + for libdir in $libdirs; do + $ECHO " $libdir" + done + echo + echo "If you ever happen to want to link against installed libraries" + echo "in a given directory, LIBDIR, you must either use libtool, and" + echo "specify the full pathname of the library, or use the '-LLIBDIR'" + echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + echo " - add LIBDIR to the '$shlibpath_var' environment variable" + echo " during execution" + fi + if test -n "$runpath_var"; then + echo " - add LIBDIR to the '$runpath_var' environment variable" + echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + $ECHO " - use the '$flag' linker flag" + fi + if test -n "$admincmds"; then + $ECHO " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'" + fi + echo + + echo "See any operating system documentation about shared libraries for" + case $host in + solaris2.[6789]|solaris2.1[0-9]) + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" + echo "pages." + ;; + *) + echo "more information, such as the ld(1) and ld.so(8) manual pages." + ;; + esac + echo "----------------------------------------------------------------------" + fi + exit $EXIT_SUCCESS +} + +test finish = "$opt_mode" && func_mode_finish ${1+"$@"} + + +# func_mode_install arg... +func_mode_install () +{ + $debug_cmd + + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" || + # Allow the use of GNU shtool's install command. + case $nonopt in *shtool*) :;; *) false;; esac + then + # Aesthetically quote it. + func_quote_for_eval "$nonopt" + install_prog="$func_quote_for_eval_result " + arg=$1 + shift + else + install_prog= + arg=$nonopt + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + func_quote_for_eval "$arg" + func_append install_prog "$func_quote_for_eval_result" + install_shared_prog=$install_prog + case " $install_prog " in + *[\\\ /]cp\ *) install_cp=: ;; + *) install_cp=false ;; + esac + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=false + stripme= + no_mode=: + for arg + do + arg2= + if test -n "$dest"; then + func_append files " $dest" + dest=$arg + continue + fi + + case $arg in + -d) isdir=: ;; + -f) + if $install_cp; then :; else + prev=$arg + fi + ;; + -g | -m | -o) + prev=$arg + ;; + -s) + stripme=" -s" + continue + ;; + -*) + ;; + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + if test X-m = "X$prev" && test -n "$install_override_mode"; then + arg2=$install_override_mode + no_mode=false + fi + prev= + else + dest=$arg + continue + fi + ;; + esac + + # Aesthetically quote the argument. + func_quote_for_eval "$arg" + func_append install_prog " $func_quote_for_eval_result" + if test -n "$arg2"; then + func_quote_for_eval "$arg2" + fi + func_append install_shared_prog " $func_quote_for_eval_result" + done + + test -z "$install_prog" && \ + func_fatal_help "you must specify an install program" + + test -n "$prev" && \ + func_fatal_help "the '$prev' option requires an argument" + + if test -n "$install_override_mode" && $no_mode; then + if $install_cp; then :; else + func_quote_for_eval "$install_override_mode" + func_append install_shared_prog " -m $func_quote_for_eval_result" + fi + fi + + if test -z "$files"; then + if test -z "$dest"; then + func_fatal_help "no file or destination specified" + else + func_fatal_help "you must specify a destination" + fi + fi + + # Strip any trailing slash from the destination. + func_stripname '' '/' "$dest" + dest=$func_stripname_result + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=: + if $isdir; then + destdir=$dest + destname= + else + func_dirname_and_basename "$dest" "" "." + destdir=$func_dirname_result + destname=$func_basename_result + + # Not a directory, so check to see that there is only one file specified. + set dummy $files; shift + test "$#" -gt 1 && \ + func_fatal_help "'$dest' is not a directory" + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + func_fatal_help "'$destdir' must be an absolute directory name" + ;; + esac + done + ;; + esac + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic=$magic + + staticlibs= + future_libdirs= + current_libdirs= + for file in $files; do + + # Do each installation. + case $file in + *.$libext) + # Do the static libraries later. + func_append staticlibs " $file" + ;; + + *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "'$file' is not a valid libtool archive" + + library_names= + old_library= + relink_command= + func_source "$file" + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) func_append current_libdirs " $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) func_append future_libdirs " $libdir" ;; + esac + fi + + func_dirname "$file" "/" "" + dir=$func_dirname_result + func_append dir "$objdir" + + if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + # At present, this check doesn't affect windows .dll's that + # are installed into $libdir/../bin (currently, that works fine) + # but it's something to keep an eye on. + test "$inst_prefix_dir" = "$destdir" && \ + func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir" + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + else + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` + fi + + func_warning "relinking '$file'" + func_show_eval "$relink_command" \ + 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"' + fi + + # See the names of the shared library. + set dummy $library_names; shift + if test -n "$1"; then + realname=$1 + shift + + srcname=$realname + test -n "$relink_command" && srcname=${realname}T + + # Install the shared library and build the symlinks. + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ + 'exit $?' + tstripme=$stripme + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + case $realname in + *.dll.a) + tstripme= + ;; + esac + ;; + os2*) + case $realname in + *_dll.a) + tstripme= + ;; + esac + ;; + esac + if test -n "$tstripme" && test -n "$striplib"; then + func_show_eval "$striplib $destdir/$realname" 'exit $?' + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + # Try 'ln -sf' first, because the 'ln' binary might depend on + # the symlink we replace! Solaris /bin/ln does not understand -f, + # so we also need to try rm && ln -s. + for linkname + do + test "$linkname" != "$realname" \ + && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" + done + fi + + # Do each command in the postinstall commands. + lib=$destdir/$realname + func_execute_cmds "$postinstall_cmds" 'exit $?' + fi + + # Install the pseudo-library for information purposes. + func_basename "$file" + name=$func_basename_result + instname=$dir/${name}i + func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' + + # Maybe install the static library, too. + test -n "$old_library" && func_append staticlibs " $dir/$old_library" + ;; + + *.lo) + # Install (i.e. copy) a libtool object. + + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile=$destdir/$destname + else + func_basename "$file" + destfile=$func_basename_result + destfile=$destdir/$destfile + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + func_lo2o "$destfile" + staticdest=$func_lo2o_result + ;; + *.$objext) + staticdest=$destfile + destfile= + ;; + *) + func_fatal_help "cannot copy a libtool object to '$destfile'" + ;; + esac + + # Install the libtool object if requested. + test -n "$destfile" && \ + func_show_eval "$install_prog $file $destfile" 'exit $?' + + # Install the old object if enabled. + if test yes = "$build_old_libs"; then + # Deduce the name of the old-style object file. + func_lo2o "$file" + staticobj=$func_lo2o_result + func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' + fi + exit $EXIT_SUCCESS + ;; + + *) + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile=$destdir/$destname + else + func_basename "$file" + destfile=$func_basename_result + destfile=$destdir/$destfile + fi + + # If the file is missing, and there is a .exe on the end, strip it + # because it is most likely a libtool script we actually want to + # install + stripped_ext= + case $file in + *.exe) + if test ! -f "$file"; then + func_stripname '' '.exe' "$file" + file=$func_stripname_result + stripped_ext=.exe + fi + ;; + esac + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin* | *mingw*) + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + wrapper=$func_ltwrapper_scriptname_result + else + func_stripname '' '.exe' "$file" + wrapper=$func_stripname_result + fi + ;; + *) + wrapper=$file + ;; + esac + if func_ltwrapper_script_p "$wrapper"; then + notinst_deplibs= + relink_command= + + func_source "$wrapper" + + # Check the variables that should have been set. + test -z "$generated_by_libtool_version" && \ + func_fatal_error "invalid libtool wrapper script '$wrapper'" + + finalize=: + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + func_source "$lib" + fi + libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'` + if test -n "$libdir" && test ! -f "$libfile"; then + func_warning "'$lib' has not been installed in '$libdir'" + finalize=false + fi + done + + relink_command= + func_source "$wrapper" + + outputname= + if test no = "$fast_install" && test -n "$relink_command"; then + $opt_dry_run || { + if $finalize; then + tmpdir=`func_mktempdir` + func_basename "$file$stripped_ext" + file=$func_basename_result + outputname=$tmpdir/$file + # Replace the output file specification. + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` + + $opt_quiet || { + func_quote_for_expand "$relink_command" + eval "func_echo $func_quote_for_expand_result" + } + if eval "$relink_command"; then : + else + func_error "error: relink '$file' with the above command before installing it" + $opt_dry_run || ${RM}r "$tmpdir" + continue + fi + file=$outputname + else + func_warning "cannot relink '$file'" + fi + } + else + # Install the binary that we compiled earlier. + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyway + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + func_stripname '' '.exe' "$destfile" + destfile=$func_stripname_result + ;; + esac + ;; + esac + func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' + $opt_dry_run || if test -n "$outputname"; then + ${RM}r "$tmpdir" + fi + ;; + esac + done + + for file in $staticlibs; do + func_basename "$file" + name=$func_basename_result + + # Set up the ranlib parameters. + oldlib=$destdir/$name + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result + + func_show_eval "$install_prog \$file \$oldlib" 'exit $?' + + if test -n "$stripme" && test -n "$old_striplib"; then + func_show_eval "$old_striplib $tool_oldlib" 'exit $?' + fi + + # Do each command in the postinstall commands. + func_execute_cmds "$old_postinstall_cmds" 'exit $?' + done + + test -n "$future_libdirs" && \ + func_warning "remember to run '$progname --finish$future_libdirs'" + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + $opt_dry_run && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs' + else + exit $EXIT_SUCCESS + fi +} + +test install = "$opt_mode" && func_mode_install ${1+"$@"} + + +# func_generate_dlsyms outputname originator pic_p +# Extract symbols from dlprefiles and create ${outputname}S.o with +# a dlpreopen symbol table. +func_generate_dlsyms () +{ + $debug_cmd + + my_outputname=$1 + my_originator=$2 + my_pic_p=${3-false} + my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'` + my_dlsyms= + + if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + my_dlsyms=${my_outputname}S.c + else + func_error "not configured to extract global symbols from dlpreopened files" + fi + fi + + if test -n "$my_dlsyms"; then + case $my_dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist=$output_objdir/$my_outputname.nm + + func_show_eval "$RM $nlist ${nlist}S ${nlist}T" + + # Parse the name list into a source file. + func_verbose "creating $output_objdir/$my_dlsyms" + + $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ +/* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */ +/* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +#if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" +#endif + +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE +/* DATA imports from DLLs on WIN32 can't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined __osf__ +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + +#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) + +/* External symbol declarations for the compiler. */\ +" + + if test yes = "$dlself"; then + func_verbose "generating symbol list for '$output'" + + $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` + for progfile in $progfiles; do + func_to_tool_file "$progfile" func_convert_file_msys_to_w32 + func_verbose "extracting global C symbols from '$func_to_tool_file_result'" + $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $opt_dry_run || { + eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + if test -n "$export_symbols_regex"; then + $opt_dry_run || { + eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols=$output_objdir/$outputname.exp + $opt_dry_run || { + $RM $export_symbols + eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' + ;; + esac + } + else + $opt_dry_run || { + eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' + eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' + ;; + esac + } + fi + fi + + for dlprefile in $dlprefiles; do + func_verbose "extracting global C symbols from '$dlprefile'" + func_basename "$dlprefile" + name=$func_basename_result + case $host in + *cygwin* | *mingw* | *cegcc* ) + # if an import library, we need to obtain dlname + if func_win32_import_lib_p "$dlprefile"; then + func_tr_sh "$dlprefile" + eval "curr_lafile=\$libfile_$func_tr_sh_result" + dlprefile_dlbasename= + if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then + # Use subshell, to avoid clobbering current variable values + dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` + if test -n "$dlprefile_dlname"; then + func_basename "$dlprefile_dlname" + dlprefile_dlbasename=$func_basename_result + else + # no lafile. user explicitly requested -dlpreopen . + $sharedlib_from_linklib_cmd "$dlprefile" + dlprefile_dlbasename=$sharedlib_from_linklib_result + fi + fi + $opt_dry_run || { + if test -n "$dlprefile_dlbasename"; then + eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' + else + func_warning "Could not compute DLL name from $name" + eval '$ECHO ": $name " >> "$nlist"' + fi + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" + } + else # not an import lib + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + fi + ;; + *) + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + ;; + esac + done + + $opt_dry_run || { + # Make sure we have at least an empty file. + test -f "$nlist" || : > "$nlist" + + if test -n "$exclude_expsyms"; then + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T + $MV "$nlist"T "$nlist" + fi + + # Try sorting and uniquifying the output. + if $GREP -v "^: " < "$nlist" | + if sort -k 3 /dev/null 2>&1; then + sort -k 3 + else + sort +2 + fi | + uniq > "$nlist"S; then + : + else + $GREP -v "^: " < "$nlist" > "$nlist"S + fi + + if test -f "$nlist"S; then + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' + else + echo '/* NONE */' >> "$output_objdir/$my_dlsyms" + fi + + func_show_eval '$RM "${nlist}I"' + if test -n "$global_symbol_to_import"; then + eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I' + fi + + echo >> "$output_objdir/$my_dlsyms" "\ + +/* The mapping between symbol names and symbols. */ +typedef struct { + const char *name; + void *address; +} lt_dlsymlist; +extern LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[];\ +" + + if test -s "$nlist"I; then + echo >> "$output_objdir/$my_dlsyms" "\ +static void lt_syminit(void) +{ + LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols; + for (; symbol->name; ++symbol) + {" + $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms" + echo >> "$output_objdir/$my_dlsyms" "\ + } +}" + fi + echo >> "$output_objdir/$my_dlsyms" "\ +LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[] = +{ {\"$my_originator\", (void *) 0}," + + if test -s "$nlist"I; then + echo >> "$output_objdir/$my_dlsyms" "\ + {\"@INIT@\", (void *) <_syminit}," + fi + + case $need_lib_prefix in + no) + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + *) + eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + esac + echo >> "$output_objdir/$my_dlsyms" "\ + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_${my_prefix}_LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + } # !$opt_dry_run + + pic_flag_for_symtable= + case "$compile_command " in + *" -static "*) ;; + *) + case $host in + # compiling the symbol table file with pic_flag works around + # a FreeBSD bug that causes programs to crash when -lm is + # linked before any other PIC object. But we must not use + # pic_flag when linking with -static. The problem exists in + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. + *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; + *-*-hpux*) + pic_flag_for_symtable=" $pic_flag" ;; + *) + $my_pic_p && pic_flag_for_symtable=" $pic_flag" + ;; + esac + ;; + esac + symtab_cflags= + for arg in $LTCFLAGS; do + case $arg in + -pie | -fpie | -fPIE) ;; + *) func_append symtab_cflags " $arg" ;; + esac + done + + # Now compile the dynamic symbol file. + func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' + + # Clean up the generated files. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"' + + # Transform the symbol file into the correct name. + symfileobj=$output_objdir/${my_outputname}S.$objext + case $host in + *cygwin* | *mingw* | *cegcc* ) + if test -f "$output_objdir/$my_outputname.def"; then + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + else + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` + fi + ;; + *) + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` + ;; + esac + ;; + *) + func_fatal_error "unknown suffix for '$my_dlsyms'" + ;; + esac + else + # We keep going just in case the user didn't refer to + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe + # really was required. + + # Nullify the symbol file. + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` + fi +} + +# func_cygming_gnu_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is a GNU/binutils-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_gnu_implib_p () +{ + $debug_cmd + + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` + test -n "$func_cygming_gnu_implib_tmp" +} + +# func_cygming_ms_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is an MS-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_ms_implib_p () +{ + $debug_cmd + + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` + test -n "$func_cygming_ms_implib_tmp" +} + +# func_win32_libid arg +# return the library type of file 'arg' +# +# Need a lot of goo to handle *both* DLLs and import libs +# Has to be a shell function in order to 'eat' the argument +# that is supplied when $file_magic_command is called. +# Despite the name, also deal with 64 bit binaries. +func_win32_libid () +{ + $debug_cmd + + win32_libid_type=unknown + win32_fileres=`file -L $1 2>/dev/null` + case $win32_fileres in + *ar\ archive\ import\ library*) # definitely import + win32_libid_type="x86 archive import" + ;; + *ar\ archive*) # could be an import, or static + # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then + case $nm_interface in + "MS dumpbin") + if func_cygming_ms_implib_p "$1" || + func_cygming_gnu_implib_p "$1" + then + win32_nmres=import + else + win32_nmres= + fi + ;; + *) + func_to_tool_file "$1" func_convert_file_msys_to_w32 + win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | + $SED -n -e ' + 1,100{ + / I /{ + s|.*|import| + p + q + } + }'` + ;; + esac + case $win32_nmres in + import*) win32_libid_type="x86 archive import";; + *) win32_libid_type="x86 archive static";; + esac + fi + ;; + *DLL*) + win32_libid_type="x86 DLL" + ;; + *executable*) # but shell scripts are "executable" too... + case $win32_fileres in + *MS\ Windows\ PE\ Intel*) + win32_libid_type="x86 DLL" + ;; + esac + ;; + esac + $ECHO "$win32_libid_type" +} + +# func_cygming_dll_for_implib ARG +# +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib () +{ + $debug_cmd + + sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` +} + +# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs +# +# The is the core of a fallback implementation of a +# platform-specific function to extract the name of the +# DLL associated with the specified import library LIBNAME. +# +# SECTION_NAME is either .idata$6 or .idata$7, depending +# on the platform and compiler that created the implib. +# +# Echos the name of the DLL associated with the +# specified import library. +func_cygming_dll_for_implib_fallback_core () +{ + $debug_cmd + + match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` + $OBJDUMP -s --section "$1" "$2" 2>/dev/null | + $SED '/^Contents of section '"$match_literal"':/{ + # Place marker at beginning of archive member dllname section + s/.*/====MARK====/ + p + d + } + # These lines can sometimes be longer than 43 characters, but + # are always uninteresting + /:[ ]*file format pe[i]\{,1\}-/d + /^In archive [^:]*:/d + # Ensure marker is printed + /^====MARK====/p + # Remove all lines with less than 43 characters + /^.\{43\}/!d + # From remaining lines, remove first 43 characters + s/^.\{43\}//' | + $SED -n ' + # Join marker and all lines until next marker into a single line + /^====MARK====/ b para + H + $ b para + b + :para + x + s/\n//g + # Remove the marker + s/^====MARK====// + # Remove trailing dots and whitespace + s/[\. \t]*$// + # Print + /./p' | + # we now have a list, one entry per line, of the stringified + # contents of the appropriate section of all members of the + # archive that possess that section. Heuristic: eliminate + # all those that have a first or second character that is + # a '.' (that is, objdump's representation of an unprintable + # character.) This should work for all archives with less than + # 0x302f exports -- but will fail for DLLs whose name actually + # begins with a literal '.' or a single character followed by + # a '.'. + # + # Of those that remain, print the first one. + $SED -e '/^\./d;/^.\./d;q' +} + +# func_cygming_dll_for_implib_fallback ARG +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# +# This fallback implementation is for use when $DLLTOOL +# does not support the --identify-strict option. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib_fallback () +{ + $debug_cmd + + if func_cygming_gnu_implib_p "$1"; then + # binutils import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` + elif func_cygming_ms_implib_p "$1"; then + # ms-generated import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` + else + # unknown + sharedlib_from_linklib_result= + fi +} + + +# func_extract_an_archive dir oldlib +func_extract_an_archive () +{ + $debug_cmd + + f_ex_an_ar_dir=$1; shift + f_ex_an_ar_oldlib=$1 + if test yes = "$lock_old_archive_extraction"; then + lockfile=$f_ex_an_ar_oldlib.lock + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + fi + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ + 'stat=$?; rm -f "$lockfile"; exit $stat' + if test yes = "$lock_old_archive_extraction"; then + $opt_dry_run || rm -f "$lockfile" + fi + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then + : + else + func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" + fi +} + + +# func_extract_archives gentop oldlib ... +func_extract_archives () +{ + $debug_cmd + + my_gentop=$1; shift + my_oldlibs=${1+"$@"} + my_oldobjs= + my_xlib= + my_xabs= + my_xdir= + + for my_xlib in $my_oldlibs; do + # Extract the objects. + case $my_xlib in + [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;; + *) my_xabs=`pwd`"/$my_xlib" ;; + esac + func_basename "$my_xlib" + my_xlib=$func_basename_result + my_xlib_u=$my_xlib + while :; do + case " $extracted_archives " in + *" $my_xlib_u "*) + func_arith $extracted_serial + 1 + extracted_serial=$func_arith_result + my_xlib_u=lt$extracted_serial-$my_xlib ;; + *) break ;; + esac + done + extracted_archives="$extracted_archives $my_xlib_u" + my_xdir=$my_gentop/$my_xlib_u + + func_mkdir_p "$my_xdir" + + case $host in + *-darwin*) + func_verbose "Extracting $my_xabs" + # Do not bother doing anything if just a dry run + $opt_dry_run || { + darwin_orig_dir=`pwd` + cd $my_xdir || exit $? + darwin_archive=$my_xabs + darwin_curdir=`pwd` + func_basename "$darwin_archive" + darwin_base_archive=$func_basename_result + darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` + if test -n "$darwin_arches"; then + darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` + darwin_arch= + func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" + for darwin_arch in $darwin_arches; do + func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch" + $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive" + cd "unfat-$$/$darwin_base_archive-$darwin_arch" + func_extract_an_archive "`pwd`" "$darwin_base_archive" + cd "$darwin_curdir" + $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" + done # $darwin_arches + ## Okay now we've a bunch of thin objects, gotta fatten them up :) + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u` + darwin_file= + darwin_files= + for darwin_file in $darwin_filelist; do + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` + $LIPO -create -output "$darwin_file" $darwin_files + done # $darwin_filelist + $RM -rf unfat-$$ + cd "$darwin_orig_dir" + else + cd $darwin_orig_dir + func_extract_an_archive "$my_xdir" "$my_xabs" + fi # $darwin_arches + } # !$opt_dry_run + ;; + *) + func_extract_an_archive "$my_xdir" "$my_xabs" + ;; + esac + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` + done + + func_extract_archives_result=$my_oldobjs +} + + +# func_emit_wrapper [arg=no] +# +# Emit a libtool wrapper script on stdout. +# Don't directly open a file because we may want to +# incorporate the script contents within a cygwin/mingw +# wrapper executable. Must ONLY be called from within +# func_mode_link because it depends on a number of variables +# set therein. +# +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR +# variable will take. If 'yes', then the emitted script +# will assume that the directory where it is stored is +# the $objdir directory. This is a cygwin/mingw-specific +# behavior. +func_emit_wrapper () +{ + func_emit_wrapper_arg1=${1-no} + + $ECHO "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM (GNU $PACKAGE) $VERSION +# +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='$sed_quote_subst' + +# Be Bourne compatible +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variables: + generated_by_libtool_version='$macro_version' + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$ECHO are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + file=\"\$0\"" + + qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` + $ECHO "\ + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + ECHO=\"$qECHO\" + fi + +# Very basic option parsing. These options are (a) specific to +# the libtool wrapper, (b) are identical between the wrapper +# /script/ and the wrapper /executable/ that is used only on +# windows platforms, and (c) all begin with the string "--lt-" +# (application programs are unlikely to have options that match +# this pattern). +# +# There are only two supported options: --lt-debug and +# --lt-dump-script. There is, deliberately, no --lt-help. +# +# The first argument to this parsing function should be the +# script's $0 value, followed by "$@". +lt_option_debug= +func_parse_lt_options () +{ + lt_script_arg0=\$0 + shift + for lt_opt + do + case \"\$lt_opt\" in + --lt-debug) lt_option_debug=1 ;; + --lt-dump-script) + lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` + test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. + lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` + cat \"\$lt_dump_D/\$lt_dump_F\" + exit 0 + ;; + --lt-*) + \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 + exit 1 + ;; + esac + done + + # Print the debug banner immediately: + if test -n \"\$lt_option_debug\"; then + echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2 + fi +} + +# Used when --lt-debug. Prints its arguments to stdout +# (redirection is the responsibility of the caller) +func_lt_dump_args () +{ + lt_dump_args_N=1; + for lt_arg + do + \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\" + lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` + done +} + +# Core function for launching the target application +func_exec_program_core () +{ +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2* | *-cegcc*) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} +" + ;; + + *) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir/\$program\" \${1+\"\$@\"} +" + ;; + esac + $ECHO "\ + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 + exit 1 +} + +# A function to encapsulate launching the target application +# Strips options in the --lt-* namespace from \$@ and +# launches target application with the remaining arguments. +func_exec_program () +{ + case \" \$* \" in + *\\ --lt-*) + for lt_wr_arg + do + case \$lt_wr_arg in + --lt-*) ;; + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; + esac + shift + done ;; + esac + func_exec_program_core \${1+\"\$@\"} +} + + # Parse options + func_parse_lt_options \"\$0\" \${1+\"\$@\"} + + # Find the directory that this script lives in. + thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` + done + + # Usually 'no', except on cygwin/mingw when embedded into + # the cwrapper. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then + # special case for '.' + if test \"\$thisdir\" = \".\"; then + thisdir=\`pwd\` + fi + # remove .libs from thisdir + case \"\$thisdir\" in + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; + $objdir ) thisdir=. ;; + esac + fi + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test yes = "$fast_install"; then + $ECHO "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $MKDIR \"\$progdir\" + else + $RM \"\$progdir/\$file\" + fi" + + $ECHO "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + \$ECHO \"\$relink_command_output\" >&2 + $RM \"\$progdir/\$file\" + exit 1 + fi + fi + + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $RM \"\$progdir/\$program\"; + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $RM \"\$progdir/\$file\" + fi" + else + $ECHO "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $ECHO "\ + + if test -f \"\$progdir/\$program\"; then" + + # fixup the dll searchpath if we need to. + # + # Fix the DLL searchpath if we need to. Do this before prepending + # to shlibpath, because on Windows, both are PATH and uninstalled + # libraries must come first. + if test -n "$dllsearchpath"; then + $ECHO "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + # Export our shlibpath_var if we have one. + if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $ECHO "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` + + export $shlibpath_var +" + fi + + $ECHO "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. + func_exec_program \${1+\"\$@\"} + fi + else + # The program doesn't exist. + \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2 + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 + exit 1 + fi +fi\ +" +} + + +# func_emit_cwrapperexe_src +# emit the source code for a wrapper executable on stdout +# Must ONLY be called from within func_mode_link because +# it depends on a number of variable set therein. +func_emit_cwrapperexe_src () +{ + cat < +#include +#ifdef _MSC_VER +# include +# include +# include +#else +# include +# include +# ifdef __CYGWIN__ +# include +# endif +#endif +#include +#include +#include +#include +#include +#include +#include +#include + +#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) + +/* declarations of non-ANSI functions */ +#if defined __MINGW32__ +# ifdef __STRICT_ANSI__ +int _putenv (const char *); +# endif +#elif defined __CYGWIN__ +# ifdef __STRICT_ANSI__ +char *realpath (const char *, char *); +int putenv (char *); +int setenv (const char *, const char *, int); +# endif +/* #elif defined other_platform || defined ... */ +#endif + +/* portability defines, excluding path handling macros */ +#if defined _MSC_VER +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +# define S_IXUSR _S_IEXEC +#elif defined __MINGW32__ +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +#elif defined __CYGWIN__ +# define HAVE_SETENV +# define FOPEN_WB "wb" +/* #elif defined other platforms ... */ +#endif + +#if defined PATH_MAX +# define LT_PATHMAX PATH_MAX +#elif defined MAXPATHLEN +# define LT_PATHMAX MAXPATHLEN +#else +# define LT_PATHMAX 1024 +#endif + +#ifndef S_IXOTH +# define S_IXOTH 0 +#endif +#ifndef S_IXGRP +# define S_IXGRP 0 +#endif + +/* path handling portability macros */ +#ifndef DIR_SEPARATOR +# define DIR_SEPARATOR '/' +# define PATH_SEPARATOR ':' +#endif + +#if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \ + defined __OS2__ +# define HAVE_DOS_BASED_FILE_SYSTEM +# define FOPEN_WB "wb" +# ifndef DIR_SEPARATOR_2 +# define DIR_SEPARATOR_2 '\\' +# endif +# ifndef PATH_SEPARATOR_2 +# define PATH_SEPARATOR_2 ';' +# endif +#endif + +#ifndef DIR_SEPARATOR_2 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) +#else /* DIR_SEPARATOR_2 */ +# define IS_DIR_SEPARATOR(ch) \ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) +#endif /* DIR_SEPARATOR_2 */ + +#ifndef PATH_SEPARATOR_2 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) +#else /* PATH_SEPARATOR_2 */ +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) +#endif /* PATH_SEPARATOR_2 */ + +#ifndef FOPEN_WB +# define FOPEN_WB "w" +#endif +#ifndef _O_BINARY +# define _O_BINARY 0 +#endif + +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) +#define XFREE(stale) do { \ + if (stale) { free (stale); stale = 0; } \ +} while (0) + +#if defined LT_DEBUGWRAPPER +static int lt_debug = 1; +#else +static int lt_debug = 0; +#endif + +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ + +void *xmalloc (size_t num); +char *xstrdup (const char *string); +const char *base_name (const char *name); +char *find_executable (const char *wrapper); +char *chase_symlinks (const char *pathspec); +int make_executable (const char *path); +int check_executable (const char *path); +char *strendzap (char *str, const char *pat); +void lt_debugprintf (const char *file, int line, const char *fmt, ...); +void lt_fatal (const char *file, int line, const char *message, ...); +static const char *nonnull (const char *s); +static const char *nonempty (const char *s); +void lt_setenv (const char *name, const char *value); +char *lt_extend_str (const char *orig_value, const char *add, int to_end); +void lt_update_exe_path (const char *name, const char *value); +void lt_update_lib_path (const char *name, const char *value); +char **prepare_spawn (char **argv); +void lt_dump_script (FILE *f); +EOF + + cat <= 0) + && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) + return 1; + else + return 0; +} + +int +make_executable (const char *path) +{ + int rval = 0; + struct stat st; + + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", + nonempty (path)); + if ((!path) || (!*path)) + return 0; + + if (stat (path, &st) >= 0) + { + rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); + } + return rval; +} + +/* Searches for the full path of the wrapper. Returns + newly allocated full path name if found, NULL otherwise + Does not chase symlinks, even on platforms that support them. +*/ +char * +find_executable (const char *wrapper) +{ + int has_slash = 0; + const char *p; + const char *p_next; + /* static buffer for getcwd */ + char tmp[LT_PATHMAX + 1]; + size_t tmp_len; + char *concat_name; + + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", + nonempty (wrapper)); + + if ((wrapper == NULL) || (*wrapper == '\0')) + return NULL; + + /* Absolute path? */ +#if defined HAVE_DOS_BASED_FILE_SYSTEM + if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + else + { +#endif + if (IS_DIR_SEPARATOR (wrapper[0])) + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } +#if defined HAVE_DOS_BASED_FILE_SYSTEM + } +#endif + + for (p = wrapper; *p; p++) + if (*p == '/') + { + has_slash = 1; + break; + } + if (!has_slash) + { + /* no slashes; search PATH */ + const char *path = getenv ("PATH"); + if (path != NULL) + { + for (p = path; *p; p = p_next) + { + const char *q; + size_t p_len; + for (q = p; *q; q++) + if (IS_PATH_SEPARATOR (*q)) + break; + p_len = (size_t) (q - p); + p_next = (*q == '\0' ? q : q + 1); + if (p_len == 0) + { + /* empty path: current directory */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); + tmp_len = strlen (tmp); + concat_name = + XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + } + else + { + concat_name = + XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, p, p_len); + concat_name[p_len] = '/'; + strcpy (concat_name + p_len + 1, wrapper); + } + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + } + /* not found in PATH; assume curdir */ + } + /* Relative path | not found in path: prepend cwd */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); + tmp_len = strlen (tmp); + concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + return NULL; +} + +char * +chase_symlinks (const char *pathspec) +{ +#ifndef S_ISLNK + return xstrdup (pathspec); +#else + char buf[LT_PATHMAX]; + struct stat s; + char *tmp_pathspec = xstrdup (pathspec); + char *p; + int has_symlinks = 0; + while (strlen (tmp_pathspec) && !has_symlinks) + { + lt_debugprintf (__FILE__, __LINE__, + "checking path component for symlinks: %s\n", + tmp_pathspec); + if (lstat (tmp_pathspec, &s) == 0) + { + if (S_ISLNK (s.st_mode) != 0) + { + has_symlinks = 1; + break; + } + + /* search backwards for last DIR_SEPARATOR */ + p = tmp_pathspec + strlen (tmp_pathspec) - 1; + while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + p--; + if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + { + /* no more DIR_SEPARATORS left */ + break; + } + *p = '\0'; + } + else + { + lt_fatal (__FILE__, __LINE__, + "error accessing file \"%s\": %s", + tmp_pathspec, nonnull (strerror (errno))); + } + } + XFREE (tmp_pathspec); + + if (!has_symlinks) + { + return xstrdup (pathspec); + } + + tmp_pathspec = realpath (pathspec, buf); + if (tmp_pathspec == 0) + { + lt_fatal (__FILE__, __LINE__, + "could not follow symlinks for %s", pathspec); + } + return xstrdup (tmp_pathspec); +#endif +} + +char * +strendzap (char *str, const char *pat) +{ + size_t len, patlen; + + assert (str != NULL); + assert (pat != NULL); + + len = strlen (str); + patlen = strlen (pat); + + if (patlen <= len) + { + str += len - patlen; + if (STREQ (str, pat)) + *str = '\0'; + } + return str; +} + +void +lt_debugprintf (const char *file, int line, const char *fmt, ...) +{ + va_list args; + if (lt_debug) + { + (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); + va_start (args, fmt); + (void) vfprintf (stderr, fmt, args); + va_end (args); + } +} + +static void +lt_error_core (int exit_status, const char *file, + int line, const char *mode, + const char *message, va_list ap) +{ + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); + vfprintf (stderr, message, ap); + fprintf (stderr, ".\n"); + + if (exit_status >= 0) + exit (exit_status); +} + +void +lt_fatal (const char *file, int line, const char *message, ...) +{ + va_list ap; + va_start (ap, message); + lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); + va_end (ap); +} + +static const char * +nonnull (const char *s) +{ + return s ? s : "(null)"; +} + +static const char * +nonempty (const char *s) +{ + return (s && !*s) ? "(empty)" : nonnull (s); +} + +void +lt_setenv (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_setenv) setting '%s' to '%s'\n", + nonnull (name), nonnull (value)); + { +#ifdef HAVE_SETENV + /* always make a copy, for consistency with !HAVE_SETENV */ + char *str = xstrdup (value); + setenv (name, str, 1); +#else + size_t len = strlen (name) + 1 + strlen (value) + 1; + char *str = XMALLOC (char, len); + sprintf (str, "%s=%s", name, value); + if (putenv (str) != EXIT_SUCCESS) + { + XFREE (str); + } +#endif + } +} + +char * +lt_extend_str (const char *orig_value, const char *add, int to_end) +{ + char *new_value; + if (orig_value && *orig_value) + { + size_t orig_value_len = strlen (orig_value); + size_t add_len = strlen (add); + new_value = XMALLOC (char, add_len + orig_value_len + 1); + if (to_end) + { + strcpy (new_value, orig_value); + strcpy (new_value + orig_value_len, add); + } + else + { + strcpy (new_value, add); + strcpy (new_value + add_len, orig_value); + } + } + else + { + new_value = xstrdup (add); + } + return new_value; +} + +void +lt_update_exe_path (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + /* some systems can't cope with a ':'-terminated path #' */ + size_t len = strlen (new_value); + while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1])) + { + new_value[--len] = '\0'; + } + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +void +lt_update_lib_path (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +EOF + case $host_os in + mingw*) + cat <<"EOF" + +/* Prepares an argument vector before calling spawn(). + Note that spawn() does not by itself call the command interpreter + (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : + ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); + GetVersionEx(&v); + v.dwPlatformId == VER_PLATFORM_WIN32_NT; + }) ? "cmd.exe" : "command.com"). + Instead it simply concatenates the arguments, separated by ' ', and calls + CreateProcess(). We must quote the arguments since Win32 CreateProcess() + interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a + special way: + - Space and tab are interpreted as delimiters. They are not treated as + delimiters if they are surrounded by double quotes: "...". + - Unescaped double quotes are removed from the input. Their only effect is + that within double quotes, space and tab are treated like normal + characters. + - Backslashes not followed by double quotes are not special. + - But 2*n+1 backslashes followed by a double quote become + n backslashes followed by a double quote (n >= 0): + \" -> " + \\\" -> \" + \\\\\" -> \\" + */ +#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +char ** +prepare_spawn (char **argv) +{ + size_t argc; + char **new_argv; + size_t i; + + /* Count number of arguments. */ + for (argc = 0; argv[argc] != NULL; argc++) + ; + + /* Allocate new argument vector. */ + new_argv = XMALLOC (char *, argc + 1); + + /* Put quoted arguments into the new argument vector. */ + for (i = 0; i < argc; i++) + { + const char *string = argv[i]; + + if (string[0] == '\0') + new_argv[i] = xstrdup ("\"\""); + else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) + { + int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); + size_t length; + unsigned int backslashes; + const char *s; + char *quoted_string; + char *p; + + length = 0; + backslashes = 0; + if (quote_around) + length++; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + length += backslashes + 1; + length++; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + length += backslashes + 1; + + quoted_string = XMALLOC (char, length + 1); + + p = quoted_string; + backslashes = 0; + if (quote_around) + *p++ = '"'; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + { + unsigned int j; + for (j = backslashes + 1; j > 0; j--) + *p++ = '\\'; + } + *p++ = c; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + { + unsigned int j; + for (j = backslashes; j > 0; j--) + *p++ = '\\'; + *p++ = '"'; + } + *p = '\0'; + + new_argv[i] = quoted_string; + } + else + new_argv[i] = (char *) string; + } + new_argv[argc] = NULL; + + return new_argv; +} +EOF + ;; + esac + + cat <<"EOF" +void lt_dump_script (FILE* f) +{ +EOF + func_emit_wrapper yes | + $SED -n -e ' +s/^\(.\{79\}\)\(..*\)/\1\ +\2/ +h +s/\([\\"]\)/\\\1/g +s/$/\\n/ +s/\([^\n]*\).*/ fputs ("\1", f);/p +g +D' + cat <<"EOF" +} +EOF +} +# end: func_emit_cwrapperexe_src + +# func_win32_import_lib_p ARG +# True if ARG is an import lib, as indicated by $file_magic_cmd +func_win32_import_lib_p () +{ + $debug_cmd + + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in + *import*) : ;; + *) false ;; + esac +} + +# func_suncc_cstd_abi +# !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!! +# Several compiler flags select an ABI that is incompatible with the +# Cstd library. Avoid specifying it if any are in CXXFLAGS. +func_suncc_cstd_abi () +{ + $debug_cmd + + case " $compile_command " in + *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) + suncc_use_cstd_abi=no + ;; + *) + suncc_use_cstd_abi=yes + ;; + esac +} + +# func_mode_link arg... +func_mode_link () +{ + $debug_cmd + + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + # It is impossible to link a dll without this setting, and + # we shouldn't force the makefile maintainer to figure out + # what system we are compiling for in order to pass an extra + # flag for every libtool invocation. + # allow_undefined=no + + # FIXME: Unfortunately, there are problems with the above when trying + # to make a dll that has undefined symbols, in which case not + # even a static library is built. For now, we need to specify + # -no-undefined on the libtool link line when we can be certain + # that all symbols are satisfied, otherwise we get a static library. + allow_undefined=yes + ;; + *) + allow_undefined=yes + ;; + esac + libtool_args=$nonopt + base_compile="$nonopt $@" + compile_command=$nonopt + finalize_command=$nonopt + + compile_rpath= + finalize_rpath= + compile_shlibpath= + finalize_shlibpath= + convenience= + old_convenience= + deplibs= + old_deplibs= + compiler_flags= + linker_flags= + dllsearchpath= + lib_search_path=`pwd` + inst_prefix_dir= + new_inherited_linker_flags= + + avoid_version=no + bindir= + dlfiles= + dlprefiles= + dlself=no + export_dynamic=no + export_symbols= + export_symbols_regex= + generated= + libobjs= + ltlibs= + module=no + no_install=no + objs= + os2dllname= + non_pic_objects= + precious_files_regex= + prefer_static_libs=no + preload=false + prev= + prevarg= + release= + rpath= + xrpath= + perm_rpath= + temp_rpath= + thread_safe=no + vinfo= + vinfo_number=no + weak_libs= + single_module=$wl-single_module + func_infer_tag $base_compile + + # We need to know -static, to get the right output filenames. + for arg + do + case $arg in + -shared) + test yes != "$build_libtool_libs" \ + && func_fatal_configuration "cannot build a shared library" + build_old_libs=no + break + ;; + -all-static | -static | -static-libtool-libs) + case $arg in + -all-static) + if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then + func_warning "complete static linking is impossible in this configuration" + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + -static) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=built + ;; + -static-libtool-libs) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + esac + build_libtool_libs=no + build_old_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg=$1 + shift + func_quote_for_eval "$arg" + qarg=$func_quote_for_eval_unquoted_result + func_append libtool_args " $func_quote_for_eval_result" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + func_append compile_command " @OUTPUT@" + func_append finalize_command " @OUTPUT@" + ;; + esac + + case $prev in + bindir) + bindir=$arg + prev= + continue + ;; + dlfiles|dlprefiles) + $preload || { + # Add the symbol object into the linking commands. + func_append compile_command " @SYMFILE@" + func_append finalize_command " @SYMFILE@" + preload=: + } + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test no = "$dlself"; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test dlprefiles = "$prev"; then + dlself=yes + elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test dlfiles = "$prev"; then + func_append dlfiles " $arg" + else + func_append dlprefiles " $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols=$arg + test -f "$arg" \ + || func_fatal_error "symbol file '$arg' does not exist" + prev= + continue + ;; + expsyms_regex) + export_symbols_regex=$arg + prev= + continue + ;; + framework) + case $host in + *-*-darwin*) + case "$deplibs " in + *" $qarg.ltframework "*) ;; + *) func_append deplibs " $qarg.ltframework" # this is fixed later + ;; + esac + ;; + esac + prev= + continue + ;; + inst_prefix) + inst_prefix_dir=$arg + prev= + continue + ;; + mllvm) + # Clang does not use LLVM to link, so we can simply discard any + # '-mllvm $arg' options when doing the link step. + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat "$save_arg"` + do +# func_append moreargs " $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test none = "$pic_object" && + test none = "$non_pic_object"; then + func_fatal_error "cannot find name of object for '$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir=$func_dirname_result + + if test none != "$pic_object"; then + # Prepend the subdirectory the object is found in. + pic_object=$xdir$pic_object + + if test dlfiles = "$prev"; then + if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then + func_append dlfiles " $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test dlprefiles = "$prev"; then + # Preload the old-style object. + func_append dlprefiles " $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg=$pic_object + fi + + # Non-PIC object. + if test none != "$non_pic_object"; then + # Prepend the subdirectory the object is found in. + non_pic_object=$xdir$non_pic_object + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test none = "$pic_object"; then + arg=$non_pic_object + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object=$pic_object + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir=$func_dirname_result + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "'$arg' is not a valid libtool object" + fi + fi + done + else + func_fatal_error "link input file '$arg' does not exist" + fi + arg=$save_arg + prev= + continue + ;; + os2dllname) + os2dllname=$arg + prev= + continue + ;; + precious_regex) + precious_files_regex=$arg + prev= + continue + ;; + release) + release=-$arg + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + if test rpath = "$prev"; then + case "$rpath " in + *" $arg "*) ;; + *) func_append rpath " $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) func_append xrpath " $arg" ;; + esac + fi + prev= + continue + ;; + shrext) + shrext_cmds=$arg + prev= + continue + ;; + weak) + func_append weak_libs " $arg" + prev= + continue + ;; + xcclinker) + func_append linker_flags " $qarg" + func_append compiler_flags " $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xcompiler) + func_append compiler_flags " $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xlinker) + func_append linker_flags " $qarg" + func_append compiler_flags " $wl$qarg" + prev= + func_append compile_command " $wl$qarg" + func_append finalize_command " $wl$qarg" + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg=$arg + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + # See comment for -static flag below, for more details. + func_append compile_command " $link_static_flag" + func_append finalize_command " $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + func_fatal_error "'-allow-undefined' must not be used because it is the default" + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -bindir) + prev=bindir + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + func_fatal_error "more than one -exported-symbols argument is not allowed" + fi + if test X-export-symbols = "X$arg"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + -framework) + prev=framework + continue + ;; + + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + func_append compile_command " $arg" + func_append finalize_command " $arg" + ;; + esac + continue + ;; + + -L*) + func_stripname "-L" '' "$arg" + if test -z "$func_stripname_result"; then + if test "$#" -gt 0; then + func_fatal_error "require no space between '-L' and '$1'" + else + func_fatal_error "need path for '-L' option" + fi + fi + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + test -z "$absdir" && \ + func_fatal_error "cannot determine absolute directory name of '$dir'" + dir=$absdir + ;; + esac + case "$deplibs " in + *" -L$dir "* | *" $arg "*) + # Will only happen for absolute or sysroot arguments + ;; + *) + # Preserve sysroot, but never include relative directories + case $dir in + [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; + *) func_append deplibs " -L$dir" ;; + esac + func_append lib_search_path " $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$dir:"*) ;; + ::) dllsearchpath=$dir;; + *) func_append dllsearchpath ":$dir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) func_append dllsearchpath ":$testbindir";; + esac + ;; + esac + continue + ;; + + -l*) + if test X-lc = "X$arg" || test X-lm = "X$arg"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-os2*) + # These systems don't actually have a C library (as such) + test X-lc = "X$arg" && continue + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) + # Do not include libc due to us having libc/libc_r. + test X-lc = "X$arg" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + func_append deplibs " System.ltframework" + continue + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + test X-lc = "X$arg" && continue + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + test X-lc = "X$arg" && continue + ;; + esac + elif test X-lc_r = "X$arg"; then + case $host in + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + func_append deplibs " $arg" + continue + ;; + + -mllvm) + prev=mllvm + continue + ;; + + -module) + module=yes + continue + ;; + + # Tru64 UNIX uses -model [arg] to determine the layout of C++ + # classes, name mangling, and exception handling. + # Darwin uses the -arch flag to determine output architecture. + -model|-arch|-isysroot|--sysroot) + func_append compiler_flags " $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + prev=xcompiler + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + func_append compiler_flags " $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + case "$new_inherited_linker_flags " in + *" $arg "*) ;; + * ) func_append new_inherited_linker_flags " $arg" ;; + esac + continue + ;; + + -multi_module) + single_module=$wl-multi_module + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) + # The PATH hackery in wrapper scripts is required on Windows + # and Darwin in order for the loader to find any dlls it needs. + func_warning "'-no-install' is ignored for $host" + func_warning "assuming '-no-fast-install' instead" + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -os2dllname) + prev=os2dllname + continue + ;; + + -o) prev=output ;; + + -precious-files-regex) + prev=precious_regex + continue + ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + func_stripname '-R' '' "$arg" + dir=$func_stripname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + =*) + func_stripname '=' '' "$dir" + dir=$lt_sysroot$func_stripname_result + ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) func_append xrpath " $dir" ;; + esac + continue + ;; + + -shared) + # The effects of -shared are defined in a previous loop. + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -static | -static-libtool-libs) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + + -version-number) + prev=vinfo + vinfo_number=yes + continue + ;; + + -weak) + prev=weak + continue + ;; + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs=$IFS; IFS=, + for flag in $args; do + IFS=$save_ifs + func_quote_for_eval "$flag" + func_append arg " $func_quote_for_eval_result" + func_append compiler_flags " $func_quote_for_eval_result" + done + IFS=$save_ifs + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Wl,*) + func_stripname '-Wl,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs=$IFS; IFS=, + for flag in $args; do + IFS=$save_ifs + func_quote_for_eval "$flag" + func_append arg " $wl$func_quote_for_eval_result" + func_append compiler_flags " $wl$func_quote_for_eval_result" + func_append linker_flags " $func_quote_for_eval_result" + done + IFS=$save_ifs + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # -msg_* for osf cc + -msg_*) + func_quote_for_eval "$arg" + arg=$func_quote_for_eval_result + ;; + + # Flags to be passed through unchanged, with rationale: + # -64, -mips[0-9] enable 64-bit mode for the SGI compiler + # -r[0-9][0-9]* specify processor for the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler + # +DA*, +DD* enable 64-bit mode for the HP compiler + # -q* compiler args for the IBM compiler + # -m*, -t[45]*, -txscale* architecture-specific flags for GCC + # -F/path path to uninstalled frameworks, gcc on darwin + # -p, -pg, --coverage, -fprofile-* profiling flags for GCC + # -fstack-protector* stack protector flags for GCC + # @file GCC response files + # -tp=* Portland pgcc target processor selection + # --sysroot=* for sysroot support + # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + # -specs=* GCC specs files + # -stdlib=* select c++ std lib with clang + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ + -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ + -specs=*) + func_quote_for_eval "$arg" + arg=$func_quote_for_eval_result + func_append compile_command " $arg" + func_append finalize_command " $arg" + func_append compiler_flags " $arg" + continue + ;; + + -Z*) + if test os2 = "`expr $host : '.*\(os2\)'`"; then + # OS/2 uses -Zxxx to specify OS/2-specific options + compiler_flags="$compiler_flags $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + case $arg in + -Zlinker | -Zstack) + prev=xcompiler + ;; + esac + continue + else + # Otherwise treat like 'Some other compiler flag' below + func_quote_for_eval "$arg" + arg=$func_quote_for_eval_result + fi + ;; + + # Some other compiler flag. + -* | +*) + func_quote_for_eval "$arg" + arg=$func_quote_for_eval_result + ;; + + *.$objext) + # A standard object. + func_append objs " $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test none = "$pic_object" && + test none = "$non_pic_object"; then + func_fatal_error "cannot find name of object for '$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir=$func_dirname_result + + test none = "$pic_object" || { + # Prepend the subdirectory the object is found in. + pic_object=$xdir$pic_object + + if test dlfiles = "$prev"; then + if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then + func_append dlfiles " $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test dlprefiles = "$prev"; then + # Preload the old-style object. + func_append dlprefiles " $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg=$pic_object + } + + # Non-PIC object. + if test none != "$non_pic_object"; then + # Prepend the subdirectory the object is found in. + non_pic_object=$xdir$non_pic_object + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test none = "$pic_object"; then + arg=$non_pic_object + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object=$pic_object + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir=$func_dirname_result + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "'$arg' is not a valid libtool object" + fi + fi + ;; + + *.$libext) + # An archive. + func_append deplibs " $arg" + func_append old_deplibs " $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + func_resolve_sysroot "$arg" + if test dlfiles = "$prev"; then + # This library was specified with -dlopen. + func_append dlfiles " $func_resolve_sysroot_result" + prev= + elif test dlprefiles = "$prev"; then + # The library was specified with -dlpreopen. + func_append dlprefiles " $func_resolve_sysroot_result" + prev= + else + func_append deplibs " $func_resolve_sysroot_result" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + func_quote_for_eval "$arg" + arg=$func_quote_for_eval_result + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + done # argument parsing loop + + test -n "$prev" && \ + func_fatal_help "the '$prevarg' option requires an argument" + + if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + func_basename "$output" + outputname=$func_basename_result + libobjs_save=$libobjs + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + # Definition is injected by LT_CONFIG during libtool generation. + func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH" + + func_dirname "$output" "/" "" + output_objdir=$func_dirname_result$objdir + func_to_tool_file "$output_objdir/" + tool_output_objdir=$func_to_tool_file_result + # Create the object directory. + func_mkdir_p "$output_objdir" + + # Determine the type of output + case $output in + "") + func_fatal_help "you must specify an output file" + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + specialdeplibs= + + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if $opt_preserve_dup_deps; then + case "$libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append libs " $deplib" + done + + if test lib = "$linkmode"; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if $opt_duplicate_compiler_generated_deps; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; + esac + func_append pre_post_deps " $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + notinst_path= # paths that contain not-installed libtool libraries + + case $linkmode in + lib) + passes="conv dlpreopen link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + func_fatal_help "libraries can '-dlopen' only libtool libraries: $file" + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=false + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + + for pass in $passes; do + # The preopen pass in lib mode reverses $deplibs; put it back here + # so that -L comes before libs that need it for instance... + if test lib,link = "$linkmode,$pass"; then + ## FIXME: Find the place where the list is rebuilt in the wrong + ## order, and fix it there properly + tmp_deplibs= + for deplib in $deplibs; do + tmp_deplibs="$deplib $tmp_deplibs" + done + deplibs=$tmp_deplibs + fi + + if test lib,link = "$linkmode,$pass" || + test prog,scan = "$linkmode,$pass"; then + libs=$deplibs + deplibs= + fi + if test prog = "$linkmode"; then + case $pass in + dlopen) libs=$dlfiles ;; + dlpreopen) libs=$dlprefiles ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test lib,dlpreopen = "$linkmode,$pass"; then + # Collect and forward deplibs of preopened libtool libs + for lib in $dlprefiles; do + # Ignore non-libtool-libs + dependency_libs= + func_resolve_sysroot "$lib" + case $lib in + *.la) func_source "$func_resolve_sysroot_result" ;; + esac + + # Collect preopened libtool deplibs, except any this library + # has declared as weak libs + for deplib in $dependency_libs; do + func_basename "$deplib" + deplib_base=$func_basename_result + case " $weak_libs " in + *" $deplib_base "*) ;; + *) func_append deplibs " $deplib" ;; + esac + done + done + libs=$dlprefiles + fi + if test dlopen = "$pass"; then + # Collect dlpreopened libraries + save_deplibs=$deplibs + deplibs= + fi + + for deplib in $libs; do + lib= + found=false + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + if test prog,link = "$linkmode,$pass"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append compiler_flags " $deplib" + if test lib = "$linkmode"; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -l*) + if test lib != "$linkmode" && test prog != "$linkmode"; then + func_warning "'-l' is ignored for archives/objects" + continue + fi + func_stripname '-l' '' "$deplib" + name=$func_stripname_result + if test lib = "$linkmode"; then + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" + else + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" + fi + for searchdir in $searchdirs; do + for search_ext in .la $std_shrext .so .a; do + # Search the libtool library + lib=$searchdir/lib$name$search_ext + if test -f "$lib"; then + if test .la = "$search_ext"; then + found=: + else + found=false + fi + break 2 + fi + done + done + if $found; then + # deplib is a libtool library + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, + # We need to do some special things here, and not later. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then + case " $predeps $postdeps " in + *" $deplib "*) + if func_lalib_p "$lib"; then + library_names= + old_library= + func_source "$lib" + for l in $old_library $library_names; do + ll=$l + done + if test "X$ll" = "X$old_library"; then # only static version available + found=false + func_dirname "$lib" "" "." + ladir=$func_dirname_result + lib=$ladir/$old_library + if test prog,link = "$linkmode,$pass"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + else + # deplib doesn't seem to be a libtool library + if test prog,link = "$linkmode,$pass"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + ;; # -l + *.ltframework) + if test prog,link = "$linkmode,$pass"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + if test lib = "$linkmode"; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test conv = "$pass" && continue + newdependency_libs="$deplib $newdependency_libs" + func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + prog) + if test conv = "$pass"; then + deplibs="$deplib $deplibs" + continue + fi + if test scan = "$pass"; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + *) + func_warning "'-L' is ignored for archives/objects" + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test link = "$pass"; then + func_stripname '-R' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) func_append xrpath " $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) + func_resolve_sysroot "$deplib" + lib=$func_resolve_sysroot_result + ;; + *.$libext) + if test conv = "$pass"; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + # Linking convenience modules into shared libraries is allowed, + # but linking other static libraries is non-portable. + case " $dlpreconveniencelibs " in + *" $deplib "*) ;; + *) + valid_a_lib=false + case $deplibs_check_method in + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + valid_a_lib=: + fi + ;; + pass_all) + valid_a_lib=: + ;; + esac + if $valid_a_lib; then + echo + $ECHO "*** Warning: Linking the shared library $output against the" + $ECHO "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + else + echo + $ECHO "*** Warning: Trying to link with static lib archive $deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because the file extensions .$libext of this argument makes me believe" + echo "*** that it is just a static archive that I should not use here." + fi + ;; + esac + continue + ;; + prog) + if test link != "$pass"; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test conv = "$pass"; then + deplibs="$deplib $deplibs" + elif test prog = "$linkmode"; then + if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + func_append newdlprefiles " $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append newdlfiles " $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=: + continue + ;; + esac # case $deplib + + $found || test -f "$lib" \ + || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'" + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$lib" \ + || func_fatal_error "'$lib' is not a valid libtool archive" + + func_dirname "$lib" "" "." + ladir=$func_dirname_result + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + inherited_linker_flags= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + avoidtemprpath= + + + # Read the .la file + func_source "$lib" + + # Convert "-framework foo" to "foo.ltframework" + if test -n "$inherited_linker_flags"; then + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` + for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do + case " $new_inherited_linker_flags " in + *" $tmp_inherited_linker_flag "*) ;; + *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; + esac + done + fi + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + if test lib,link = "$linkmode,$pass" || + test prog,scan = "$linkmode,$pass" || + { test prog != "$linkmode" && test lib != "$linkmode"; }; then + test -n "$dlopen" && func_append dlfiles " $dlopen" + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" + fi + + if test conv = "$pass"; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + if test -z "$libdir"; then + if test -z "$old_library"; then + func_fatal_error "cannot find name of link library for '$lib'" + fi + # It is a libtool convenience library, so add in its objects. + func_append convenience " $ladir/$objdir/$old_library" + func_append old_convenience " $ladir/$objdir/$old_library" + elif test prog != "$linkmode" && test lib != "$linkmode"; then + func_fatal_error "'$lib' is not a convenience library" + fi + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_preserve_dup_deps; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + if test -n "$old_library" && + { test yes = "$prefer_static_libs" || + test built,no = "$prefer_static_libs,$installed"; }; then + linklib=$old_library + else + for l in $old_library $library_names; do + linklib=$l + done + fi + if test -z "$linklib"; then + func_fatal_error "cannot find name of link library for '$lib'" + fi + + # This library was specified with -dlopen. + if test dlopen = "$pass"; then + test -z "$libdir" \ + && func_fatal_error "cannot -dlopen a convenience library: '$lib'" + if test -z "$dlname" || + test yes != "$dlopen_support" || + test no = "$build_libtool_libs" + then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + func_append dlprefiles " $lib $dependency_libs" + else + func_append newdlfiles " $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + func_warning "cannot determine absolute directory name of '$ladir'" + func_warning "passing it literally to the linker, although it might fail" + abs_ladir=$ladir + fi + ;; + esac + func_basename "$lib" + laname=$func_basename_result + + # Find the relevant object directory and library name. + if test yes = "$installed"; then + if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + func_warning "library '$lib' was moved." + dir=$ladir + absdir=$abs_ladir + libdir=$abs_ladir + else + dir=$lt_sysroot$libdir + absdir=$lt_sysroot$libdir + fi + test yes = "$hardcode_automatic" && avoidtemprpath=yes + else + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then + dir=$ladir + absdir=$abs_ladir + # Remove this search path later + func_append notinst_path " $abs_ladir" + else + dir=$ladir/$objdir + absdir=$abs_ladir/$objdir + # Remove this search path later + func_append notinst_path " $abs_ladir" + fi + fi # $installed = yes + func_stripname 'lib' '.la' "$laname" + name=$func_stripname_result + + # This library was specified with -dlpreopen. + if test dlpreopen = "$pass"; then + if test -z "$libdir" && test prog = "$linkmode"; then + func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'" + fi + case $host in + # special handling for platforms with PE-DLLs. + *cygwin* | *mingw* | *cegcc* ) + # Linker will automatically link against shared library if both + # static and shared are present. Therefore, ensure we extract + # symbols from the import library if a shared library is present + # (otherwise, the dlopen module name will be incorrect). We do + # this by putting the import library name into $newdlprefiles. + # We recover the dlopen module name by 'saving' the la file + # name in a special purpose variable, and (later) extracting the + # dlname from the la file. + if test -n "$dlname"; then + func_tr_sh "$dir/$linklib" + eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" + func_append newdlprefiles " $dir/$linklib" + else + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + fi + ;; + * ) + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + func_append newdlprefiles " $dir/$dlname" + else + func_append newdlprefiles " $dir/$linklib" + fi + ;; + esac + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test lib = "$linkmode"; then + deplibs="$dir/$old_library $deplibs" + elif test prog,link = "$linkmode,$pass"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + + if test prog = "$linkmode" && test link != "$pass"; then + func_append newlib_search_path " $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=false + if test no != "$link_all_deplibs" || test -z "$library_names" || + test no = "$build_libtool_libs"; then + linkalldeplibs=: + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + esac + # Need to link against all dependency_libs? + if $linkalldeplibs; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if $opt_preserve_dup_deps; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test prog,link = "$linkmode,$pass"; then + if test -n "$library_names" && + { { test no = "$prefer_static_libs" || + test built,yes = "$prefer_static_libs,$installed"; } || + test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then + # Make sure the rpath contains only unique directories. + case $temp_rpath: in + *"$absdir:"*) ;; + *) func_append temp_rpath "$absdir:" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) func_append compile_rpath " $absdir" ;; + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if $alldeplibs && + { test pass_all = "$deplibs_check_method" || + { test yes = "$build_libtool_libs" && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + use_static_libs=$prefer_static_libs + if test built = "$use_static_libs" && test yes = "$installed"; then + use_static_libs=no + fi + if test -n "$library_names" && + { test no = "$use_static_libs" || test -z "$old_library"; }; then + case $host in + *cygwin* | *mingw* | *cegcc* | *os2*) + # No point in relinking DLLs because paths are not encoded + func_append notinst_deplibs " $lib" + need_relink=no + ;; + *) + if test no = "$installed"; then + func_append notinst_deplibs " $lib" + need_relink=yes + fi + ;; + esac + # This is a shared library + + # Warn about portability, can't link against -module's on some + # systems (darwin). Don't bleat about dlopened modules though! + dlopenmodule= + for dlpremoduletest in $dlprefiles; do + if test "X$dlpremoduletest" = "X$lib"; then + dlopenmodule=$dlpremoduletest + break + fi + done + if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then + echo + if test prog = "$linkmode"; then + $ECHO "*** Warning: Linking the executable $output against the loadable module" + else + $ECHO "*** Warning: Linking the shared library $output against the loadable module" + fi + $ECHO "*** $linklib is not portable!" + fi + if test lib = "$linkmode" && + test yes = "$hardcode_into_libs"; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) func_append compile_rpath " $absdir" ;; + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + shift + realname=$1 + shift + libname=`eval "\\$ECHO \"$libname_spec\""` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname=$dlname + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin* | mingw* | *cegcc* | *os2*) + func_arith $current - $age + major=$func_arith_result + versuffix=-$major + ;; + esac + eval soname=\"$soname_spec\" + else + soname=$realname + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot=$soname + func_basename "$soroot" + soname=$func_basename_result + func_stripname 'lib' '.dll' "$soname" + newlib=libimp-$func_stripname_result.a + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + func_verbose "extracting exported symbol list from '$soname'" + func_execute_cmds "$extract_expsyms_cmds" 'exit $?' + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + func_verbose "generating import library for '$soname'" + func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test prog = "$linkmode" || test relink != "$opt_mode"; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test no = "$hardcode_direct"; then + add=$dir/$linklib + case $host in + *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;; + *-*-sysv4*uw2*) add_dir=-L$dir ;; + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ + *-*-unixware7*) add_dir=-L$dir ;; + *-*-darwin* ) + # if the lib is a (non-dlopened) module then we cannot + # link against it, someone is ignoring the earlier warnings + if /usr/bin/file -L $add 2> /dev/null | + $GREP ": [^:]* bundle" >/dev/null; then + if test "X$dlopenmodule" != "X$lib"; then + $ECHO "*** Warning: lib $linklib is a module, not a shared library" + if test -z "$old_library"; then + echo + echo "*** And there doesn't seem to be a static archive available" + echo "*** The link will probably fail, sorry" + else + add=$dir/$old_library + fi + elif test -n "$old_library"; then + add=$dir/$old_library + fi + fi + esac + elif test no = "$hardcode_minus_L"; then + case $host in + *-*-sunos*) add_shlibpath=$dir ;; + esac + add_dir=-L$dir + add=-l$name + elif test no = "$hardcode_shlibpath_var"; then + add_shlibpath=$dir + add=-l$name + else + lib_linked=no + fi + ;; + relink) + if test yes = "$hardcode_direct" && + test no = "$hardcode_direct_absolute"; then + add=$dir/$linklib + elif test yes = "$hardcode_minus_L"; then + add_dir=-L$absdir + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + func_append add_dir " -L$inst_prefix_dir$libdir" + ;; + esac + fi + add=-l$name + elif test yes = "$hardcode_shlibpath_var"; then + add_shlibpath=$dir + add=-l$name + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test yes != "$lib_linked"; then + func_fatal_configuration "unsupported hardcode properties" + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) func_append compile_shlibpath "$add_shlibpath:" ;; + esac + fi + if test prog = "$linkmode"; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test yes != "$hardcode_direct" && + test yes != "$hardcode_minus_L" && + test yes = "$hardcode_shlibpath_var"; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + fi + fi + fi + + if test prog = "$linkmode" || test relink = "$opt_mode"; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test yes = "$hardcode_direct" && + test no = "$hardcode_direct_absolute"; then + add=$libdir/$linklib + elif test yes = "$hardcode_minus_L"; then + add_dir=-L$libdir + add=-l$name + elif test yes = "$hardcode_shlibpath_var"; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + add=-l$name + elif test yes = "$hardcode_automatic"; then + if test -n "$inst_prefix_dir" && + test -f "$inst_prefix_dir$libdir/$linklib"; then + add=$inst_prefix_dir$libdir/$linklib + else + add=$libdir/$linklib + fi + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir=-L$libdir + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + func_append add_dir " -L$inst_prefix_dir$libdir" + ;; + esac + fi + add=-l$name + fi + + if test prog = "$linkmode"; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test prog = "$linkmode"; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test unsupported != "$hardcode_direct"; then + test -n "$old_library" && linklib=$old_library + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test yes = "$build_libtool_libs"; then + # Not a shared library + if test pass_all != "$deplibs_check_method"; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + + # Just print a warning and add the library to dependency_libs so + # that the program can be linked against the static library. + echo + $ECHO "*** Warning: This system cannot link to static lib archive $lib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have." + if test yes = "$module"; then + echo "*** But as you try to build a module library, libtool will still create " + echo "*** a static module, that should work as long as the dlopening application" + echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using 'nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** 'nm' from GNU binutils and a full rebuild may help." + fi + if test no = "$build_old_libs"; then + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + else + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi + fi # link shared/static library? + + if test lib = "$linkmode"; then + if test -n "$dependency_libs" && + { test yes != "$hardcode_into_libs" || + test yes = "$build_old_libs" || + test yes = "$link_static"; }; then + # Extract -R from dependency_libs + temp_deplibs= + for libdir in $dependency_libs; do + case $libdir in + -R*) func_stripname '-R' '' "$libdir" + temp_xrpath=$func_stripname_result + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) func_append xrpath " $temp_xrpath";; + esac;; + *) func_append temp_deplibs " $libdir";; + esac + done + dependency_libs=$temp_deplibs + fi + + func_append newlib_search_path " $absdir" + # Link against this library + test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs" + # ... and its dependency_libs + tmp_libs= + for deplib in $dependency_libs; do + newdependency_libs="$deplib $newdependency_libs" + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result";; + *) func_resolve_sysroot "$deplib" ;; + esac + if $opt_preserve_dup_deps; then + case "$tmp_libs " in + *" $func_resolve_sysroot_result "*) + func_append specialdeplibs " $func_resolve_sysroot_result" ;; + esac + fi + func_append tmp_libs " $func_resolve_sysroot_result" + done + + if test no != "$link_all_deplibs"; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + path= + case $deplib in + -L*) path=$deplib ;; + *.la) + func_resolve_sysroot "$deplib" + deplib=$func_resolve_sysroot_result + func_dirname "$deplib" "" "." + dir=$func_dirname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + func_warning "cannot determine absolute directory name of '$dir'" + absdir=$dir + fi + ;; + esac + if $GREP "^installed=no" $deplib > /dev/null; then + case $host in + *-*-darwin*) + depdepl= + eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` + if test -n "$deplibrary_names"; then + for tmp in $deplibrary_names; do + depdepl=$tmp + done + if test -f "$absdir/$objdir/$depdepl"; then + depdepl=$absdir/$objdir/$depdepl + darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + if test -z "$darwin_install_name"; then + darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + fi + func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl" + func_append linker_flags " -dylib_file $darwin_install_name:$depdepl" + path= + fi + fi + ;; + *) + path=-L$absdir/$objdir + ;; + esac + else + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + test -z "$libdir" && \ + func_fatal_error "'$deplib' is not a valid libtool archive" + test "$absdir" != "$libdir" && \ + func_warning "'$deplib' seems to be moved" + + path=-L$absdir + fi + ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$path $deplibs" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + if test link = "$pass"; then + if test prog = "$linkmode"; then + compile_deplibs="$new_inherited_linker_flags $compile_deplibs" + finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" + else + compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + fi + fi + dependency_libs=$newdependency_libs + if test dlpreopen = "$pass"; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test dlopen != "$pass"; then + test conv = "$pass" || { + # Make sure lib_search_path contains only unique directories. + lib_search_path= + for dir in $newlib_search_path; do + case "$lib_search_path " in + *" $dir "*) ;; + *) func_append lib_search_path " $dir" ;; + esac + done + newlib_search_path= + } + + if test prog,link = "$linkmode,$pass"; then + vars="compile_deplibs finalize_deplibs" + else + vars=deplibs + fi + for var in $vars dependency_libs; do + # Add libraries to $var in reverse order + eval tmp_libs=\"\$$var\" + new_libs= + for deplib in $tmp_libs; do + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: + #new_libs="$deplib $new_libs" + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; + *) + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; + esac + done + tmp_libs= + for deplib in $new_libs; do + case $deplib in + -L*) + case " $tmp_libs " in + *" $deplib "*) ;; + *) func_append tmp_libs " $deplib" ;; + esac + ;; + *) func_append tmp_libs " $deplib" ;; + esac + done + eval $var=\"$tmp_libs\" + done # for var + fi + + # Add Sun CC postdeps if required: + test CXX = "$tagname" && { + case $host_os in + linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C++ 5.9 + func_suncc_cstd_abi + + if test no != "$suncc_use_cstd_abi"; then + func_append postdeps ' -library=Cstd -library=Crun' + fi + ;; + esac + ;; + + solaris*) + func_cc_basename "$CC" + case $func_cc_basename_result in + CC* | sunCC*) + func_suncc_cstd_abi + + if test no != "$suncc_use_cstd_abi"; then + func_append postdeps ' -library=Cstd -library=Crun' + fi + ;; + esac + ;; + esac + } + + # Last step: remove runtime libs from dependency_libs + # (they stay in deplibs) + tmp_libs= + for i in $dependency_libs; do + case " $predeps $postdeps $compiler_lib_search_path " in + *" $i "*) + i= + ;; + esac + if test -n "$i"; then + func_append tmp_libs " $i" + fi + done + dependency_libs=$tmp_libs + done # for pass + if test prog = "$linkmode"; then + dlfiles=$newdlfiles + fi + if test prog = "$linkmode" || test lib = "$linkmode"; then + dlprefiles=$newdlprefiles + fi + + case $linkmode in + oldlib) + if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then + func_warning "'-dlopen' is ignored for archives" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "'-l' and '-L' are ignored for archives" ;; + esac + + test -n "$rpath" && \ + func_warning "'-rpath' is ignored for archives" + + test -n "$xrpath" && \ + func_warning "'-R' is ignored for archives" + + test -n "$vinfo" && \ + func_warning "'-version-info/-version-number' is ignored for archives" + + test -n "$release" && \ + func_warning "'-release' is ignored for archives" + + test -n "$export_symbols$export_symbols_regex" && \ + func_warning "'-export-symbols' is ignored for archives" + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs=$output + func_append objs "$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form 'libNAME.la'. + case $outputname in + lib*) + func_stripname 'lib' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + ;; + *) + test no = "$module" \ + && func_fatal_help "libtool library '$output' must begin with 'lib'" + + if test no != "$need_lib_prefix"; then + # Add the "lib" prefix for modules if required + func_stripname '' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + else + func_stripname '' '.la' "$outputname" + libname=$func_stripname_result + fi + ;; + esac + + if test -n "$objs"; then + if test pass_all != "$deplibs_check_method"; then + func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs" + else + echo + $ECHO "*** Warning: Linking the shared library $output against the non-libtool" + $ECHO "*** objects $objs is not portable!" + func_append libobjs " $objs" + fi + fi + + test no = "$dlself" \ + || func_warning "'-dlopen self' is ignored for libtool libraries" + + set dummy $rpath + shift + test 1 -lt "$#" \ + && func_warning "ignoring multiple '-rpath's for a libtool library" + + install_libdir=$1 + + oldlibs= + if test -z "$rpath"; then + if test yes = "$build_libtool_libs"; then + # Building a libtool convenience library. + # Some compilers have problems with a '.al' extension so + # convenience libraries should have the same extension an + # archive normally would. + oldlibs="$output_objdir/$libname.$libext $oldlibs" + build_libtool_libs=convenience + build_old_libs=yes + fi + + test -n "$vinfo" && \ + func_warning "'-version-info/-version-number' is ignored for convenience libraries" + + test -n "$release" && \ + func_warning "'-release' is ignored for convenience libraries" + else + + # Parse the version information argument. + save_ifs=$IFS; IFS=: + set dummy $vinfo 0 0 0 + shift + IFS=$save_ifs + + test -n "$7" && \ + func_fatal_help "too many parameters to '-version-info'" + + # convert absolute version numbers to libtool ages + # this retains compatibility with .la files and attempts + # to make the code below a bit more comprehensible + + case $vinfo_number in + yes) + number_major=$1 + number_minor=$2 + number_revision=$3 + # + # There are really only two kinds -- those that + # use the current revision as the major version + # and those that subtract age and use age as + # a minor version. But, then there is irix + # that has an extra 1 added just for fun + # + case $version_type in + # correct linux to gnu/linux during the next big refactor + darwin|freebsd-elf|linux|osf|windows|none) + func_arith $number_major + $number_minor + current=$func_arith_result + age=$number_minor + revision=$number_revision + ;; + freebsd-aout|qnx|sunos) + current=$number_major + revision=$number_minor + age=0 + ;; + irix|nonstopux) + func_arith $number_major + $number_minor + current=$func_arith_result + age=$number_minor + revision=$number_minor + lt_irix_increment=no + ;; + esac + ;; + no) + current=$1 + revision=$2 + age=$3 + ;; + esac + + # Check that each of the things are valid numbers. + case $current in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "CURRENT '$current' must be a nonnegative integer" + func_fatal_error "'$vinfo' is not valid version information" + ;; + esac + + case $revision in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "REVISION '$revision' must be a nonnegative integer" + func_fatal_error "'$vinfo' is not valid version information" + ;; + esac + + case $age in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "AGE '$age' must be a nonnegative integer" + func_fatal_error "'$vinfo' is not valid version information" + ;; + esac + + if test "$age" -gt "$current"; then + func_error "AGE '$age' is greater than the current interface number '$current'" + func_fatal_error "'$vinfo' is not valid version information" + fi + + # Calculate the version variables. + major= + versuffix= + verstring= + case $version_type in + none) ;; + + darwin) + # Like Linux, but with the current version available in + # verstring for coding it into the library header + func_arith $current - $age + major=.$func_arith_result + versuffix=$major.$age.$revision + # Darwin ld doesn't like 0 for these options... + func_arith $current + 1 + minor_current=$func_arith_result + xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + # On Darwin other compilers + case $CC in + nagfor*) + verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" + ;; + *) + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + ;; + esac + ;; + + freebsd-aout) + major=.$current + versuffix=.$current.$revision + ;; + + freebsd-elf) + func_arith $current - $age + major=.$func_arith_result + versuffix=$major.$age.$revision + ;; + + irix | nonstopux) + if test no = "$lt_irix_increment"; then + func_arith $current - $age + else + func_arith $current - $age + 1 + fi + major=$func_arith_result + + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring=$verstring_prefix$major.$revision + + # Add in all the interfaces that we are compatible with. + loop=$revision + while test 0 -ne "$loop"; do + func_arith $revision - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring=$verstring_prefix$major.$iface:$verstring + done + + # Before this point, $major must not contain '.'. + major=.$major + versuffix=$major.$revision + ;; + + linux) # correct to gnu/linux during the next big refactor + func_arith $current - $age + major=.$func_arith_result + versuffix=$major.$age.$revision + ;; + + osf) + func_arith $current - $age + major=.$func_arith_result + versuffix=.$current.$age.$revision + verstring=$current.$age.$revision + + # Add in all the interfaces that we are compatible with. + loop=$age + while test 0 -ne "$loop"; do + func_arith $current - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring=$verstring:$iface.0 + done + + # Make executables depend on our current version. + func_append verstring ":$current.0" + ;; + + qnx) + major=.$current + versuffix=.$current + ;; + + sco) + major=.$current + versuffix=.$current + ;; + + sunos) + major=.$current + versuffix=.$current.$revision + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 file systems. + func_arith $current - $age + major=$func_arith_result + versuffix=-$major + ;; + + *) + func_fatal_configuration "unknown library version type '$version_type'" + ;; + esac + + # Clear the version info if we defaulted, and they specified a release. + if test -z "$vinfo" && test -n "$release"; then + major= + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring= + ;; + *) + verstring=0.0 + ;; + esac + if test no = "$need_version"; then + versuffix= + else + versuffix=.0.0 + fi + fi + + # Remove version info from name if versioning should be avoided + if test yes,no = "$avoid_version,$need_version"; then + major= + versuffix= + verstring= + fi + + # Check to see if the archive will have undefined symbols. + if test yes = "$allow_undefined"; then + if test unsupported = "$allow_undefined_flag"; then + if test yes = "$build_old_libs"; then + func_warning "undefined symbols not allowed in $host shared libraries; building static only" + build_libtool_libs=no + else + func_fatal_error "can't build $host shared library unless -no-undefined is specified" + fi + fi + else + # Don't allow undefined symbols. + allow_undefined_flag=$no_undefined_flag + fi + + fi + + func_generate_dlsyms "$libname" "$libname" : + func_append libobjs " $symfileobj" + test " " = "$libobjs" && libobjs= + + if test relink != "$opt_mode"; then + # Remove our outputs, but don't remove object files since they + # may have been created when compiling PIC objects. + removelist= + tempremovelist=`$ECHO "$output_objdir/*"` + for p in $tempremovelist; do + case $p in + *.$objext | *.gcno) + ;; + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*) + if test -n "$precious_files_regex"; then + if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 + then + continue + fi + fi + func_append removelist " $p" + ;; + *) ;; + esac + done + test -n "$removelist" && \ + func_show_eval "${RM}r \$removelist" + fi + + # Now set the variables for building old libraries. + if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then + func_append oldlibs " $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + #for path in $notinst_path; do + # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` + # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` + # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` + #done + + if test -n "$xrpath"; then + # If the user specified any rpath flags, then add them. + temp_xrpath= + for libdir in $xrpath; do + func_replace_sysroot "$libdir" + func_append temp_xrpath " -R$func_replace_sysroot_result" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + done + if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then + dependency_libs="$temp_xrpath $dependency_libs" + fi + fi + + # Make sure dlfiles contains only unique files that won't be dlpreopened + old_dlfiles=$dlfiles + dlfiles= + for lib in $old_dlfiles; do + case " $dlprefiles $dlfiles " in + *" $lib "*) ;; + *) func_append dlfiles " $lib" ;; + esac + done + + # Make sure dlprefiles contains only unique files + old_dlprefiles=$dlprefiles + dlprefiles= + for lib in $old_dlprefiles; do + case "$dlprefiles " in + *" $lib "*) ;; + *) func_append dlprefiles " $lib" ;; + esac + done + + if test yes = "$build_libtool_libs"; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + func_append deplibs " System.ltframework" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test yes = "$build_libtool_need_lc"; then + func_append deplibs " -lc" + fi + ;; + esac + fi + + # Transform deplibs into only deplibs that can be linked in shared. + name_save=$name + libname_save=$libname + release_save=$release + versuffix_save=$versuffix + major_save=$major + # I'm not sure if I'm treating the release correctly. I think + # release should show up in the -l (ie -lgmp5) so we don't want to + # add it in twice. Is that correct? + release= + versuffix= + major= + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + pass_all) + # Don't check for shared/static. Everything works. + # This might be a little naive. We might want to check + # whether the library exists or not. But this is on + # osf3 & osf4 and I'm not really sure... Just + # implementing what was already the behavior. + newdeplibs=$deplibs + ;; + test_compile) + # This code stresses the "libraries are programs" paradigm to its + # limits. Maybe even breaks it. We compile a program, linking it + # against the deplibs as a proxy for the library. Then we can check + # whether they linked in statically or dynamically with ldd. + $opt_dry_run || $RM conftest.c + cat > conftest.c </dev/null` + $nocaseglob + else + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + fi + for potent_lib in $potential_libs; do + # Follow soft links. + if ls -lLd "$potent_lib" 2>/dev/null | + $GREP " -> " >/dev/null; then + continue + fi + # The statement above tries to avoid entering an + # endless loop below, in case of cyclic links. + # We might still enter an endless loop, since a link + # loop can be closed while we follow links, + # but so what? + potlib=$potent_lib + while test -h "$potlib" 2>/dev/null; do + potliblink=`ls -ld $potlib | $SED 's/.* -> //'` + case $potliblink in + [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;; + *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | + $SED -e 10q | + $EGREP "$file_magic_regex" > /dev/null; then + func_append newdeplibs " $a_deplib" + a_deplib= + break 2 + fi + done + done + fi + if test -n "$a_deplib"; then + droppeddeps=yes + echo + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib"; then + $ECHO "*** with $libname but no candidates were found. (...for file magic test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a file magic. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + func_append newdeplibs " $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + for a_deplib in $deplibs; do + case $a_deplib in + -l*) + func_stripname -l '' "$a_deplib" + name=$func_stripname_result + if test yes = "$allow_libtool_libs_with_static_runtimes"; then + case " $predeps $postdeps " in + *" $a_deplib "*) + func_append newdeplibs " $a_deplib" + a_deplib= + ;; + esac + fi + if test -n "$a_deplib"; then + libname=`eval "\\$ECHO \"$libname_spec\""` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + potlib=$potent_lib # see symlink-check above in file_magic test + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ + $EGREP "$match_pattern_regex" > /dev/null; then + func_append newdeplibs " $a_deplib" + a_deplib= + break 2 + fi + done + done + fi + if test -n "$a_deplib"; then + droppeddeps=yes + echo + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib"; then + $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a regex pattern. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + func_append newdeplibs " $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs= + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` + if test yes = "$allow_libtool_libs_with_static_runtimes"; then + for i in $predeps $postdeps; do + # can't use Xsed below, because $i might contain '/' + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"` + done + fi + case $tmp_deplibs in + *[!\ \ ]*) + echo + if test none = "$deplibs_check_method"; then + echo "*** Warning: inter-library dependencies are not supported in this platform." + else + echo "*** Warning: inter-library dependencies are not known to be supported." + fi + echo "*** All declared inter-library dependencies are being dropped." + droppeddeps=yes + ;; + esac + ;; + esac + versuffix=$versuffix_save + major=$major_save + release=$release_save + libname=$libname_save + name=$name_save + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library with the System framework + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` + ;; + esac + + if test yes = "$droppeddeps"; then + if test yes = "$module"; then + echo + echo "*** Warning: libtool could not satisfy all declared inter-library" + $ECHO "*** dependencies of module $libname. Therefore, libtool will create" + echo "*** a static module, that should work as long as the dlopening" + echo "*** application is linked with the -dlopen flag." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using 'nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** 'nm' from GNU binutils and a full rebuild may help." + fi + if test no = "$build_old_libs"; then + oldlibs=$output_objdir/$libname.$libext + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + else + echo "*** The inter-library dependencies that have been dropped here will be" + echo "*** automatically added whenever a program is linked with this library" + echo "*** or is declared to -dlopen it." + + if test no = "$allow_undefined"; then + echo + echo "*** Since this library must not contain undefined symbols," + echo "*** because either the platform does not support them or" + echo "*** it was explicitly requested with -no-undefined," + echo "*** libtool will only create a static version of it." + if test no = "$build_old_libs"; then + oldlibs=$output_objdir/$libname.$libext + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + fi + fi + # Done checking deplibs! + deplibs=$newdeplibs + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + case $host in + *-*-darwin*) + newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $deplibs " in + *" -L$path/$objdir "*) + func_append new_libs " -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) func_append new_libs " $deplib" ;; + esac + ;; + *) func_append new_libs " $deplib" ;; + esac + done + deplibs=$new_libs + + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= + dlname= + + # Test again, we may have decided not to build it any more + if test yes = "$build_libtool_libs"; then + # Remove $wl instances when linking with ld. + # FIXME: should test the right _cmds variable. + case $archive_cmds in + *\$LD\ *) wl= ;; + esac + if test yes = "$hardcode_into_libs"; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath=$finalize_rpath + test relink = "$opt_mode" || rpath=$compile_rpath$rpath + for libdir in $rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + func_replace_sysroot "$libdir" + libdir=$func_replace_sysroot_result + if test -z "$hardcode_libdirs"; then + hardcode_libdirs=$libdir + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append dep_rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) func_append perm_rpath " $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir=$hardcode_libdirs + eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + func_append rpath "$dir:" + done + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" + fi + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" + fi + + shlibpath=$finalize_shlibpath + test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath + if test -n "$shlibpath"; then + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" + fi + + # Get the real and link names of the library. + eval shared_ext=\"$shrext_cmds\" + eval library_names=\"$library_names_spec\" + set dummy $library_names + shift + realname=$1 + shift + + if test -n "$soname_spec"; then + eval soname=\"$soname_spec\" + else + soname=$realname + fi + if test -z "$dlname"; then + dlname=$soname + fi + + lib=$output_objdir/$realname + linknames= + for link + do + func_append linknames " $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` + test "X$libobjs" = "X " && libobjs= + + delfiles= + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" + export_symbols=$output_objdir/$libname.uexp + func_append delfiles " $export_symbols" + fi + + orig_export_symbols= + case $host_os in + cygwin* | mingw* | cegcc*) + if test -n "$export_symbols" && test -z "$export_symbols_regex"; then + # exporting using user supplied symfile + func_dll_def_p "$export_symbols" || { + # and it's NOT already a .def file. Must figure out + # which of the given symbols are data symbols and tag + # them as such. So, trigger use of export_symbols_cmds. + # export_symbols gets reassigned inside the "prepare + # the list of exported symbols" if statement, so the + # include_expsyms logic still works. + orig_export_symbols=$export_symbols + export_symbols= + always_export_symbols=yes + } + fi + ;; + esac + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then + func_verbose "generating symbol list for '$libname.la'" + export_symbols=$output_objdir/$libname.exp + $opt_dry_run || $RM $export_symbols + cmds=$export_symbols_cmds + save_ifs=$IFS; IFS='~' + for cmd1 in $cmds; do + IFS=$save_ifs + # Take the normal branch if the nm_file_list_spec branch + # doesn't work or if tool conversion is not needed. + case $nm_file_list_spec~$to_tool_file_cmd in + *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) + try_normal_branch=yes + eval cmd=\"$cmd1\" + func_len " $cmd" + len=$func_len_result + ;; + *) + try_normal_branch=no + ;; + esac + if test yes = "$try_normal_branch" \ + && { test "$len" -lt "$max_cmd_len" \ + || test "$max_cmd_len" -le -1; } + then + func_show_eval "$cmd" 'exit $?' + skipped_export=false + elif test -n "$nm_file_list_spec"; then + func_basename "$output" + output_la=$func_basename_result + save_libobjs=$libobjs + save_output=$output + output=$output_objdir/$output_la.nm + func_to_tool_file "$output" + libobjs=$nm_file_list_spec$func_to_tool_file_result + func_append delfiles " $output" + func_verbose "creating $NM input file list: $output" + for obj in $save_libobjs; do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > "$output" + eval cmd=\"$cmd1\" + func_show_eval "$cmd" 'exit $?' + output=$save_output + libobjs=$save_libobjs + skipped_export=false + else + # The command line is too long to execute in one step. + func_verbose "using reloadable object file for export list..." + skipped_export=: + # Break out early, otherwise skipped_export may be + # set to false by a later but shorter cmd. + break + fi + done + IFS=$save_ifs + if test -n "$export_symbols_regex" && test : != "$skipped_export"; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols=$export_symbols + test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' + fi + + if test : != "$skipped_export" && test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for '$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands, which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + func_append delfiles " $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + + tmp_deplibs= + for test_deplib in $deplibs; do + case " $convenience " in + *" $test_deplib "*) ;; + *) + func_append tmp_deplibs " $test_deplib" + ;; + esac + done + deplibs=$tmp_deplibs + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec" && + test yes = "$compiler_needs_object" && + test -z "$libobjs"; then + # extract the archives, so we have objects to list. + # TODO: could optimize this to just extract one archive. + whole_archive_flag_spec= + fi + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + else + gentop=$output_objdir/${outputname}x + func_append generated " $gentop" + + func_extract_archives $gentop $convenience + func_append libobjs " $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + fi + + if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + func_append linker_flags " $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test relink = "$opt_mode"; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? + fi + + # Do each of the archive commands. + if test yes = "$module" && test -n "$module_cmds"; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + eval test_cmds=\"$module_expsym_cmds\" + cmds=$module_expsym_cmds + else + eval test_cmds=\"$module_cmds\" + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval test_cmds=\"$archive_expsym_cmds\" + cmds=$archive_expsym_cmds + else + eval test_cmds=\"$archive_cmds\" + cmds=$archive_cmds + fi + fi + + if test : != "$skipped_export" && + func_len " $test_cmds" && + len=$func_len_result && + test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise + # or, if using GNU ld and skipped_export is not :, use a linker + # script. + + # Save the value of $output and $libobjs because we want to + # use them later. If we have whole_archive_flag_spec, we + # want to use save_libobjs as it was before + # whole_archive_flag_spec was expanded, because we can't + # assume the linker understands whole_archive_flag_spec. + # This may have to be revisited, in case too many + # convenience libraries get linked in and end up exceeding + # the spec. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + fi + save_output=$output + func_basename "$output" + output_la=$func_basename_result + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + last_robj= + k=1 + + if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then + output=$output_objdir/$output_la.lnkscript + func_verbose "creating GNU ld script: $output" + echo 'INPUT (' > $output + for obj in $save_libobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + echo ')' >> $output + func_append delfiles " $output" + func_to_tool_file "$output" + output=$func_to_tool_file_result + elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then + output=$output_objdir/$output_la.lnk + func_verbose "creating linker input file list: $output" + : > $output + set x $save_libobjs + shift + firstobj= + if test yes = "$compiler_needs_object"; then + firstobj="$1 " + shift + fi + for obj + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + func_append delfiles " $output" + func_to_tool_file "$output" + output=$firstobj\"$file_list_spec$func_to_tool_file_result\" + else + if test -n "$save_libobjs"; then + func_verbose "creating reloadable object files..." + output=$output_objdir/$output_la-$k.$objext + eval test_cmds=\"$reload_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + if test -z "$objlist" || + test "$len" -lt "$max_cmd_len"; then + func_append objlist " $obj" + else + # The command $test_cmds is almost too long, add a + # command to the queue. + if test 1 -eq "$k"; then + # The first file doesn't have a previous command to add. + reload_objs=$objlist + eval concat_cmds=\"$reload_cmds\" + else + # All subsequent reloadable object files will link in + # the last one created. + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" + fi + last_robj=$output_objdir/$output_la-$k.$objext + func_arith $k + 1 + k=$func_arith_result + output=$output_objdir/$output_la-$k.$objext + objlist=" $obj" + func_len " $last_robj" + func_arith $len0 + $func_len_result + len=$func_arith_result + fi + done + # Handle the remaining objects by creating one last + # reloadable object file. All subsequent reloadable object + # files will link in the last one created. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\$concat_cmds$reload_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" + fi + func_append delfiles " $output" + + else + output= + fi + + ${skipped_export-false} && { + func_verbose "generating symbol list for '$libname.la'" + export_symbols=$output_objdir/$libname.exp + $opt_dry_run || $RM $export_symbols + libobjs=$output + # Append the command to create the export file. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" + fi + } + + test -n "$save_libobjs" && + func_verbose "creating a temporary reloadable object file: $output" + + # Loop through the commands generated above and execute them. + save_ifs=$IFS; IFS='~' + for cmd in $concat_cmds; do + IFS=$save_ifs + $opt_quiet || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test relink = "$opt_mode"; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS=$save_ifs + + if test -n "$export_symbols_regex" && ${skipped_export-false}; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + + ${skipped_export-false} && { + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols=$export_symbols + test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' + fi + + if test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for '$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands, which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + func_append delfiles " $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + } + + libobjs=$output + # Restore the value of output. + output=$save_output + + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + fi + # Expand the library linking commands again to reset the + # value of $libobjs for piecewise linking. + + # Do each of the archive commands. + if test yes = "$module" && test -n "$module_cmds"; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + cmds=$module_expsym_cmds + else + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + cmds=$archive_expsym_cmds + else + cmds=$archive_cmds + fi + fi + fi + + if test -n "$delfiles"; then + # Append the command to remove temporary files to $cmds. + eval cmds=\"\$cmds~\$RM $delfiles\" + fi + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop=$output_objdir/${outputname}x + func_append generated " $gentop" + + func_extract_archives $gentop $dlprefiles + func_append libobjs " $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + + save_ifs=$IFS; IFS='~' + for cmd in $cmds; do + IFS=$sp$nl + eval cmd=\"$cmd\" + IFS=$save_ifs + $opt_quiet || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test relink = "$opt_mode"; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS=$save_ifs + + # Restore the uninstalled library and exit + if test relink = "$opt_mode"; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? + + if test -n "$convenience"; then + if test -z "$whole_archive_flag_spec"; then + func_show_eval '${RM}r "$gentop"' + fi + fi + + exit $EXIT_SUCCESS + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' + fi + done + + # If -module or -export-dynamic was specified, set the dlname. + if test yes = "$module" || test yes = "$export_dynamic"; then + # On all known operating systems, these are identical. + dlname=$soname + fi + fi + ;; + + obj) + if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then + func_warning "'-dlopen' is ignored for objects" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "'-l' and '-L' are ignored for objects" ;; + esac + + test -n "$rpath" && \ + func_warning "'-rpath' is ignored for objects" + + test -n "$xrpath" && \ + func_warning "'-R' is ignored for objects" + + test -n "$vinfo" && \ + func_warning "'-version-info' is ignored for objects" + + test -n "$release" && \ + func_warning "'-release' is ignored for objects" + + case $output in + *.lo) + test -n "$objs$old_deplibs" && \ + func_fatal_error "cannot build library object '$output' from non-libtool objects" + + libobj=$output + func_lo2o "$libobj" + obj=$func_lo2o_result + ;; + *) + libobj= + obj=$output + ;; + esac + + # Delete the old objects. + $opt_dry_run || $RM $obj $libobj + + # Objects from convenience libraries. This assumes + # single-version convenience libraries. Whenever we create + # different ones for PIC/non-PIC, this we'll have to duplicate + # the extraction. + reload_conv_objs= + gentop= + # if reload_cmds runs $LD directly, get rid of -Wl from + # whole_archive_flag_spec and hope we can get by with turning comma + # into space. + case $reload_cmds in + *\$LD[\ \$]*) wl= ;; + esac + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" + test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` + reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags + else + gentop=$output_objdir/${obj}x + func_append generated " $gentop" + + func_extract_archives $gentop $convenience + reload_conv_objs="$reload_objs $func_extract_archives_result" + fi + fi + + # If we're not building shared, we need to use non_pic_objs + test yes = "$build_libtool_libs" || libobjs=$non_pic_objects + + # Create the old-style object. + reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs + + output=$obj + func_execute_cmds "$reload_cmds" 'exit $?' + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + fi + + test yes = "$build_libtool_libs" || { + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + # Create an invalid libtool object if no PIC, so that we don't + # accidentally link it into a program. + # $show "echo timestamp > $libobj" + # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? + exit $EXIT_SUCCESS + } + + if test -n "$pic_flag" || test default != "$pic_mode"; then + # Only do commands if we really have different PIC objects. + reload_objs="$libobjs $reload_conv_objs" + output=$libobj + func_execute_cmds "$reload_cmds" 'exit $?' + fi + + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + ;; + + prog) + case $host in + *cygwin*) func_stripname '' '.exe' "$output" + output=$func_stripname_result.exe;; + esac + test -n "$vinfo" && \ + func_warning "'-version-info' is ignored for programs" + + test -n "$release" && \ + func_warning "'-release' is ignored for programs" + + $preload \ + && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \ + && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support." + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` + ;; + esac + + case $host in + *-*-darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + # But is supposedly fixed on 10.4 or later (yay!). + if test CXX = "$tagname"; then + case ${MACOSX_DEPLOYMENT_TARGET-10.0} in + 10.[0123]) + func_append compile_command " $wl-bind_at_load" + func_append finalize_command " $wl-bind_at_load" + ;; + esac + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $compile_deplibs " in + *" -L$path/$objdir "*) + func_append new_libs " -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $compile_deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) func_append new_libs " $deplib" ;; + esac + ;; + *) func_append new_libs " $deplib" ;; + esac + done + compile_deplibs=$new_libs + + + func_append compile_command " $compile_deplibs" + func_append finalize_command " $finalize_deplibs" + + if test -n "$rpath$xrpath"; then + # If the user specified any rpath flags, then add them. + for libdir in $rpath $xrpath; do + # This is the magic to use -rpath. + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + done + fi + + # Now hardcode the library paths + rpath= + hardcode_libdirs= + for libdir in $compile_rpath $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs=$libdir + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) func_append perm_rpath " $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$libdir:"*) ;; + ::) dllsearchpath=$libdir;; + *) func_append dllsearchpath ":$libdir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) func_append dllsearchpath ":$testbindir";; + esac + ;; + esac + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir=$hardcode_libdirs + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + compile_rpath=$rpath + + rpath= + hardcode_libdirs= + for libdir in $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs=$libdir + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) func_append finalize_perm_rpath " $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir=$hardcode_libdirs + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + finalize_rpath=$rpath + + if test -n "$libobjs" && test yes = "$build_old_libs"; then + # Transform all the library objects into standard objects. + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + fi + + func_generate_dlsyms "$outputname" "@PROGRAM@" false + + # template prelinking step + if test -n "$prelink_cmds"; then + func_execute_cmds "$prelink_cmds" 'exit $?' + fi + + wrappers_required=: + case $host in + *cegcc* | *mingw32ce*) + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. + wrappers_required=false + ;; + *cygwin* | *mingw* ) + test yes = "$build_libtool_libs" || wrappers_required=false + ;; + *) + if test no = "$need_relink" || test yes != "$build_libtool_libs"; then + wrappers_required=false + fi + ;; + esac + $wrappers_required || { + # Replace the output file specification. + compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` + link_command=$compile_command$compile_rpath + + # We have no uninstalled library dependencies, so finalize right now. + exit_status=0 + func_show_eval "$link_command" 'exit_status=$?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + # Delete the generated files. + if test -f "$output_objdir/${outputname}S.$objext"; then + func_show_eval '$RM "$output_objdir/${outputname}S.$objext"' + fi + + exit $exit_status + } + + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" + fi + if test -n "$finalize_shlibpath"; then + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" + fi + + compile_var= + finalize_var= + if test -n "$runpath_var"; then + if test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + func_append rpath "$dir:" + done + compile_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + if test -n "$finalize_perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $finalize_perm_rpath; do + func_append rpath "$dir:" + done + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + fi + + if test yes = "$no_install"; then + # We don't need to create a wrapper script. + link_command=$compile_var$compile_command$compile_rpath + # Replace the output file specification. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $opt_dry_run || $RM $output + # Link the executable and exit + func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + exit $EXIT_SUCCESS + fi + + case $hardcode_action,$fast_install in + relink,*) + # Fast installation is not supported + link_command=$compile_var$compile_command$compile_rpath + relink_command=$finalize_var$finalize_command$finalize_rpath + + func_warning "this platform does not like uninstalled shared libraries" + func_warning "'$output' will be relinked during installation" + ;; + *,yes) + link_command=$finalize_var$compile_command$finalize_rpath + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` + ;; + *,no) + link_command=$compile_var$compile_command$compile_rpath + relink_command=$finalize_var$finalize_command$finalize_rpath + ;; + *,needless) + link_command=$finalize_var$compile_command$finalize_rpath + relink_command= + ;; + esac + + # Replace the output file specification. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname + + func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output_objdir/$outputname" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + # Now create the wrapper script. + func_verbose "creating $output" + + # Quote the relink command for shipping. + if test -n "$relink_command"; then + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + fi + + # Only actually do things if not in dry run mode. + $opt_dry_run || { + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) func_stripname '' '.exe' "$output" + output=$func_stripname_result ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) + exeext=.exe + func_stripname '' '.exe' "$outputname" + outputname=$func_stripname_result ;; + *) exeext= ;; + esac + case $host in + *cygwin* | *mingw* ) + func_dirname_and_basename "$output" "" "." + output_name=$func_basename_result + output_path=$func_dirname_result + cwrappersource=$output_path/$objdir/lt-$output_name.c + cwrapper=$output_path/$output_name.exe + $RM $cwrappersource $cwrapper + trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + func_emit_cwrapperexe_src > $cwrappersource + + # The wrapper executable is built using the $host compiler, + # because it contains $host paths and files. If cross- + # compiling, it, like the target executable, must be + # executed on the $host or under an emulation environment. + $opt_dry_run || { + $LTCC $LTCFLAGS -o $cwrapper $cwrappersource + $STRIP $cwrapper + } + + # Now, create the wrapper script for func_source use: + func_ltwrapper_scriptname $cwrapper + $RM $func_ltwrapper_scriptname_result + trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 + $opt_dry_run || { + # note: this script will not be executed, so do not chmod. + if test "x$build" = "x$host"; then + $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result + else + func_emit_wrapper no > $func_ltwrapper_scriptname_result + fi + } + ;; + * ) + $RM $output + trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 + + func_emit_wrapper no > $output + chmod +x $output + ;; + esac + } + exit $EXIT_SUCCESS + ;; + esac + + # See if we need to build an old-fashioned archive. + for oldlib in $oldlibs; do + + case $build_libtool_libs in + convenience) + oldobjs="$libobjs_save $symfileobj" + addlibs=$convenience + build_libtool_libs=no + ;; + module) + oldobjs=$libobjs_save + addlibs=$old_convenience + build_libtool_libs=no + ;; + *) + oldobjs="$old_deplibs $non_pic_objects" + $preload && test -f "$symfileobj" \ + && func_append oldobjs " $symfileobj" + addlibs=$old_convenience + ;; + esac + + if test -n "$addlibs"; then + gentop=$output_objdir/${outputname}x + func_append generated " $gentop" + + func_extract_archives $gentop $addlibs + func_append oldobjs " $func_extract_archives_result" + fi + + # Do each command in the archive commands. + if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then + cmds=$old_archive_from_new_cmds + else + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop=$output_objdir/${outputname}x + func_append generated " $gentop" + + func_extract_archives $gentop $dlprefiles + func_append oldobjs " $func_extract_archives_result" + fi + + # POSIX demands no paths to be encoded in archives. We have + # to avoid creating archives with duplicate basenames if we + # might have to extract them afterwards, e.g., when creating a + # static archive out of a convenience library, or when linking + # the entirety of a libtool archive into another (currently + # not supported by libtool). + if (for obj in $oldobjs + do + func_basename "$obj" + $ECHO "$func_basename_result" + done | sort | sort -uc >/dev/null 2>&1); then + : + else + echo "copying selected object files to avoid basename conflicts..." + gentop=$output_objdir/${outputname}x + func_append generated " $gentop" + func_mkdir_p "$gentop" + save_oldobjs=$oldobjs + oldobjs= + counter=1 + for obj in $save_oldobjs + do + func_basename "$obj" + objbase=$func_basename_result + case " $oldobjs " in + " ") oldobjs=$obj ;; + *[\ /]"$objbase "*) + while :; do + # Make sure we don't pick an alternate name that also + # overlaps. + newobj=lt$counter-$objbase + func_arith $counter + 1 + counter=$func_arith_result + case " $oldobjs " in + *[\ /]"$newobj "*) ;; + *) if test ! -f "$gentop/$newobj"; then break; fi ;; + esac + done + func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" + func_append oldobjs " $gentop/$newobj" + ;; + *) func_append oldobjs " $obj" ;; + esac + done + fi + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result + eval cmds=\"$old_archive_cmds\" + + func_len " $cmds" + len=$func_len_result + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + elif test -n "$archiver_list_spec"; then + func_verbose "using command file archive linking..." + for obj in $oldobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > $output_objdir/$libname.libcmd + func_to_tool_file "$output_objdir/$libname.libcmd" + oldobjs=" $archiver_list_spec$func_to_tool_file_result" + cmds=$old_archive_cmds + else + # the command line is too long to link in one step, link in parts + func_verbose "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + oldobjs= + # Is there a better way of finding the last object in the list? + for obj in $save_oldobjs + do + last_oldobj=$obj + done + eval test_cmds=\"$old_archive_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + for obj in $save_oldobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + func_append objlist " $obj" + if test "$len" -lt "$max_cmd_len"; then + : + else + # the above command should be used before it gets too long + oldobjs=$objlist + if test "$obj" = "$last_oldobj"; then + RANLIB=$save_RANLIB + fi + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\$concat_cmds$old_archive_cmds\" + objlist= + len=$len0 + fi + done + RANLIB=$save_RANLIB + oldobjs=$objlist + if test -z "$oldobjs"; then + eval cmds=\"\$concat_cmds\" + else + eval cmds=\"\$concat_cmds~\$old_archive_cmds\" + fi + fi + fi + func_execute_cmds "$cmds" 'exit $?' + done + + test -n "$generated" && \ + func_show_eval "${RM}r$generated" + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test yes = "$build_old_libs" && old_library=$libname.$libext + func_verbose "creating $output" + + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + # Quote the link command for shipping. + relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + if test yes = "$hardcode_automatic"; then + relink_command= + fi + + # Only create the output if not a dry run. + $opt_dry_run || { + for installed in no yes; do + if test yes = "$installed"; then + if test -z "$install_libdir"; then + break + fi + output=$output_objdir/${outputname}i + # Replace all uninstalled libtool libraries with the installed ones + newdependency_libs= + for deplib in $dependency_libs; do + case $deplib in + *.la) + func_basename "$deplib" + name=$func_basename_result + func_resolve_sysroot "$deplib" + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` + test -z "$libdir" && \ + func_fatal_error "'$deplib' is not a valid libtool archive" + func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" + ;; + -L*) + func_stripname -L '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -L$func_replace_sysroot_result" + ;; + -R*) + func_stripname -R '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -R$func_replace_sysroot_result" + ;; + *) func_append newdependency_libs " $deplib" ;; + esac + done + dependency_libs=$newdependency_libs + newdlfiles= + + for lib in $dlfiles; do + case $lib in + *.la) + func_basename "$lib" + name=$func_basename_result + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "'$lib' is not a valid libtool archive" + func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" + ;; + *) func_append newdlfiles " $lib" ;; + esac + done + dlfiles=$newdlfiles + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + *.la) + # Only pass preopened files to the pseudo-archive (for + # eventual linking with the app. that links it) if we + # didn't already link the preopened objects directly into + # the library: + func_basename "$lib" + name=$func_basename_result + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "'$lib' is not a valid libtool archive" + func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" + ;; + esac + done + dlprefiles=$newdlprefiles + else + newdlfiles= + for lib in $dlfiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; + *) abs=`pwd`"/$lib" ;; + esac + func_append newdlfiles " $abs" + done + dlfiles=$newdlfiles + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; + *) abs=`pwd`"/$lib" ;; + esac + func_append newdlprefiles " $abs" + done + dlprefiles=$newdlprefiles + fi + $RM $output + # place dlname in correct position for cygwin + # In fact, it would be nice if we could use this code for all target + # systems that can't hard-code library paths into their executables + # and that have no shared library path variable independent of PATH, + # but it turns out we can't easily determine that from inspecting + # libtool variables, so we have to hard-code the OSs to which it + # applies here; at the moment, that means platforms that use the PE + # object format with DLL files. See the long comment at the top of + # tests/bindir.at for full details. + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) + # If a -bindir argument was supplied, place the dll there. + if test -n "$bindir"; then + func_relative_path "$install_libdir" "$bindir" + tdlname=$func_relative_path_result/$dlname + else + # Otherwise fall back on heuristic. + tdlname=../bin/$dlname + fi + ;; + esac + $ECHO > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM (GNU $PACKAGE) $VERSION +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='$tdlname' + +# Names of this library. +library_names='$library_names' + +# The name of the static archive. +old_library='$old_library' + +# Linker flags that cannot go in dependency_libs. +inherited_linker_flags='$new_inherited_linker_flags' + +# Libraries that this one depends upon. +dependency_libs='$dependency_libs' + +# Names of additional weak libraries provided by this library +weak_library_names='$weak_libs' + +# Version information for $libname. +current=$current +age=$age +revision=$revision + +# Is this an already installed library? +installed=$installed + +# Should we warn about portability when linking against -modules? +shouldnotlink=$module + +# Files to dlopen/dlpreopen +dlopen='$dlfiles' +dlpreopen='$dlprefiles' + +# Directory that this library needs to be installed in: +libdir='$install_libdir'" + if test no,yes = "$installed,$need_relink"; then + $ECHO >> $output "\ +relink_command=\"$relink_command\"" + fi + done + } + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' + ;; + esac + exit $EXIT_SUCCESS +} + +if test link = "$opt_mode" || test relink = "$opt_mode"; then + func_mode_link ${1+"$@"} +fi + + +# func_mode_uninstall arg... +func_mode_uninstall () +{ + $debug_cmd + + RM=$nonopt + files= + rmforce=false + exit_status=0 + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic=$magic + + for arg + do + case $arg in + -f) func_append RM " $arg"; rmforce=: ;; + -*) func_append RM " $arg" ;; + *) func_append files " $arg" ;; + esac + done + + test -z "$RM" && \ + func_fatal_help "you must specify an RM program" + + rmdirs= + + for file in $files; do + func_dirname "$file" "" "." + dir=$func_dirname_result + if test . = "$dir"; then + odir=$objdir + else + odir=$dir/$objdir + fi + func_basename "$file" + name=$func_basename_result + test uninstall = "$opt_mode" && odir=$dir + + # Remember odir for removal later, being careful to avoid duplicates + if test clean = "$opt_mode"; then + case " $rmdirs " in + *" $odir "*) ;; + *) func_append rmdirs " $odir" ;; + esac + fi + + # Don't error if the file doesn't exist and rm -f was used. + if { test -L "$file"; } >/dev/null 2>&1 || + { test -h "$file"; } >/dev/null 2>&1 || + test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif $rmforce; then + continue + fi + + rmfiles=$file + + case $name in + *.la) + # Possibly a libtool archive, so verify it. + if func_lalib_p "$file"; then + func_source $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + func_append rmfiles " $odir/$n" + done + test -n "$old_library" && func_append rmfiles " $odir/$old_library" + + case $opt_mode in + clean) + case " $library_names " in + *" $dlname "*) ;; + *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; + esac + test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" + ;; + uninstall) + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1' + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1' + fi + # FIXME: should reinstall the best remaining shared library. + ;; + esac + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if func_lalib_p "$file"; then + + # Read the .lo file + func_source $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" && test none != "$pic_object"; then + func_append rmfiles " $dir/$pic_object" + fi + + # Add non-PIC object to the list of files to remove. + if test -n "$non_pic_object" && test none != "$non_pic_object"; then + func_append rmfiles " $dir/$non_pic_object" + fi + fi + ;; + + *) + if test clean = "$opt_mode"; then + noexename=$name + case $file in + *.exe) + func_stripname '' '.exe' "$file" + file=$func_stripname_result + func_stripname '' '.exe' "$name" + noexename=$func_stripname_result + # $file with .exe has already been added to rmfiles, + # add $file without .exe + func_append rmfiles " $file" + ;; + esac + # Do a test to see if this is a libtool program. + if func_ltwrapper_p "$file"; then + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + relink_command= + func_source $func_ltwrapper_scriptname_result + func_append rmfiles " $func_ltwrapper_scriptname_result" + else + relink_command= + func_source $dir/$noexename + fi + + # note $name still contains .exe if it was in $file originally + # as does the version of $file that was added into $rmfiles + func_append rmfiles " $odir/$name $odir/${name}S.$objext" + if test yes = "$fast_install" && test -n "$relink_command"; then + func_append rmfiles " $odir/lt-$name" + fi + if test "X$noexename" != "X$name"; then + func_append rmfiles " $odir/lt-$noexename.c" + fi + fi + fi + ;; + esac + func_show_eval "$RM $rmfiles" 'exit_status=1' + done + + # Try to remove the $objdir's in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + func_show_eval "rmdir $dir >/dev/null 2>&1" + fi + done + + exit $exit_status +} + +if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then + func_mode_uninstall ${1+"$@"} +fi + +test -z "$opt_mode" && { + help=$generic_help + func_fatal_help "you must specify a MODE" +} + +test -z "$exec_cmd" && \ + func_fatal_help "invalid operation mode '$opt_mode'" + +if test -n "$exec_cmd"; then + eval exec "$exec_cmd" + exit $EXIT_FAILURE +fi + +exit $exit_status + + +# The TAGs below are defined such that we never get into a situation +# where we disable both kinds of libraries. Given conflicting +# choices, we go for a static library, that is the most portable, +# since we can't tell whether shared libraries were disabled because +# the user asked for that or because the platform doesn't support +# them. This is particularly important on AIX, because we don't +# support having both static and shared libraries enabled at the same +# time on that platform, so we default to a shared-only configuration. +# If a disable-shared tag is given, we'll fallback to a static-only +# configuration. But we'll never go from static-only to shared-only. + +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared +build_libtool_libs=no +build_old_libs=yes +# ### END LIBTOOL TAG CONFIG: disable-shared + +# ### BEGIN LIBTOOL TAG CONFIG: disable-static +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` +# ### END LIBTOOL TAG CONFIG: disable-static + +# Local Variables: +# mode:shell-script +# sh-indentation:2 +# End: diff -Nru pragha-1.3.3/Makefile.in pragha-1.3.992/Makefile.in --- pragha-1.3.3/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/Makefile.in 2019-08-13 12:52:09.000000000 +0000 @@ -0,0 +1,1012 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +@HAVE_LIBPEAS_TRUE@am__append_1 = plugins +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ + $(am__configure_deps) $(am__DIST_COMMON) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(docdir)" +DATA = $(doc_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir distdir-am dist dist-all distcheck +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)config.h.in +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope +DIST_SUBDIRS = data po src plugins +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \ + COPYING ChangeLog INSTALL NEWS README compile config.guess \ + config.sub install-sh ltmain.sh missing +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +GZIP_ENV = --best +DIST_ARCHIVES = $(distdir).tar.bz2 +DIST_TARGETS = dist-bzip2 +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +SUBDIRS = data po src $(am__append_1) +AUTOMAKE_OPTIONS = \ + 1.8 \ + dist-bzip2 + +doc_DATA = ChangeLog FAQ NEWS README +EXTRA_DIST = \ + $(text_DATA) \ + $(doc_DATA) + +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config.h: stamp-h1 + @test -f $@ || rm -f stamp-h1 + @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool config.lt +install-docDATA: $(doc_DATA) + @$(NORMAL_INSTALL) + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ + done + +uninstall-docDATA: + @$(NORMAL_UNINSTALL) + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz + $(am__post_remove_distdir) +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) + +dist-tarZ: distdir + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__post_remove_distdir) + +dist-shar: distdir + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz + $(am__post_remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build/sub \ + && ../../configure \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + --srcdir=../.. --prefix="$$dc_install_base" \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile $(DATA) config.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(docdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr \ + distclean-libtool distclean-local distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-docDATA + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-docDATA + +.MAKE: $(am__recursive_targets) all install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am clean clean-cscope clean-generic \ + clean-libtool cscope cscopelist-am ctags ctags-am dist \ + dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ + dist-xz dist-zip distcheck distclean distclean-generic \ + distclean-hdr distclean-libtool distclean-local distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-docDATA install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-docDATA + +.PRECIOUS: Makefile + + +transifex-setup: + tx init + tx set --auto-remote https://www.transifex.com/projects/p/Pragha/ + tx set --auto-local -r Pragha.Pragha 'po/.po' --source-lang en --source-file po/pragha.pot --execute + +transifex-pull: + tx pull -a -f + @echo "You can now git commit -a -m 'Transfix pull, *.po update'" + +transifex-push: + tx push -s + @echo "You can now git commit -a -m 'Transfix push, pragha.pot update'" + +distclean-local: + rm -rf *.cache *~ + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/missing pragha-1.3.992/missing --- pragha-1.3.3/missing 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/missing 2019-08-13 12:52:09.000000000 +0000 @@ -0,0 +1,215 @@ +#! /bin/sh +# Common wrapper for a few potentially missing GNU programs. + +scriptversion=2018-03-07.03; # UTC + +# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Originally written by Fran,cois Pinard , 1996. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try '$0 --help' for more information" + exit 1 +fi + +case $1 in + + --is-lightweight) + # Used by our autoconf macros to check whether the available missing + # script is modern enough. + exit 0 + ;; + + --run) + # Back-compat with the calling convention used by older automake. + shift + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due +to PROGRAM being missing or too old. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + +Supported PROGRAM values: + aclocal autoconf autoheader autom4te automake makeinfo + bison yacc flex lex help2man + +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and +'g' are ignored when checking the name. + +Send bug reports to ." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: unknown '$1' option" + echo 1>&2 "Try '$0 --help' for more information" + exit 1 + ;; + +esac + +# Run the given program, remember its exit status. +"$@"; st=$? + +# If it succeeded, we are done. +test $st -eq 0 && exit 0 + +# Also exit now if we it failed (or wasn't found), and '--version' was +# passed; such an option is passed most likely to detect whether the +# program is present and works. +case $2 in --version|--help) exit $st;; esac + +# Exit code 63 means version mismatch. This often happens when the user +# tries to use an ancient version of a tool on a file that requires a +# minimum version. +if test $st -eq 63; then + msg="probably too old" +elif test $st -eq 127; then + # Program was missing. + msg="missing on your system" +else + # Program was found and executed, but failed. Give up. + exit $st +fi + +perl_URL=https://www.perl.org/ +flex_URL=https://github.com/westes/flex +gnu_software_URL=https://www.gnu.org/software + +program_details () +{ + case $1 in + aclocal|automake) + echo "The '$1' program is part of the GNU Automake package:" + echo "<$gnu_software_URL/automake>" + echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/autoconf>" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + autoconf|autom4te|autoheader) + echo "The '$1' program is part of the GNU Autoconf package:" + echo "<$gnu_software_URL/autoconf/>" + echo "It also requires GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + esac +} + +give_advice () +{ + # Normalize program name to check for. + normalized_program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + + printf '%s\n' "'$1' is $msg." + + configure_deps="'configure.ac' or m4 files included by 'configure.ac'" + case $normalized_program in + autoconf*) + echo "You should only need it if you modified 'configure.ac'," + echo "or m4 files included by it." + program_details 'autoconf' + ;; + autoheader*) + echo "You should only need it if you modified 'acconfig.h' or" + echo "$configure_deps." + program_details 'autoheader' + ;; + automake*) + echo "You should only need it if you modified 'Makefile.am' or" + echo "$configure_deps." + program_details 'automake' + ;; + aclocal*) + echo "You should only need it if you modified 'acinclude.m4' or" + echo "$configure_deps." + program_details 'aclocal' + ;; + autom4te*) + echo "You might have modified some maintainer files that require" + echo "the 'autom4te' program to be rebuilt." + program_details 'autom4te' + ;; + bison*|yacc*) + echo "You should only need it if you modified a '.y' file." + echo "You may want to install the GNU Bison package:" + echo "<$gnu_software_URL/bison/>" + ;; + lex*|flex*) + echo "You should only need it if you modified a '.l' file." + echo "You may want to install the Fast Lexical Analyzer package:" + echo "<$flex_URL>" + ;; + help2man*) + echo "You should only need it if you modified a dependency" \ + "of a man page." + echo "You may want to install the GNU Help2man package:" + echo "<$gnu_software_URL/help2man/>" + ;; + makeinfo*) + echo "You should only need it if you modified a '.texi' file, or" + echo "any other file indirectly affecting the aspect of the manual." + echo "You might want to install the Texinfo package:" + echo "<$gnu_software_URL/texinfo/>" + echo "The spurious makeinfo call might also be the consequence of" + echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" + echo "want to install GNU make:" + echo "<$gnu_software_URL/make/>" + ;; + *) + echo "You might have modified some files without having the proper" + echo "tools for further handling them. Check the 'README' file, it" + echo "often tells you about the needed prerequisites for installing" + echo "this package. You may also peek at any GNU archive site, in" + echo "case some other package contains this missing '$1' program." + ;; + esac +} + +give_advice "$1" | sed -e '1s/^/WARNING: /' \ + -e '2,$s/^/ /' >&2 + +# Propagate the correct exit status (expected to be 127 for a program +# not found, 63 for a program that failed due to version mismatch). +exit $st + +# Local variables: +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff -Nru pragha-1.3.3/NEWS pragha-1.3.992/NEWS --- pragha-1.3.3/NEWS 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/NEWS 2019-08-13 23:25:41.000000000 +0000 @@ -1,7 +1,202 @@ ============================================================== -Overview of changes between Pragha 1.3.3 and 1.3.2.2 +Overview of changes between Pragha 1.3.99.1 and 1.3.99 ============================================================== +News: + Shows temporary messages or services errors such as in-app-notifications. + Replace the status bar with a floating bar that does not require so much space. + Huge refactoring of the mtp plugin. Everything runs in a second thread. + Split Pragha between the application and a library to link the plugins. [1] + +Other Changes: + Add proxy setting to song-info plugin. Thanks to Pavel Vasin. + Introduce PraghaTempProvider but not used yet. + Move background tasks popover to main toolbar. + Strip accentuation and others characters when approximate search. Issue #146 + Send notification when finished ampache or koel import + Use popovers in the menus of sidebars. + Improve metadata for appstream. Issue #152 Thanks to Joel Barrios + Adjust copyright mentioning Consonance. + Convert the status bar to an floating bar. + Implement upgrade Koel and Ampache from library pane menu. + Ampache: Reports when the server is empty. + Save the list of suggestions with the original information. + Show and hide the status bar automatically. + Depends on xdt-csource instead of exo-csource to compile the menus. + Add option to ignore playback errors to continue with others songs. + +Bug Fixes: + Vizualizer: Not saturate particles so much but give them more dynamics. + Last.fm: Postpose update current song when a scrobble is pending. Improve issue #142 + Tune.In: Find the first audio between all results. + Rename dbus and appstream ids to better reverse-DNS domain. Issue #117 + Don't use deprecated g_type_class_add_private. + Port the status icon menu to GktBuilder/GMenu/GAction. + Port part of library pane to GtkBuilder/GMenu. + Fix a lot of deprecations messages. + Fix ghost row (null null), in the list of similar songs + Fix pulse indication in filter entry while search. + DLNA client.. Force load glr-dleyna plugin. + Various fixes to compile pragha with msys2 + +[1]: This results in a true plugin system, being able to write 3rd party plugins + * https://github.com/pragha-music-player/pragha-sample-plugin + +============================================================== +OTHERS RELEASES: +============================================================== + +V1.3.99 +News: + First implementation of Favorites as a playlist. + Sync favorites with Koel and Last.Fm. + New Visualizer plugin. Just thanks to Koel for the idea. + +Other Changes: + Use Alt+Return shortcut to edit the selected song. + Add progress indicator to the search entry while it works. + Remember last pane used on song info plugin. + Allows to customize the styles to the distro packagers. + +Bug Fixes: + Restore X11 session support. As fallback try to use dbus session manager. + Fix bad encoding on lastfm responses. Issue #93 + Fix encoding on similar song pane. + Import Year from Koel if available. + Fix typo in autogen.sh. Thanks to acharjyanisankh. + Misc deprecation fixes and remove old code. + +Updates Translations: + Update Danish translation thanks to scootergrisen. + Update Ukranian translation thanks to Koljan1970. + Update Dutch translation thanks to Vistaus. + Update French translation thanks to rptx. + Update Czech translation thanks to anespor. + Update Turkish translation thanks to Celonfix. + Update Russian translation thanks to Kyrill Detinov. + Update Chinese (China) translation thanks to Mingcong Bai. + Update Indonesian translation thanks to zk. + Update Catalan translation thanks to Robert Antoni Buj Gelonch. + Update Bulgarian translation thanks to Любомир Василев. + Update Lithuanian translation thanks to Moo. + +V1.3.92 +News: + Some improvements the recommendations panel + - New button to append all recommendations + - Can queue the songs with the Q key. + +Bug Fixes: + Fix some memory leaks. + Fix some deprecation warnings.. Issue #136 + Fix issue #139 "Similar songs" always shown. + Mitigate a lot of warnings introduced on pull request #131 + Ignore phones that are charging without mtp support (Android Default) + Handle correctly when disconnect the phone cable. + +Updates Translations: + New Arabic translations thanks to wissam. + Update Bulgarian translation thanks to Любомир Василев. + Update Danish translation thanks to scootergrisen. + Update German translation thanks to Ettore Atalan and Vinzenz Vietzke. + Update Catalan translation thanks to Robert Antoni Buj Gelonch. + Update Spanish translation thanks to Josué Aquino. + Update French translation thanks to sda2b. + Update Indonesian translation thanks to zk. + Update Korean translation thanks to smallsnail. + Update Polish translation thanks to Eryk Andrzejewski and nunoho emailsy. + Update Portuguese translation thanks to Sérgio Marques. + Update Portuguese (Brazil) translation thanks to carlo giusepe tadei valente sasaki. + Update Russian translation thanks to Kyrill Detinov. + Update Slovak translation thanks to Dušan Kazik. + Update Chinese (China) translation thanks to Mingcong Bai. + +V1.3.91.1 +News: + Save lyrics and artist bio ans similar songs in user cache as files. + - These are easily editable by the user. + Implement increse play count to Koel. + Various improvements to the tag editor dialog. + - Add a header that highlights the main tags. + - Update the header as you edit the tags. + - Hides the check buttons and shows them when the tag is modified. + - When you demarcate the check, restore the original tag. + +Bug Fixes: + Fix plugins on last tarball due to an internal development patch. Issue #135 + +V1.3.91 +News: + New Koel plugin that allow play music from this service. + Implements cache purge limited by size. 1GB by default. + Add option to "Add and Play" from library view. Thanks to triorr + Allows reordering the columns of the playlists. Thanks to triorr + New panel on info plugin that show recomendations from Lastfm. + +Other Changes: + Use custom name for the panel icons. Issue #121 + Add a symbolic icon for panel. Not used by default. + Put cover arts cache to .cache/pragha/art + Need Gtk >= 3.14: Even old debian jessie supports it. + Add "Search" hint to search entry. + +Bug Fixes: + Fix Incorrect Can* properties of the MPRIS Specification #123 + Implement emit CanNext/Prev/Play/Pause/Seek. Issue #123 + Rename default playlist name from "Playlists" to "Tracks" on MPRIS2. + Fixes for Appstream Standard Conformance Thanks to Gabriel F. T. Gomes. + Add BUFFERING state to backend to allow stop on slow connections. + Fix some GtkDialog mapped without a transient parent. + Fix Build system can try to use grilo-0.2 and grilo-0.3 simultaneously. Issue #124 + Fix double unref on Ampache and Koel plugins. + Fix easy to miss dependency on exo-csource Issue #128 + Try to improve filter response. + Silently ignore utf8 errors from last.fm reponces. Issue #93 + Try to improve open files dialog. + +V1.3.90 +News: + New Ampache plugin. + Uses a new concept of 'provider' that allows show music from multiple + collections independently. + New standard widget to display progress of long tasks. + +Other Changes: + Allow apply a custom css. Related to Issue #64, #87 + Register session in GtkApplication now compatible with xfce 4.14 + Implement disconect device action to mtp plugin. + Add backward compatibility to grilo. + Use a .ui file to define menu button. + Remove custom invisible char of lastfm password + Dist pragha.ico/.rc needed to msys build + Fixes some border, spacing and margins. + +Bug Fixes: + Use same accel to show second sidebar that gnome-builder. Issue #73 + Fix Menu icon blured preferring non symbolic icons. Issue #85 + Fixing duration formatting thanks to Jeremiah Menétrey. Issue #103 + Fix dnd over an empty place in the playlist. Issue #104 + Align to center the toolbar icons instead vertical fill. Issue #108 + Dont use keybinder plugin on wayland. Issue #118 + Fix a few of Gtk deprecations. + Misc fixes to Gtk 3.20 and GCC 6.0. + Valgrind: Fix a lot of memory leaks. + Fixed typo analized -> analyzed thanks to radej. + + Fix spelling and grammar on README thanks to rski. + Consider all rows as fixed size. It is supposed to improve speed. + +Updates Translations: + New Danish tranlations thanks to scootergrisen. + New Indonesian tranlations thanks to Zk. + New Slovak tranlations thanks to prescott. + A lot of updated translations. Thank you very much to all. + +============================================================== +OLD RELEASES: +============================================================== + +V1.3.3 Codename: "Just a preamp..." News: @@ -29,10 +224,6 @@ Update Bulgarian translation thanks to lyubomirv. Update Swedish translation thanks to monotux. -============================================================== -OTHERS REALESES: -============================================================== - V1.3.2.2 Codename: "Gtk 3.14: Que cunda el panico. haha. ;)" diff -Nru pragha-1.3.3/plugins/acoustid/Makefile.am pragha-1.3.992/plugins/acoustid/Makefile.am --- pragha-1.3.3/plugins/acoustid/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/acoustid/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -12,40 +12,14 @@ libacoustid_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libacoustid_la_CFLAGS = \ - $(LIBSOUP_CFLAGS) \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall - -libacoustid_la_LIBADD = \ - $(LIBSOUP_LIBS) \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) - -if HAVE_GSTREAMER_AUDIO -libacoustid_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libacoustid_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -libacoustid_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libacoustid_la_LIBADD += $(LIBXFCE4UI_LIBS) -endif +libacoustid_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBSOUP_CFLAGS) + +libacoustid_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBSOUP_LIBS) \ + $(top_builddir)/src/libpragha.la plugin_DATA = acoustid.plugin diff -Nru pragha-1.3.3/plugins/acoustid/Makefile.in pragha-1.3.992/plugins/acoustid/Makefile.in --- pragha-1.3.3/plugins/acoustid/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/acoustid/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,827 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/acoustid +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libacoustid_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(top_builddir)/src/libpragha.la +am_libacoustid_la_OBJECTS = libacoustid_la-pragha-acoustid-plugin.lo +libacoustid_la_OBJECTS = $(am_libacoustid_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libacoustid_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libacoustid_la_CFLAGS) $(CFLAGS) $(libacoustid_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = \ + ./$(DEPDIR)/libacoustid_la-pragha-acoustid-plugin.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libacoustid_la_SOURCES) +DIST_SOURCES = $(libacoustid_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/acoustid +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libacoustid.la +libacoustid_la_SOURCES = \ + pragha-acoustid-plugin.c + +libacoustid_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libacoustid_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBSOUP_CFLAGS) + +libacoustid_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBSOUP_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = acoustid.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/acoustid/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/acoustid/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libacoustid.la: $(libacoustid_la_OBJECTS) $(libacoustid_la_DEPENDENCIES) $(EXTRA_libacoustid_la_DEPENDENCIES) + $(AM_V_CCLD)$(libacoustid_la_LINK) -rpath $(plugindir) $(libacoustid_la_OBJECTS) $(libacoustid_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libacoustid_la-pragha-acoustid-plugin.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libacoustid_la-pragha-acoustid-plugin.lo: pragha-acoustid-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libacoustid_la_CFLAGS) $(CFLAGS) -MT libacoustid_la-pragha-acoustid-plugin.lo -MD -MP -MF $(DEPDIR)/libacoustid_la-pragha-acoustid-plugin.Tpo -c -o libacoustid_la-pragha-acoustid-plugin.lo `test -f 'pragha-acoustid-plugin.c' || echo '$(srcdir)/'`pragha-acoustid-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libacoustid_la-pragha-acoustid-plugin.Tpo $(DEPDIR)/libacoustid_la-pragha-acoustid-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-acoustid-plugin.c' object='libacoustid_la-pragha-acoustid-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libacoustid_la_CFLAGS) $(CFLAGS) -c -o libacoustid_la-pragha-acoustid-plugin.lo `test -f 'pragha-acoustid-plugin.c' || echo '$(srcdir)/'`pragha-acoustid-plugin.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libacoustid_la-pragha-acoustid-plugin.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libacoustid_la-pragha-acoustid-plugin.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/acoustid/pragha-acoustid-plugin.c pragha-1.3.992/plugins/acoustid/pragha-acoustid-plugin.c --- pragha-1.3.3/plugins/acoustid/pragha-acoustid-plugin.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/acoustid/pragha-acoustid-plugin.c 2019-07-05 13:14:22.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2014 matias */ +/* Copyright (C) 2014-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -37,6 +37,7 @@ #include #include "src/pragha.h" +#include "src/pragha-app-notification.h" #include "src/pragha-menubar.h" #include "src/pragha-playlist.h" #include "src/pragha-playlists-mgmt.h" @@ -47,6 +48,8 @@ #include "src/pragha-window.h" #include "src/pragha-tagger.h" #include "src/pragha-tags-dialog.h" +#include "src/pragha-background-task-bar.h" +#include "src/pragha-background-task-widget.h" #include "plugins/pragha-plugin-macros.h" @@ -58,12 +61,14 @@ #define PRAGHA_ACOUSTID_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PRAGHA_TYPE_ACOUSTID_PLUGIN, PraghaAcoustidPluginClass)) struct _PraghaAcoustidPluginPrivate { - PraghaApplication *pragha; + PraghaApplication *pragha; - PraghaMusicobject *mobj; + PraghaMusicobject *mobj; - GtkActionGroup *action_group_main_menu; - guint merge_id_main_menu; + PraghaBackgroundTaskWidget *task_widget; + + GtkActionGroup *action_group_main_menu; + guint merge_id_main_menu; }; typedef struct _PraghaAcoustidPluginPrivate PraghaAcoustidPluginPrivate; @@ -189,8 +194,8 @@ gpointer user_data) { GtkWidget *dialog; - GtkWidget *window; - PraghaStatusbar *statusbar; + PraghaAppNotification *notification; + PraghaBackgroundTaskBar *taskbar; XMLNode *xml = NULL, *xi; gchar *otitle = NULL, *oartist = NULL, *oalbum = NULL; gchar *ntitle = NULL, *nartist = NULL, *nalbum = NULL; @@ -199,11 +204,15 @@ PraghaAcoustidPlugin *plugin = user_data; PraghaAcoustidPluginPrivate *priv = plugin->priv; - window = pragha_application_get_window (priv->pragha); - remove_watch_cursor (window); - - if (!SOUP_STATUS_IS_SUCCESSFUL (msg->status_code)) + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_remove_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + + if (!SOUP_STATUS_IS_SUCCESSFUL (msg->status_code)) { + notification = pragha_app_notification_new ("AcoustID", _("There was an error when searching your tags on AcoustID")); + pragha_app_notification_show (notification); return; + } g_object_get (priv->mobj, "title", &otitle, @@ -245,9 +254,11 @@ if (prechanged) { dialog = pragha_tags_dialog_new (); + gtk_window_set_transient_for (GTK_WINDOW(dialog), + GTK_WINDOW(pragha_application_get_window(priv->pragha))); g_signal_connect (G_OBJECT (dialog), "response", - G_CALLBACK (pragha_acoustid_dialog_response), plugin); + G_CALLBACK (pragha_acoustid_dialog_response), plugin); pragha_tags_dialog_set_musicobject (PRAGHA_TAGS_DIALOG(dialog), priv->mobj); pragha_tags_dialog_set_changed (PRAGHA_TAGS_DIALOG(dialog), prechanged); @@ -255,9 +266,8 @@ gtk_widget_show (dialog); } else { - statusbar = pragha_statusbar_get (); - pragha_statusbar_set_misc_text (statusbar, _("AcoustID not found any similar song")); - g_object_unref (statusbar); + notification = pragha_app_notification_new ("AcoustID", _("AcoustID not found any similar song")); + pragha_app_notification_show (notification); } g_free (otitle); @@ -278,7 +288,7 @@ query = g_strdup_printf ("http://api.acoustid.org/v2/lookup?client=%s&meta=%s&format=%s&duration=%d&fingerprint=%s", "yPvUXBmO", "recordings+releasegroups+compress", "xml", duration, fingerprint); - session = soup_session_sync_new (); + session = soup_session_new (); msg = soup_message_new ("GET", query); soup_session_queue_message (session, msg, @@ -292,7 +302,7 @@ { GError *err; gchar *debug_info; - + /* Print error details on the screen */ gst_message_parse_error (msg, &err, &debug_info); g_printerr ("Error received from element %s: %s\n", GST_OBJECT_NAME (msg->src), err->message); @@ -342,9 +352,10 @@ static void pragha_acoustid_get_metadata_dialog (PraghaAcoustidPlugin *plugin) { - GtkWidget *window; + PraghaAppNotification *notification; PraghaBackend *backend = NULL; PraghaMusicobject *mobj = NULL; + PraghaBackgroundTaskBar *taskbar; const gchar *file = NULL; gchar *fingerprint = NULL; gint duration = 0; @@ -359,13 +370,27 @@ file = pragha_musicobject_get_file (mobj); duration = pragha_musicobject_get_length (mobj); - window = pragha_application_get_window (priv->pragha); - set_watch_cursor (window); + priv->task_widget = pragha_background_task_widget_new (_("Searching tags on AcoustID"), + "edit-find", + 0, + NULL); + g_object_unref (G_OBJECT(priv->task_widget)); + + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_prepend_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); if (pragha_acoustid_get_fingerprint (file, &fingerprint)) pragha_acoustid_plugin_get_metadata (plugin, duration, fingerprint); - else - remove_watch_cursor (window); + else { + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_remove_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + priv->task_widget = NULL; + + notification = pragha_app_notification_new ("AcoustID", _("There was an error when searching your tags on AcoustID")); + pragha_app_notification_show (notification); + } g_free (fingerprint); } @@ -375,7 +400,7 @@ { GtkWindow *window; GtkAction *action; - PraghaBackendState state = 0; + PraghaBackendState state = ST_STOPPED; PraghaAcoustidPlugin *plugin = user_data; PraghaAcoustidPluginPrivate *priv = plugin->priv; @@ -424,8 +449,8 @@ G_CALLBACK (pragha_gmenu_search_metadata_action), plugin); item = g_menu_item_new (_("Search tags on AcoustID"), "win.search-metadata"); - pragha_menubar_append_action (priv->pragha, "pragha-plugins-placeholder", action, item); + g_object_unref (item); /* Connect playback signals */ @@ -455,4 +480,4 @@ priv->merge_id_main_menu = 0; pragha_menubar_remove_action (priv->pragha, "pragha-plugins-placeholder", "search-metadata"); -} \ No newline at end of file +} diff -Nru pragha-1.3.3/plugins/ampache/ampache.plugin pragha-1.3.992/plugins/ampache/ampache.plugin --- pragha-1.3.3/plugins/ampache/ampache.plugin 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/ampache/ampache.plugin 2018-06-21 11:24:11.000000000 +0000 @@ -0,0 +1,9 @@ +[Plugin] +Module=pampache +Name=Ampache Client +Description=Play music on a Ampache server +Authors=Matias De lellis +Copyright=Copyright © 2015 Matias De lellis +Website=https://github.com/matiasdelellis/pragha +Help=https://github.com/matiasdelellis/pragha + diff -Nru pragha-1.3.3/plugins/ampache/Makefile.am pragha-1.3.992/plugins/ampache/Makefile.am --- pragha-1.3.3/plugins/ampache/Makefile.am 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/ampache/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -0,0 +1,36 @@ +plugindir = $(libdir)/pragha/plugins/ampache + +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libpampache.la + +libpampache_la_SOURCES = \ + pragha-ampache-plugin.h \ + pragha-ampache-plugin.c + +libpampache_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) + +libpampache_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(GRILO_NET_CFLAGS) + +libpampache_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(GRILO_NET_LIBS) \ + $(top_builddir)/src/libpragha.la + +if HAVE_GRILO3 +libpampache_la_CFLAGS += $(GRILO_NET3_CFLAGS) +libpampache_la_LIBADD += $(GRILO_NET3_LIBS) +endif +if HAVE_GRILO2 +libpampache_la_CFLAGS += $(GRILO_NET2_CFLAGS) +libpampache_la_LIBADD += $(GRILO_NET2_LIBS) +endif + +plugin_DATA = ampache.plugin + +EXTRA_DIST = $(plugin_DATA) diff -Nru pragha-1.3.3/plugins/ampache/Makefile.in pragha-1.3.992/plugins/ampache/Makefile.in --- pragha-1.3.3/plugins/ampache/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/ampache/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,831 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +@HAVE_GRILO3_TRUE@am__append_1 = $(GRILO_NET3_CFLAGS) +@HAVE_GRILO3_TRUE@am__append_2 = $(GRILO_NET3_LIBS) +@HAVE_GRILO2_TRUE@am__append_3 = $(GRILO_NET2_CFLAGS) +@HAVE_GRILO2_TRUE@am__append_4 = $(GRILO_NET2_LIBS) +subdir = plugins/ampache +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +@HAVE_GRILO3_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) +@HAVE_GRILO2_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) +libpampache_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(top_builddir)/src/libpragha.la $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +am_libpampache_la_OBJECTS = libpampache_la-pragha-ampache-plugin.lo +libpampache_la_OBJECTS = $(am_libpampache_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libpampache_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libpampache_la_CFLAGS) $(CFLAGS) $(libpampache_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = \ + ./$(DEPDIR)/libpampache_la-pragha-ampache-plugin.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libpampache_la_SOURCES) +DIST_SOURCES = $(libpampache_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/ampache +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libpampache.la +libpampache_la_SOURCES = \ + pragha-ampache-plugin.h \ + pragha-ampache-plugin.c + +libpampache_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libpampache_la_CFLAGS = $(PRAGHA_CFLAGS) $(GRILO_NET_CFLAGS) \ + $(am__append_1) $(am__append_3) +libpampache_la_LIBADD = $(PRAGHA_LIBS) $(GRILO_NET_LIBS) \ + $(top_builddir)/src/libpragha.la $(am__append_2) \ + $(am__append_4) +plugin_DATA = ampache.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/ampache/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/ampache/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libpampache.la: $(libpampache_la_OBJECTS) $(libpampache_la_DEPENDENCIES) $(EXTRA_libpampache_la_DEPENDENCIES) + $(AM_V_CCLD)$(libpampache_la_LINK) -rpath $(plugindir) $(libpampache_la_OBJECTS) $(libpampache_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpampache_la-pragha-ampache-plugin.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libpampache_la-pragha-ampache-plugin.lo: pragha-ampache-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpampache_la_CFLAGS) $(CFLAGS) -MT libpampache_la-pragha-ampache-plugin.lo -MD -MP -MF $(DEPDIR)/libpampache_la-pragha-ampache-plugin.Tpo -c -o libpampache_la-pragha-ampache-plugin.lo `test -f 'pragha-ampache-plugin.c' || echo '$(srcdir)/'`pragha-ampache-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpampache_la-pragha-ampache-plugin.Tpo $(DEPDIR)/libpampache_la-pragha-ampache-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-ampache-plugin.c' object='libpampache_la-pragha-ampache-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpampache_la_CFLAGS) $(CFLAGS) -c -o libpampache_la-pragha-ampache-plugin.lo `test -f 'pragha-ampache-plugin.c' || echo '$(srcdir)/'`pragha-ampache-plugin.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libpampache_la-pragha-ampache-plugin.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libpampache_la-pragha-ampache-plugin.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/ampache/pragha-ampache-plugin.c pragha-1.3.992/plugins/ampache/pragha-ampache-plugin.c --- pragha-1.3.3/plugins/ampache/pragha-ampache-plugin.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/ampache/pragha-ampache-plugin.c 2019-08-13 23:37:54.000000000 +0000 @@ -0,0 +1,1555 @@ +/*************************************************************************/ +/* Copyright (C) 2015-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#if defined(GETTEXT_PACKAGE) +#include +#else +#include +#endif + +#include +#include +#include +#include + +#include + +#include +#include + +#ifdef HAVE_GRILO_NET3 +#include +#endif +#ifdef HAVE_GRILO_NET2 +#include +#endif + +#include +#include + +#include "pragha-ampache-plugin.h" + +#include "src/pragha.h" +#include "src/pragha-app-notification.h" +#include "src/pragha-favorites.h" +#include "src/pragha-utils.h" +#include "src/pragha-musicobject-mgmt.h" +#include "src/pragha-music-enum.h" +#include "src/pragha-playlist.h" +#include "src/pragha-menubar.h" +#include "src/pragha-musicobject.h" +#include "src/pragha-musicobject-mgmt.h" +#include "src/pragha-window.h" +#include "src/pragha-hig.h" +#include "src/pragha-database-provider.h" +#include "src/pragha-background-task-bar.h" +#include "src/pragha-background-task-widget.h" +#include "src/pragha-song-cache.h" +#include "plugins/pragha-plugin-macros.h" + + +typedef struct _PraghaAmpachePluginPrivate PraghaAmpachePluginPrivate; + +struct _PraghaAmpachePluginPrivate { + PraghaApplication *pragha; + + PraghaFavorites *favorites; + PraghaSongCache *cache; + PraghaDatabaseProvider *db_provider; + + GrlNetWc *glrnet; + GCancellable *cancellable; + + gchar *server; + + gchar *username; + gchar *auth; + gchar *version; + gint songs_count; + gboolean upgrade; + gboolean implement_flags; + + guint ping_timer_id; + + gint pending_threads; + GHashTable *tracks_table; + gint songs_cache; + GHashTable *favorites_table; + + PraghaBackgroundTaskWidget *task_widget; + + GtkWidget *setting_widget; + GtkWidget *server_entry; + GtkWidget *user_entry; + GtkWidget *pass_entry; + + GtkActionGroup *action_group_main_menu; + guint merge_id_main_menu; +}; + +PRAGHA_PLUGIN_REGISTER (PRAGHA_TYPE_AMPACHE_PLUGIN, + PraghaAmpachePlugin, + pragha_ampache_plugin) + +/* + * Definitions + */ + +#define GROUP_KEY_AMPACHE "ampache" +#define KEY_AMPACHE_SERVER "server" +#define KEY_AMPACHE_USER "username" +#define KEY_AMPACHE_PASS "password" + +/* + * Propotypes + */ + +static gboolean +pragha_musicobject_is_ampache_file (PraghaMusicobject *mobj); + +static void +pragha_ampache_plugin_authenticate (PraghaAmpachePlugin *plugin); +static void +pragha_ampache_plugin_deauthenticate (PraghaAmpachePlugin *plugin); + +static void +pragha_ampache_plugin_set_need_upgrade (PraghaAmpachePlugin *plugin, gboolean upgrade); +static gboolean +pragha_ampache_plugin_need_upgrade (PraghaAmpachePlugin *plugin); + +/* + * Menu actions + */ + +static void +pragha_ampache_plugin_upgrade_database (PraghaAmpachePlugin *plugin) +{ + pragha_ampache_plugin_deauthenticate (plugin); + pragha_ampache_plugin_set_need_upgrade (plugin, TRUE); + pragha_ampache_plugin_authenticate (plugin); +} + +static void +pragha_ampache_plugin_upgrade_database_action (GtkAction *action, PraghaAmpachePlugin *plugin) +{ + pragha_ampache_plugin_upgrade_database (plugin); +} + +static void +pragha_ampache_plugin_upgrade_database_gmenu_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaAmpachePlugin *plugin = user_data; + pragha_ampache_plugin_upgrade_database (plugin); +} + +static const GtkActionEntry main_menu_actions [] = { + {"Refresh the Ampache library", NULL, N_("Refresh the Ampache library"), + "", "Refresh the Ampache library", G_CALLBACK(pragha_ampache_plugin_upgrade_database_action)}}; + +static const gchar *main_menu_xml = " \ + \ + \ + \ + \ + \ + \ + \ + \ +"; + +/* Helpers */ + +static gchar * +pragha_ampache_raw_url_get_song_id (const gchar *raw_uri) +{ + GRegex *regex = NULL; + GMatchInfo *match_info; + gchar *song_id = NULL; + + regex = g_regex_new ("[\\?&]oid=([^&#]*)", + G_REGEX_MULTILINE | G_REGEX_RAW, 0, NULL); + if (g_regex_match (regex, raw_uri, 0, &match_info)) { + song_id = g_match_info_fetch(match_info, 1); + } + g_regex_unref(regex); + g_match_info_free (match_info); + + return song_id; +} + +static gchar * +pragha_ampache_raw_url_get_clean_url (const gchar *raw_uri) +{ + GRegex *regex = NULL; + gchar *url = NULL; + + regex = g_regex_new ("ssid=(.[^&]*)&", + G_REGEX_MULTILINE | G_REGEX_RAW, 0, NULL); + url = g_regex_replace_literal (regex, raw_uri, -1, 0, "", 0, NULL); + g_regex_unref(regex); + + return url; +} + +static void +pragha_ampache_plugin_add_track_db (gpointer key, + gpointer value, + gpointer user_data) +{ + PraghaMusicobject *mobj = value; + PraghaDatabase *database = user_data; + + pragha_database_add_new_musicobject (database, mobj); + + pragha_process_gtk_events (); +} + +static void +pragha_ampache_plugin_add_favorites (gpointer key, + gpointer value, + gpointer user_data) +{ + guint playlist_id = 0; + const gchar *filename = NULL; + + PraghaMusicobject *mobj = value; + PraghaDatabase *database = user_data; + + playlist_id = pragha_database_find_playlist (database, _("Favorites on Ampache")); + if (!playlist_id) + playlist_id = pragha_database_add_new_playlist (database, _("Favorites on Ampache")); + + filename = pragha_musicobject_get_file (mobj); + pragha_database_add_playlist_track (database, playlist_id, filename); + + pragha_process_gtk_events (); +} + +/* + * Basic Cache. + */ + +static void +pragha_ampache_tracks_cache_insert (PraghaAmpachePlugin *plugin, + PraghaMusicobject *mobj) +{ + PraghaAmpachePluginPrivate *priv = plugin->priv; + g_hash_table_insert (priv->tracks_table, + g_strdup(pragha_musicobject_get_file(mobj)), + mobj); +} + +static void +pragha_ampache_favorites_cache_insert (PraghaAmpachePlugin *plugin, + PraghaMusicobject *mobj) +{ + PraghaAmpachePluginPrivate *priv = plugin->priv; + g_hash_table_insert (priv->favorites_table, + g_strdup(pragha_musicobject_get_file(mobj)), + mobj); +} + + +/* + * Settings. + */ + +static gchar * +pragha_ampache_plugin_get_server (PraghaPreferences *preferences) +{ + gchar *plugin_group = NULL, *string = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_AMPACHE); + + string = pragha_preferences_get_string (preferences, + plugin_group, + KEY_AMPACHE_SERVER); + + g_free (plugin_group); + + return string; +} + +static void +pragha_ampache_plugin_set_server (PraghaPreferences *preferences, const gchar *server) +{ + gchar *plugin_group = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_AMPACHE); + + if (string_is_not_empty(server)) + pragha_preferences_set_string (preferences, + plugin_group, + KEY_AMPACHE_SERVER, + server); + else + pragha_preferences_remove_key (preferences, + plugin_group, + KEY_AMPACHE_SERVER); + + g_free (plugin_group); +} + +static gchar * +pragha_ampache_plugin_get_user (PraghaPreferences *preferences) +{ + gchar *plugin_group = NULL, *string = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_AMPACHE); + + string = pragha_preferences_get_string (preferences, + plugin_group, + KEY_AMPACHE_USER); + + g_free (plugin_group); + + return string; +} + +static void +pragha_ampache_plugin_set_user (PraghaPreferences *preferences, const gchar *user) +{ + gchar *plugin_group = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_AMPACHE); + + if (string_is_not_empty(user)) + pragha_preferences_set_string (preferences, + plugin_group, + KEY_AMPACHE_USER, + user); + else + pragha_preferences_remove_key (preferences, + plugin_group, + KEY_AMPACHE_USER); + + g_free (plugin_group); +} + +static gchar * +pragha_ampache_plugin_get_password (PraghaPreferences *preferences) +{ + gchar *plugin_group = NULL, *string = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_AMPACHE); + + string = pragha_preferences_get_string (preferences, + plugin_group, + KEY_AMPACHE_PASS); + + g_free (plugin_group); + + return string; +} + +static void +pragha_ampache_plugin_set_password (PraghaPreferences *preferences, const gchar *pass) +{ + gchar *plugin_group = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_AMPACHE); + + if (string_is_not_empty(pass)) + pragha_preferences_set_string (preferences, + plugin_group, + KEY_AMPACHE_PASS, + pass); + else + pragha_preferences_remove_key (preferences, + plugin_group, + KEY_AMPACHE_PASS); + + g_free (plugin_group); +} + + +/* + * Ampache plugin. + */ + +PraghaMusicobject * +pragha_ampache_xml_get_media (xmlDocPtr doc, xmlNodePtr node) +{ + PraghaMusicobject *mobj = NULL; + gchar *raw_url = NULL, *url = NULL, *title = NULL, *artist = NULL, \ + *album = NULL, *genre = NULL, *comment = NULL; + gchar *tracknoc = NULL, *yearc = NULL, *lenghtc = NULL; + gint trackno = 0, year = 0, lenght = 0; + + node = node->xmlChildrenNode; + while(node) + { + if (!xmlStrcmp (node->name, (const xmlChar *) "url")) + { + raw_url = (gchar *) xmlNodeListGetString (doc, node->xmlChildrenNode, 1); + url = pragha_ampache_raw_url_get_clean_url (raw_url); + g_free (raw_url); + } + if (!xmlStrcmp (node->name, (const xmlChar *) "track")) + { + tracknoc = (gchar *) xmlNodeListGetString (doc, node->xmlChildrenNode, 1); + trackno = string_is_not_empty(tracknoc) ? atoi (tracknoc) : 0; + g_free (tracknoc); + } + if (!xmlStrcmp (node->name, (const xmlChar *) "title")) + { + title = (gchar *) xmlNodeListGetString (doc, node->xmlChildrenNode, 1); + } + if (!xmlStrcmp (node->name, (const xmlChar *) "artist")) + { + artist = (gchar *) xmlNodeListGetString (doc, node->xmlChildrenNode, 1); + } + if (!xmlStrcmp (node->name, (const xmlChar *) "album")) + { + album = (gchar *) xmlNodeListGetString (doc, node->xmlChildrenNode, 1); + } + if (!xmlStrcmp (node->name, (const xmlChar *) "year")) + { + yearc = (gchar *) xmlNodeListGetString (doc, node->xmlChildrenNode, 1); + year = string_is_not_empty(yearc) ? atoi (yearc) : 0; + g_free (yearc); + } + if (!xmlStrcmp (node->name, (const xmlChar *) "genre")) + { + genre = (gchar *) xmlNodeListGetString (doc, node->xmlChildrenNode, 1); + } + if (!xmlStrcmp (node->name, (const xmlChar *) "comment")) + { + comment = (gchar *) xmlNodeListGetString (doc, node->xmlChildrenNode, 1); + } + if (!xmlStrcmp (node->name, (const xmlChar *) "time")) + { + lenghtc = (gchar *) xmlNodeListGetString (doc, node->xmlChildrenNode, 1); + lenght = string_is_not_empty(lenghtc) ? atoi (lenghtc) : 0; + g_free (lenghtc); + } + + node = node->next; + } + + mobj = g_object_new (PRAGHA_TYPE_MUSICOBJECT, + "file", url, + "source", FILE_HTTP, + "track-no", trackno, + "title", title != NULL ? title : "", + "artist", artist != NULL ? artist : "", + "album", album != NULL ? album : "", + "year", year, + "genre", genre != NULL ? genre : "", + "comment", comment != NULL ? comment : "", + "length", lenght, + NULL); + + g_free (url); + g_free (title); + g_free (artist); + g_free (album); + g_free (genre); + g_free (comment); + + return mobj; +} + +static void +pragha_ampache_plugin_import_finished (PraghaAmpachePlugin *plugin) +{ + PraghaDatabase *database; + PraghaDatabaseProvider *provider; + PraghaBackgroundTaskBar *taskbar; + + PraghaAmpachePluginPrivate *priv = plugin->priv; + + /* Remove background task widget. */ + + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_remove_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + + /* If cancelled just clean and return */ + + if (g_cancellable_is_cancelled (priv->cancellable)) + { + g_hash_table_remove_all (priv->tracks_table); + g_hash_table_remove_all (priv->favorites_table); + + g_cancellable_reset (priv->cancellable); + + return; + } + + /* Generate provider */ + + database = pragha_database_get (); + provider = pragha_database_provider_get (); + if (pragha_database_find_provider (database, priv->server)) + { + pragha_provider_forget_songs (provider, priv->server); + } + else + { + pragha_provider_add_new (provider, + priv->server, + "AMPACHE", + priv->server, + "folder-remote"); + pragha_provider_set_visible (provider, priv->server, TRUE); + } + + /* Insert songs and favorites */ + + g_hash_table_foreach (priv->tracks_table, + pragha_ampache_plugin_add_track_db, + database); + + g_hash_table_foreach (priv->favorites_table, + pragha_ampache_plugin_add_favorites, + database); + + /* Inform provides changes */ + + pragha_provider_update_done (provider); + + /* Clean */ + + g_hash_table_remove_all (priv->tracks_table); + g_hash_table_remove_all (priv->favorites_table); + + priv->songs_cache = 0; + + g_object_unref (provider); + g_object_unref (database); +} + +static void +pragha_ampache_get_flagged_done (GObject *object, + GAsyncResult *res, + gpointer user_data) +{ + GError *wc_error = NULL; + gchar *content = NULL; + PraghaMusicobject *mobj; + xmlDocPtr doc; + xmlNodePtr node; + + PraghaAmpachePlugin *plugin = user_data; + PraghaAmpachePluginPrivate *priv = plugin->priv; + + /* Set thread as handled */ + + priv->pending_threads--; + + /* Check error */ + + if (!grl_net_wc_request_finish (GRL_NET_WC (object), + res, + &content, + NULL, + &wc_error)) + { + if (!g_cancellable_is_cancelled (priv->cancellable)) + g_warning ("Failed to get flagged songs: %s", wc_error->message); + } + + if (content) + { + doc = xmlReadMemory (content, strlen(content), NULL, NULL, + XML_PARSE_RECOVER | XML_PARSE_NOBLANKS); + + node = xmlDocGetRootElement (doc); + node = node->xmlChildrenNode; + + while(node) + { + if (!xmlStrcmp (node->name, (const xmlChar *) "song")) + { + mobj = pragha_ampache_xml_get_media (doc, node); + if (G_LIKELY(mobj)) { + pragha_musicobject_set_provider (mobj, priv->server); + pragha_ampache_favorites_cache_insert (plugin, mobj); + } + + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); + } + node = node->next; + } + + xmlFreeDoc (doc); + + } + + /* If it is last response finishing import */ + + if (priv->pending_threads == 0) + { + pragha_ampache_plugin_import_finished (plugin); + } + +} + +static void +pragha_ampache_get_songs_done (GObject *object, + GAsyncResult *res, + gpointer user_data) +{ + PraghaMusicobject *mobj; + GError *wc_error = NULL; + xmlDocPtr doc; + xmlNodePtr node; + gchar *content = NULL, *summary = NULL; + + PraghaAmpachePlugin *plugin = user_data; + PraghaAmpachePluginPrivate *priv = plugin->priv; + + /* Set thread as handled */ + + priv->pending_threads--; + + /* Check error */ + + if (!grl_net_wc_request_finish (GRL_NET_WC (object), + res, + &content, + NULL, + &wc_error)) + { + if (!g_cancellable_is_cancelled (priv->cancellable)) + g_warning ("Failed to get songs: %s", wc_error->message); + } + + if (content) + { + doc = xmlReadMemory (content, strlen(content), NULL, NULL, + XML_PARSE_RECOVER | XML_PARSE_NOBLANKS); + + node = xmlDocGetRootElement (doc); + node = node->xmlChildrenNode; + + while(node) + { + if (!xmlStrcmp (node->name, (const xmlChar *) "song")) + { + mobj = pragha_ampache_xml_get_media (doc, node); + if (G_LIKELY(mobj)) { + pragha_musicobject_set_provider (mobj, priv->server); + pragha_ampache_tracks_cache_insert (plugin, mobj); + } + priv->songs_cache++; + + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); + } + node = node->next; + } + + xmlFreeDoc (doc); + } + + /* Show status update to user. */ + + if (priv->pending_threads > 0) + { + if (priv->songs_count > 0) + { + pragha_background_task_widget_set_job_progress (priv->task_widget, + 100*priv->songs_cache/priv->songs_count); + } + summary = g_strdup_printf(_("%i files analyzed of %i detected"), + priv->songs_cache, priv->songs_count); + pragha_background_task_widget_set_description(priv->task_widget, summary); + g_free (summary); + } + + /* If last thread save on database. */ + + if (priv->pending_threads == 0) + { + pragha_ampache_plugin_import_finished (plugin); + } +} + +static void +pragha_ampache_plugin_cache_music (PraghaAmpachePlugin *plugin) +{ + PraghaAppNotification *notification; + PraghaBackgroundTaskBar *taskbar; + gchar *url = NULL; + const guint limit = 250; + guint i = 0; + + PraghaAmpachePluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Ampache server plugin %s", G_STRFUNC); + + if (!priv->auth) + return; + + if (!priv->songs_count) { + notification = pragha_app_notification_new ("Ampache", _("The server has no songs to play")); + pragha_app_notification_show (notification); + return; + } + + /* Add the taks manager */ + + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_prepend_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + + /* Launch threads to get music */ + + priv->pending_threads = priv->songs_count/limit + 1; + for (i = 0 ; i < priv->pending_threads; i++) + { + url = g_strdup_printf("%s/server/xml.server.php?action=songs&offset=%i&limit=%i&auth=%s", + priv->server, i*limit, limit, priv->auth); + + grl_net_wc_request_async (priv->glrnet, + url, + priv->cancellable, + pragha_ampache_get_songs_done, + plugin); + g_free (url); + } + + /* Finally launch get favorites as last thread */ + + if (priv->implement_flags) { + priv->pending_threads++; + + url = g_strdup_printf("%s/server/xml.server.php?action=stats&type=song&filter=flagged&auth=%s", + priv->server, priv->auth); + + grl_net_wc_request_async (priv->glrnet, + url, + priv->cancellable, + pragha_ampache_get_flagged_done, + plugin); + g_free (url); + } +} + +static void +pragha_ampache_provider_want_upgrade (PraghaDatabaseProvider *provider, + gint provider_id, + PraghaAmpachePlugin *plugin) +{ + PraghaDatabase *database; + PraghaPreparedStatement *statement; + const gchar *sql, *provider_type = NULL; + + sql = "SELECT name FROM provider_type WHERE id IN (SELECT type FROM provider WHERE id = ?)"; + + database = pragha_database_get (); + statement = pragha_database_create_statement (database, sql); + pragha_prepared_statement_bind_int (statement, 1, provider_id); + if (pragha_prepared_statement_step (statement)) + provider_type = pragha_prepared_statement_get_string (statement, 0); + + if (g_ascii_strcasecmp (provider_type, "ampache") == 0) + { + pragha_ampache_plugin_upgrade_database (plugin); + } + pragha_prepared_statement_free (statement); + g_object_unref (database); +} + + +/* + * Ampache Settings + */ +static void +pragha_ampache_preferences_dialog_response (GtkDialog *dialog, + gint response_id, + PraghaAmpachePlugin *plugin) +{ + PraghaDatabase *database; + PraghaDatabaseProvider *provider; + PraghaPreferences *preferences; + const gchar *entry_server = NULL, *entry_user = NULL, *entry_pass = NULL; + gchar *test_server = NULL, *test_user = NULL, *test_pass = NULL; + gboolean changed = FALSE, changed_server = FALSE; + + PraghaAmpachePluginPrivate *priv = plugin->priv; + + preferences = pragha_preferences_get (); + + test_server = pragha_ampache_plugin_get_server (preferences); + test_user = pragha_ampache_plugin_get_user (preferences); + test_pass = pragha_ampache_plugin_get_password (preferences); + + switch(response_id) + { + case GTK_RESPONSE_CANCEL: + pragha_gtk_entry_set_text (GTK_ENTRY(priv->server_entry), test_server); + pragha_gtk_entry_set_text (GTK_ENTRY(priv->user_entry), test_user); + pragha_gtk_entry_set_text (GTK_ENTRY(priv->pass_entry), test_pass); + break; + case GTK_RESPONSE_OK: + entry_server = gtk_entry_get_text (GTK_ENTRY(priv->server_entry)); + entry_user = gtk_entry_get_text (GTK_ENTRY(priv->user_entry)); + entry_pass = gtk_entry_get_text (GTK_ENTRY(priv->pass_entry)); + + if (g_strcmp0 (test_server, entry_server)) { + pragha_ampache_plugin_set_server (preferences, entry_server); + changed = TRUE; + changed_server = TRUE; + } + if (g_strcmp0 (test_user, entry_user)) { + pragha_ampache_plugin_set_user (preferences, entry_user); + changed = TRUE; + } + if (g_strcmp0 (test_pass, entry_pass)) { + pragha_ampache_plugin_set_password (preferences, entry_pass); + changed = TRUE; + } + + if (changed) + { + /* Deauthenticate connection */ + + pragha_ampache_plugin_deauthenticate (plugin); + + /* Remove old provider if exist */ + + if (changed_server) + { + database = pragha_database_get (); + if (pragha_database_find_provider (database, test_server)) { + provider = pragha_database_provider_get (); + pragha_provider_remove (provider, test_server); + pragha_provider_update_done (provider); + g_object_unref (provider); + } + g_object_unref (database); + } + + /* With all mandatory fields updates the collection.*/ + + if (string_is_not_empty(entry_server) && + string_is_not_empty(entry_user) && + string_is_not_empty(entry_pass)) + { + pragha_ampache_plugin_set_need_upgrade (plugin, TRUE); + pragha_ampache_plugin_authenticate (plugin); + } + } + break; + default: + break; + } + + g_object_unref (preferences); + + g_free (test_server); + g_free (test_user); + g_free (test_pass); +} + +static void +pragha_ampache_plugin_append_setting (PraghaAmpachePlugin *plugin) +{ + PraghaPreferences *preferences; + PreferencesDialog *dialog; + GtkWidget *table, *label, *ampache_server, *ampache_uname, *ampache_pass; + gchar *server = NULL, *user = NULL, *pass = NULL; + guint row = 0; + + PraghaAmpachePluginPrivate *priv = plugin->priv; + + preferences = pragha_preferences_get (); + + table = pragha_hig_workarea_table_new (); + + pragha_hig_workarea_table_add_section_title (table, &row, "Ampache"); + + label = gtk_label_new (_("Server")); + ampache_server = gtk_entry_new (); + + server = pragha_ampache_plugin_get_server (preferences); + pragha_gtk_entry_set_text (GTK_ENTRY(ampache_server), server); + + gtk_entry_set_icon_from_icon_name (GTK_ENTRY(ampache_server), GTK_ENTRY_ICON_PRIMARY, "network-server"); + gtk_entry_set_activates_default (GTK_ENTRY(ampache_server), TRUE); + + pragha_hig_workarea_table_add_row (table, &row, label, ampache_server); + + + label = gtk_label_new (_("Username")); + ampache_uname = gtk_entry_new (); + + user = pragha_ampache_plugin_get_user (preferences); + pragha_gtk_entry_set_text (GTK_ENTRY(ampache_uname), user); + + gtk_entry_set_icon_from_icon_name (GTK_ENTRY(ampache_uname), GTK_ENTRY_ICON_PRIMARY, "system-users"); + gtk_entry_set_max_length (GTK_ENTRY(ampache_uname), LASTFM_UNAME_LEN); + gtk_entry_set_activates_default (GTK_ENTRY(ampache_uname), TRUE); + + pragha_hig_workarea_table_add_row (table, &row, label, ampache_uname); + + label = gtk_label_new (_("Password")); + ampache_pass = gtk_entry_new (); + + pass = pragha_ampache_plugin_get_password (preferences); + pragha_gtk_entry_set_text (GTK_ENTRY(ampache_pass), pass); + + gtk_entry_set_icon_from_icon_name (GTK_ENTRY(ampache_pass), GTK_ENTRY_ICON_PRIMARY, "changes-prevent"); + gtk_entry_set_max_length (GTK_ENTRY(ampache_pass), LASTFM_PASS_LEN); + gtk_entry_set_visibility (GTK_ENTRY(ampache_pass), FALSE); + gtk_entry_set_activates_default (GTK_ENTRY(ampache_pass), TRUE); + + pragha_hig_workarea_table_add_row (table, &row, label, ampache_pass); + + /* Append panes */ + + priv->setting_widget = table; + priv->server_entry = ampache_server; + priv->user_entry = ampache_uname; + priv->pass_entry = ampache_pass; + + dialog = pragha_application_get_preferences_dialog (priv->pragha); + pragha_preferences_append_services_setting (dialog, + priv->setting_widget, FALSE); + + /* Configure handler and settings */ + pragha_preferences_dialog_connect_handler (dialog, + G_CALLBACK(pragha_ampache_preferences_dialog_response), + plugin); + + g_object_unref (preferences); + + g_free (server); + g_free (user); + g_free (pass); +} + +static void +pragha_ampache_plugin_remove_setting (PraghaAmpachePlugin *plugin) +{ + PreferencesDialog *dialog; + PraghaAmpachePluginPrivate *priv = plugin->priv; + + dialog = pragha_application_get_preferences_dialog (priv->pragha); + pragha_preferences_remove_services_setting (dialog, + priv->setting_widget); + + pragha_preferences_dialog_disconnect_handler (dialog, + G_CALLBACK(pragha_ampache_preferences_dialog_response), + plugin); +} + + +/* + * Interactions. + */ +static void +pragha_ampache_plugin_flag_done (GObject *object, + GAsyncResult *res, + gpointer user_data) +{ + GError *wc_error = NULL; + gchar *content = NULL; + + PraghaAmpachePlugin *plugin = PRAGHA_AMPACHE_PLUGIN(user_data); + PraghaAmpachePluginPrivate *priv = plugin->priv; + + if (!grl_net_wc_request_finish (GRL_NET_WC (object), + res, + &content, + NULL, + &wc_error)) + { + if (!g_cancellable_is_cancelled (priv->cancellable)) + g_critical("Ampache ERROR Response: %s", content); + } +} + +static void +pragha_ampache_plugin_flag_launch (PraghaAmpachePlugin *plugin, + const gchar *filename, + gboolean flag) +{ + gchar *url = NULL, *song_id = NULL; + + PraghaAmpachePluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Ampache server plugin %s", G_STRFUNC); + + if (!priv->auth) + return; + + song_id = pragha_ampache_raw_url_get_song_id (filename); + + url = g_strdup_printf("%s/server/xml.server.php?action=flag&type=song&id=%s&flag=%i&auth=%s", + priv->server, + song_id, + flag ? 1 : 0, + priv->auth); + + grl_net_wc_request_async (priv->glrnet, + url, + priv->cancellable, + pragha_ampache_plugin_flag_done, + plugin); + + g_free (song_id); + g_free (url); +} + +static void +pragha_ampache_plugin_favorites_song_added (PraghaFavorites *favorites, + PraghaMusicobject *mobj, + PraghaAmpachePlugin *plugin) +{ + PraghaDatabase *database; + const gchar *file = NULL; + gint playlist_id = 0; + + PraghaAmpachePluginPrivate *priv = plugin->priv; + + if (!priv->implement_flags) + return; + + if (!pragha_musicobject_is_ampache_file (mobj)) + return; + + file = pragha_musicobject_get_file (mobj); + pragha_ampache_plugin_flag_launch (plugin, file, TRUE); + + database = pragha_database_get (); + playlist_id = pragha_database_find_playlist (database, _("Favorites on Ampache")); + if (!playlist_id) + playlist_id = pragha_database_add_new_playlist (database, _("Favorites on Ampache")); + pragha_database_add_playlist_track (database, playlist_id, file); + g_object_unref (database); +} + +static void +pragha_ampache_plugin_favorites_song_removed (PraghaFavorites *favorites, + PraghaMusicobject *mobj, + PraghaAmpachePlugin *plugin) +{ + PraghaDatabase *database; + const gchar *file = NULL; + gint playlist_id = 0; + + PraghaAmpachePluginPrivate *priv = plugin->priv; + + if (!priv->implement_flags) + return; + + if (!pragha_musicobject_is_ampache_file (mobj)) + return; + + file = pragha_musicobject_get_file (mobj); + pragha_ampache_plugin_flag_launch (plugin, file, FALSE); + + database = pragha_database_get (); + playlist_id = pragha_database_find_playlist (database, _("Favorites on Ampache")); + pragha_database_delete_playlist_track (database, playlist_id, file); + g_object_unref (database); +} + +/* + * Authentication. + */ + +static void +pragha_ampache_ping_server_done (GObject *object, + GAsyncResult *res, + gpointer user_data) +{ + GError *wc_error = NULL; + gchar *content = NULL; + + PraghaAmpachePlugin *plugin = user_data; + PraghaAmpachePluginPrivate *priv = plugin->priv; + + if (!grl_net_wc_request_finish (GRL_NET_WC (object), + res, + &content, + NULL, + &wc_error)) + { + if (!g_cancellable_is_cancelled (priv->cancellable)) + g_warning ("Failed to ping server: %s", wc_error->message); + return; + } + + if (content) + { + /* Just debug.. The documentation does not specify the result. */ + CDEBUG(DBG_PLUGIN, "Ampache Server plugin %s", G_STRFUNC); + } +} + +static gboolean +pragha_ampache_plugin_ping_server (gpointer user_data) +{ + gchar *url = NULL; + const gchar *server = NULL; + + PraghaAmpachePlugin *plugin = user_data; + PraghaAmpachePluginPrivate *priv = plugin->priv; + + server = gtk_entry_get_text (GTK_ENTRY(priv->server_entry)); + + url = g_strdup_printf ("%s/server/xml.server.php?action=ping&auth=%s", + server, priv->auth); + + grl_net_wc_request_async (priv->glrnet, + url, + priv->cancellable, + pragha_ampache_ping_server_done, + plugin); + + g_free (url); + + return TRUE; +} + +static void +pragha_ampache_get_auth_done (GObject *object, + GAsyncResult *res, + gpointer user_data) +{ + PraghaAppNotification *notification; + GError *wc_error = NULL; + gchar *content = NULL, *songs_count = NULL; + xmlDocPtr doc; + xmlNodePtr node; + + PraghaAmpachePlugin *plugin = user_data; + PraghaAmpachePluginPrivate *priv = plugin->priv; + + if (!grl_net_wc_request_finish (GRL_NET_WC (object), + res, + &content, + NULL, + &wc_error)) + { + if (!g_cancellable_is_cancelled (priv->cancellable)) { + notification = pragha_app_notification_new ("Ampache", _("Unable to establish conection with Ampache")); + pragha_app_notification_show (notification); + + g_warning ("Failed to connect: %s", wc_error->message); + } + return; + } + + if (content) + { + doc = xmlReadMemory (content, strlen(content), NULL, NULL, + XML_PARSE_RECOVER | XML_PARSE_NOBLANKS); + + node = xmlDocGetRootElement (doc); + + node = node->xmlChildrenNode; + while(node) + { + if (!xmlStrcmp (node->name, (const xmlChar *) "auth")) + { + priv->auth = (gchar *) xmlNodeListGetString (doc, node->xmlChildrenNode, 1); + } + if (!xmlStrcmp (node->name, (const xmlChar *) "api")) + { + priv->version = (gchar *) xmlNodeListGetString (doc, node->xmlChildrenNode, 1); + } + if (!xmlStrcmp (node->name, (const xmlChar *) "songs")) + { + songs_count = (gchar *) xmlNodeListGetString (doc, node->xmlChildrenNode, 1); + priv->songs_count = atoi (songs_count); + g_free (songs_count); + } + node = node->next; + } + + xmlFreeDoc (doc); + } + + if (priv->auth != NULL) + { + /* Disabled until ampache solves several problems */ + //priv->implement_flags = g_ascii_strcasecmp (priv->version, "400001") >= 0; + + priv->ping_timer_id = g_timeout_add_seconds (10*60, + pragha_ampache_plugin_ping_server, + plugin); + + if (pragha_ampache_plugin_need_upgrade (plugin)) + { + pragha_ampache_plugin_cache_music (plugin); + } + } +} + +static void +pragha_ampache_plugin_authenticate (PraghaAmpachePlugin *plugin) +{ + GChecksum *hash = NULL; + const gchar *server = NULL, *username = NULL, *password = NULL; + gchar *url = NULL, *timestampc = NULL, *key = NULL, *passphraseh = NULL, *passphrasec = NULL; + time_t timestamp = 0; + + PraghaAmpachePluginPrivate *priv = plugin->priv; + + /* Get settings */ + + server = gtk_entry_get_text (GTK_ENTRY(priv->server_entry)); + username = gtk_entry_get_text (GTK_ENTRY(priv->user_entry)); + password = gtk_entry_get_text (GTK_ENTRY(priv->pass_entry)); + + if (string_is_empty (server)) + return; + if (string_is_empty (username)) + return; + if (string_is_empty (password)) + return; + + /* Set new server as alias of provider */ + + priv->server = g_strdup (server); + priv->username = g_strdup(username); + + /* Authenticate */ + + time(×tamp); + timestampc = g_strdup_printf("%i", (gint)timestamp); + + hash = g_checksum_new (G_CHECKSUM_SHA256); + g_checksum_update (hash, (guchar *)password, strlen(password)); + key = g_strdup(g_checksum_get_string(hash)); + + g_checksum_reset (hash); + + passphrasec = g_strdup_printf("%s%s", timestampc, key); + g_checksum_update(hash, (guchar *)passphrasec, -1); + passphraseh = g_strdup(g_checksum_get_string(hash)); + + url = g_strdup_printf("%s/server/xml.server.php?action=handshake&auth=%s×tamp=%s&version=350001&user=%s", + server, passphraseh, timestampc, username); + + grl_net_wc_request_async (priv->glrnet, + url, + priv->cancellable, + pragha_ampache_get_auth_done, + plugin); + + g_checksum_free(hash); + + g_free (timestampc); + g_free (key); + g_free (passphrasec); + g_free (passphraseh); + g_free (url); +} + +static void +pragha_ampache_plugin_deauthenticate (PraghaAmpachePlugin *plugin) +{ + PraghaAmpachePluginPrivate *priv = plugin->priv; + + if (priv->server) { + g_free (priv->server); + priv->server = NULL; + } + if (priv->username) { + g_free (priv->username); + priv->username = NULL; + } + if (priv->auth) { + g_free (priv->auth); + priv->auth = NULL; + } + if (priv->songs_count > 0) + priv->songs_count = 0; + if (priv->songs_cache > 0) + priv->songs_cache = 0; + + if (priv->ping_timer_id > 0) { + g_source_remove (priv->ping_timer_id); + priv->ping_timer_id = 0; + } + + priv->upgrade = FALSE; +} + +static void +pragha_ampache_plugin_set_need_upgrade (PraghaAmpachePlugin *plugin, gboolean upgrade) +{ + PraghaAmpachePluginPrivate *priv = plugin->priv; + + priv->upgrade = upgrade; +} + +static gboolean +pragha_ampache_plugin_need_upgrade (PraghaAmpachePlugin *plugin) +{ + PraghaAmpachePluginPrivate *priv = plugin->priv; + + //TODO: Verify the update date on auth. + return priv->upgrade; +} + +/* + * Gstreamer.source. + */ + +static gboolean +pragha_musicobject_is_ampache_file (PraghaMusicobject *mobj) +{ + PraghaMusicEnum *enum_map = NULL; + PraghaMusicSource file_source = FILE_NONE; + + enum_map = pragha_music_enum_get (); + file_source = pragha_music_enum_map_get(enum_map, "AMPACHE"); + g_object_unref (enum_map); + + return (file_source == pragha_musicobject_get_source (mobj)); +} + +static void +pragha_ampache_plugin_prepare_source (PraghaBackend *backend, + PraghaAmpachePlugin *plugin) +{ + PraghaMusicobject *mobj; + const gchar *location = NULL; + gchar *filename = NULL, *uri = NULL; + + PraghaAmpachePluginPrivate *priv = plugin->priv; + + mobj = pragha_backend_get_musicobject (backend); + if (!pragha_musicobject_is_ampache_file (mobj)) + return; + + location = pragha_musicobject_get_file (mobj); + filename = pragha_song_cache_get_from_location (priv->cache, location); + if (filename != NULL) { + uri = g_filename_to_uri (filename, NULL, NULL); + g_free (filename); + } + else { + uri = g_strdup_printf ("%s&ssid=%s", location, priv->auth); + } + pragha_backend_set_playback_uri (backend, uri); + g_free (uri); +} + +static void +pragha_ampache_plugin_download_done (PraghaBackend *backend, + gchar *filename, + PraghaAmpachePlugin *plugin) +{ + PraghaMusicobject *mobj; + const gchar *location = NULL; + + PraghaAmpachePluginPrivate *priv = plugin->priv; + + mobj = pragha_backend_get_musicobject (backend); + if (!pragha_musicobject_is_ampache_file (mobj)) + return; + + location = pragha_musicobject_get_file (mobj); + pragha_song_cache_put_location (priv->cache, location, filename); +} + +/* + * Plugin. + */ + +static void +pragha_plugin_activate (PeasActivatable *activatable) +{ + PraghaBackend *backend; + GMenuItem *item; + GSimpleAction *action; + + PraghaAmpachePlugin *plugin = PRAGHA_AMPACHE_PLUGIN (activatable); + + PraghaAmpachePluginPrivate *priv = plugin->priv; + priv->pragha = g_object_get_data (G_OBJECT (plugin), "object"); + + CDEBUG(DBG_PLUGIN, "Ampache Server plugin %s", G_STRFUNC); + + /* Default settings */ + + priv->implement_flags = FALSE; + + /* New grilo network helper */ + + priv->glrnet = grl_net_wc_new (); + grl_net_wc_set_throttling (priv->glrnet, 1); + + priv->cancellable = g_cancellable_new (); + + /* New cache */ + + priv->cache = pragha_song_cache_get (); + + /* Temp tables.*/ + + priv->tracks_table = g_hash_table_new_full (g_str_hash, + g_str_equal, + g_free, + g_object_unref); + + priv->favorites_table = g_hash_table_new_full (g_str_hash, + g_str_equal, + g_free, + g_object_unref); + + /* Updrade signals */ + + priv->db_provider = pragha_database_provider_get (); + g_signal_connect (priv->db_provider, "want-upgrade", + G_CALLBACK(pragha_ampache_provider_want_upgrade), plugin); + g_signal_connect (priv->db_provider, "want-update", + G_CALLBACK(pragha_ampache_provider_want_upgrade), plugin); + g_object_ref (G_OBJECT(priv->db_provider)); + + /* New Task widget */ + + priv->task_widget = pragha_background_task_widget_new (_("Searching files to analyze"), + "network-server", + 100, + priv->cancellable); + g_object_ref (G_OBJECT(priv->task_widget)); + + /* Attach main menu */ + + priv->action_group_main_menu = gtk_action_group_new ("PraghaAmpachePlugin"); + gtk_action_group_set_translation_domain (priv->action_group_main_menu, GETTEXT_PACKAGE); + gtk_action_group_add_actions (priv->action_group_main_menu, + main_menu_actions, + G_N_ELEMENTS (main_menu_actions), + plugin); + + priv->merge_id_main_menu = pragha_menubar_append_plugin_action (priv->pragha, + priv->action_group_main_menu, + main_menu_xml); + + /* Gear Menu */ + + action = g_simple_action_new ("refresh-ampache", NULL); + g_signal_connect (G_OBJECT (action), "activate", + G_CALLBACK (pragha_ampache_plugin_upgrade_database_gmenu_action), plugin); + + item = g_menu_item_new (_("Refresh the Ampache library"), "win.refresh-ampache"); + pragha_menubar_append_action (priv->pragha, "pragha-plugins-placeholder", action, item); + g_object_unref (item); + + /* Backend signals */ + + backend = pragha_application_get_backend (priv->pragha); + pragha_backend_set_local_storage (backend, TRUE); + g_signal_connect (backend, "prepare-source", + G_CALLBACK(pragha_ampache_plugin_prepare_source), plugin); + g_signal_connect (backend, "download-done", + G_CALLBACK(pragha_ampache_plugin_download_done), plugin); + + /* Favorites handler */ + + priv->favorites = pragha_favorites_get (); + g_signal_connect (priv->favorites, "song-added", + G_CALLBACK(pragha_ampache_plugin_favorites_song_added), plugin); + g_signal_connect (priv->favorites, "song-removed", + G_CALLBACK(pragha_ampache_plugin_favorites_song_removed), plugin); + + /* Append setting */ + + pragha_ampache_plugin_append_setting (plugin); + + /* Authenticate */ + + pragha_ampache_plugin_authenticate (plugin); +} + +static void +pragha_plugin_deactivate (PeasActivatable *activatable) +{ + PraghaBackend *backend; + PraghaDatabaseProvider *provider; + PraghaPreferences *preferences; + gchar *plugin_group = NULL; + + PraghaAmpachePlugin *plugin = PRAGHA_AMPACHE_PLUGIN (activatable); + PraghaAmpachePluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Ampache Server plugin %s", G_STRFUNC); + + /* Cache */ + + g_hash_table_destroy (priv->tracks_table); + g_object_unref (priv->cache); + + /* Favorites */ + + g_hash_table_destroy (priv->favorites_table); + g_object_unref (priv->favorites); + + /* Network staff */ + + g_object_unref (priv->glrnet); + + /* Provider signals */ + + g_signal_handlers_disconnect_by_func (priv->db_provider, pragha_ampache_provider_want_upgrade, plugin); + g_object_unref (G_OBJECT(priv->db_provider)); + + /* If user disable the plugin (Pragha not shutdown) */ + + if (!pragha_plugins_engine_is_shutdown(pragha_application_get_plugins_engine(priv->pragha))) + { + /* Remove provider from gui. */ + + if (priv->server) { + provider = pragha_database_provider_get (); + pragha_provider_remove (provider, + priv->server); + pragha_provider_update_done (provider); + g_object_unref (provider); + } + + /* Remove settings */ + + preferences = pragha_application_get_preferences (priv->pragha); + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_AMPACHE); + pragha_preferences_remove_group (preferences, plugin_group); + g_free (plugin_group); + } + + backend = pragha_application_get_backend (priv->pragha); + pragha_backend_set_local_storage (backend, FALSE); + g_signal_handlers_disconnect_by_func (backend, pragha_ampache_plugin_prepare_source, plugin); + + /* Menu Action */ + + pragha_menubar_remove_plugin_action (priv->pragha, + priv->action_group_main_menu, + priv->merge_id_main_menu); + priv->merge_id_main_menu = 0; + + pragha_menubar_remove_action (priv->pragha, "pragha-plugins-placeholder", "refresh-ampache"); + + /* Close */ + + pragha_ampache_plugin_deauthenticate (plugin); + + /* Setting dialog widget */ + + pragha_ampache_plugin_remove_setting (plugin); +} diff -Nru pragha-1.3.3/plugins/ampache/pragha-ampache-plugin.h pragha-1.3.992/plugins/ampache/pragha-ampache-plugin.h --- pragha-1.3.3/plugins/ampache/pragha-ampache-plugin.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/ampache/pragha-ampache-plugin.h 2019-07-05 14:24:15.000000000 +0000 @@ -0,0 +1,37 @@ +/*************************************************************************/ +/* Copyright (C) 2015-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef __PRAGHA_AMPACHE_PLUGIN_H__ +#define __PRAGHA_AMPACHE_PLUGIN_H__ + +#include +#include + +G_BEGIN_DECLS + +#define PRAGHA_TYPE_AMPACHE_PLUGIN (pragha_ampache_plugin_get_type ()) +#define PRAGHA_AMPACHE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PRAGHA_TYPE_AMPACHE_PLUGIN, PraghaAmpachePlugin)) +#define PRAGHA_AMPACHEP_LUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PRAGHA_TYPE_AMPACHE_PLUGIN, PraghaAmpachePlugin)) +#define PRAGHA_IS_AMPACHE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PRAGHA_TYPE_AMPACHE_PLUGIN)) +#define PRAGHA_IS_AMPACHE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PRAGHA_TYPE_AMPACHE_PLUGIN)) +#define PRAGHA_AMPACHE_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PRAGHA_TYPE_AMPACHE_PLUGIN, PraghaAmpachePluginClass)) + +GType pragha_ampache_plugin_get_type (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* __PRAGHA_AMPACHE_PLUGIN_H__ */ diff -Nru pragha-1.3.3/plugins/cdrom/cdrom.plugin pragha-1.3.992/plugins/cdrom/cdrom.plugin --- pragha-1.3.3/plugins/cdrom/cdrom.plugin 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/cdrom/cdrom.plugin 2019-07-17 12:53:27.000000000 +0000 @@ -3,7 +3,7 @@ Name=Play cdrom Description=Play audios cds Authors=Matias De lellis -Copyright=Copyright © 2014 Matias De lellis +Copyright=Copyright © 2014-2019 Matias De lellis Website=https://github.com/matiasdelellis/pragha Help=https://github.com/matiasdelellis/pragha -Depends=devices \ No newline at end of file + diff -Nru pragha-1.3.3/plugins/cdrom/Makefile.am pragha-1.3.992/plugins/cdrom/Makefile.am --- pragha-1.3.3/plugins/cdrom/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/cdrom/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -13,49 +13,17 @@ libcdrom_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libcdrom_la_CFLAGS = \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - $(LIBCDIO_CFLAGS) \ - $(LIBCDDB_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall - -libcdrom_la_LIBADD = \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) \ - $(LIBCDIO_LIBS) \ - $(LIBCDIO_PARANOIA_LIBS) \ - $(LIBCDDB_LIBS) - -if HAVE_GSTREAMER_AUDIO -libcdrom_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libcdrom_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -libcdrom_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libcdrom_la_LIBADD += $(LIBXFCE4UI_LIBS) -endif - -if HAVE_GUDEV -libcdrom_la_CFLAGS += $(GUDEV_CFLAGS) -libcdrom_la_LIBADD += $(GUDEV_LIBS) \ - ../devices/libdeviceclient.la -endif +libcdrom_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBCDIO_CFLAGS) \ + $(LIBCDDB_CFLAGS) + +libcdrom_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBCDIO_LIBS) \ + $(LIBCDIO_PARANOIA_LIBS) \ + $(LIBCDDB_LIBS) \ + $(top_builddir)/src/libpragha.la plugin_DATA = cdrom.plugin diff -Nru pragha-1.3.3/plugins/cdrom/Makefile.in pragha-1.3.992/plugins/cdrom/Makefile.in --- pragha-1.3.3/plugins/cdrom/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/cdrom/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,830 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/cdrom +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libcdrom_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(top_builddir)/src/libpragha.la +am_libcdrom_la_OBJECTS = libcdrom_la-pragha-cdrom-plugin.lo +libcdrom_la_OBJECTS = $(am_libcdrom_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libcdrom_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libcdrom_la_CFLAGS) \ + $(CFLAGS) $(libcdrom_la_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ./$(DEPDIR)/libcdrom_la-pragha-cdrom-plugin.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libcdrom_la_SOURCES) +DIST_SOURCES = $(libcdrom_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/cdrom +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libcdrom.la +libcdrom_la_SOURCES = \ + pragha-cdrom-plugin.c \ + pragha-cdrom-plugin.h + +libcdrom_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libcdrom_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBCDIO_CFLAGS) \ + $(LIBCDDB_CFLAGS) + +libcdrom_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBCDIO_LIBS) \ + $(LIBCDIO_PARANOIA_LIBS) \ + $(LIBCDDB_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = cdrom.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/cdrom/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/cdrom/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libcdrom.la: $(libcdrom_la_OBJECTS) $(libcdrom_la_DEPENDENCIES) $(EXTRA_libcdrom_la_DEPENDENCIES) + $(AM_V_CCLD)$(libcdrom_la_LINK) -rpath $(plugindir) $(libcdrom_la_OBJECTS) $(libcdrom_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcdrom_la-pragha-cdrom-plugin.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libcdrom_la-pragha-cdrom-plugin.lo: pragha-cdrom-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcdrom_la_CFLAGS) $(CFLAGS) -MT libcdrom_la-pragha-cdrom-plugin.lo -MD -MP -MF $(DEPDIR)/libcdrom_la-pragha-cdrom-plugin.Tpo -c -o libcdrom_la-pragha-cdrom-plugin.lo `test -f 'pragha-cdrom-plugin.c' || echo '$(srcdir)/'`pragha-cdrom-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libcdrom_la-pragha-cdrom-plugin.Tpo $(DEPDIR)/libcdrom_la-pragha-cdrom-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-cdrom-plugin.c' object='libcdrom_la-pragha-cdrom-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcdrom_la_CFLAGS) $(CFLAGS) -c -o libcdrom_la-pragha-cdrom-plugin.lo `test -f 'pragha-cdrom-plugin.c' || echo '$(srcdir)/'`pragha-cdrom-plugin.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libcdrom_la-pragha-cdrom-plugin.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libcdrom_la-pragha-cdrom-plugin.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/cdrom/pragha-cdrom-plugin.c pragha-1.3.992/plugins/cdrom/pragha-cdrom-plugin.c --- pragha-1.3.3/plugins/cdrom/pragha-cdrom-plugin.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/cdrom/pragha-cdrom-plugin.c 2019-07-17 14:23:17.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2009-2015 matias */ +/* Copyright (C) 2009-2019 matias */ /* Copyright (C) 2007-2009 sujith */ /* */ /* This program is free software: you can redistribute it and/or modify */ @@ -46,11 +46,11 @@ #include "src/pragha-plugins-engine.h" #include "src/pragha-statusicon.h" #include "src/pragha-music-enum.h" +#include "src/pragha-database-provider.h" #include "src/pragha-window.h" #if HAVE_GUDEV -#include "plugins/devices/pragha-devices-plugin.h" -#include "plugins/devices/pragha-device-client.h" +#include "src/pragha-device-client.h" #endif #include "plugins/pragha-plugin-macros.h" @@ -65,6 +65,14 @@ struct _PraghaCdromPluginPrivate { PraghaApplication *pragha; +#if HAVE_GUDEV + PraghaDeviceClient *device_client; +#endif + + guint64 bus_hooked; + guint64 device_hooked; + gchar *disc_id; + GtkWidget *device_setting_widget; GtkWidget *audio_cd_device_w; GtkWidget *cddb_setting_widget; @@ -75,7 +83,6 @@ GtkActionGroup *action_group_main_menu; guint merge_id_main_menu; - guint merge_id_syst_menu; }; typedef struct _PraghaCdromPluginPrivate PraghaCdromPluginPrivate; @@ -151,10 +158,10 @@ } static PraghaMusicobject * -new_musicobject_from_cdda (PraghaApplication *pragha, - cdrom_drive_t *cdda_drive, - cddb_disc_t *cddb_disc, - gint track_no) +new_musicobject_from_cdda (PraghaCdromPlugin *plugin, + cdrom_drive_t *cdda_drive, + cddb_disc_t *cddb_disc, + gint track_no) { PraghaPreferences *preferences; PraghaMusicEnum *enum_map = NULL; @@ -162,16 +169,18 @@ gint channels, start, end; gchar *ntitle = NULL, *nfile = NULL; + PraghaCdromPluginPrivate *priv = plugin->priv; + CDEBUG(DBG_PLUGIN, "Creating new musicobject from cdda: %d", track_no); - channels = cdio_get_track_channels(cdda_drive->p_cdio, - track_no); + channels = cdio_get_track_channels(cdda_drive->p_cdio, track_no); start = cdio_cddap_track_firstsector(cdda_drive, track_no); end = cdio_cddap_track_lastsector(cdda_drive, track_no); - mobj = g_object_new (PRAGHA_TYPE_MUSICOBJECT, NULL); + mobj = g_object_new (PRAGHA_TYPE_MUSICOBJECT, + NULL); - preferences = pragha_application_get_preferences (pragha); + preferences = pragha_application_get_preferences (priv->pragha); if (pragha_preferences_get_use_cddb (preferences) && cddb_disc) { cddb_track_t *track; const gchar *title, *artist, *album, *genre; @@ -202,9 +211,12 @@ } enum_map = pragha_music_enum_get (); - pragha_musicobject_set_source (mobj, pragha_music_enum_map_get(enum_map, "FILE_CDDA")); + pragha_musicobject_set_source (mobj, pragha_music_enum_map_get(enum_map, "CDROM")); g_object_unref (enum_map); + if (priv->disc_id) + pragha_musicobject_set_provider (mobj, priv->disc_id); + nfile = g_strdup_printf("cdda://%d", track_no); pragha_musicobject_set_file(mobj, nfile); pragha_musicobject_set_track_no(mobj, track_no); @@ -223,7 +235,8 @@ } static gint -cddb_add_tracks (cdrom_drive_t *cdda_drive, cddb_disc_t *cddb_disc) +pragha_cdrom_plugin_add_cddb_tracks (cdrom_drive_t *cdda_drive, + cddb_disc_t *cddb_disc) { cddb_track_t *track; lba_t lba; @@ -250,42 +263,37 @@ return 0; } -static void -add_audio_cd_tracks (PraghaApplication *pragha, cdrom_drive_t *cdda_drive, cddb_disc_t *cddb_disc) +static GList * +pragha_cdrom_plugin_get_mobj_list (PraghaCdromPlugin *plugin, + cdrom_drive_t *cdda_drive, + cddb_disc_t *cddb_disc) { - PraghaPlaylist *playlist; PraghaMusicobject *mobj; - gint num_tracks = 0, i = 0; GList *list = NULL; num_tracks = cdio_cddap_tracks(cdda_drive); if (!num_tracks) - return; + return NULL; for (i = 1; i <= num_tracks; i++) { - mobj = new_musicobject_from_cdda(pragha, cdda_drive, cddb_disc, i); + mobj = new_musicobject_from_cdda (plugin, cdda_drive, cddb_disc, i); if (G_LIKELY(mobj)) list = g_list_append(list, mobj); pragha_process_gtk_events (); } - if (list) { - playlist = pragha_application_get_playlist (pragha); - pragha_playlist_append_mobj_list(playlist, list); - g_list_free (list); - } + return list; } -static cdrom_drive_t* -find_audio_cd (PraghaApplication *pragha) +static cdrom_drive_t * +pragha_cdrom_plugin_get_drive (PraghaPreferences *preferences) { cdrom_drive_t *drive = NULL; gchar **cdda_devices = NULL; - PraghaPreferences *preferences; + const gchar *audio_cd_device = NULL; - preferences = pragha_application_get_preferences (pragha); - const gchar *audio_cd_device = pragha_preferences_get_audio_cd_device(preferences); + audio_cd_device = pragha_preferences_get_audio_cd_device(preferences); if (!audio_cd_device) { cdda_devices = cdio_get_devices_with_cap(NULL, CDIO_FS_AUDIO, FALSE); @@ -301,7 +309,8 @@ g_warning("Unable to identify Audio CD"); goto exit; } - } else { + } + else { CDEBUG(DBG_PLUGIN, "Trying Audio CD Device: %s", audio_cd_device); drive = cdio_cddap_identify(audio_cd_device, 0, NULL); @@ -317,16 +326,28 @@ return drive; } -void -pragha_application_append_audio_cd (PraghaApplication *pragha) +static void +pragha_application_append_audio_cd (PraghaCdromPlugin *plugin) { + PraghaDatabaseProvider *provider; + PraghaDatabase *database; + PraghaPlaylist *playlist; + PraghaPreferences *preferences; + PraghaMusicobject *mobj; lba_t lba; gint matches; + cdrom_drive_t *cdda_drive = NULL; cddb_disc_t *cddb_disc = NULL; cddb_conn_t *cddb_conn = NULL; - PraghaPreferences *preferences; + const gchar *title_disc = NULL; + guint discid = 0; + GList *list = NULL, *l; + + PraghaCdromPluginPrivate *priv = plugin->priv; + + preferences = pragha_application_get_preferences (priv->pragha); - cdrom_drive_t *cdda_drive = find_audio_cd(pragha); + cdda_drive = pragha_cdrom_plugin_get_drive (preferences); if (!cdda_drive) return; @@ -335,7 +356,6 @@ return; } - preferences = pragha_application_get_preferences (pragha); if (pragha_preferences_get_use_cddb (preferences)) { cddb_conn = cddb_new (); if (!cddb_conn) @@ -345,36 +365,65 @@ if (!cddb_disc) goto add; - lba = cdio_get_track_lba(cdda_drive->p_cdio, - CDIO_CDROM_LEADOUT_TRACK); + lba = cdio_get_track_lba(cdda_drive->p_cdio, CDIO_CDROM_LEADOUT_TRACK); if (lba == CDIO_INVALID_LBA) goto add; cddb_disc_set_length(cddb_disc, FRAMES_TO_SECONDS(lba)); - if (cddb_add_tracks(cdda_drive, cddb_disc) < 0) + if (pragha_cdrom_plugin_add_cddb_tracks(cdda_drive, cddb_disc) < 0) goto add; if (!cddb_disc_calc_discid(cddb_disc)) goto add; + discid = cddb_disc_get_discid (cddb_disc); + if (discid) + priv->disc_id = g_strdup_printf ("Discid://%x", discid); + cddb_disc_set_category(cddb_disc, CDDB_CAT_MISC); matches = cddb_query(cddb_conn, cddb_disc); if (matches == -1) goto add; - if (!cddb_read(cddb_conn, - cddb_disc)) { + if (!cddb_read(cddb_conn, cddb_disc)) { cddb_error_print(cddb_errno(cddb_conn)); goto add; } CDEBUG(DBG_PLUGIN, "Successfully initialized CDDB"); + goto add; } add: - add_audio_cd_tracks(pragha, cdda_drive, cddb_disc); + list = pragha_cdrom_plugin_get_mobj_list (plugin, cdda_drive, cddb_disc); + if (list) { + playlist = pragha_application_get_playlist (priv->pragha); + pragha_playlist_append_mobj_list (playlist, list); + + if (priv->disc_id) { + title_disc = cddb_disc_get_title (cddb_disc); + + provider = pragha_database_provider_get (); + pragha_provider_add_new (provider, + priv->disc_id, + "CDROM", + title_disc ? title_disc : _("Audio CD"), + "media-optical"); + pragha_provider_set_visible (provider, priv->disc_id, TRUE); + + database = pragha_application_get_database (priv->pragha); + for (l = list; l != NULL; l = l->next) { + mobj = l->data; + pragha_database_add_new_musicobject (database, mobj); + } + pragha_provider_update_done (provider); + g_object_unref (provider); + } + g_list_free (list); + } + CDEBUG(DBG_PLUGIN, "Successfully opened Audio CD device"); if (cdda_drive) @@ -392,7 +441,7 @@ PraghaMusicSource file_source = FILE_NONE; enum_map = pragha_music_enum_get (); - file_source = pragha_music_enum_map_get(enum_map, "FILE_CDDA"); + file_source = pragha_music_enum_map_get(enum_map, "CDROM"); g_object_unref (enum_map); return (file_source == pragha_musicobject_get_source (mobj)); @@ -401,7 +450,9 @@ static void pragha_cdrom_plugin_set_device (PraghaBackend *backend, GObject *obj, gpointer user_data) { + PraghaPreferences *preferences; PraghaMusicobject *mobj = NULL; + const gchar *audio_cd_device; GObject *source; PraghaCdromPlugin *plugin = user_data; @@ -413,8 +464,8 @@ g_object_get (obj, "source", &source, NULL); if (source) { - PraghaPreferences *preferences = pragha_application_get_preferences (priv->pragha); - const gchar *audio_cd_device = pragha_preferences_get_audio_cd_device (preferences); + preferences = pragha_application_get_preferences (priv->pragha); + audio_cd_device = pragha_preferences_get_audio_cd_device (preferences); if (audio_cd_device) { g_object_set (source, "device", audio_cd_device, NULL); } @@ -447,11 +498,10 @@ gpointer user_data) { PraghaCdromPlugin *plugin = user_data; - PraghaCdromPluginPrivate *priv = plugin->priv; switch (response) { case PRAGHA_DEVICE_RESPONSE_PLAY: - pragha_application_append_audio_cd (priv->pragha); + pragha_application_append_audio_cd (plugin); break; case PRAGHA_DEVICE_RESPONSE_NONE: default: @@ -470,11 +520,19 @@ GtkWidget *dialog; PraghaCdromPlugin *plugin = user_data; + PraghaCdromPluginPrivate *priv = plugin->priv; if (device_type != PRAGHA_DEVICE_AUDIO_CD) return; - dialog = pragha_gudev_dialog_new (NULL, _("Audio/Data CD"), "media-optical", + if (priv->bus_hooked || priv->device_hooked) + return; + + priv->bus_hooked = g_udev_device_get_property_as_uint64 (u_device, "BUSNUM"); + priv->device_hooked = g_udev_device_get_property_as_uint64 (u_device, "DEVNUM"); + + dialog = pragha_gudev_dialog_new (pragha_application_get_window (priv->pragha), + _("Audio/Data CD"), "media-optical", _("An audio CD was inserted"), NULL, _("Add Audio _CD"), PRAGHA_DEVICE_RESPONSE_PLAY); @@ -490,10 +548,40 @@ GUdevDevice *u_device, gpointer user_data) { + PraghaDatabaseProvider *provider; + PraghaMusicEnum *enum_map = NULL; + guint64 busnum = 0; + guint64 devnum = 0; + + PraghaCdromPlugin *plugin = user_data; + PraghaCdromPluginPrivate *priv = plugin->priv; + if (device_type != PRAGHA_DEVICE_AUDIO_CD) return; - g_print ("CDROM REMOVEDDDDD.. Cri cri.. never detect it.. .\n"); + busnum = g_udev_device_get_property_as_uint64(u_device, "BUSNUM"); + devnum = g_udev_device_get_property_as_uint64(u_device, "DEVNUM"); + + if (busnum == priv->bus_hooked && devnum == priv->device_hooked) { + if (priv->disc_id) { + provider = pragha_database_provider_get (); + pragha_provider_remove (provider, priv->disc_id); + pragha_provider_update_done (provider); + g_object_unref (provider); + } + + priv->bus_hooked = 0; + priv->device_hooked = 0; + + if (priv->disc_id) { + g_free (priv->disc_id); + priv->disc_id = NULL; + } + + enum_map = pragha_music_enum_get (); + pragha_music_enum_map_remove (enum_map, "CDROM"); + g_object_unref (enum_map); + } } #endif @@ -503,8 +591,7 @@ static void pragha_cdrom_plugin_append_action (GtkAction *action, PraghaCdromPlugin *plugin) { - PraghaCdromPluginPrivate *priv = plugin->priv; - pragha_application_append_audio_cd (priv->pragha); + pragha_application_append_audio_cd (plugin); } static void @@ -530,14 +617,6 @@ \ "; -static const gchar *syst_menu_xml = " \ - \ - \ - \ - \ - \ - "; - /* * Cdrom Settings */ @@ -622,7 +701,8 @@ pragha_hig_workarea_table_add_section_title(table, &row, _("Audio CD")); audio_cd_device_label = gtk_label_new(_("Audio CD Device")); - gtk_misc_set_alignment (GTK_MISC (audio_cd_device_label), 0, 0); + gtk_widget_set_halign (GTK_WIDGET(audio_cd_device_label), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(audio_cd_device_label), GTK_ALIGN_START); audio_cd_device_entry = gtk_entry_new (); gtk_entry_set_max_length (GTK_ENTRY(audio_cd_device_entry), AUDIO_CD_DEVICE_ENTRY_LEN); @@ -713,23 +793,20 @@ priv->action_group_main_menu, main_menu_xml); - /* Systray */ - - status_icon = pragha_application_get_status_icon(priv->pragha); - priv->merge_id_syst_menu = pragha_systray_append_plugin_action (status_icon, - priv->action_group_main_menu, - syst_menu_xml); - g_object_ref (priv->action_group_main_menu); - - /* Gear Menu */ + /* Systray and gear Menu*/ action = g_simple_action_new ("add-cdrom", NULL); g_signal_connect (G_OBJECT (action), "activate", G_CALLBACK (pragha_gmenu_add_cdrom_action), plugin); - item = g_menu_item_new (_("Add Audio _CD"), "win.add-cdrom"); + item = g_menu_item_new (_("Add Audio _CD"), "syst.add-cdrom"); + status_icon = pragha_application_get_status_icon(priv->pragha); + pragha_systray_append_action (status_icon, "pragha-systray-append-music", action, item); + g_object_unref (item); + item = g_menu_item_new (_("Add Audio _CD"), "win.add-cdrom"); pragha_menubar_append_action (priv->pragha, "pragha-plugins-append-music", action, item); + g_object_unref (item); /* Connect signals */ @@ -739,19 +816,17 @@ g_signal_connect (backend, "prepare-source", G_CALLBACK(pragha_cdrom_plugin_prepare_source), plugin); - #ifdef HAVE_GUDEV - PraghaDeviceClient *device_client; - device_client = pragha_device_client_get(); +#ifdef HAVE_GUDEV + priv->device_client = pragha_device_client_get(); - g_signal_connect (G_OBJECT(device_client), "device-added", + g_signal_connect (G_OBJECT(priv->device_client), "device-added", G_CALLBACK(pragha_cdrom_plugin_device_added), plugin); - g_signal_connect (G_OBJECT(device_client), "device-removed", + g_signal_connect (G_OBJECT(priv->device_client), "device-removed", G_CALLBACK(pragha_cdrom_plugin_device_removed), plugin); - g_object_unref (device_client); - #endif +#endif enum_map = pragha_music_enum_get (); - pragha_music_enum_map_get (enum_map, "FILE_CDDA"); + pragha_music_enum_map_get (enum_map, "CDROM"); g_object_unref (enum_map); /* Settings */ @@ -761,6 +836,7 @@ static void pragha_plugin_deactivate (PeasActivatable *activatable) { + PraghaDatabaseProvider *provider; PraghaBackend *backend; PraghaPreferences *preferences; PraghaStatusIcon *status_icon = NULL; @@ -778,10 +854,7 @@ priv->merge_id_main_menu = 0; status_icon = pragha_application_get_status_icon(priv->pragha); - pragha_systray_remove_plugin_action (status_icon, - priv->action_group_main_menu, - priv->merge_id_syst_menu); - priv->merge_id_syst_menu = 0; + pragha_systray_remove_action (status_icon, "pragha-systray-append-music", "add-cdrom"); pragha_menubar_remove_action (priv->pragha, "pragha-plugins-append-music", "add-cdrom"); @@ -789,30 +862,58 @@ g_signal_handlers_disconnect_by_func (backend, pragha_cdrom_plugin_set_device, plugin); g_signal_handlers_disconnect_by_func (backend, pragha_cdrom_plugin_prepare_source, plugin); - #ifdef HAVE_GUDEV - PraghaDeviceClient *device_client; - device_client = pragha_device_client_get(); - g_signal_handlers_disconnect_by_func (device_client, +#ifdef HAVE_GUDEV + g_signal_handlers_disconnect_by_func (priv->device_client, pragha_cdrom_plugin_device_added, plugin); - g_signal_handlers_disconnect_by_func (device_client, + g_signal_handlers_disconnect_by_func (priv->device_client, pragha_cdrom_plugin_device_removed, plugin); - g_object_unref (device_client); - #endif + g_object_unref (priv->device_client); +#endif - pragha_cdrom_plugin_remove_setting (plugin); + /* Remove from database */ - preferences = pragha_application_get_preferences (priv->pragha); - plugin_group = pragha_preferences_get_plugin_group_name (preferences, "lastfm"); - if (!pragha_plugins_is_shutdown(pragha_application_get_plugins_engine(priv->pragha))) { - pragha_preferences_remove_group (preferences, plugin_group); + if (priv->disc_id) { + provider = pragha_database_provider_get (); + pragha_provider_remove (provider, priv->disc_id); + g_object_unref (provider); } - g_free (plugin_group); + + /* Crop library to not save from playlist */ enum_map = pragha_music_enum_get (); - pragha_music_enum_map_remove (enum_map, "FILE_CDDA"); + pragha_music_enum_map_remove (enum_map, "CDROM"); g_object_unref (enum_map); + /* If plugin is disables by user remove the rest of preferences */ + + if (!pragha_plugins_engine_is_shutdown(pragha_application_get_plugins_engine(priv->pragha))) + { + /* Remove setting widgets */ + + pragha_cdrom_plugin_remove_setting (plugin); + + /* Remove settings */ + + preferences = pragha_application_get_preferences (priv->pragha); + plugin_group = pragha_preferences_get_plugin_group_name (preferences, "cdrom"); + pragha_preferences_remove_group (preferences, plugin_group); + g_free (plugin_group); + + /* Force update library view */ + + if (priv->disc_id) { + provider = pragha_database_provider_get (); + pragha_provider_update_done (provider); + g_object_unref (provider); + } + } + + /* Free and shutdown */ + + if (priv->disc_id) + g_free (priv->disc_id); + libcddb_shutdown (); } diff -Nru pragha-1.3.3/plugins/cdrom/pragha-cdrom-plugin.h pragha-1.3.992/plugins/cdrom/pragha-cdrom-plugin.h --- pragha-1.3.3/plugins/cdrom/pragha-cdrom-plugin.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/cdrom/pragha-cdrom-plugin.h 2019-03-12 16:30:10.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2009-2014 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -18,8 +18,4 @@ #ifndef PRAGHA_CDROM_PLUGIN_H #define PRAGHA_CDROM_PLUGIN_H -#include "pragha.h" - -void pragha_application_append_audio_cd (PraghaApplication *pragha); - #endif /* PRAGHA_CDROM_PLUGIN_H */ diff -Nru pragha-1.3.3/plugins/devices/devices.plugin pragha-1.3.992/plugins/devices/devices.plugin --- pragha-1.3.3/plugins/devices/devices.plugin 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/devices/devices.plugin 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ -[Plugin] -Module=devices -Name=Devices -Description=Management removable devices -Authors=Matias De lellis -Copyright=Copyright © 2014 Matias De lellis -Website=https://github.com/matiasdelellis/pragha -Help=https://github.com/matiasdelellis/pragha -Hidden=true \ No newline at end of file diff -Nru pragha-1.3.3/plugins/devices/Makefile.am pragha-1.3.992/plugins/devices/Makefile.am --- pragha-1.3.3/plugins/devices/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/devices/Makefile.am 1970-01-01 00:00:00.000000000 +0000 @@ -1,78 +0,0 @@ -# Device library. - -deviceclientdir = $(libdir)/pragha/plugins/devices - -deviceclient_LTLIBRARIES = libdeviceclient.la - -libdeviceclient_la_SOURCES = \ - pragha-device-client.c \ - pragha-device-client.h - -#libdeviceclient_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) - -libdeviceclient_la_CFLAGS = \ - $(GTK_CFLAGS) \ - $(GUDEV_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall - -libdeviceclient_la_LIBADD = \ - $(GTK_LIBS) \ - $(GUDEV_LIBS) - -# Fake plugin - -plugindir = $(libdir)/pragha/plugins/devices - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) - -plugin_LTLIBRARIES = libdevices.la - -libdevices_la_SOURCES = \ - pragha-devices-plugin.c \ - pragha-devices-plugin.h - -libdevices_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) - -libdevices_la_CFLAGS = \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - $(GUDEV_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall - -libdevices_la_LIBADD = \ - libdeviceclient.la \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) \ - $(GUDEV_LIBS) - -if HAVE_GSTREAMER_AUDIO -libdevices_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libdevices_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -libdevices_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libdevices_la_LIBADD += $(LIBXFCE4UI_LIBS) -endif - -plugin_DATA = devices.plugin - -EXTRA_DIST = $(plugin_DATA) diff -Nru pragha-1.3.3/plugins/devices/pragha-device-client.c pragha-1.3.992/plugins/devices/pragha-device-client.c --- pragha-1.3.3/plugins/devices/pragha-device-client.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/devices/pragha-device-client.c 1970-01-01 00:00:00.000000000 +0000 @@ -1,253 +0,0 @@ -/*************************************************************************/ -/* Copyright (C) 2014-2015 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ -/* along with this program. If not, see . */ -/*************************************************************************/ - -#ifdef HAVE_CONFIG_H -#include -#endif - -#if defined(GETTEXT_PACKAGE) -#include -#else -#include -#endif - -#include "pragha-device-client.h" - -struct _PraghaDeviceClient { - GObject _parent; - - GUdevClient *gudev_client; -}; - -enum { - SIGNAL_DEVICE_ADDED, - SIGNAL_DEVICE_REMOVED, - LAST_SIGNAL -}; - -static int signals[LAST_SIGNAL] = { 0 }; - -G_DEFINE_TYPE(PraghaDeviceClient, pragha_device_client, G_TYPE_OBJECT) - -static const -gchar * gudev_subsystems[] = -{ - "block", - "usb", - NULL, -}; - -/* - * Publics functions. - */ -GtkWidget * -pragha_gudev_dialog_new (GtkWidget *parent, const gchar *title, const gchar *icon, - const gchar *primary_text, const gchar *secondary_text, - const gchar *first_button_text, gint first_button_response) -{ - GtkWidget *dialog; - GtkWidget *image; - - dialog = gtk_message_dialog_new (NULL, - GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_QUESTION, - GTK_BUTTONS_NONE, - NULL); - - if (title != NULL) - gtk_window_set_title (GTK_WINDOW (dialog), title); - - gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (dialog), primary_text); - - gtk_dialog_add_button (GTK_DIALOG (dialog), _("Ignore"), PRAGHA_DEVICE_RESPONSE_NONE); - if (first_button_text != NULL) - gtk_dialog_add_button (GTK_DIALOG (dialog), first_button_text, first_button_response); - - if(icon != NULL) { - image = gtk_image_new_from_icon_name (icon, GTK_ICON_SIZE_DIALOG); - gtk_message_dialog_set_image(GTK_MESSAGE_DIALOG (dialog), image); - } - if (secondary_text != NULL) - gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG (dialog), "%s", secondary_text); - - gtk_dialog_set_default_response (GTK_DIALOG (dialog), PRAGHA_DEVICE_RESPONSE_NONE); - - return dialog; -} - -/* Identify devices.*/ - -static gint -pragha_gudev_get_device_type (GUdevDevice *device) -{ - const gchar *devtype; - const gchar *id_type; - const gchar *id_fs_usage; - gboolean is_cdrom; - gboolean is_partition; - gboolean is_volume; - guint64 audio_tracks = 0; - guint64 data_tracks = 0; - guint64 is_mtpdevice = 0; - - /* collect general devices information */ - - id_type = g_udev_device_get_property (device, "ID_TYPE"); - - is_cdrom = (g_strcmp0 (id_type, "cd") == 0); - if (is_cdrom) { - /* silently ignore CD drives without media */ - if (g_udev_device_get_property_as_boolean (device, "ID_CDROM_MEDIA")) { - - audio_tracks = g_udev_device_get_property_as_uint64 (device, "ID_CDROM_MEDIA_TRACK_COUNT_AUDIO"); - data_tracks = g_udev_device_get_property_as_uint64 (device, "ID_CDROM_MEDIA_TRACK_COUNT_DATA"); - - if (audio_tracks > 0) - return PRAGHA_DEVICE_AUDIO_CD; - } - } - - devtype = g_udev_device_get_property (device, "DEVTYPE"); - id_fs_usage = g_udev_device_get_property (device, "ID_FS_USAGE"); - - is_partition = (g_strcmp0 (devtype, "partition") == 0); - is_volume = (g_strcmp0 (devtype, "disk") == 0) && (g_strcmp0 (id_fs_usage, "filesystem") == 0); - - if (is_partition || is_volume || data_tracks) - return PRAGHA_DEVICE_MOUNTABLE; - - is_mtpdevice = g_udev_device_get_property_as_uint64 (device, "ID_MTP_DEVICE"); - if (is_mtpdevice) - return PRAGHA_DEVICE_MTP; - - return PRAGHA_DEVICE_UNKNOWN; -} - -/* Functions that manage to "add" "change" and "remove" devices events. */ - -static void -pragha_gudev_device_added (PraghaDeviceClient *client, GUdevDevice *device) -{ - PraghaDeviceType device_type = PRAGHA_DEVICE_UNKNOWN; - - device_type = pragha_gudev_get_device_type (device); - if (device_type != PRAGHA_DEVICE_UNKNOWN) - g_signal_emit (client, signals[SIGNAL_DEVICE_ADDED], 0, device_type, device); -} - -static void -pragha_gudev_device_changed (PraghaDeviceClient *client, GUdevDevice *device) -{ - PraghaDeviceType device_type = PRAGHA_DEVICE_UNKNOWN; - - device_type = pragha_gudev_get_device_type (device); - if (device_type == PRAGHA_DEVICE_AUDIO_CD) - g_signal_emit (client, signals[SIGNAL_DEVICE_ADDED], 0, device_type, device); -} - -static void -pragha_gudev_device_removed (PraghaDeviceClient *client, GUdevDevice *device) -{ - PraghaDeviceType device_type = PRAGHA_DEVICE_UNKNOWN; - - device_type = pragha_gudev_get_device_type (device); - if (device_type != PRAGHA_DEVICE_UNKNOWN) - g_signal_emit (client, signals[SIGNAL_DEVICE_REMOVED], 0, device_type, device); -} - -static void -gudev_uevent_cb (GUdevClient *uclient, const char *action, GUdevDevice *device, PraghaDeviceClient *client) -{ - if (g_str_equal(action, "add")) { - pragha_gudev_device_added (client, device); - } - else if (g_str_equal(action, "change")) { - pragha_gudev_device_changed (client, device); - } - else if (g_str_equal (action, "remove")) { - pragha_gudev_device_removed (client, device); - } -} - -/* Pragha device client object */ - -static void -pragha_device_client_dispose (GObject *object) -{ - PraghaDeviceClient *client = PRAGHA_DEVICE_CLIENT (object); - - if (client->gudev_client) { - g_object_unref (client->gudev_client); - client->gudev_client = NULL; - } - - (*G_OBJECT_CLASS (pragha_device_client_parent_class)->dispose) (object); -} - -static void -pragha_device_client_class_init (PraghaDeviceClientClass *klass) -{ - GObjectClass *object_class; - - object_class = G_OBJECT_CLASS(klass); - - object_class->dispose = pragha_device_client_dispose; - - signals[SIGNAL_DEVICE_ADDED] = - g_signal_new ("device-added", - G_TYPE_FROM_CLASS (object_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaDeviceClientClass, device_added), - NULL, NULL, - g_cclosure_marshal_VOID__UINT_POINTER, - G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_POINTER); - signals[SIGNAL_DEVICE_REMOVED] = - g_signal_new ("device-removed", - G_TYPE_FROM_CLASS (object_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaDeviceClientClass, device_removed), - NULL, NULL, - g_cclosure_marshal_VOID__UINT_POINTER, - G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_POINTER); -} - -static void -pragha_device_client_init (PraghaDeviceClient *device_client) -{ - device_client->gudev_client = g_udev_client_new(gudev_subsystems); - - g_signal_connect (device_client->gudev_client, "uevent", - G_CALLBACK(gudev_uevent_cb), device_client); - -} - -PraghaDeviceClient * -pragha_device_client_get (void) -{ - static PraghaDeviceClient *device_client = NULL; - - if (G_UNLIKELY (device_client == NULL)) { - device_client = g_object_new (PRAGHA_TYPE_DEVICE_CLIENT, NULL); - g_object_add_weak_pointer (G_OBJECT (device_client), - (gpointer) &device_client); - } - else { - g_object_ref (G_OBJECT(device_client)); - } - - return device_client; -} \ No newline at end of file diff -Nru pragha-1.3.3/plugins/devices/pragha-device-client.h pragha-1.3.992/plugins/devices/pragha-device-client.h --- pragha-1.3.3/plugins/devices/pragha-device-client.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/devices/pragha-device-client.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,81 +0,0 @@ -/*************************************************************************/ -/* Copyright (C) 2014 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ -/* along with this program. If not, see . */ -/*************************************************************************/ - -#ifndef PRAGHA_DEVICE_CLIENT_H -#define PRAGHA_DEVICE_CLIENT_H - -#include -#include -#include - -#include - -G_BEGIN_DECLS - -/* Device types */ - -typedef enum { - PRAGHA_DEVICE_NONE = 0, - PRAGHA_DEVICE_MOUNTABLE, - PRAGHA_DEVICE_AUDIO_CD, - PRAGHA_DEVICE_MTP, - PRAGHA_DEVICE_UNKNOWN -} PraghaDeviceType; - -#define PRAGHA_TYPE_DEVICE_CLIENT (pragha_device_client_get_type()) -#define PRAGHA_DEVICE_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_DEVICE_CLIENT, PraghaDeviceClient)) -#define PRAGHA_DEVICE_CLIENT_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_DEVICE_CLIENT, PraghaDeviceClient const)) -#define PRAGHA_DEVICE_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_DEVICE_CLIENT, PraghaDeviceClientClass)) -#define PRAGHA_IS_DEVICE_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_DEVICE_CLIENT)) -#define PRAGHA_IS_DEVICE_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_DEVICE_CLIENT)) -#define PRAGHA_DEVICE_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_DEVICE_CLIENT, PraghaDeviceClientClass)) - -typedef struct _PraghaDeviceClient PraghaDeviceClient; -typedef struct _PraghaDeviceClientClass PraghaDeviceClientClass; - -struct _PraghaDeviceClientClass -{ - GObjectClass parent_class; - void (*device_added) (PraghaDeviceClient *device_client, - PraghaDeviceType device_type, - GUdevDevice *u_device); - void (*device_removed) (PraghaDeviceClient *device_client, - PraghaDeviceType device_type, - GUdevDevice *u_device); -}; - -/* Dialog when add device */ - -enum -{ - PRAGHA_DEVICE_RESPONSE_NONE, - PRAGHA_DEVICE_RESPONSE_PLAY, - PRAGHA_DEVICE_RESPONSE_BROWSE, -}; - -GtkWidget * -pragha_gudev_dialog_new (GtkWidget *parent, const gchar *title, const gchar *icon, - const gchar *primary_text, const gchar *secondary_text, - const gchar *first_button_text, gint first_button_response); - -/* Create a new instance of PraghaDeviceClient* */ - -PraghaDeviceClient *pragha_device_client_get (void); - -G_END_DECLS - -#endif /* PRAGHA_DEVICE_CLIENT_H */ diff -Nru pragha-1.3.3/plugins/devices/pragha-devices-plugin.c pragha-1.3.992/plugins/devices/pragha-devices-plugin.c --- pragha-1.3.3/plugins/devices/pragha-devices-plugin.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/devices/pragha-devices-plugin.c 1970-01-01 00:00:00.000000000 +0000 @@ -1,86 +0,0 @@ -/*************************************************************************/ -/* Copyright (C) 2009-2015 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ -/* along with this program. If not, see . */ -/*************************************************************************/ - -#ifdef HAVE_CONFIG_H -#include -#endif - -#if defined(GETTEXT_PACKAGE) -#include -#else -#include -#endif - -#include -#include -#include -#include - -#include -#include - -#include "plugins/pragha-plugin-macros.h" - -#include "pragha-device-client.h" -#include "pragha-devices-plugin.h" - -#include "src/pragha-utils.h" -#include "src/pragha.h" - -#define PRAGHA_TYPE_DEVICES_PLUGIN (pragha_devices_plugin_get_type ()) -#define PRAGHA_DEVICES_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PRAGHA_TYPE_DEVICES_PLUGIN, PraghaDevicesPlugin)) -#define PRAGHA_DEVICES_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PRAGHA_TYPE_DEVICES_PLUGIN, PraghaDevicesPlugin)) -#define PRAGHA_IS_DEVICES_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PRAGHA_TYPE_DEVICES_PLUGIN)) -#define PRAGHA_IS_DEVICES_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PRAGHA_TYPE_DEVICES_PLUGIN)) -#define PRAGHA_DEVICES_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PRAGHA_TYPE_DEVICES_PLUGIN, PraghaDevicesPluginClass)) - -struct _PraghaDevicesPluginPrivate { - PraghaApplication *pragha; - - PraghaDeviceClient *device_client; -}; -typedef struct _PraghaDevicesPluginPrivate PraghaDevicesPluginPrivate; - -PRAGHA_PLUGIN_REGISTER (PRAGHA_TYPE_DEVICES_PLUGIN, - PraghaDevicesPlugin, - pragha_devices_plugin) - -static void -pragha_plugin_activate (PeasActivatable *activatable) -{ - PraghaDevicesPlugin *plugin = PRAGHA_DEVICES_PLUGIN (activatable); - PraghaDevicesPluginPrivate *priv = plugin->priv; - - CDEBUG(DBG_PLUGIN, "Devices plugin %s", G_STRFUNC); - - priv->pragha = g_object_get_data (G_OBJECT (plugin), "object"); - - priv->device_client = pragha_device_client_get (); -} - -static void -pragha_plugin_deactivate (PeasActivatable *activatable) -{ - PraghaDevicesPlugin *plugin = PRAGHA_DEVICES_PLUGIN (activatable); - PraghaDevicesPluginPrivate *priv = plugin->priv; - - CDEBUG(DBG_PLUGIN, "Devices plugin %s", G_STRFUNC); - - g_object_unref (priv->device_client); - - priv->pragha = NULL; -} \ No newline at end of file diff -Nru pragha-1.3.3/plugins/devices/pragha-devices-plugin.h pragha-1.3.992/plugins/devices/pragha-devices-plugin.h --- pragha-1.3.3/plugins/devices/pragha-devices-plugin.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/devices/pragha-devices-plugin.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,31 +0,0 @@ -/*************************************************************************/ -/* Copyright (C) 2009-2014 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ -/* along with this program. If not, see . */ -/*************************************************************************/ - -#ifndef __PRAGHA_DEVICES_PLUGIN_H__ -#define __PRAGHA_DEVICES_PLUGIN_H__ - -#include -#include -#include - -#include - -G_BEGIN_DECLS - -G_END_DECLS - -#endif /* __PRAGHA_DEVICES_PLUGIN_H__ */ diff -Nru pragha-1.3.3/plugins/dlna/Makefile.am pragha-1.3.992/plugins/dlna/Makefile.am --- pragha-1.3.3/plugins/dlna/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/dlna/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -13,40 +13,14 @@ libdlna_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libdlna_la_CFLAGS = \ - $(RYGEL_CFLAGS) \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall - -libdlna_la_LIBADD = \ - $(RYGEL_LIBS) \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) - -if HAVE_GSTREAMER_AUDIO -libdlna_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libdlna_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -libdlna_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libdlna_la_LIBADD += $(LIBXFCE4UI_LIBS) -endif +libdlna_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(RYGEL_CFLAGS) + +libdlna_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(RYGEL_LIBS) \ + $(top_builddir)/src/libpragha.la plugin_DATA = dlna.plugin diff -Nru pragha-1.3.3/plugins/dlna/Makefile.in pragha-1.3.992/plugins/dlna/Makefile.in --- pragha-1.3.3/plugins/dlna/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/dlna/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,826 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/dlna +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libdlna_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(top_builddir)/src/libpragha.la +am_libdlna_la_OBJECTS = libdlna_la-pragha-dlna-plugin.lo +libdlna_la_OBJECTS = $(am_libdlna_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libdlna_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libdlna_la_CFLAGS) \ + $(CFLAGS) $(libdlna_la_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ./$(DEPDIR)/libdlna_la-pragha-dlna-plugin.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libdlna_la_SOURCES) +DIST_SOURCES = $(libdlna_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/dlna +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libdlna.la +libdlna_la_SOURCES = \ + pragha-dlna-plugin.h \ + pragha-dlna-plugin.c + +libdlna_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libdlna_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(RYGEL_CFLAGS) + +libdlna_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(RYGEL_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = dlna.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/dlna/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/dlna/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libdlna.la: $(libdlna_la_OBJECTS) $(libdlna_la_DEPENDENCIES) $(EXTRA_libdlna_la_DEPENDENCIES) + $(AM_V_CCLD)$(libdlna_la_LINK) -rpath $(plugindir) $(libdlna_la_OBJECTS) $(libdlna_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdlna_la-pragha-dlna-plugin.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libdlna_la-pragha-dlna-plugin.lo: pragha-dlna-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdlna_la_CFLAGS) $(CFLAGS) -MT libdlna_la-pragha-dlna-plugin.lo -MD -MP -MF $(DEPDIR)/libdlna_la-pragha-dlna-plugin.Tpo -c -o libdlna_la-pragha-dlna-plugin.lo `test -f 'pragha-dlna-plugin.c' || echo '$(srcdir)/'`pragha-dlna-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdlna_la-pragha-dlna-plugin.Tpo $(DEPDIR)/libdlna_la-pragha-dlna-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-dlna-plugin.c' object='libdlna_la-pragha-dlna-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdlna_la_CFLAGS) $(CFLAGS) -c -o libdlna_la-pragha-dlna-plugin.lo `test -f 'pragha-dlna-plugin.c' || echo '$(srcdir)/'`pragha-dlna-plugin.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libdlna_la-pragha-dlna-plugin.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libdlna_la-pragha-dlna-plugin.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/dlna/pragha-dlna-plugin.c pragha-1.3.992/plugins/dlna/pragha-dlna-plugin.c --- pragha-1.3.3/plugins/dlna/pragha-dlna-plugin.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/dlna/pragha-dlna-plugin.c 2018-06-21 11:24:11.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2014 matias */ +/* Copyright (C) 2014-2016 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -45,6 +45,7 @@ #include "src/pragha-utils.h" #include "src/pragha-musicobject-mgmt.h" #include "src/pragha-playlist.h" +#include "src/pragha-database-provider.h" #include "plugins/pragha-plugin-macros.h" @@ -67,7 +68,6 @@ gint id) { RygelMusicItem *item = NULL; - RygelMediaObject *object; gchar *uri = NULL, *u_title = NULL, *item_id = NULL, *content_type = NULL; const gchar *file = NULL, *title = NULL; gboolean uncertain; @@ -84,24 +84,26 @@ RYGEL_MUSIC_ITEM_UPNP_CLASS); if (item != NULL) { - rygel_music_item_set_artist (item, pragha_musicobject_get_artist(mobj)); - rygel_music_item_set_album (item, pragha_musicobject_get_album(mobj)); - rygel_music_item_set_track_number (item, pragha_musicobject_get_track_no(mobj)); + file = pragha_musicobject_get_file (mobj); - rygel_audio_item_set_duration (RYGEL_AUDIO_ITEM(item), (glong)pragha_musicobject_get_length(mobj)); + uri = g_filename_to_uri (file, NULL, NULL); + rygel_media_object_add_uri (RYGEL_MEDIA_OBJECT (item), uri); + g_free (uri); - file = pragha_musicobject_get_file (mobj); content_type = g_content_type_guess (file, NULL, 0, &uncertain); - rygel_media_item_set_mime_type (RYGEL_MEDIA_ITEM (item), content_type); + rygel_media_file_item_set_mime_type (RYGEL_MEDIA_FILE_ITEM (item), content_type); g_free(content_type); - uri = g_filename_to_uri (file, NULL, NULL); + rygel_music_item_set_track_number (item, pragha_musicobject_get_track_no(mobj)); - object = RYGEL_MEDIA_OBJECT (item); - gee_collection_add (GEE_COLLECTION (object->uris), uri); - g_free (uri); + rygel_audio_item_set_album (RYGEL_AUDIO_ITEM(item), pragha_musicobject_get_album(mobj)); + rygel_audio_item_set_duration (RYGEL_AUDIO_ITEM(item), (glong)pragha_musicobject_get_length(mobj)); + + rygel_media_object_set_artist (RYGEL_MEDIA_OBJECT(item), pragha_musicobject_get_artist(mobj)); rygel_simple_container_add_child_item (priv->container, RYGEL_MEDIA_ITEM(item)); + + g_object_unref (item); } g_free(u_title); @@ -112,22 +114,30 @@ pragha_dlna_plugin_share_library (PraghaDlnaPlugin *plugin) { PraghaDatabase *cdbase; + PraghaPreparedStatement *statement; PraghaMusicobject *mobj; gint i = 0; + + const gchar *sql = NULL; + PraghaDlnaPluginPrivate *priv = plugin->priv; /* Query and insert entries */ set_watch_cursor (pragha_application_get_window(priv->pragha)); - cdbase = pragha_application_get_database (priv->pragha); + sql = "SELECT location FROM TRACK " + "INNER JOIN provider ON track.provider = provider.id " + "INNER JOIN provider_type ON provider.type = provider_type.id " + "WHERE provider_type.name = ?"; - const gchar *sql = "SELECT id FROM LOCATION"; - PraghaPreparedStatement *statement = pragha_database_create_statement (cdbase, sql); + cdbase = pragha_application_get_database (priv->pragha); + statement = pragha_database_create_statement (cdbase, sql); + pragha_prepared_statement_bind_string (statement, 1, "local"); while (pragha_prepared_statement_step (statement)) { - gint location_id = pragha_prepared_statement_get_int (statement, 0); - mobj = new_musicobject_from_db (cdbase, location_id); + mobj = new_musicobject_from_db (cdbase, + pragha_prepared_statement_get_int (statement, 0)); if (G_LIKELY(mobj)) { pragha_dlna_plugin_append_track (plugin, mobj, i++); g_object_unref (mobj); @@ -140,8 +150,8 @@ } static void -pragha_dlna_plugin_database_changed (PraghaDatabase *cdbase, - PraghaDlnaPlugin *plugin) +pragha_dlna_plugin_database_changed (PraghaDatabaseProvider *provider, + PraghaDlnaPlugin *plugin) { PraghaDlnaPluginPrivate *priv = plugin->priv; @@ -178,6 +188,7 @@ pragha_process_gtk_events (); } + g_list_free(list); remove_watch_cursor (pragha_application_get_window(priv->pragha)); } @@ -199,7 +210,7 @@ static void pragha_plugin_activate (PeasActivatable *activatable) { - PraghaDatabase *cdbase; + PraghaDatabaseProvider *provider; PraghaPlaylist *playlist; GError *error = NULL; struct ifaddrs *addrs,*tmp; @@ -211,13 +222,26 @@ CDEBUG(DBG_PLUGIN, "DLNA plugin %s", G_STRFUNC); + /* Init rygel */ + rygel_media_engine_init (&error); if (error != NULL) { - g_print ("Could not initialize media engine: %s\n", error->message); + g_critical ("Could not initialize media engine: %s\n", error->message); g_error_free (error); } - priv->container = rygel_simple_container_new_root (_("Pragha Music Player")); + /* Create root container */ + + priv->container = rygel_simple_container_new_root (_("Local Music")); + + /* Put initial music on container */ + + if (FALSE) + pragha_dlna_plugin_share_library (plugin); + else + pragha_dlna_plugin_share_playlist (plugin); + + /* Launch server */ priv->server = rygel_media_server_new (_("Pragha Music Player"), RYGEL_MEDIA_CONTAINER(priv->container), @@ -232,24 +256,23 @@ } freeifaddrs (addrs); - cdbase = pragha_application_get_database (priv->pragha); - g_signal_connect (cdbase, "TracksChanged", - G_CALLBACK(pragha_dlna_plugin_database_changed), plugin); + /* Connect signals to update music */ + + provider = pragha_database_provider_get (); + g_signal_connect (provider, "update-done", + G_CALLBACK(pragha_dlna_plugin_database_changed), plugin); + g_object_unref (provider); playlist = pragha_application_get_playlist (priv->pragha); g_signal_connect (playlist, "playlist-changed", - G_CALLBACK(pragha_dlna_plugin_playlist_changed), plugin); + G_CALLBACK(pragha_dlna_plugin_playlist_changed), plugin); - if (FALSE) - pragha_dlna_plugin_share_library (plugin); - else - pragha_dlna_plugin_share_playlist (plugin); } static void pragha_plugin_deactivate (PeasActivatable *activatable) { - PraghaDatabase *cdbase; + PraghaDatabaseProvider *provider; PraghaPlaylist *playlist; PraghaDlnaPlugin *plugin = PRAGHA_DLNA_PLUGIN (activatable); @@ -258,10 +281,11 @@ CDEBUG(DBG_PLUGIN, "DLNA plugin %s", G_STRFUNC); - cdbase = pragha_application_get_database (priv->pragha); - g_signal_handlers_disconnect_by_func (cdbase, + provider = pragha_database_provider_get (); + g_signal_handlers_disconnect_by_func (provider, pragha_dlna_plugin_database_changed, plugin); + g_object_unref (provider); playlist = pragha_application_get_playlist (priv->pragha); g_signal_handlers_disconnect_by_func (playlist, diff -Nru pragha-1.3.3/plugins/dlna-renderer/Makefile.am pragha-1.3.992/plugins/dlna-renderer/Makefile.am --- pragha-1.3.3/plugins/dlna-renderer/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/dlna-renderer/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -13,39 +13,20 @@ libpdlnarenderer_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libpdlnarenderer_la_CFLAGS = \ - $(GRILO_CFLAGS) \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall +libpdlnarenderer_la_CFLAGS = \ + $(PRAGHA_CFLAGS) -libpdlnarenderer_la_LIBADD = \ - $(GRILO_LIBS) \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) - -if HAVE_GSTREAMER_AUDIO -libpdlnarenderer_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libpdlnarenderer_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) +libpdlnarenderer_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(top_builddir)/src/libpragha.la + +if HAVE_GRILO3 +libpdlnarenderer_la_CFLAGS += $(GRILO3_CFLAGS) +libpdlnarenderer_la_LIBADD += $(GRILO3_LIBS) endif - -if HAVE_LIBXFCE4UI -libpdlnarenderer_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libpdlnarenderer_la_LIBADD += $(LIBXFCE4UI_LIBS) +if HAVE_GRILO2 +libpdlnarenderer_la_CFLAGS += $(GRILO2_CFLAGS) +libpdlnarenderer_la_LIBADD += $(GRILO2_LIBS) endif plugin_DATA = dlna-renderer.plugin diff -Nru pragha-1.3.3/plugins/dlna-renderer/Makefile.in pragha-1.3.992/plugins/dlna-renderer/Makefile.in --- pragha-1.3.3/plugins/dlna-renderer/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/dlna-renderer/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,831 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +@HAVE_GRILO3_TRUE@am__append_1 = $(GRILO3_CFLAGS) +@HAVE_GRILO3_TRUE@am__append_2 = $(GRILO3_LIBS) +@HAVE_GRILO2_TRUE@am__append_3 = $(GRILO2_CFLAGS) +@HAVE_GRILO2_TRUE@am__append_4 = $(GRILO2_LIBS) +subdir = plugins/dlna-renderer +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +@HAVE_GRILO3_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) +@HAVE_GRILO2_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) +libpdlnarenderer_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(top_builddir)/src/libpragha.la $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +am_libpdlnarenderer_la_OBJECTS = \ + libpdlnarenderer_la-pragha-dlna-renderer-plugin.lo +libpdlnarenderer_la_OBJECTS = $(am_libpdlnarenderer_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libpdlnarenderer_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libpdlnarenderer_la_CFLAGS) $(CFLAGS) \ + $(libpdlnarenderer_la_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ./$(DEPDIR)/libpdlnarenderer_la-pragha-dlna-renderer-plugin.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libpdlnarenderer_la_SOURCES) +DIST_SOURCES = $(libpdlnarenderer_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/dlna-renderer +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libpdlnarenderer.la +libpdlnarenderer_la_SOURCES = \ + pragha-dlna-renderer-plugin.h \ + pragha-dlna-renderer-plugin.c + +libpdlnarenderer_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libpdlnarenderer_la_CFLAGS = $(PRAGHA_CFLAGS) $(am__append_1) \ + $(am__append_3) +libpdlnarenderer_la_LIBADD = $(PRAGHA_LIBS) \ + $(top_builddir)/src/libpragha.la $(am__append_2) \ + $(am__append_4) +plugin_DATA = dlna-renderer.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/dlna-renderer/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/dlna-renderer/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libpdlnarenderer.la: $(libpdlnarenderer_la_OBJECTS) $(libpdlnarenderer_la_DEPENDENCIES) $(EXTRA_libpdlnarenderer_la_DEPENDENCIES) + $(AM_V_CCLD)$(libpdlnarenderer_la_LINK) -rpath $(plugindir) $(libpdlnarenderer_la_OBJECTS) $(libpdlnarenderer_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpdlnarenderer_la-pragha-dlna-renderer-plugin.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libpdlnarenderer_la-pragha-dlna-renderer-plugin.lo: pragha-dlna-renderer-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpdlnarenderer_la_CFLAGS) $(CFLAGS) -MT libpdlnarenderer_la-pragha-dlna-renderer-plugin.lo -MD -MP -MF $(DEPDIR)/libpdlnarenderer_la-pragha-dlna-renderer-plugin.Tpo -c -o libpdlnarenderer_la-pragha-dlna-renderer-plugin.lo `test -f 'pragha-dlna-renderer-plugin.c' || echo '$(srcdir)/'`pragha-dlna-renderer-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpdlnarenderer_la-pragha-dlna-renderer-plugin.Tpo $(DEPDIR)/libpdlnarenderer_la-pragha-dlna-renderer-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-dlna-renderer-plugin.c' object='libpdlnarenderer_la-pragha-dlna-renderer-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpdlnarenderer_la_CFLAGS) $(CFLAGS) -c -o libpdlnarenderer_la-pragha-dlna-renderer-plugin.lo `test -f 'pragha-dlna-renderer-plugin.c' || echo '$(srcdir)/'`pragha-dlna-renderer-plugin.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libpdlnarenderer_la-pragha-dlna-renderer-plugin.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libpdlnarenderer_la-pragha-dlna-renderer-plugin.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/dlna-renderer/pragha-dlna-renderer-plugin.c pragha-1.3.992/plugins/dlna-renderer/pragha-dlna-renderer-plugin.c --- pragha-1.3.3/plugins/dlna-renderer/pragha-dlna-renderer-plugin.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/dlna-renderer/pragha-dlna-renderer-plugin.c 2019-07-30 11:07:14.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2014 matias */ +/* Copyright (C) 2014-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -40,6 +40,7 @@ #include "pragha-dlna-renderer-plugin.h" #include "src/pragha.h" +#include "src/pragha-app-notification.h" #include "src/pragha-utils.h" #include "src/pragha-musicobject-mgmt.h" #include "src/pragha-playlist.h" @@ -145,7 +146,12 @@ caps = grl_source_get_caps (source, GRL_OP_BROWSE); options = grl_operation_options_new (caps); +#ifdef HAVE_GRILO3 + grl_operation_options_set_resolution_flags (options, GRL_RESOLVE_IDLE_RELAY); +#endif +#ifdef HAVE_GRILO2 grl_operation_options_set_flags (options, GRL_RESOLVE_IDLE_RELAY); +#endif medias = grl_source_browse_sync (source, container, keys, options, NULL); for (media_iter = medias; media_iter; media_iter = g_list_next (media_iter)) { @@ -154,10 +160,20 @@ media = GRL_MEDIA (media_iter->data); +#ifdef HAVE_GRILO3 + if (grl_media_is_container (media)) { +#endif +#ifdef HAVE_GRILO2 if (GRL_IS_MEDIA_BOX (media)) { +#endif list = pragha_dlna_renderer_append_source (list, source, media); } +#ifdef HAVE_GRILO3 + else if (grl_media_is_audio (media)) { +#endif +#ifdef HAVE_GRILO2 else if (GRL_IS_MEDIA_AUDIO (media)) { +#endif list = pragha_dlna_renderer_append_media (list, media); } pragha_process_gtk_events (); @@ -176,8 +192,8 @@ static void pragha_dlna_renderer_plugin_search_music (PraghaDlnaRendererPlugin *plugin) { + PraghaAppNotification *notification; PraghaPlaylist *playlist; - PraghaStatusbar *statusbar; GList *sources = NULL, *sources_iter; GrlRegistry *registry; GList *list = NULL; @@ -193,8 +209,6 @@ break; } - statusbar = pragha_statusbar_get (); - if (list) { playlist = pragha_application_get_playlist (plugin->priv->pragha); @@ -203,15 +217,15 @@ const gchar *server = grl_source_get_name (GRL_SOURCE(sources_iter->data)); gchar *msge = g_strdup_printf (_("Music of the %s server was added."), server); - pragha_statusbar_set_misc_text (statusbar, msge); + notification = pragha_app_notification_new (_("Search music on DLNA server"), msge); + pragha_app_notification_show (notification); g_free (msge); } else { - pragha_statusbar_set_misc_text (statusbar, _("Could not find any DLNA server.")); + notification = pragha_app_notification_new (_("Search music on DLNA server"), _("Could not find any DLNA server.")); + pragha_app_notification_show (notification); } - g_object_unref (statusbar); - g_list_free (sources); } @@ -236,9 +250,22 @@ grl_init (NULL, NULL); registry = grl_registry_get_default (); - if (!grl_registry_load_plugin_by_id (registry, "grl-upnp", &error)) { - g_print ("Failed to load plugins: %s\n\n", error->message); - } +#ifdef HAVE_GRILO3 + if (!grl_registry_load_all_plugins (registry, FALSE, &error)) { + g_warning ("Failed to load plugins: %s\n\n", error->message); + g_clear_error (&error); + } + if (!grl_registry_activate_plugin_by_id (registry, "grl-dleyna", &error)) { + g_warning ("Failed to activate dleyna plugin: %s\n\n", error->message); + g_clear_error (&error); + } +#endif +#ifdef HAVE_GRILO2 + if (!grl_registry_load_plugin_by_id (registry, "grl-dleyna", &error)) { + g_warning ("Failed to load plugins: %s\n\n", error->message); + g_clear_error (&error); + } +#endif /* Attach main menu */ @@ -260,8 +287,8 @@ G_CALLBACK (pragha_gmenu_dlna_renderer_plugin_search_music_action), plugin); item = g_menu_item_new (_("Search music on DLNA server"), "win.search-dlna"); - pragha_menubar_append_action (priv->pragha, "pragha-plugins-placeholder", action, item); + g_object_unref (item); } static void @@ -281,4 +308,4 @@ pragha_menubar_remove_action (priv->pragha, "pragha-plugins-placeholder", "search-dlna"); grl_deinit (); -} \ No newline at end of file +} diff -Nru pragha-1.3.3/plugins/.gitignore pragha-1.3.992/plugins/.gitignore --- pragha-1.3.3/plugins/.gitignore 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -*.deps* -*.libs* -*.la -*.lo -*~ diff -Nru pragha-1.3.3/plugins/gnome-media-keys/Makefile.am pragha-1.3.992/plugins/gnome-media-keys/Makefile.am --- pragha-1.3.3/plugins/gnome-media-keys/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/gnome-media-keys/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -13,28 +13,12 @@ libgnome_media_keys_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libgnome_media_keys_la_CFLAGS = \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall +libgnome_media_keys_la_CFLAGS = \ + $(PRAGHA_CFLAGS) -libgnome_media_keys_la_LIBADD = \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) +libgnome_media_keys_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(top_builddir)/src/libpragha.la plugin_DATA = gnome-media-keys.plugin diff -Nru pragha-1.3.3/plugins/gnome-media-keys/Makefile.in pragha-1.3.992/plugins/gnome-media-keys/Makefile.in --- pragha-1.3.3/plugins/gnome-media-keys/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/gnome-media-keys/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,826 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/gnome-media-keys +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libgnome_media_keys_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(top_builddir)/src/libpragha.la +am_libgnome_media_keys_la_OBJECTS = \ + libgnome_media_keys_la-pragha-gnome-media-keys-plugin.lo +libgnome_media_keys_la_OBJECTS = $(am_libgnome_media_keys_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libgnome_media_keys_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libgnome_media_keys_la_CFLAGS) $(CFLAGS) \ + $(libgnome_media_keys_la_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ./$(DEPDIR)/libgnome_media_keys_la-pragha-gnome-media-keys-plugin.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libgnome_media_keys_la_SOURCES) +DIST_SOURCES = $(libgnome_media_keys_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/gnome-media-keys +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libgnome-media-keys.la +libgnome_media_keys_la_SOURCES = \ + pragha-gnome-media-keys-plugin.c \ + pragha-gnome-media-keys-plugin.h + +libgnome_media_keys_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libgnome_media_keys_la_CFLAGS = \ + $(PRAGHA_CFLAGS) + +libgnome_media_keys_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = gnome-media-keys.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/gnome-media-keys/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/gnome-media-keys/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libgnome-media-keys.la: $(libgnome_media_keys_la_OBJECTS) $(libgnome_media_keys_la_DEPENDENCIES) $(EXTRA_libgnome_media_keys_la_DEPENDENCIES) + $(AM_V_CCLD)$(libgnome_media_keys_la_LINK) -rpath $(plugindir) $(libgnome_media_keys_la_OBJECTS) $(libgnome_media_keys_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgnome_media_keys_la-pragha-gnome-media-keys-plugin.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libgnome_media_keys_la-pragha-gnome-media-keys-plugin.lo: pragha-gnome-media-keys-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgnome_media_keys_la_CFLAGS) $(CFLAGS) -MT libgnome_media_keys_la-pragha-gnome-media-keys-plugin.lo -MD -MP -MF $(DEPDIR)/libgnome_media_keys_la-pragha-gnome-media-keys-plugin.Tpo -c -o libgnome_media_keys_la-pragha-gnome-media-keys-plugin.lo `test -f 'pragha-gnome-media-keys-plugin.c' || echo '$(srcdir)/'`pragha-gnome-media-keys-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgnome_media_keys_la-pragha-gnome-media-keys-plugin.Tpo $(DEPDIR)/libgnome_media_keys_la-pragha-gnome-media-keys-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-gnome-media-keys-plugin.c' object='libgnome_media_keys_la-pragha-gnome-media-keys-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgnome_media_keys_la_CFLAGS) $(CFLAGS) -c -o libgnome_media_keys_la-pragha-gnome-media-keys-plugin.lo `test -f 'pragha-gnome-media-keys-plugin.c' || echo '$(srcdir)/'`pragha-gnome-media-keys-plugin.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libgnome_media_keys_la-pragha-gnome-media-keys-plugin.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libgnome_media_keys_la-pragha-gnome-media-keys-plugin.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/keybinder/Makefile.am pragha-1.3.992/plugins/keybinder/Makefile.am --- pragha-1.3.3/plugins/keybinder/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/keybinder/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -13,40 +13,14 @@ libkeybinder_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libkeybinder_la_CFLAGS = \ - $(LIBKEYBINDER_CFLAGS) \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall - -libkeybinder_la_LIBADD = \ - $(LIBKEYBINDER_LIBS) \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) - -if HAVE_GSTREAMER_AUDIO -libkeybinder_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libkeybinder_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -libkeybinder_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libkeybinder_la_LIBADD += $(LIBXFCE4UI_LIBS) -endif +libkeybinder_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBKEYBINDER_CFLAGS) + +libkeybinder_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBKEYBINDER_LIBS) \ + $(top_builddir)/src/libpragha.la plugin_DATA = keybinder.plugin diff -Nru pragha-1.3.3/plugins/keybinder/Makefile.in pragha-1.3.992/plugins/keybinder/Makefile.in --- pragha-1.3.3/plugins/keybinder/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/keybinder/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,829 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/keybinder +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libkeybinder_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(top_builddir)/src/libpragha.la +am_libkeybinder_la_OBJECTS = \ + libkeybinder_la-pragha-keybinder-plugin.lo +libkeybinder_la_OBJECTS = $(am_libkeybinder_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libkeybinder_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libkeybinder_la_CFLAGS) $(CFLAGS) $(libkeybinder_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = \ + ./$(DEPDIR)/libkeybinder_la-pragha-keybinder-plugin.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libkeybinder_la_SOURCES) +DIST_SOURCES = $(libkeybinder_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/keybinder +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libkeybinder.la +libkeybinder_la_SOURCES = \ + pragha-keybinder-plugin.h \ + pragha-keybinder-plugin.c + +libkeybinder_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libkeybinder_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBKEYBINDER_CFLAGS) + +libkeybinder_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBKEYBINDER_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = keybinder.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/keybinder/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/keybinder/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libkeybinder.la: $(libkeybinder_la_OBJECTS) $(libkeybinder_la_DEPENDENCIES) $(EXTRA_libkeybinder_la_DEPENDENCIES) + $(AM_V_CCLD)$(libkeybinder_la_LINK) -rpath $(plugindir) $(libkeybinder_la_OBJECTS) $(libkeybinder_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkeybinder_la-pragha-keybinder-plugin.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libkeybinder_la-pragha-keybinder-plugin.lo: pragha-keybinder-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeybinder_la_CFLAGS) $(CFLAGS) -MT libkeybinder_la-pragha-keybinder-plugin.lo -MD -MP -MF $(DEPDIR)/libkeybinder_la-pragha-keybinder-plugin.Tpo -c -o libkeybinder_la-pragha-keybinder-plugin.lo `test -f 'pragha-keybinder-plugin.c' || echo '$(srcdir)/'`pragha-keybinder-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libkeybinder_la-pragha-keybinder-plugin.Tpo $(DEPDIR)/libkeybinder_la-pragha-keybinder-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-keybinder-plugin.c' object='libkeybinder_la-pragha-keybinder-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeybinder_la_CFLAGS) $(CFLAGS) -c -o libkeybinder_la-pragha-keybinder-plugin.lo `test -f 'pragha-keybinder-plugin.c' || echo '$(srcdir)/'`pragha-keybinder-plugin.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libkeybinder_la-pragha-keybinder-plugin.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libkeybinder_la-pragha-keybinder-plugin.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/keybinder/pragha-keybinder-plugin.c pragha-1.3.992/plugins/keybinder/pragha-keybinder-plugin.c --- pragha-1.3.3/plugins/keybinder/pragha-keybinder-plugin.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/keybinder/pragha-keybinder-plugin.c 2018-06-21 11:24:11.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2017 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -24,6 +24,7 @@ #include #include #include +#include #include #include @@ -101,6 +102,9 @@ { PraghaKeybinderPlugin *plugin = PRAGHA_KEYBINDER_PLUGIN (activatable); + if (!GDK_IS_X11_DISPLAY (gdk_display_get_default ())) + return; + PraghaKeybinderPluginPrivate *priv = plugin->priv; priv->pragha = g_object_get_data (G_OBJECT (plugin), "object"); @@ -120,9 +124,12 @@ { CDEBUG(DBG_PLUGIN, "Keybinder plugin %s", G_STRFUNC); + if (!GDK_IS_X11_DISPLAY (gdk_display_get_default ())) + return; + keybinder_unbind("XF86AudioPlay", (KeybinderHandler) keybind_play_handler); keybinder_unbind("XF86AudioStop", (KeybinderHandler) keybind_stop_handler); keybinder_unbind("XF86AudioPrev", (KeybinderHandler) keybind_prev_handler); keybinder_unbind("XF86AudioNext", (KeybinderHandler) keybind_next_handler); keybinder_unbind("XF86AudioMedia", (KeybinderHandler) keybind_media_handler); -} \ No newline at end of file +} diff -Nru pragha-1.3.3/plugins/koel/koel.plugin pragha-1.3.992/plugins/koel/koel.plugin --- pragha-1.3.3/plugins/koel/koel.plugin 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/koel/koel.plugin 2018-06-21 11:24:11.000000000 +0000 @@ -0,0 +1,9 @@ +[Plugin] +Module=pkoel +Name=Koel Client +Description=Play music on a Koel Server +Authors=Matias De lellis +Copyright=Copyright © 2018 Matias De lellis +Website=https://github.com/matiasdelellis/pragha +Help=https://github.com/matiasdelellis/pragha + diff -Nru pragha-1.3.3/plugins/koel/Makefile.am pragha-1.3.992/plugins/koel/Makefile.am --- pragha-1.3.3/plugins/koel/Makefile.am 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/koel/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -0,0 +1,29 @@ +plugindir = $(libdir)/pragha/plugins/koel + +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libpkoel.la + +libpkoel_la_SOURCES = \ + pragha-koel-plugin.h \ + pragha-koel-plugin.c + +libpkoel_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) + +libpkoel_la_CFLAGS = \ + $(LIBSOUP_CFLAGS) \ + $(JSON_GLIB_CFLAGS) \ + $(PRAGHA_CFLAGS) + +libpkoel_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBSOUP_LIBS) \ + $(JSON_GLIB_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = koel.plugin + +EXTRA_DIST = $(plugin_DATA) diff -Nru pragha-1.3.3/plugins/koel/Makefile.in pragha-1.3.992/plugins/koel/Makefile.in --- pragha-1.3.3/plugins/koel/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/koel/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,828 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/koel +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libpkoel_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(top_builddir)/src/libpragha.la +am_libpkoel_la_OBJECTS = libpkoel_la-pragha-koel-plugin.lo +libpkoel_la_OBJECTS = $(am_libpkoel_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libpkoel_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libpkoel_la_CFLAGS) \ + $(CFLAGS) $(libpkoel_la_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ./$(DEPDIR)/libpkoel_la-pragha-koel-plugin.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libpkoel_la_SOURCES) +DIST_SOURCES = $(libpkoel_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/koel +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libpkoel.la +libpkoel_la_SOURCES = \ + pragha-koel-plugin.h \ + pragha-koel-plugin.c + +libpkoel_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libpkoel_la_CFLAGS = \ + $(LIBSOUP_CFLAGS) \ + $(JSON_GLIB_CFLAGS) \ + $(PRAGHA_CFLAGS) + +libpkoel_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBSOUP_LIBS) \ + $(JSON_GLIB_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = koel.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/koel/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/koel/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libpkoel.la: $(libpkoel_la_OBJECTS) $(libpkoel_la_DEPENDENCIES) $(EXTRA_libpkoel_la_DEPENDENCIES) + $(AM_V_CCLD)$(libpkoel_la_LINK) -rpath $(plugindir) $(libpkoel_la_OBJECTS) $(libpkoel_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpkoel_la-pragha-koel-plugin.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libpkoel_la-pragha-koel-plugin.lo: pragha-koel-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpkoel_la_CFLAGS) $(CFLAGS) -MT libpkoel_la-pragha-koel-plugin.lo -MD -MP -MF $(DEPDIR)/libpkoel_la-pragha-koel-plugin.Tpo -c -o libpkoel_la-pragha-koel-plugin.lo `test -f 'pragha-koel-plugin.c' || echo '$(srcdir)/'`pragha-koel-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpkoel_la-pragha-koel-plugin.Tpo $(DEPDIR)/libpkoel_la-pragha-koel-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-koel-plugin.c' object='libpkoel_la-pragha-koel-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpkoel_la_CFLAGS) $(CFLAGS) -c -o libpkoel_la-pragha-koel-plugin.lo `test -f 'pragha-koel-plugin.c' || echo '$(srcdir)/'`pragha-koel-plugin.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libpkoel_la-pragha-koel-plugin.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libpkoel_la-pragha-koel-plugin.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/koel/pragha-koel-plugin.c pragha-1.3.992/plugins/koel/pragha-koel-plugin.c --- pragha-1.3.3/plugins/koel/pragha-koel-plugin.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/koel/pragha-koel-plugin.c 2019-07-10 22:41:31.000000000 +0000 @@ -0,0 +1,1377 @@ +/*************************************************************************/ +/* Copyright (C) 2015-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#if defined(GETTEXT_PACKAGE) +#include +#else +#include +#endif + +#include +#include +#include +#include + +#include + +#include +#include + +#include +#include + +#include "pragha-koel-plugin.h" + +#include "src/pragha.h" +#include "src/pragha-app-notification.h" +#include "src/pragha-favorites.h" +#include "src/pragha-utils.h" +#include "src/pragha-musicobject-mgmt.h" +#include "src/pragha-music-enum.h" +#include "src/pragha-playlist.h" +#include "src/pragha-playlists-mgmt.h" +#include "src/pragha-menubar.h" +#include "src/pragha-musicobject.h" +#include "src/pragha-musicobject-mgmt.h" +#include "src/pragha-window.h" +#include "src/pragha-hig.h" +#include "src/pragha-database-provider.h" +#include "src/pragha-background-task-bar.h" +#include "src/pragha-background-task-widget.h" +#include "src/pragha-song-cache.h" +#include "plugins/pragha-plugin-macros.h" + + +typedef struct _PraghaKoelPluginPrivate PraghaKoelPluginPrivate; + +struct _PraghaKoelPluginPrivate { + PraghaApplication *pragha; + + PraghaSongCache *cache; + PraghaFavorites *favorites; + PraghaDatabaseProvider *db_provider; + + GCancellable *cancellable; + + gchar *server; + + gchar *token; + gboolean upgrade; + + GHashTable *tracks_table; + + PraghaBackgroundTaskWidget *task_widget; + + GtkWidget *setting_widget; + GtkWidget *server_entry; + GtkWidget *user_entry; + GtkWidget *pass_entry; + + GtkActionGroup *action_group_main_menu; + guint merge_id_main_menu; +}; + +PRAGHA_PLUGIN_REGISTER (PRAGHA_TYPE_KOEL_PLUGIN, + PraghaKoelPlugin, + pragha_koel_plugin) + +/* + * Definitions + */ + +#define GROUP_KEY_KOEL "koel" +#define KEY_KOEL_SERVER "server" +#define KEY_KOEL_USER "username" +#define KEY_KOEL_PASS "password" + +/* + * Propotypes + */ + +static void +pragha_koel_plugin_authenticate (PraghaKoelPlugin *plugin); +static void +pragha_koel_plugin_deauthenticate (PraghaKoelPlugin *plugin); + +static void +pragha_koel_plugin_set_need_upgrade (PraghaKoelPlugin *plugin, gboolean upgrade); +static gboolean +pragha_koel_plugin_need_upgrade (PraghaKoelPlugin *plugin); + +static gboolean +pragha_musicobject_is_koel_file (PraghaMusicobject *mobj); + +/* + * Menu actions + */ + +static void +pragha_koel_plugin_upgrade_database (PraghaKoelPlugin *plugin) +{ + pragha_koel_plugin_deauthenticate (plugin); + pragha_koel_plugin_set_need_upgrade (plugin, TRUE); + pragha_koel_plugin_authenticate (plugin); +} + +static void +pragha_koel_plugin_upgrade_database_action (GtkAction *action, PraghaKoelPlugin *plugin) +{ + pragha_koel_plugin_upgrade_database (plugin); +} + +static void +pragha_koel_plugin_upgrade_database_gmenu_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaKoelPlugin *plugin = user_data; + pragha_koel_plugin_upgrade_database (plugin); +} + +static const GtkActionEntry main_menu_actions [] = { + {"Refresh the Koel library", NULL, N_("Refresh the Koel library"), + "", "Refresh the Koel library", G_CALLBACK(pragha_koel_plugin_upgrade_database_action)}}; + +static const gchar *main_menu_xml = " \ + \ + \ + \ + \ + \ + \ + \ + \ +"; + +/* Helpers */ + +static gchar * +pragha_koel_plugin_get_song_id (const gchar *server, const gchar *raw_uri) +{ + GRegex *regex = NULL; + gchar *song_id = NULL, *regex_text = NULL; + + regex_text = g_strdup_printf ("%s/api/", server); + regex = g_regex_new (regex_text, + G_REGEX_MULTILINE | G_REGEX_RAW, 0, NULL); + song_id = g_regex_replace_literal (regex, raw_uri, -1, 0, "", 0, NULL); + g_regex_unref(regex); + g_free (regex_text); + + return song_id; +} + +static void +pragha_koel_plugin_add_track_db (gpointer key, + gpointer value, + gpointer user_data) +{ + PraghaMusicobject *mobj = value; + PraghaDatabase *database = user_data; + + pragha_database_add_new_musicobject (database, mobj); + + pragha_process_gtk_events (); +} + +/* + * Basic Cache. + */ + +static void +pragha_koel_cache_clear (PraghaKoelPlugin *plugin) +{ + PraghaKoelPluginPrivate *priv = plugin->priv; + + g_hash_table_remove_all (priv->tracks_table); +} + +static void +pragha_koel_save_cache (PraghaKoelPlugin *plugin) +{ + PraghaDatabase *database; + PraghaKoelPluginPrivate *priv = plugin->priv; + + database = pragha_database_get (); + g_hash_table_foreach (priv->tracks_table, + pragha_koel_plugin_add_track_db, + database); + g_object_unref (database); +} + +static void +pragha_koel_cache_insert_track (PraghaKoelPlugin *plugin, PraghaMusicobject *mobj) +{ + PraghaKoelPluginPrivate *priv = plugin->priv; + + const gchar *file = pragha_musicobject_get_file(mobj); + + if (string_is_empty(file)) + return; + + g_hash_table_insert (priv->tracks_table, + g_strdup(file), + mobj); +} + +/* + * Settings. + */ + +static gchar * +pragha_koel_plugin_get_server (PraghaPreferences *preferences) +{ + gchar *plugin_group = NULL, *string = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_KOEL); + + string = pragha_preferences_get_string (preferences, + plugin_group, + KEY_KOEL_SERVER); + + g_free (plugin_group); + + return string; +} + +static void +pragha_koel_plugin_set_server (PraghaPreferences *preferences, const gchar *server) +{ + gchar *plugin_group = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_KOEL); + + if (string_is_not_empty(server)) + pragha_preferences_set_string (preferences, + plugin_group, + KEY_KOEL_SERVER, + server); + else + pragha_preferences_remove_key (preferences, + plugin_group, + KEY_KOEL_SERVER); + + g_free (plugin_group); +} + +static gchar * +pragha_koel_plugin_get_user (PraghaPreferences *preferences) +{ + gchar *plugin_group = NULL, *string = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_KOEL); + + string = pragha_preferences_get_string (preferences, + plugin_group, + KEY_KOEL_USER); + + g_free (plugin_group); + + return string; +} + +static void +pragha_koel_plugin_set_user (PraghaPreferences *preferences, const gchar *user) +{ + gchar *plugin_group = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_KOEL); + + if (string_is_not_empty(user)) + pragha_preferences_set_string (preferences, + plugin_group, + KEY_KOEL_USER, + user); + else + pragha_preferences_remove_key (preferences, + plugin_group, + KEY_KOEL_USER); + + g_free (plugin_group); +} + +static gchar * +pragha_koel_plugin_get_password (PraghaPreferences *preferences) +{ + gchar *plugin_group = NULL, *string = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_KOEL); + + string = pragha_preferences_get_string (preferences, + plugin_group, + KEY_KOEL_PASS); + + g_free (plugin_group); + + return string; +} + +static void +pragha_koel_plugin_set_password (PraghaPreferences *preferences, const gchar *pass) +{ + gchar *plugin_group = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_KOEL); + + if (string_is_not_empty(pass)) + pragha_preferences_set_string (preferences, + plugin_group, + KEY_KOEL_PASS, + pass); + else + pragha_preferences_remove_key (preferences, + plugin_group, + KEY_KOEL_PASS); + + g_free (plugin_group); +} + +/* + * Koel plugin. + */ + +static const gchar * +pragha_koel_plugin_json_array_get_name (JsonArray *jarray, + gint64 jid) +{ + JsonObject *json_object; + gint64 object_id = 0; + const gchar *object_name = NULL; + GList *l_node = NULL; + GList *l_nodes = json_array_get_elements (jarray); + for (l_node = l_nodes; l_node != NULL; l_node = g_list_next(l_node)) + { + json_object = json_node_get_object ((JsonNode *)l_node->data); + object_id = json_object_get_int_member(json_object, "id"); + if (jid == object_id) + { + object_name = json_object_get_string_member(json_object, "name"); + break; + } + } + g_list_free(l_nodes); + + return object_name; +} + +static gint64 +pragha_koel_plugin_json_array_get_int_member (JsonArray *jarray, + gint64 jid, + const gchar *tag) +{ + JsonObject *json_object; + gint64 object_id = 0, integer_tag = 0; + GList *l_node = NULL; + GList *l_nodes = json_array_get_elements (jarray); + for (l_node = l_nodes; l_node != NULL; l_node = g_list_next(l_node)) + { + json_object = json_node_get_object ((JsonNode *)l_node->data); + object_id = json_object_get_int_member(json_object, "id"); + if (jid == object_id) + { + if (json_object_has_member(json_object, tag)) + integer_tag = json_object_get_int_member(json_object, tag); + break; + } + } + g_list_free(l_nodes); + + return integer_tag; +} + +static void +pragha_koel_plugin_cache_provider_done (SoupSession *session, + SoupMessage *msg, + gpointer user_data) +{ + PraghaDatabase *database; + PraghaDatabaseProvider *provider; + PraghaBackgroundTaskBar *taskbar; + PraghaMusicobject *mobj = NULL; + GNotification *notification; + GIcon *icon; + JsonParser *parser = NULL; + JsonNode *root, *albums_node, *artists_node, *songs_node, *interactions_node; + JsonObject *root_object; + JsonArray *albums_array, *artists_array, *songs_array, *interactions_array; + GList *l_songs, *l_song, *liked = NULL; + + PraghaKoelPlugin *plugin = user_data; + PraghaKoelPluginPrivate *priv = plugin->priv; + + if (g_cancellable_is_cancelled (priv->cancellable)) { + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_remove_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + g_cancellable_reset (priv->cancellable); + return; + } + + if (!SOUP_STATUS_IS_SUCCESSFUL (msg->status_code)) { + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_remove_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + g_critical("KOEL ERROR Response: %s", msg->response_body->data); + return; + } + + parser = json_parser_new (); + json_parser_load_from_data (parser, msg->response_body->data, -1, NULL); + root = json_parser_get_root (parser); + root_object = json_node_get_object (root); + + albums_node = json_object_get_member(root_object, "albums"); + albums_array = json_node_get_array (albums_node); + + artists_node = json_object_get_member(root_object, "artists"); + artists_array = json_node_get_array (artists_node); + + songs_node = json_object_get_member(root_object, "songs"); + songs_array = json_node_get_array (songs_node); + + l_songs = json_array_get_elements (songs_array); + for (l_song = l_songs; l_song != NULL; l_song = g_list_next(l_song)) + { + JsonObject *song_object = json_node_get_object ((JsonNode *)l_song->data); + + const gchar *song_id = json_object_get_string_member(song_object, "id"); + const gchar *title = json_object_get_string_member(song_object, "title"); + gint64 album_id = json_object_get_int_member(song_object, "album_id"); + gint64 artist_id = json_object_get_int_member(song_object, "artist_id"); + gint64 track = json_object_get_int_member(song_object, "track"); + gint64 length = json_object_get_double_member(song_object, "length"); + + const gchar *artist = pragha_koel_plugin_json_array_get_name (artists_array, artist_id); + const gchar *album = pragha_koel_plugin_json_array_get_name (albums_array, album_id); + guint64 album_year = pragha_koel_plugin_json_array_get_int_member (albums_array, album_id, "year"); + gchar *url = g_strdup_printf("%s/api/%s", priv->server, song_id); + + mobj = g_object_new (PRAGHA_TYPE_MUSICOBJECT, + "file", url, + "source", FILE_HTTP, + "provider", priv->server, + "track-no", track, + "title", title != NULL ? title : "", + "artist", artist != NULL ? artist : "", + "album", album != NULL ? album : "", + "year", (gint)album_year, + "length", (gint)length, + NULL); + + if (G_LIKELY(mobj)) + pragha_koel_cache_insert_track (plugin, mobj); + + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); + + g_free (url); + } + + interactions_node = json_object_get_member(root_object, "interactions"); + interactions_array = json_node_get_array (interactions_node); + + l_songs = json_array_get_elements (interactions_array); + for (l_song = l_songs; l_song != NULL; l_song = g_list_next(l_song)) + { + JsonObject *song_object = json_node_get_object ((JsonNode *)l_song->data); + + if (!json_object_get_boolean_member (song_object, "liked")) + continue; + + const gchar *song_id = json_object_get_string_member(song_object, "song_id"); + gchar *url = g_strdup_printf("%s/api/%s", priv->server, song_id); + + mobj = g_object_new (PRAGHA_TYPE_MUSICOBJECT, + "file", url, + "source", FILE_HTTP, + "provider", priv->server, + NULL); + + if (G_LIKELY(mobj)) + liked = g_list_prepend (liked, mobj); + + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); + + g_free (url); + } + + g_object_unref(parser); + + /* Upgrade. */ + + pragha_koel_plugin_set_need_upgrade (plugin, FALSE); + + database = pragha_database_get (); + provider = pragha_database_provider_get (); + if (pragha_database_find_provider (database, priv->server)) + { + pragha_provider_forget_songs (provider, priv->server); + } + else + { + pragha_provider_add_new (provider, + priv->server, + "KOEL", + priv->server, + "folder-remote"); + pragha_provider_set_visible (provider, priv->server, TRUE); + } + + if (G_LIKELY(liked)) { + pragha_playlist_database_update_playlist (database, _("Favorites on Koel"), liked); + pragha_playlist_database_insert_playlist (database, _("Favorites"), liked); + g_list_free_full (liked, g_object_unref); + } + + pragha_koel_save_cache (plugin); + + pragha_koel_cache_clear (plugin); + g_object_unref (provider); + g_object_unref (database); + + /* Report that finish */ + + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_remove_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + + notification = g_notification_new (_("Koel")); + g_notification_set_body (notification, _("Import finished")); + icon = g_themed_icon_new ("software-update-available"); + g_notification_set_icon (notification, icon); + g_object_unref (icon); + + g_application_send_notification (G_APPLICATION(priv->pragha), "import-finished", notification); + g_object_unref (notification); + + pragha_provider_update_done (provider); +} + +static void +pragha_koel_plugin_msg_cancelled (GCancellable *cancellable, gpointer user_data) +{ + SoupSession *session = user_data; + soup_session_abort (session); +} + +static void +pragha_koel_plugin_cache_provider (PraghaKoelPlugin *plugin) +{ + PraghaBackgroundTaskBar *taskbar; + SoupSession *session; + SoupMessage *msg; + gchar *query = NULL, *request = NULL; + + PraghaKoelPluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Koel server plugin %s", G_STRFUNC); + + if (!priv->token) + return; + + /* Add the taks manager */ + + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_prepend_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + + /* Launch thread to get music */ + + query = g_strdup_printf("%s/api/data?jwt-token=%s", priv->server, priv->token); + session = soup_session_new (); + msg = soup_message_new (SOUP_METHOD_GET, query); + soup_session_queue_message (session, msg, + pragha_koel_plugin_cache_provider_done, plugin); + + g_cancellable_connect (priv->cancellable, + G_CALLBACK (pragha_koel_plugin_msg_cancelled), + session, + NULL); + + g_free (query); + g_free (request); +} + +static void +pragha_koel_provider_want_upgrade (PraghaDatabaseProvider *provider, + gint provider_id, + PraghaKoelPlugin *plugin) +{ + PraghaDatabase *database; + PraghaPreparedStatement *statement; + const gchar *sql, *provider_type = NULL; + + sql = "SELECT name FROM provider_type WHERE id IN (SELECT type FROM provider WHERE id = ?)"; + + database = pragha_database_get (); + statement = pragha_database_create_statement (database, sql); + pragha_prepared_statement_bind_int (statement, 1, provider_id); + if (pragha_prepared_statement_step (statement)) + provider_type = pragha_prepared_statement_get_string (statement, 0); + + if (g_ascii_strcasecmp (provider_type, "koel") == 0) + { + pragha_koel_plugin_upgrade_database (plugin); + } + pragha_prepared_statement_free (statement); + g_object_unref (database); +} + + +/* + * Playcount. + */ +static void +pragha_koel_plugin_increase_playcount_done (SoupSession *session, + SoupMessage *msg, + gpointer user_data) +{ + if (!SOUP_STATUS_IS_SUCCESSFUL (msg->status_code)) + g_critical("KOEL ERROR Response: %s", msg->response_body->data); +} + +static void +pragha_koel_plugin_increase_playcount (PraghaKoelPlugin *plugin, const gchar *filename) +{ + JsonBuilder *builder; + JsonGenerator *generator; + JsonNode *node; + SoupSession *session; + SoupMessage *msg; + gchar *query = NULL, *request = NULL, *song_id = NULL, *data = NULL; + gsize length; + + PraghaKoelPluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Koel server plugin %s", G_STRFUNC); + + if (!priv->token) + return; + + song_id = pragha_koel_plugin_get_song_id (priv->server, filename); + + builder = json_builder_new (); + json_builder_begin_object (builder); + json_builder_set_member_name (builder, "song"); + json_builder_add_string_value (builder, song_id); + json_builder_end_object (builder); + + generator = json_generator_new (); + node = json_builder_get_root (builder); + json_generator_set_root (generator, node); + data = json_generator_to_data (generator, &length); + + query = g_strdup_printf("%s/api/interaction/play?jwt-token=%s", priv->server, priv->token); + session = soup_session_new (); + msg = soup_message_new (SOUP_METHOD_POST, query); + soup_message_headers_append (msg->request_headers, "Accept", "application/json"); + soup_message_set_request (msg, "application/json", SOUP_MEMORY_COPY, data, length); + soup_session_queue_message (session, msg, + pragha_koel_plugin_increase_playcount_done, plugin); + + g_object_unref (generator); + g_object_unref (builder); + json_node_free (node); + g_free (query); + g_free (request); + g_free (song_id); + g_free (data); +} + +/* + * Interactions. + */ +static void +pragha_koel_plugin_interaction_like_done (SoupSession *session, + SoupMessage *msg, + gpointer user_data) +{ + if (!SOUP_STATUS_IS_SUCCESSFUL (msg->status_code)) + g_critical("KOEL ERROR Response: %s", msg->response_body->data); +} + +static void +pragha_koel_plugin_interaction_like_launch (PraghaKoelPlugin *plugin, + const gchar *filename, + gboolean like) +{ + JsonBuilder *builder; + JsonGenerator *generator; + JsonNode *node; + SoupSession *session; + SoupMessage *msg; + gchar *query = NULL, *request = NULL, *song_id = NULL, *data = NULL; + gsize length; + + PraghaKoelPluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Koel server plugin %s", G_STRFUNC); + + if (!priv->token) + return; + + song_id = pragha_koel_plugin_get_song_id (priv->server, filename); + + builder = json_builder_new (); + json_builder_begin_object (builder); + json_builder_set_member_name (builder, "songs"); + json_builder_begin_array(builder); + json_builder_add_string_value (builder, song_id); + json_builder_end_array(builder); + json_builder_end_object (builder); + + generator = json_generator_new (); + node = json_builder_get_root (builder); + json_generator_set_root (generator, node); + data = json_generator_to_data (generator, &length); + + if (like) + query = g_strdup_printf("%s/api/interaction/batch/like?jwt-token=%s", priv->server, priv->token); + else + query = g_strdup_printf("%s/api/interaction/batch/unlike?jwt-token=%s", priv->server, priv->token); + + session = soup_session_new (); + msg = soup_message_new (SOUP_METHOD_POST, query); + soup_message_headers_append (msg->request_headers, "Accept", "application/json"); + soup_message_set_request (msg, "application/json", SOUP_MEMORY_COPY, data, length); + soup_session_queue_message (session, msg, + pragha_koel_plugin_interaction_like_done, plugin); + + g_object_unref (generator); + g_object_unref (builder); + json_node_free (node); + g_free (query); + g_free (request); + g_free (song_id); + g_free (data); +} + +static void +pragha_koel_plugin_favorites_song_added (PraghaFavorites *favorites, + PraghaMusicobject *mobj, + PraghaKoelPlugin *plugin) +{ + PraghaDatabase *database; + const gchar *file = NULL; + gint playlist_id = 0; + + if (!pragha_musicobject_is_koel_file (mobj)) + return; + file = pragha_musicobject_get_file (mobj); + + pragha_koel_plugin_interaction_like_launch (plugin, file, TRUE); + + database = pragha_database_get (); + playlist_id = pragha_database_find_playlist (database, _("Favorites on Koel")); + pragha_database_add_playlist_track (database, playlist_id, file); + g_object_unref (database); +} + +static void +pragha_koel_plugin_favorites_song_removed (PraghaFavorites *favorites, + PraghaMusicobject *mobj, + PraghaKoelPlugin *plugin) +{ + PraghaDatabase *database; + const gchar *file = NULL; + gint playlist_id = 0; + + if (!pragha_musicobject_is_koel_file (mobj)) + return; + file = pragha_musicobject_get_file (mobj); + pragha_koel_plugin_interaction_like_launch (plugin, file, FALSE); + + database = pragha_database_get (); + playlist_id = pragha_database_find_playlist (database, _("Favorites on Koel")); + pragha_database_delete_playlist_track (database, playlist_id, file); + g_object_unref (database); +} + +/* + * Koel Settings + */ +static void +pragha_koel_preferences_dialog_response (GtkDialog *dialog, + gint response_id, + PraghaKoelPlugin *plugin) +{ + PraghaDatabase *database; + PraghaDatabaseProvider *provider; + PraghaPreferences *preferences; + const gchar *entry_server = NULL, *entry_user = NULL, *entry_pass = NULL; + gchar *test_server = NULL, *test_user = NULL, *test_pass = NULL; + gboolean changed = FALSE, changed_server = FALSE; + + PraghaKoelPluginPrivate *priv = plugin->priv; + + preferences = pragha_preferences_get (); + + test_server = pragha_koel_plugin_get_server (preferences); + test_user = pragha_koel_plugin_get_user (preferences); + test_pass = pragha_koel_plugin_get_password (preferences); + + switch(response_id) + { + case GTK_RESPONSE_CANCEL: + pragha_gtk_entry_set_text (GTK_ENTRY(priv->server_entry), test_server); + pragha_gtk_entry_set_text (GTK_ENTRY(priv->user_entry), test_user); + pragha_gtk_entry_set_text (GTK_ENTRY(priv->pass_entry), test_pass); + break; + case GTK_RESPONSE_OK: + entry_server = gtk_entry_get_text (GTK_ENTRY(priv->server_entry)); + entry_user = gtk_entry_get_text (GTK_ENTRY(priv->user_entry)); + entry_pass = gtk_entry_get_text (GTK_ENTRY(priv->pass_entry)); + + if (g_strcmp0 (test_server, entry_server)) { + pragha_koel_plugin_set_server (preferences, entry_server); + changed = TRUE; + changed_server = TRUE; + } + if (g_strcmp0 (test_user, entry_user)) { + pragha_koel_plugin_set_user (preferences, entry_user); + changed = TRUE; + } + if (g_strcmp0 (test_pass, entry_pass)) { + pragha_koel_plugin_set_password (preferences, entry_pass); + changed = TRUE; + } + + if (changed) + { + /* Deauthenticate connection */ + + pragha_koel_plugin_deauthenticate (plugin); + + /* Remove old provider if exist */ + + if (changed_server) + { + database = pragha_database_get (); + if (pragha_database_find_provider (database, test_server)) { + provider = pragha_database_provider_get (); + pragha_provider_remove (provider, test_server); + pragha_provider_update_done (provider); + g_object_unref (provider); + } + g_object_unref (database); + } + + /* With all mandatory fields updates the collection.*/ + + if (string_is_not_empty(entry_server) && + string_is_not_empty(entry_user) && + string_is_not_empty(entry_pass)) + { + pragha_koel_plugin_set_need_upgrade (plugin, TRUE); + pragha_koel_plugin_authenticate (plugin); + } + } + break; + default: + break; + } + + g_object_unref (preferences); + + g_free (test_server); + g_free (test_user); + g_free (test_pass); +} + +static void +pragha_koel_plugin_append_setting (PraghaKoelPlugin *plugin) +{ + PraghaPreferences *preferences; + PreferencesDialog *dialog; + GtkWidget *table, *label, *koel_server, *koel_uname, *koel_pass; + gchar *server = NULL, *user = NULL, *pass = NULL; + guint row = 0; + + PraghaKoelPluginPrivate *priv = plugin->priv; + + preferences = pragha_preferences_get (); + + table = pragha_hig_workarea_table_new (); + + pragha_hig_workarea_table_add_section_title (table, &row, "Koel"); + + label = gtk_label_new (_("Server")); + koel_server = gtk_entry_new (); + + server = pragha_koel_plugin_get_server (preferences); + pragha_gtk_entry_set_text (GTK_ENTRY(koel_server), server); + + gtk_entry_set_icon_from_icon_name (GTK_ENTRY(koel_server), GTK_ENTRY_ICON_PRIMARY, "network-server"); + gtk_entry_set_activates_default (GTK_ENTRY(koel_server), TRUE); + + pragha_hig_workarea_table_add_row (table, &row, label, koel_server); + + label = gtk_label_new (_("Username")); + koel_uname = gtk_entry_new (); + + user = pragha_koel_plugin_get_user (preferences); + pragha_gtk_entry_set_text (GTK_ENTRY(koel_uname), user); + + gtk_entry_set_icon_from_icon_name (GTK_ENTRY(koel_uname), GTK_ENTRY_ICON_PRIMARY, "system-users"); + gtk_entry_set_max_length (GTK_ENTRY(koel_uname), LASTFM_UNAME_LEN); + gtk_entry_set_activates_default (GTK_ENTRY(koel_uname), TRUE); + + pragha_hig_workarea_table_add_row (table, &row, label, koel_uname); + + label = gtk_label_new (_("Password")); + koel_pass = gtk_entry_new (); + + pass = pragha_koel_plugin_get_password (preferences); + pragha_gtk_entry_set_text (GTK_ENTRY(koel_pass), pass); + + gtk_entry_set_icon_from_icon_name (GTK_ENTRY(koel_pass), GTK_ENTRY_ICON_PRIMARY, "changes-prevent"); + gtk_entry_set_max_length (GTK_ENTRY(koel_pass), LASTFM_PASS_LEN); + gtk_entry_set_visibility (GTK_ENTRY(koel_pass), FALSE); + gtk_entry_set_activates_default (GTK_ENTRY(koel_pass), TRUE); + + pragha_hig_workarea_table_add_row (table, &row, label, koel_pass); + + /* Append panes */ + + priv->setting_widget = table; + priv->server_entry = koel_server; + priv->user_entry = koel_uname; + priv->pass_entry = koel_pass; + + dialog = pragha_application_get_preferences_dialog (priv->pragha); + pragha_preferences_append_services_setting (dialog, + priv->setting_widget, FALSE); + + /* Configure handler and settings */ + + pragha_preferences_dialog_connect_handler (dialog, + G_CALLBACK(pragha_koel_preferences_dialog_response), + plugin); + + g_object_unref (preferences); + + g_free (server); + g_free (user); + g_free (pass); +} + +static void +pragha_koel_plugin_remove_setting (PraghaKoelPlugin *plugin) +{ + PreferencesDialog *dialog; + PraghaKoelPluginPrivate *priv = plugin->priv; + + dialog = pragha_application_get_preferences_dialog (priv->pragha); + pragha_preferences_remove_services_setting (dialog, + priv->setting_widget); + + pragha_preferences_dialog_disconnect_handler (dialog, + G_CALLBACK(pragha_koel_preferences_dialog_response), + plugin); +} + +/* + * Authentication. + */ + +static void +pragha_koel_get_auth_done (SoupSession *session, + SoupMessage *msg, + gpointer user_data) +{ + PraghaAppNotification *notification; + JsonParser *parser; + JsonNode *root; + JsonObject *object; + + PraghaKoelPlugin *plugin = user_data; + PraghaKoelPluginPrivate *priv = plugin->priv; + + if (!SOUP_STATUS_IS_SUCCESSFUL (msg->status_code)) { + notification = pragha_app_notification_new ("Koel", _("Unable to establish conection with Koel")); + pragha_app_notification_show (notification); + + g_critical("KOEL ERROR Response: %s", msg->response_body->data); + + return; + } + + parser = json_parser_new (); + json_parser_load_from_data (parser, msg->response_body->data, -1, NULL); + root = json_parser_get_root (parser); + object = json_node_get_object (root); + + if (json_object_has_member(object, "token")) { + priv->token = g_strdup (json_object_get_string_member (object, "token")); + } + else { + g_critical("KOEL AUTH ERROR: %s", json_object_get_string_member (object, "error")); + } + g_object_unref(parser); + + if (string_is_not_empty(priv->token)) + { + if (pragha_koel_plugin_need_upgrade (plugin)) + pragha_koel_plugin_cache_provider (plugin); + } +} + +static void +pragha_koel_plugin_authenticate (PraghaKoelPlugin *plugin) +{ + JsonBuilder *builder; + JsonGenerator *generator; + JsonNode *node; + SoupSession *session; + SoupMessage *msg; + const gchar *server = NULL, *username = NULL, *password = NULL; + gchar *query = NULL, *request = NULL, *data = NULL; + gsize length; + + PraghaKoelPluginPrivate *priv = plugin->priv; + + /* Get settings */ + + server = gtk_entry_get_text (GTK_ENTRY(priv->server_entry)); + username = gtk_entry_get_text (GTK_ENTRY(priv->user_entry)); + password = gtk_entry_get_text (GTK_ENTRY(priv->pass_entry)); + + if (string_is_empty (server)) + return; + if (string_is_empty (username)) + return; + if (string_is_empty (password)) + return; + + /* Set new server as alias of provider */ + + priv->server = g_strdup (server); + + /* Authenticate */ + + builder = json_builder_new (); + json_builder_begin_object (builder); + json_builder_set_member_name (builder, "email"); + json_builder_add_string_value (builder, username); + json_builder_set_member_name (builder, "password"); + json_builder_add_string_value (builder, password); + json_builder_end_object (builder); + + generator = json_generator_new (); + node = json_builder_get_root (builder); + json_generator_set_root (generator, node); + data = json_generator_to_data (generator, &length); + + query = g_strdup_printf("%s/api/me", server); + + session = soup_session_new (); + msg = soup_message_new (SOUP_METHOD_POST, query); + soup_message_headers_append (msg->request_headers, "Accept", "application/json"); + soup_message_set_request (msg, "application/json", SOUP_MEMORY_COPY, data, length); + soup_session_queue_message (session, msg, + pragha_koel_get_auth_done, plugin); + + g_object_unref (generator); + g_object_unref (builder); + json_node_free (node); + g_free (query); + g_free (request); + g_free (data); +} + +static void +pragha_koel_plugin_deauthenticate (PraghaKoelPlugin *plugin) +{ + PraghaKoelPluginPrivate *priv = plugin->priv; + + if (priv->server) { + g_free (priv->server); + priv->server = NULL; + } + if (priv->token) { + g_free (priv->token); + priv->token = NULL; + } + + priv->upgrade = FALSE; +} + +static void +pragha_koel_plugin_set_need_upgrade (PraghaKoelPlugin *plugin, gboolean upgrade) +{ + PraghaKoelPluginPrivate *priv = plugin->priv; + + priv->upgrade = upgrade; +} + +static gboolean +pragha_koel_plugin_need_upgrade (PraghaKoelPlugin *plugin) +{ + PraghaKoelPluginPrivate *priv = plugin->priv; + + return priv->upgrade; +} + + +/* + * Gstreamer source + */ + +static gboolean +pragha_musicobject_is_koel_file (PraghaMusicobject *mobj) +{ + PraghaMusicEnum *enum_map = NULL; + PraghaMusicSource file_source = FILE_NONE; + + enum_map = pragha_music_enum_get (); + file_source = pragha_music_enum_map_get(enum_map, "KOEL"); + g_object_unref (enum_map); + + return (file_source == pragha_musicobject_get_source (mobj)); +} + +static void +pragha_koel_plugin_prepare_source (PraghaBackend *backend, + PraghaKoelPlugin *plugin) +{ + PraghaMusicobject *mobj; + const gchar *location = NULL; + gchar *filename = NULL, *uri = NULL; + + PraghaKoelPluginPrivate *priv = plugin->priv; + + mobj = pragha_backend_get_musicobject (backend); + if (!pragha_musicobject_is_koel_file (mobj)) + return; + + location = pragha_musicobject_get_file (mobj); + filename = pragha_song_cache_get_from_location (priv->cache, location); + if (filename != NULL) { + uri = g_filename_to_uri (filename, NULL, NULL); + g_free (filename); + } + else { + uri = g_strdup_printf ("%s/play?jwt-token=%s", location, priv->token); + } + pragha_backend_set_playback_uri (backend, uri); + g_free (uri); +} + +static void +pragha_koel_plugin_download_done (PraghaBackend *backend, + gchar *filename, + PraghaKoelPlugin *plugin) +{ + PraghaMusicobject *mobj; + const gchar *location = NULL; + + PraghaKoelPluginPrivate *priv = plugin->priv; + + mobj = pragha_backend_get_musicobject (backend); + if (!pragha_musicobject_is_koel_file (mobj)) + return; + + location = pragha_musicobject_get_file (mobj); + pragha_song_cache_put_location (priv->cache, location, filename); +} + +static void +pragha_koel_plugin_half_played (PraghaBackend *backend, + PraghaKoelPlugin *plugin) +{ + PraghaMusicobject *mobj; + const gchar *filename = NULL; + + mobj = pragha_backend_get_musicobject (backend); + if (!pragha_musicobject_is_koel_file (mobj)) + return; + + filename = pragha_musicobject_get_file (mobj); + pragha_koel_plugin_increase_playcount (plugin, filename); +} + +/* + * Plugin. + */ + +static void +pragha_plugin_activate (PeasActivatable *activatable) +{ + PraghaBackend *backend; + GMenuItem *item; + GSimpleAction *action; + + PraghaKoelPlugin *plugin = PRAGHA_KOEL_PLUGIN (activatable); + + PraghaKoelPluginPrivate *priv = plugin->priv; + priv->pragha = g_object_get_data (G_OBJECT (plugin), "object"); + + CDEBUG(DBG_PLUGIN, "Koel Server plugin %s", G_STRFUNC); + + priv->cancellable = g_cancellable_new (); + + /* New cache */ + + priv->cache = pragha_song_cache_get (); + + /* Favororites */ + + priv->favorites = pragha_favorites_get (); + + /* Updrade signals */ + + priv->db_provider = pragha_database_provider_get (); + g_signal_connect (priv->db_provider, "want-upgrade", + G_CALLBACK(pragha_koel_provider_want_upgrade), plugin); + g_signal_connect (priv->db_provider, "want-update", + G_CALLBACK(pragha_koel_provider_want_upgrade), plugin); + g_object_ref (G_OBJECT(priv->db_provider)); + + /* Temp tables.*/ + + priv->tracks_table = g_hash_table_new_full (g_str_hash, + g_str_equal, + g_free, + g_object_unref); + + /* New Task widget */ + + priv->task_widget = pragha_background_task_widget_new (_("Searching files to analyze"), + "network-server", + 0, + priv->cancellable); + g_object_ref (G_OBJECT(priv->task_widget)); + + /* Attach main menu */ + + priv->action_group_main_menu = gtk_action_group_new ("PraghaKoelPlugin"); + gtk_action_group_set_translation_domain (priv->action_group_main_menu, GETTEXT_PACKAGE); + gtk_action_group_add_actions (priv->action_group_main_menu, + main_menu_actions, + G_N_ELEMENTS (main_menu_actions), + plugin); + + priv->merge_id_main_menu = pragha_menubar_append_plugin_action (priv->pragha, + priv->action_group_main_menu, + main_menu_xml); + + /* Gear Menu */ + + action = g_simple_action_new ("refresh-koel", NULL); + g_signal_connect (G_OBJECT (action), "activate", + G_CALLBACK (pragha_koel_plugin_upgrade_database_gmenu_action), plugin); + + item = g_menu_item_new (_("Refresh the Koel library"), "win.refresh-koel"); + pragha_menubar_append_action (priv->pragha, "pragha-plugins-placeholder", action, item); + g_object_unref (item); + + /* Backend signals */ + + backend = pragha_application_get_backend (priv->pragha); + pragha_backend_set_local_storage (backend, TRUE); + g_signal_connect (backend, "prepare-source", + G_CALLBACK(pragha_koel_plugin_prepare_source), plugin); + g_signal_connect (backend, "download-done", + G_CALLBACK(pragha_koel_plugin_download_done), plugin); + g_signal_connect (backend, "half-played", + G_CALLBACK(pragha_koel_plugin_half_played), plugin); + + /* Favorites handler */ + + g_signal_connect (priv->favorites, "song-added", + G_CALLBACK(pragha_koel_plugin_favorites_song_added), plugin); + g_signal_connect (priv->favorites, "song-removed", + G_CALLBACK(pragha_koel_plugin_favorites_song_removed), plugin); + + /* Append setting */ + + pragha_koel_plugin_append_setting (plugin); + + /* Authenticate */ + + pragha_koel_plugin_authenticate (plugin); +} + +static void +pragha_plugin_deactivate (PeasActivatable *activatable) +{ + PraghaBackend *backend; + PraghaDatabaseProvider *provider; + PraghaPreferences *preferences; + gchar *plugin_group = NULL; + + PraghaKoelPlugin *plugin = PRAGHA_KOEL_PLUGIN (activatable); + PraghaKoelPluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Koel Server plugin %s", G_STRFUNC); + + /* Cache */ + + g_hash_table_destroy (priv->tracks_table); + g_object_unref (priv->cache); + + /* Favorites */ + + g_object_unref (priv->favorites); + + /* Provider signals */ + + g_signal_handlers_disconnect_by_func (priv->db_provider, pragha_koel_provider_want_upgrade, plugin); + g_object_unref (G_OBJECT(priv->db_provider)); + + /* If user disable the plugin (Pragha not shutdown) */ + + if (!pragha_plugins_engine_is_shutdown(pragha_application_get_plugins_engine(priv->pragha))) + { + /* Remove provider from gui. */ + + if (priv->server) { + provider = pragha_database_provider_get (); + pragha_provider_remove (provider, + priv->server); + pragha_provider_update_done (provider); + g_object_unref (provider); + } + + /* Remove settings */ + + preferences = pragha_application_get_preferences (priv->pragha); + plugin_group = pragha_preferences_get_plugin_group_name (preferences, GROUP_KEY_KOEL); + pragha_preferences_remove_group (preferences, plugin_group); + g_free (plugin_group); + } + + backend = pragha_application_get_backend (priv->pragha); + pragha_backend_set_local_storage (backend, FALSE); + g_signal_handlers_disconnect_by_func (backend, pragha_koel_plugin_prepare_source, plugin); + + /* Menu Action */ + + pragha_menubar_remove_plugin_action (priv->pragha, + priv->action_group_main_menu, + priv->merge_id_main_menu); + priv->merge_id_main_menu = 0; + + pragha_menubar_remove_action (priv->pragha, "pragha-plugins-placeholder", "refresh-koel"); + + /* Close */ + + pragha_koel_plugin_deauthenticate (plugin); + + /* Setting dialog widget */ + + pragha_koel_plugin_remove_setting (plugin); +} diff -Nru pragha-1.3.3/plugins/koel/pragha-koel-plugin.h pragha-1.3.992/plugins/koel/pragha-koel-plugin.h --- pragha-1.3.3/plugins/koel/pragha-koel-plugin.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/koel/pragha-koel-plugin.h 2019-07-05 14:23:56.000000000 +0000 @@ -0,0 +1,37 @@ +/*************************************************************************/ +/* Copyright (C) 2015-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef __PRAGHA_KOEL_PLUGIN_H__ +#define __PRAGHA_KOEL_PLUGIN_H__ + +#include +#include + +G_BEGIN_DECLS + +#define PRAGHA_TYPE_KOEL_PLUGIN (pragha_koel_plugin_get_type ()) +#define PRAGHA_KOEL_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PRAGHA_TYPE_KOEL_PLUGIN, PraghaKoelPlugin)) +#define PRAGHA_KOELP_LUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PRAGHA_TYPE_KOEL_PLUGIN, PraghaKoelPlugin)) +#define PRAGHA_IS_KOEL_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PRAGHA_TYPE_KOEL_PLUGIN)) +#define PRAGHA_IS_KOEL_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PRAGHA_TYPE_KOEL_PLUGIN)) +#define PRAGHA_KOEL_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PRAGHA_TYPE_KOEL_PLUGIN, PraghaKoelPluginClass)) + +GType pragha_koel_plugin_get_type (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* __PRAGHA_KOEL_PLUGIN_H__ */ diff -Nru pragha-1.3.3/plugins/lastfm/Makefile.am pragha-1.3.992/plugins/lastfm/Makefile.am --- pragha-1.3.3/plugins/lastfm/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/lastfm/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -12,41 +12,26 @@ libplastfm_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libplastfm_la_CFLAGS = \ - $(LIBCLASTFM_CFLAGS) \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall - -libplastfm_la_LIBADD = \ - $(LIBCLASTFM_LIBS) \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) - -if HAVE_GSTREAMER_AUDIO -libplastfm_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libplastfm_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -libplastfm_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libplastfm_la_LIBADD += $(LIBXFCE4UI_LIBS) -endif +libplastfm_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBCLASTFM_CFLAGS) + +libplastfm_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBCLASTFM_LIBS) \ + $(top_builddir)/src/libpragha.la + +pragha-lastfm-menu-ui.h: pragha-lastfm-menu.ui Makefile + $(AM_V_GEN) xdt-csource --strip-comments --strip-content --static --name=lastfm_menu_ui $< > $@ plugin_DATA = lastfm.plugin -EXTRA_DIST = $(plugin_DATA) +EXTRA_DIST = \ + $(plugin_DATA) \ + pragha-lastfm-menu.ui + +DISTCLEANFILES = \ + pragha-lastfm-menu-ui.h + +BUILT_SOURCES = \ + pragha-lastfm-menu-ui.h diff -Nru pragha-1.3.3/plugins/lastfm/Makefile.in pragha-1.3.992/plugins/lastfm/Makefile.in --- pragha-1.3.3/plugins/lastfm/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/lastfm/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,843 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/lastfm +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libplastfm_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(top_builddir)/src/libpragha.la +am_libplastfm_la_OBJECTS = libplastfm_la-pragha-lastfm-plugin.lo +libplastfm_la_OBJECTS = $(am_libplastfm_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libplastfm_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libplastfm_la_CFLAGS) \ + $(CFLAGS) $(libplastfm_la_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = \ + ./$(DEPDIR)/libplastfm_la-pragha-lastfm-plugin.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libplastfm_la_SOURCES) +DIST_SOURCES = $(libplastfm_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/lastfm +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libplastfm.la +libplastfm_la_SOURCES = \ + pragha-lastfm-plugin.c + +libplastfm_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libplastfm_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBCLASTFM_CFLAGS) + +libplastfm_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBCLASTFM_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = lastfm.plugin +EXTRA_DIST = \ + $(plugin_DATA) \ + pragha-lastfm-menu.ui + +DISTCLEANFILES = \ + pragha-lastfm-menu-ui.h + +BUILT_SOURCES = \ + pragha-lastfm-menu-ui.h + +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/lastfm/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/lastfm/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libplastfm.la: $(libplastfm_la_OBJECTS) $(libplastfm_la_DEPENDENCIES) $(EXTRA_libplastfm_la_DEPENDENCIES) + $(AM_V_CCLD)$(libplastfm_la_LINK) -rpath $(plugindir) $(libplastfm_la_OBJECTS) $(libplastfm_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplastfm_la-pragha-lastfm-plugin.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libplastfm_la-pragha-lastfm-plugin.lo: pragha-lastfm-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libplastfm_la_CFLAGS) $(CFLAGS) -MT libplastfm_la-pragha-lastfm-plugin.lo -MD -MP -MF $(DEPDIR)/libplastfm_la-pragha-lastfm-plugin.Tpo -c -o libplastfm_la-pragha-lastfm-plugin.lo `test -f 'pragha-lastfm-plugin.c' || echo '$(srcdir)/'`pragha-lastfm-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplastfm_la-pragha-lastfm-plugin.Tpo $(DEPDIR)/libplastfm_la-pragha-lastfm-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-lastfm-plugin.c' object='libplastfm_la-pragha-lastfm-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libplastfm_la_CFLAGS) $(CFLAGS) -c -o libplastfm_la-pragha-lastfm-plugin.lo `test -f 'pragha-lastfm-plugin.c' || echo '$(srcdir)/'`pragha-lastfm-plugin.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libplastfm_la-pragha-lastfm-plugin.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libplastfm_la-pragha-lastfm-plugin.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: all check install install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +pragha-lastfm-menu-ui.h: pragha-lastfm-menu.ui Makefile + $(AM_V_GEN) xdt-csource --strip-comments --strip-content --static --name=lastfm_menu_ui $< > $@ + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/lastfm/pragha-lastfm-menu.ui pragha-1.3.992/plugins/lastfm/pragha-lastfm-menu.ui --- pragha-1.3.3/plugins/lastfm/pragha-lastfm-menu.ui 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/lastfm/pragha-lastfm-menu.ui 2018-06-21 11:24:11.000000000 +0000 @@ -0,0 +1,50 @@ + + + +
    +
    + + _Lastfm +
    + + Love track + win.lastfm-love + + + Unlove track + win.lastfm-unlove + +
    +
    + + Import a XSPF playlist + win.lastfm-import + + + Add favorites + win.lastfm-favorities + + + Add similar + win.lastfm-similar + +
    +
    +
    +
    +
    +
    \ No newline at end of file diff -Nru pragha-1.3.3/plugins/lastfm/pragha-lastfm-plugin.c pragha-1.3.992/plugins/lastfm/pragha-lastfm-plugin.c --- pragha-1.3.3/plugins/lastfm/pragha-lastfm-plugin.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/lastfm/pragha-lastfm-plugin.c 2019-08-13 23:30:18.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2011-2014 matias */ +/* Copyright (C) 2011-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -30,17 +30,15 @@ #include #include -#include -#include -#include - #include #include "src/pragha.h" +#include "src/pragha-app-notification.h" #include "src/pragha-hig.h" #include "src/pragha-utils.h" #include "src/pragha-menubar.h" #include "src/pragha-musicobject.h" +#include "src/pragha-favorites.h" #include "src/pragha-musicobject-mgmt.h" #include "src/pragha-plugins-engine.h" #include "src/pragha-statusicon.h" @@ -52,6 +50,8 @@ #include "src/pragha-window.h" #include "src/xml_helper.h" +#include "pragha-lastfm-menu-ui.h" + #include "plugins/pragha-plugin-macros.h" #include @@ -66,6 +66,8 @@ struct _PraghaLastfmPluginPrivate { PraghaApplication *pragha; + PraghaFavorites *favorites; + /* Last session status. */ LASTFM_SESSION *session_id; enum LASTFM_STATUS_CODES status; @@ -137,18 +139,21 @@ } PraghaLastfmAsyncData; static PraghaLastfmAsyncData * -pragha_lastfm_async_data_new (PraghaLastfmPlugin *plugin) +pragha_lastfm_async_data_new (PraghaLastfmPlugin *plugin, PraghaMusicobject *mobj) { PraghaBackend *backend; PraghaLastfmAsyncData *data; PraghaLastfmPluginPrivate *priv = plugin->priv; - backend = pragha_application_get_backend (priv->pragha); - data = g_slice_new (PraghaLastfmAsyncData); data->plugin = plugin; - data->mobj = pragha_musicobject_dup (pragha_backend_get_musicobject (backend)); + if (mobj) { + backend = pragha_application_get_backend (priv->pragha); + data->mobj = pragha_musicobject_dup (pragha_backend_get_musicobject (backend)); + } + else + data->mobj = pragha_musicobject_dup (mobj); return data; } @@ -167,15 +172,9 @@ static void lastfm_add_favorites_action (GtkAction *action, PraghaLastfmPlugin *plugin); static void lastfm_get_similar_action (GtkAction *action, PraghaLastfmPlugin *plugin); static void lastfm_import_xspf_action (GtkAction *action, PraghaLastfmPlugin *plugin); -static void lastfm_track_love_action (GtkAction *action, PraghaLastfmPlugin *plugin); -static void lastfm_track_unlove_action (GtkAction *action, PraghaLastfmPlugin *plugin); static const GtkActionEntry main_menu_actions [] = { {"Lastfm", NULL, N_("_Lastfm")}, - {"Love track", NULL, N_("Love track"), - "", "Love track", G_CALLBACK(lastfm_track_love_action)}, - {"Unlove track", NULL, N_("Unlove track"), - "", "Unlove track", G_CALLBACK(lastfm_track_unlove_action)}, {"Import a XSPF playlist", NULL, N_("Import a XSPF playlist"), "", "Import a XSPF playlist", G_CALLBACK(lastfm_import_xspf_action)}, {"Add favorites", NULL, N_("Add favorites"), @@ -189,9 +188,6 @@ \ \ \ - \ - \ - \ \ \ \ @@ -208,14 +204,8 @@ */ static void lastfm_get_similar_current_playlist_action (GtkAction *action, PraghaLastfmPlugin *plugin); -static void lastfm_track_current_playlist_love_action (GtkAction *action, PraghaLastfmPlugin *plugin); -static void lastfm_track_current_playlist_unlove_action (GtkAction *action, PraghaLastfmPlugin *plugin); static const GtkActionEntry playlist_actions [] = { - {"Love track", NULL, N_("Love track"), - "", "Love track", G_CALLBACK(lastfm_track_current_playlist_love_action)}, - {"Unlove track", NULL, N_("Unlove track"), - "", "Unlove track", G_CALLBACK(lastfm_track_current_playlist_unlove_action)}, {"Add similar", NULL, N_("Add similar"), "", "Add similar", G_CALLBACK(lastfm_get_similar_current_playlist_action)}, }; @@ -224,9 +214,6 @@ \ \ \ - \ - \ - \ \ \ \ @@ -246,36 +233,13 @@ static void pragha_gmenu_lastfm_import_xspf_action (GSimpleAction *action, GVariant *parameter, gpointer user_data); -static void pragha_gmenu_lastfm_track_love_action (GSimpleAction *action, - GVariant *parameter, - gpointer user_data); -static void pragha_gmenu_lastfm_track_unlove_action (GSimpleAction *action, - GVariant *parameter, - gpointer user_data); static GActionEntry lastfm_entries[] = { - { "lastfm-love", pragha_gmenu_lastfm_track_love_action, NULL, NULL, NULL }, - { "lastfm-unlove", pragha_gmenu_lastfm_track_unlove_action, NULL, NULL, NULL }, { "lastfm-import", pragha_gmenu_lastfm_import_xspf_action, NULL, NULL, NULL }, { "lastfm-favorities", pragha_gmenu_lastfm_add_favorites_action, NULL, NULL, NULL }, { "lastfm-similar", pragha_gmenu_lastfm_get_similar_action, NULL, NULL, NULL } }; -static const gchar *lastfm_menu_ui = \ - NEW_MENU("menubar") \ - OPEN_PLACEHOLDER("pragha-plugins-placeholder") \ - NEW_NAMED_SUBMENU("lastfm-sudmenu", "_Lastfm") \ - NEW_ITEM("Love track", "win", "lastfm-love") \ - NEW_ITEM("Unlove track", "win", "lastfm-unlove") \ - SEPARATOR \ - NEW_ITEM("Import a XSPF playlist", "win", "lastfm-import") \ - NEW_ITEM("Add favorites", "win", "lastfm-favorities") \ - NEW_ITEM("Add similar", "win", "lastfm-similar") \ - CLOSE_SUBMENU \ - CLOSE_PLACEHOLDER \ - CLOSE_MENU; - - /* Save a get the lastfm password. * TODO: Implement any basic crypto. */ @@ -394,7 +358,7 @@ pragha_lastfm_update_menu_actions (PraghaLastfmPlugin *plugin) { PraghaBackend *backend; - PraghaBackendState state = 0; + PraghaBackendState state = ST_STOPPED; GtkWindow *window; PraghaLastfmPluginPrivate *priv = plugin->priv; @@ -403,22 +367,15 @@ state = pragha_backend_get_state (backend); gboolean playing = (state != ST_STOPPED); - gboolean logged = (priv->status == LASTFM_STATUS_OK); gboolean lfm_inited = (priv->session_id != NULL); gboolean has_user = (lfm_inited && priv->has_user); - pragha_action_group_set_sensitive (priv->action_group_main_menu, "Love track", playing && logged); - pragha_action_group_set_sensitive (priv->action_group_main_menu, "Unlove track", playing && logged); pragha_action_group_set_sensitive (priv->action_group_main_menu, "Add favorites", has_user); pragha_action_group_set_sensitive (priv->action_group_main_menu, "Add similar", playing && lfm_inited); - pragha_action_group_set_sensitive (priv->action_group_playlist, "Love track", logged); - pragha_action_group_set_sensitive (priv->action_group_playlist, "Unlove track", logged); pragha_action_group_set_sensitive (priv->action_group_playlist, "Add similar", lfm_inited); window = GTK_WINDOW(pragha_application_get_window(priv->pragha)); - pragha_menubar_set_enable_action (window, "lastfm-love", playing && logged); - pragha_menubar_set_enable_action (window, "lastfm-unlove", playing && logged); pragha_menubar_set_enable_action (window, "lastfm-favorities", has_user); pragha_menubar_set_enable_action (window, "lastfm-similar", playing && lfm_inited); } @@ -428,9 +385,9 @@ */ static void pragha_lastfm_no_connection_advice (void) { - PraghaStatusbar *statusbar = pragha_statusbar_get (); - pragha_statusbar_set_misc_text (statusbar, _("Unable to establish conection with Last.fm")); - g_object_unref (statusbar); + PraghaAppNotification *notification; + notification = pragha_app_notification_new ("Last.fm", _("Unable to establish conection with Last.fm")); + pragha_app_notification_show (notification); } /* Find a song with the artist and title independently of the album and adds it to the playlist */ @@ -451,24 +408,27 @@ playlist = pragha_application_get_playlist (priv->pragha); if (pragha_mobj_list_already_has_title_of_artist (list, title, artist) || - pragha_playlist_already_has_title_of_artist (playlist, title, artist)) + pragha_playlist_already_has_title_of_artist (playlist, title, artist)) return list; cdbase = pragha_application_get_database (priv->pragha); - const gchar *sql = "SELECT TRACK.title, ARTIST.name, LOCATION.id " - "FROM TRACK, ARTIST, LOCATION " - "WHERE ARTIST.id = TRACK.artist AND LOCATION.id = TRACK.location " - "AND TRACK.title = ? COLLATE NOCASE " - "AND ARTIST.name = ? COLLATE NOCASE " - "ORDER BY RANDOM() LIMIT 1;"; + const gchar *sql = + "SELECT LOCATION.id " + "FROM TRACK, ARTIST, PROVIDER, LOCATION " + "WHERE ARTIST.id = TRACK.artist " + "AND LOCATION.id = TRACK.location " + "AND TRACK.provider = PROVIDER.id AND PROVIDER.visible <> 0 " + "AND TRACK.title = ? COLLATE NOCASE " + "AND ARTIST.name = ? COLLATE NOCASE " + "ORDER BY RANDOM() LIMIT 1;"; PraghaPreparedStatement *statement = pragha_database_create_statement (cdbase, sql); pragha_prepared_statement_bind_string (statement, 1, title); pragha_prepared_statement_bind_string (statement, 2, artist); if (pragha_prepared_statement_step (statement)) { - location_id = pragha_prepared_statement_get_int (statement, 2); + location_id = pragha_prepared_statement_get_int (statement, 0); mobj = new_musicobject_from_db (cdbase, location_id); list = g_list_prepend (list, mobj); } @@ -478,6 +438,7 @@ return list; } + /* Set correction basedm on lastfm now playing segestion.. */ static void @@ -591,6 +552,8 @@ } dialog = pragha_tags_dialog_new(); + gtk_window_set_transient_for (GTK_WINDOW(dialog), + GTK_WINDOW(pragha_application_get_window (priv->pragha))); g_signal_connect (G_OBJECT (dialog), "response", G_CALLBACK (pragha_corrected_by_lastfm_dialog_response), plugin); @@ -601,27 +564,6 @@ gtk_widget_show (dialog); } -void -pragha_lastfm_set_tiny_button (GtkWidget *button) -{ - GtkCssProvider *provider; - provider = gtk_css_provider_new (); - gtk_css_provider_load_from_data (provider, - "#tiny-button {\n" - " -GtkButton-default-border : 0px;\n" - " -GtkButton-default-outside-border : 0px;\n" - " -GtkButton-inner-border: 0px;\n" - " -GtkWidget-focus-line-width: 0px;\n" - " -GtkWidget-focus-padding: 0px;\n" - " padding: 1px;}", - -1, NULL); - gtk_style_context_add_provider (gtk_widget_get_style_context (button), - GTK_STYLE_PROVIDER (provider), - GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); - gtk_widget_set_name (button, "tiny-button"); - g_object_unref (provider); -} - static GtkWidget* pragha_lastfm_tag_suggestion_button_new (PraghaLastfmPlugin *plugin) { @@ -638,7 +580,7 @@ g_signal_connect(G_OBJECT(ntag_lastfm_button), "clicked", G_CALLBACK(pragha_lastfm_tags_corrected_dialog), plugin); - pragha_lastfm_set_tiny_button (ntag_lastfm_button); + pragha_hig_set_tiny_button (ntag_lastfm_button); gtk_image_set_pixel_size (GTK_IMAGE(image), 12); return ntag_lastfm_button; @@ -649,6 +591,7 @@ gpointer do_lastfm_love_mobj (PraghaLastfmPlugin *plugin, const gchar *title, const gchar *artist) { + IdleMessage *id = NULL; gint rv; CDEBUG(DBG_PLUGIN, "Love mobj on thread"); @@ -659,14 +602,15 @@ artist); if (rv != LASTFM_STATUS_OK) - return _("Love song on Last.fm failed."); - else - return NULL; + id = pragha_idle_message_new ("Last.fm", _("Love song on Last.fm failed."), FALSE); + + return id; } gpointer do_lastfm_unlove_mobj (PraghaLastfmPlugin *plugin, const gchar *title, const gchar *artist) { + IdleMessage *id = NULL; gint rv; CDEBUG(DBG_PLUGIN, "Unlove mobj on thread"); @@ -677,89 +621,16 @@ artist); if (rv != LASTFM_STATUS_OK) - return _("Unlove song on Last.fm failed."); - else - return NULL; -} - - -/* Functions related to current playlist. */ - -gpointer -do_lastfm_current_playlist_love (gpointer data) -{ - PraghaPlaylist *playlist; - PraghaMusicobject *mobj = NULL; - const gchar *title, *artist; - - PraghaLastfmPlugin *plugin = data; - PraghaLastfmPluginPrivate *priv = plugin->priv; - - playlist = pragha_application_get_playlist (priv->pragha); - mobj = pragha_playlist_get_selected_musicobject (playlist); - - title = pragha_musicobject_get_title(mobj); - artist = pragha_musicobject_get_artist(mobj); - - return do_lastfm_love_mobj (plugin, title, artist); -} + id = pragha_idle_message_new ("Last.fm", _("Unlove song on Last.fm failed."), FALSE); -static void -lastfm_track_current_playlist_love_action (GtkAction *action, PraghaLastfmPlugin *plugin) -{ - CDEBUG(DBG_PLUGIN, "Love handler to current playlist"); - - PraghaLastfmPluginPrivate *priv = plugin->priv; - if (priv->status != LASTFM_STATUS_OK) { - pragha_lastfm_no_connection_advice (); - return; - } - - pragha_async_launch (do_lastfm_current_playlist_love, - pragha_async_set_idle_message, - plugin); -} - -gpointer -do_lastfm_current_playlist_unlove (gpointer data) -{ - PraghaPlaylist *playlist; - PraghaMusicobject *mobj = NULL; - const gchar *title, *artist; - - PraghaLastfmPlugin *plugin = data; - PraghaLastfmPluginPrivate *priv = plugin->priv; - - playlist = pragha_application_get_playlist (priv->pragha); - mobj = pragha_playlist_get_selected_musicobject (playlist); - - title = pragha_musicobject_get_title(mobj); - artist = pragha_musicobject_get_artist(mobj); - - return do_lastfm_unlove_mobj (plugin, title, artist); -} - -static void -lastfm_track_current_playlist_unlove_action (GtkAction *action, PraghaLastfmPlugin *plugin) -{ - CDEBUG(DBG_PLUGIN, "Unlove Handler to current playlist"); - - PraghaLastfmPluginPrivate *priv = plugin->priv; - if (priv->status != LASTFM_STATUS_OK) { - pragha_lastfm_no_connection_advice (); - return; - } - - pragha_async_launch (do_lastfm_current_playlist_unlove, - pragha_async_set_idle_message, - plugin); + return id; } static gboolean append_mobj_list_current_playlist_idle(gpointer user_data) { + PraghaAppNotification *notification; PraghaPlaylist *playlist; - PraghaStatusbar *statusbar; gchar *summary = NULL; guint songs_added = 0; @@ -802,10 +673,9 @@ } if (summary != NULL) { - statusbar = pragha_statusbar_get (); - pragha_statusbar_set_misc_text (statusbar, summary); - g_object_unref (statusbar); - g_free(summary); + notification = pragha_app_notification_new ("Last.fm", summary); + pragha_app_notification_set_timeout (notification, 5); + pragha_app_notification_show (notification); } g_slice_free (AddMusicObjectListData, data); @@ -897,8 +767,8 @@ gint response, PraghaLastfmPlugin *plugin) { + PraghaAppNotification *notification; PraghaPlaylist *playlist; - PraghaStatusbar *statusbar; XMLNode *xml = NULL, *xi, *xc, *xt; gchar *contents, *summary; gint try = 0, added = 0; @@ -906,7 +776,7 @@ GFile *file; gsize size; - + PraghaLastfmPluginPrivate *priv = plugin->priv; if (response != GTK_RESPONSE_ACCEPT) @@ -947,9 +817,9 @@ summary = g_strdup_printf(_("Added %d songs from %d of the imported playlist."), added, try); - statusbar = pragha_statusbar_get (); - pragha_statusbar_set_misc_text (statusbar, summary); - g_object_unref (statusbar); + notification = pragha_app_notification_new ("Last.fm", summary); + pragha_app_notification_set_timeout(notification, 5); + pragha_app_notification_show (notification); g_free(summary); @@ -1090,7 +960,7 @@ set_watch_cursor (pragha_application_get_window(priv->pragha)); pragha_async_launch (do_lastfm_get_similar_action, append_mobj_list_current_playlist_idle, - pragha_lastfm_async_data_new (plugin)); + pragha_lastfm_async_data_new (plugin, NULL)); } static gpointer @@ -1113,29 +983,6 @@ return msg_data; } -static void -lastfm_track_love_action (GtkAction *action, PraghaLastfmPlugin *plugin) -{ - PraghaBackend *backend; - - PraghaLastfmPluginPrivate *priv = plugin->priv; - - CDEBUG(DBG_PLUGIN, "Love Handler"); - - backend = pragha_application_get_backend (priv->pragha); - if (pragha_backend_get_state (backend) == ST_STOPPED) - return; - - if (priv->status != LASTFM_STATUS_OK) { - pragha_lastfm_no_connection_advice (); - return; - } - - pragha_async_launch (do_lastfm_current_song_love, - pragha_async_set_idle_message, - pragha_lastfm_async_data_new (plugin)); -} - static gpointer do_lastfm_current_song_unlove (gpointer data) { @@ -1157,16 +1004,38 @@ } static void -lastfm_track_unlove_action (GtkAction *action, PraghaLastfmPlugin *plugin) +pragha_lastfm_plugin_favorites_song_added (PraghaFavorites *favorites, + PraghaMusicobject *mobj, + PraghaLastfmPlugin *plugin) { - PraghaBackend *backend; + PraghaLastfmPluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Lastfm: Love Handler"); + + if (!priv->has_user || !priv->has_pass) + return; + + if (priv->status != LASTFM_STATUS_OK) { + pragha_lastfm_no_connection_advice (); + return; + } + pragha_async_launch (do_lastfm_current_song_love, + pragha_async_set_idle_message, + pragha_lastfm_async_data_new (plugin, mobj)); + +} + +static void +pragha_lastfm_plugin_favorites_song_removed (PraghaFavorites *favorites, + PraghaMusicobject *mobj, + PraghaLastfmPlugin *plugin) +{ PraghaLastfmPluginPrivate *priv = plugin->priv; - CDEBUG(DBG_PLUGIN, "Unlove Handler"); + CDEBUG(DBG_PLUGIN, "Lastfm: Unlove Handler"); - backend = pragha_application_get_backend (priv->pragha); - if (pragha_backend_get_state (backend) == ST_STOPPED) + if (!priv->has_user || !priv->has_pass) return; if (priv->status != LASTFM_STATUS_OK) { @@ -1176,7 +1045,7 @@ pragha_async_launch (do_lastfm_current_song_unlove, pragha_async_set_idle_message, - pragha_lastfm_async_data_new (plugin)); + pragha_lastfm_async_data_new (plugin, mobj)); } /* @@ -1207,22 +1076,6 @@ lastfm_import_xspf_action (NULL, PRAGHA_LASTFM_PLUGIN(user_data)); } -static void -pragha_gmenu_lastfm_track_love_action (GSimpleAction *action, - GVariant *parameter, - gpointer user_data) -{ - lastfm_track_love_action (NULL, PRAGHA_LASTFM_PLUGIN(user_data)); -} - -static void -pragha_gmenu_lastfm_track_unlove_action (GSimpleAction *action, - GVariant *parameter, - gpointer user_data) -{ - lastfm_track_unlove_action (NULL, PRAGHA_LASTFM_PLUGIN(user_data)); -} - /* * Handlers */ @@ -1230,6 +1083,7 @@ static gpointer pragha_lastfm_scrobble_thread (gpointer data) { + IdleMessage *id = NULL; gchar *title = NULL, *artist = NULL, *album = NULL; gint track_no, length, rv; time_t last_time; @@ -1240,6 +1094,11 @@ CDEBUG(DBG_PLUGIN, "Scrobbler thread"); g_mutex_lock (&priv->data_mutex); + if (priv->playback_started == 0) { + g_mutex_unlock (&priv->data_mutex); + return pragha_idle_message_new ("Last.fm", _("Last.fm submission failed"), FALSE); + } + g_object_get (priv->current_mobj, "title", &title, "artist", &artist, @@ -1263,10 +1122,17 @@ g_free(artist); g_free(album); + g_mutex_lock (&priv->data_mutex); + priv->playback_started = 0; + g_mutex_unlock (&priv->data_mutex); + if (rv != LASTFM_STATUS_OK) - return _("Last.fm submission failed"); - else - return _("Track scrobbled on Last.fm"); + id = pragha_idle_message_new ("Last.fm", _("Last.fm submission failed"), FALSE); + else { + id = pragha_idle_message_new ("Last.fm", _("Track scrobbled on Last.fm"), TRUE); + } + + return id; } static gboolean @@ -1312,9 +1178,11 @@ static gpointer pragha_lastfm_now_playing_thread (gpointer data) { + IdleMessage *id = NULL; LFMList *list = NULL; LASTFM_TRACK_INFO *ntrack = NULL; gchar *title = NULL, *artist = NULL, *album = NULL; + gchar *utitle = NULL, *uartist = NULL, *ualbum = NULL; gint track_no, length, changed = 0, rv; PraghaLastfmPlugin *plugin = data; @@ -1345,25 +1213,28 @@ /* Fist check lastfm response, and compare tags. */ if (list != NULL) { ntrack = list->data; - if (ntrack->name && g_ascii_strcasecmp(title, ntrack->name)) + utitle = pragha_unescape_html_utf75(ntrack->name); + uartist = pragha_unescape_html_utf75(ntrack->artist); + ualbum = pragha_unescape_html_utf75(ntrack->album); + if (utitle && g_ascii_strcasecmp(title, utitle)) changed |= TAG_TITLE_CHANGED; - if (ntrack->artist && g_ascii_strcasecmp(artist, ntrack->artist)) + if (uartist && g_ascii_strcasecmp(artist, uartist)) changed |= TAG_ARTIST_CHANGED; - if (ntrack->album && g_ascii_strcasecmp(album, ntrack->album)) + if (ualbum && g_ascii_strcasecmp(album, ualbum)) changed |= TAG_ALBUM_CHANGED; } if (changed) { g_mutex_lock (&priv->data_mutex); - if (priv->updated_mobj) + if (priv->updated_mobj) g_object_unref (priv->updated_mobj); priv->updated_mobj = pragha_musicobject_dup (priv->current_mobj); if (changed & TAG_TITLE_CHANGED) - pragha_musicobject_set_title (priv->updated_mobj, ntrack->name); + pragha_musicobject_set_title (priv->updated_mobj, utitle); if (changed & TAG_ARTIST_CHANGED) - pragha_musicobject_set_artist (priv->updated_mobj, ntrack->artist); + pragha_musicobject_set_artist (priv->updated_mobj, uartist); if (changed & TAG_ALBUM_CHANGED) - pragha_musicobject_set_album (priv->updated_mobj, ntrack->album); + pragha_musicobject_set_album (priv->updated_mobj, ualbum); g_mutex_unlock (&priv->data_mutex); g_idle_add (pragha_lastfm_show_corrrection_button, plugin); @@ -1375,10 +1246,14 @@ g_free(artist); g_free(album); + g_free(utitle); + g_free(uartist); + g_free(ualbum); + if (rv != LASTFM_STATUS_OK) - return _("Update current song on Last.fm failed."); - else - return NULL; + id = pragha_idle_message_new ("Last.fm", _("Update current song on Last.fm failed."), FALSE); + + return id; } static gboolean @@ -1399,12 +1274,22 @@ mobj = pragha_backend_get_musicobject (backend); g_mutex_lock (&priv->data_mutex); - if (priv->current_mobj) + if (priv->current_mobj) { g_object_unref (priv->current_mobj); - priv->current_mobj = pragha_musicobject_dup (mobj); - if (priv->updated_mobj) + priv->current_mobj = NULL; + } + if (priv->updated_mobj) { g_object_unref (priv->updated_mobj); - priv->updated_mobj = NULL; + priv->updated_mobj = NULL; + } + + if (priv->playback_started) { + g_critical ("Postposed update now_playing since a scrobble is pending"); + g_mutex_unlock (&priv->data_mutex); + return G_SOURCE_CONTINUE; + } + + priv->current_mobj = pragha_musicobject_dup (mobj); time(&priv->playback_started); g_mutex_unlock (&priv->data_mutex); @@ -1413,7 +1298,7 @@ pragha_async_set_idle_message, plugin); - return FALSE; + return G_SOURCE_REMOVE; } static gboolean @@ -1428,14 +1313,14 @@ if (priv->status != LASTFM_STATUS_OK) { pragha_lastfm_no_connection_advice (); - return FALSE; + return G_SOURCE_REMOVE; } pragha_async_launch (pragha_lastfm_scrobble_thread, pragha_async_set_idle_message, plugin); - return FALSE; + return G_SOURCE_REMOVE; } static void @@ -1464,11 +1349,18 @@ g_source_remove (priv->update_timeout_id); priv->update_timeout_id = 0; } + if (priv->scrobble_timeout_id) { g_source_remove (priv->scrobble_timeout_id); priv->scrobble_timeout_id = 0; } + g_mutex_lock (&priv->data_mutex); + if (priv->playback_started != 0) { + priv->playback_started = 0; + } + g_mutex_unlock (&priv->data_mutex); + if (state != ST_PLAYING) { if (priv->ntag_lastfm_button) gtk_widget_hide (priv->ntag_lastfm_button); @@ -1539,8 +1431,6 @@ priv->action_group_main_menu, main_menu_xml); - pragha_action_group_set_sensitive (priv->action_group_main_menu, "Love track", FALSE); - pragha_action_group_set_sensitive (priv->action_group_main_menu, "Unlove track", FALSE); pragha_action_group_set_sensitive (priv->action_group_main_menu, "Add favorites", FALSE); pragha_action_group_set_sensitive (priv->action_group_main_menu, "Add similar", FALSE); @@ -1574,8 +1464,6 @@ plugin); window = GTK_WINDOW(pragha_application_get_window(priv->pragha)); - pragha_menubar_set_enable_action (window, "lastfm-love", FALSE); - pragha_menubar_set_enable_action (window, "lastfm-unlove", FALSE); pragha_menubar_set_enable_action (window, "lastfm-favorities", FALSE); pragha_menubar_set_enable_action (window, "lastfm-similar", FALSE); } @@ -1817,7 +1705,6 @@ lastfm_pass = gtk_entry_new (); gtk_entry_set_max_length (GTK_ENTRY(lastfm_pass), LASTFM_PASS_LEN); gtk_entry_set_visibility (GTK_ENTRY(lastfm_pass), FALSE); - gtk_entry_set_invisible_char (GTK_ENTRY(lastfm_pass), '*'); gtk_entry_set_activates_default (GTK_ENTRY(lastfm_pass), TRUE); pragha_hig_workarea_table_add_row (table, &row, lastfm_plabel, lastfm_pass); @@ -1874,6 +1761,10 @@ priv->pragha = g_object_get_data (G_OBJECT (plugin), "object"); + /* Favororites */ + + priv->favorites = pragha_favorites_get (); + /* Init plugin flags */ priv->session_id = NULL; @@ -1910,6 +1801,13 @@ g_signal_connect (pragha_application_get_backend (priv->pragha), "notify::state", G_CALLBACK (backend_changed_state_cb), plugin); + + /* Favorites handler */ + + g_signal_connect (priv->favorites, "song-added", + G_CALLBACK(pragha_lastfm_plugin_favorites_song_added), plugin); + g_signal_connect (priv->favorites, "song-removed", + G_CALLBACK(pragha_lastfm_plugin_favorites_song_removed), plugin); } static void @@ -1922,6 +1820,10 @@ CDEBUG(DBG_PLUGIN, "Lastfm plugin %s", G_STRFUNC); + /* Favorites */ + + g_object_unref (priv->favorites); + /* Disconnect playback signals */ g_signal_handlers_disconnect_by_func (pragha_application_get_backend (priv->pragha), @@ -1933,7 +1835,7 @@ preferences = pragha_application_get_preferences (priv->pragha); plugin_group = pragha_preferences_get_plugin_group_name (preferences, "lastfm"); - if (!pragha_plugins_is_shutdown(pragha_application_get_plugins_engine(priv->pragha))) { + if (!pragha_plugins_engine_is_shutdown(pragha_application_get_plugins_engine(priv->pragha))) { pragha_preferences_remove_group (preferences, plugin_group); } g_free (plugin_group); diff -Nru pragha-1.3.3/plugins/Makefile.am pragha-1.3.992/plugins/Makefile.am --- pragha-1.3.3/plugins/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -6,12 +6,17 @@ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED) -pluginincludedir = $(includedir)/pragha/plugins +pluginincludedir = $(includedir)/libpragha/plugins plugininclude_HEADERS = pragha-plugin-macros.h -SUBDIRS = \ - mpris2 \ +SUBDIRS = \ + visualizer + +if DBUS_PLUGINS_SUPPORT +SUBDIRS += \ + mpris2 \ gnome-media-keys +endif if HAVE_LIBGLYR SUBDIRS += song-info @@ -26,13 +31,11 @@ endif if HAVE_GUDEV -SUBDIRS += devices SUBDIRS += removable-media -endif - if HAVE_LIBMTP SUBDIRS += mtp endif +endif if HAVE_LIBSOUP SUBDIRS += acoustid @@ -43,10 +46,26 @@ SUBDIRS += dlna endif -if HAVE_GRILO +if HAVE_GRILO3 +SUBDIRS += dlna-renderer +endif +if HAVE_GRILO2 SUBDIRS += dlna-renderer endif +if HAVE_GRILO_NET3 +SUBDIRS += ampache +endif +if HAVE_GRILO_NET2 +SUBDIRS += ampache +endif + +if HAVE_JSON_GLIB +if HAVE_LIBSOUP +SUBDIRS += koel +endif +endif + if HAVE_LIBCDIO if HAVE_LIBCDIO_PARANOIA if HAVE_LIBCDDB diff -Nru pragha-1.3.3/plugins/Makefile.in pragha-1.3.992/plugins/Makefile.in --- pragha-1.3.3/plugins/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,829 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +@DBUS_PLUGINS_SUPPORT_TRUE@am__append_1 = \ +@DBUS_PLUGINS_SUPPORT_TRUE@ mpris2 \ +@DBUS_PLUGINS_SUPPORT_TRUE@ gnome-media-keys + +@HAVE_LIBGLYR_TRUE@am__append_2 = song-info +@HAVE_LIBKEYBINDER_TRUE@am__append_3 = keybinder +@HAVE_LIBNOTIFY_TRUE@am__append_4 = notify +@HAVE_GUDEV_TRUE@am__append_5 = removable-media +@HAVE_GUDEV_TRUE@@HAVE_LIBMTP_TRUE@am__append_6 = mtp +@HAVE_LIBSOUP_TRUE@am__append_7 = acoustid tunein +@HAVE_RYGEL_TRUE@am__append_8 = dlna +@HAVE_GRILO3_TRUE@am__append_9 = dlna-renderer +@HAVE_GRILO2_TRUE@am__append_10 = dlna-renderer +@HAVE_GRILO_NET3_TRUE@am__append_11 = ampache +@HAVE_GRILO_NET2_TRUE@am__append_12 = ampache +@HAVE_JSON_GLIB_TRUE@@HAVE_LIBSOUP_TRUE@am__append_13 = koel +@HAVE_LIBCDDB_TRUE@@HAVE_LIBCDIO_PARANOIA_TRUE@@HAVE_LIBCDIO_TRUE@am__append_14 = cdrom +@HAVE_LIBCLASTFM_TRUE@am__append_15 = lastfm +subdir = plugins +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(plugininclude_HEADERS) \ + $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(pluginincludedir)" +HEADERS = $(plugininclude_HEADERS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + distdir distdir-am +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = visualizer mpris2 gnome-media-keys song-info keybinder \ + notify removable-media mtp acoustid tunein dlna dlna-renderer \ + ampache koel cdrom lastfm +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + -I$(srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIB_PEAS_GTK_CFLAGS) \ + $(WARN_CFLAGS) \ + $(DISABLE_DEPRECATED) + +pluginincludedir = $(includedir)/libpragha/plugins +plugininclude_HEADERS = pragha-plugin-macros.h +SUBDIRS = visualizer $(am__append_1) $(am__append_2) $(am__append_3) \ + $(am__append_4) $(am__append_5) $(am__append_6) \ + $(am__append_7) $(am__append_8) $(am__append_9) \ + $(am__append_10) $(am__append_11) $(am__append_12) \ + $(am__append_13) $(am__append_14) $(am__append_15) +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginincludeHEADERS: $(plugininclude_HEADERS) + @$(NORMAL_INSTALL) + @list='$(plugininclude_HEADERS)'; test -n "$(pluginincludedir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(pluginincludedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pluginincludedir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pluginincludedir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(pluginincludedir)" || exit $$?; \ + done + +uninstall-pluginincludeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(plugininclude_HEADERS)'; test -n "$(pluginincludedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(pluginincludedir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile $(HEADERS) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(pluginincludedir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-pluginincludeHEADERS + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-pluginincludeHEADERS + +.MAKE: $(am__recursive_targets) install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ + check-am clean clean-generic clean-libtool cscopelist-am ctags \ + ctags-am distclean distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-pluginincludeHEADERS \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am uninstall-pluginincludeHEADERS + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/mpris2/Makefile.am pragha-1.3.992/plugins/mpris2/Makefile.am --- pragha-1.3.3/plugins/mpris2/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/mpris2/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -13,38 +13,13 @@ libmpris2_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libmpris2_la_CFLAGS = \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall - -libmpris2_la_LIBADD = \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) - -if HAVE_GSTREAMER_AUDIO -libmpris2_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libmpris2_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -libmpris2_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libmpris2_la_LIBADD += $(LIBXFCE4UI_LIBS) -endif +libmpris2_la_CFLAGS = \ + $(PRAGHA_CFLAGS) + +libmpris2_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(top_builddir)/src/libpragha.la + plugin_DATA = mpris2.plugin diff -Nru pragha-1.3.3/plugins/mpris2/Makefile.in pragha-1.3.992/plugins/mpris2/Makefile.in --- pragha-1.3.3/plugins/mpris2/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/mpris2/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,825 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/mpris2 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libmpris2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(top_builddir)/src/libpragha.la +am_libmpris2_la_OBJECTS = libmpris2_la-pragha-mpris2-plugin.lo +libmpris2_la_OBJECTS = $(am_libmpris2_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libmpris2_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libmpris2_la_CFLAGS) \ + $(CFLAGS) $(libmpris2_la_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = \ + ./$(DEPDIR)/libmpris2_la-pragha-mpris2-plugin.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libmpris2_la_SOURCES) +DIST_SOURCES = $(libmpris2_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/mpris2 +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libmpris2.la +libmpris2_la_SOURCES = \ + pragha-mpris2-plugin.h \ + pragha-mpris2-plugin.c + +libmpris2_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libmpris2_la_CFLAGS = \ + $(PRAGHA_CFLAGS) + +libmpris2_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = mpris2.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/mpris2/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/mpris2/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libmpris2.la: $(libmpris2_la_OBJECTS) $(libmpris2_la_DEPENDENCIES) $(EXTRA_libmpris2_la_DEPENDENCIES) + $(AM_V_CCLD)$(libmpris2_la_LINK) -rpath $(plugindir) $(libmpris2_la_OBJECTS) $(libmpris2_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpris2_la-pragha-mpris2-plugin.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libmpris2_la-pragha-mpris2-plugin.lo: pragha-mpris2-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmpris2_la_CFLAGS) $(CFLAGS) -MT libmpris2_la-pragha-mpris2-plugin.lo -MD -MP -MF $(DEPDIR)/libmpris2_la-pragha-mpris2-plugin.Tpo -c -o libmpris2_la-pragha-mpris2-plugin.lo `test -f 'pragha-mpris2-plugin.c' || echo '$(srcdir)/'`pragha-mpris2-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpris2_la-pragha-mpris2-plugin.Tpo $(DEPDIR)/libmpris2_la-pragha-mpris2-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-mpris2-plugin.c' object='libmpris2_la-pragha-mpris2-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmpris2_la_CFLAGS) $(CFLAGS) -c -o libmpris2_la-pragha-mpris2-plugin.lo `test -f 'pragha-mpris2-plugin.c' || echo '$(srcdir)/'`pragha-mpris2-plugin.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libmpris2_la-pragha-mpris2-plugin.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libmpris2_la-pragha-mpris2-plugin.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/mpris2/pragha-mpris2-plugin.c pragha-1.3.992/plugins/mpris2/pragha-mpris2-plugin.c --- pragha-1.3.3/plugins/mpris2/pragha-mpris2-plugin.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/mpris2/pragha-mpris2-plugin.c 2018-07-03 01:15:22.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2017 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -451,7 +451,7 @@ // If there is such a convention on other players path = g_filename_from_uri(uri, NULL, NULL); if(path && is_playable_file(path)) { - mobj = new_musicobject_from_file(path); + mobj = new_musicobject_from_file(path, NULL); if(mobj) { playlist = pragha_application_get_playlist (plugin->priv->pragha); @@ -703,23 +703,26 @@ static GVariant * mpris_Player_get_CanGoNext (GError **error, PraghaMpris2Plugin *plugin) { - // do we need to go into such detail? - return g_variant_new_boolean(TRUE); + return g_variant_new_boolean(pragha_playback_can_go_next(plugin->priv->pragha)); } static GVariant * mpris_Player_get_CanGoPrevious (GError **error, PraghaMpris2Plugin *plugin) { - // do we need to go into such detail? - return g_variant_new_boolean(TRUE); + return g_variant_new_boolean(pragha_playback_can_go_prev(plugin->priv->pragha)); } static GVariant * mpris_Player_get_CanPlay (GError **error, PraghaMpris2Plugin *plugin) { - PraghaBackend *backend = pragha_application_get_backend (plugin->priv->pragha); + PraghaBackend *backend; + gboolean can_play = FALSE; - return g_variant_new_boolean(pragha_backend_get_state (backend) == ST_PAUSED); + backend = pragha_application_get_backend (plugin->priv->pragha); + can_play = ((pragha_backend_get_state (backend) != ST_STOPPED) || + (pragha_playback_get_no_tracks(plugin->priv->pragha) > 0)); + + return g_variant_new_boolean (can_play); } static GVariant * @@ -727,7 +730,7 @@ { PraghaBackend *backend = pragha_application_get_backend (plugin->priv->pragha); - return g_variant_new_boolean(pragha_backend_get_state (backend) == ST_PLAYING); + return g_variant_new_boolean(pragha_backend_get_state (backend) != ST_STOPPED); } static GVariant * @@ -850,7 +853,7 @@ mpris_Playlists_get_ActivePlaylist (GError **error, PraghaMpris2Plugin *plugin) { return g_variant_new("(b(oss))", - FALSE, "/", _("Playlists"), _("Playlists")); + FALSE, "/", _("Tracks"), _("Tracks")); /* Formally this is correct, but in the practice only is used to display a confuse message "invalid" in the ubuntu-soundmenu. @@ -1212,59 +1215,104 @@ pragha_mpris_update_any (PraghaMpris2Plugin *plugin) { PraghaBackend *backend; + PraghaBackendState playback_state = ST_STOPPED; PraghaPreferences *preferences; - gboolean change_detected = FALSE, shuffle, repeat; + gboolean new_song = FALSE, change_detected = FALSE; + gboolean shuffle, repeat, can_next, can_prev, can_play, can_pause, can_seek; GVariantBuilder b; - const gchar *newtitle = NULL; + const gchar *current_title = NULL; gdouble curr_vol; + gint has_tracks = 0; if(NULL == plugin->priv->dbus_connection) return; /* better safe than sorry */ CDEBUG(DBG_PLUGIN, "MPRIS update any"); + g_variant_builder_init(&b, G_VARIANT_TYPE("a{sv}")); + backend = pragha_application_get_backend (plugin->priv->pragha); - if (pragha_backend_get_state (backend) != ST_STOPPED) { - newtitle = pragha_musicobject_get_file (pragha_backend_get_musicobject (backend)); + playback_state = pragha_backend_get_state (backend); + if (playback_state != ST_STOPPED) { + current_title = pragha_musicobject_get_file (pragha_backend_get_musicobject (backend)); } - g_variant_builder_init(&b, G_VARIANT_TYPE("a{sv}")); + if (g_strcmp0(plugin->priv->saved_title, current_title)) { + new_song = TRUE; + change_detected = TRUE; + if (plugin->priv->saved_title) + g_free(plugin->priv->saved_title); + if (string_is_not_empty(current_title)) + plugin->priv->saved_title = g_strdup(current_title); + else + plugin->priv->saved_title = NULL; + g_variant_builder_add (&b, "{sv}", "Metadata", mpris_Player_get_Metadata (NULL, plugin)); + } preferences = pragha_application_get_preferences (plugin->priv->pragha); shuffle = pragha_preferences_get_shuffle (preferences); - if (plugin->priv->saved_shuffle != shuffle) { + if (new_song || (plugin->priv->saved_shuffle != shuffle)) { change_detected = TRUE; plugin->priv->saved_shuffle = shuffle; g_variant_builder_add (&b, "{sv}", "Shuffle", mpris_Player_get_Shuffle (NULL, plugin)); } - if (plugin->priv->state != pragha_backend_get_state (backend)) { + + if (new_song || (plugin->priv->state != playback_state)) { change_detected = TRUE; - plugin->priv->state = pragha_backend_get_state (backend); + plugin->priv->state = playback_state; g_variant_builder_add (&b, "{sv}", "PlaybackStatus", mpris_Player_get_PlaybackStatus (NULL, plugin)); } + repeat = pragha_preferences_get_repeat (preferences); - if (plugin->priv->saved_playbackstatus != repeat) { + if (new_song || (plugin->priv->saved_playbackstatus != repeat)) { change_detected = TRUE; plugin->priv->saved_playbackstatus = repeat; g_variant_builder_add (&b, "{sv}", "LoopStatus", mpris_Player_get_LoopStatus (NULL, plugin)); } + curr_vol = pragha_backend_get_volume (backend); - if (plugin->priv->volume != curr_vol) { + if (new_song || (plugin->priv->volume != curr_vol)) { change_detected = TRUE; plugin->priv->volume = curr_vol; g_variant_builder_add (&b, "{sv}", "Volume", mpris_Player_get_Volume (NULL, plugin)); } - if (g_strcmp0(plugin->priv->saved_title, newtitle)) { + + can_next = pragha_playback_can_go_next (plugin->priv->pragha); + if (new_song || (plugin->priv->saved_can_next != can_next)) { change_detected = TRUE; - if(plugin->priv->saved_title) - g_free(plugin->priv->saved_title); - if(string_is_not_empty(newtitle)) - plugin->priv->saved_title = g_strdup(newtitle); - else - plugin->priv->saved_title = NULL; - g_variant_builder_add (&b, "{sv}", "Metadata", mpris_Player_get_Metadata (NULL, plugin)); + plugin->priv->saved_can_next = can_next; + g_variant_builder_add (&b, "{sv}", "CanGoNext", mpris_Player_get_CanGoNext (NULL, plugin)); + } + + can_prev = pragha_playback_can_go_prev (plugin->priv->pragha); + if (new_song || (plugin->priv->saved_can_prev != can_prev)) { + change_detected = TRUE; + plugin->priv->saved_can_prev = can_prev; + g_variant_builder_add (&b, "{sv}", "CanGoPrevious", mpris_Player_get_CanGoPrevious (NULL, plugin)); + } + + has_tracks = pragha_playback_get_no_tracks(plugin->priv->pragha); + can_play = (playback_state != ST_STOPPED) || has_tracks; + if (new_song || (plugin->priv->saved_can_play != can_play)) { + change_detected = TRUE; + plugin->priv->saved_can_play = can_play; + g_variant_builder_add (&b, "{sv}", "CanPlay", mpris_Player_get_CanPlay (NULL, plugin)); + } + + can_pause = (playback_state != ST_STOPPED); + if (new_song || (plugin->priv->saved_can_pause != can_pause)) { + change_detected = TRUE; + plugin->priv->saved_can_pause = can_pause; + g_variant_builder_add (&b, "{sv}", "CanPause", mpris_Player_get_CanPause (NULL, plugin)); + } + + can_seek = pragha_backend_can_seek (backend); + if (new_song || (plugin->priv->saved_can_seek != can_seek)) { + change_detected = TRUE; + plugin->priv->saved_can_seek = can_seek; + g_variant_builder_add (&b, "{sv}", "CanSeek", mpris_Player_get_CanSeek (NULL, plugin)); } if (change_detected) { @@ -1439,6 +1487,14 @@ } static void +playlist_any_notify_cb (PraghaPlaylist *playlist, gpointer user_data) +{ + PraghaMpris2Plugin *plugin = user_data; + + pragha_mpris_update_any (plugin); +} + +static void pragha_art_cache_changed_handler (PraghaArtCache *cache, PraghaMpris2Plugin *plugin) { PraghaBackend *backend; @@ -1453,7 +1509,7 @@ artist = pragha_musicobject_get_artist (mobj); album = pragha_musicobject_get_album (mobj); - album_art_path = pragha_art_cache_get_uri (cache, artist, album); + album_art_path = pragha_art_cache_get_album_uri (cache, artist, album); if (album_art_path) { pragha_mpris_update_metadata_changed (plugin); g_free (album_art_path); @@ -1469,6 +1525,7 @@ { PraghaPreferences *preferences; PraghaBackend *backend; + PraghaPlaylist *playlist; PraghaArtCache *art_cache; PraghaMpris2Plugin *plugin = PRAGHA_MPRIS2_PLUGIN (activatable); @@ -1482,6 +1539,11 @@ priv->saved_playbackstatus = FALSE; priv->saved_title = NULL; priv->volume = 0; + priv->saved_can_next = FALSE; + priv->saved_can_prev = FALSE; + priv->saved_can_play = FALSE; + priv->saved_can_pause = FALSE; + priv->saved_can_seek = FALSE; priv->introspection_data = g_dbus_node_info_new_for_xml (mpris2xml, NULL); g_assert (priv->introspection_data != NULL); @@ -1504,6 +1566,10 @@ g_signal_connect (backend, "notify::state", G_CALLBACK (any_notify_cb), plugin); g_signal_connect (backend, "seeked", G_CALLBACK (seeked_cb), plugin); + playlist = pragha_application_get_playlist (priv->pragha); + g_signal_connect (playlist, "playlist-changed", + G_CALLBACK(playlist_any_notify_cb), plugin); + art_cache = pragha_application_get_art_cache (priv->pragha); g_signal_connect (art_cache, "cache-changed", G_CALLBACK(pragha_art_cache_changed_handler), plugin); @@ -1513,7 +1579,9 @@ pragha_plugin_deactivate (PeasActivatable *activatable) { PraghaBackend *backend; + PraghaPlaylist *playlist; PraghaArtCache *art_cache; + PraghaPreferences *preferences; gint i; PraghaMpris2Plugin *plugin = PRAGHA_MPRIS2_PLUGIN (activatable); @@ -1529,10 +1597,16 @@ priv->registration_object_ids[i]); } + preferences = pragha_application_get_preferences (priv->pragha); + g_signal_handlers_disconnect_by_func (preferences, any_notify_cb, plugin); + backend = pragha_application_get_backend (priv->pragha); g_signal_handlers_disconnect_by_func (backend, seeked_cb, plugin); g_signal_handlers_disconnect_by_func (backend, any_notify_cb, plugin); + playlist = pragha_application_get_playlist (priv->pragha); + g_signal_handlers_disconnect_by_func (playlist, playlist_any_notify_cb, plugin); + art_cache = pragha_application_get_art_cache (priv->pragha); g_signal_handlers_disconnect_by_func (art_cache, pragha_art_cache_changed_handler, plugin); diff -Nru pragha-1.3.3/plugins/mpris2/pragha-mpris2-plugin.h pragha-1.3.992/plugins/mpris2/pragha-mpris2-plugin.h --- pragha-1.3.3/plugins/mpris2/pragha-mpris2-plugin.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/mpris2/pragha-mpris2-plugin.h 2018-06-21 11:24:11.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2017 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -51,6 +51,12 @@ gboolean saved_shuffle; gchar *saved_title; gdouble volume; + gboolean saved_can_next; + gboolean saved_can_prev; + gboolean saved_can_play; + gboolean saved_can_pause; + gboolean saved_can_seek; + PraghaBackendState state; }; diff -Nru pragha-1.3.3/plugins/mtp/Makefile.am pragha-1.3.992/plugins/mtp/Makefile.am --- pragha-1.3.3/plugins/mtp/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/mtp/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -10,47 +10,22 @@ libpmtp_la_SOURCES = \ pragha-devices-mtp.c \ pragha-mtp-musicobject.c \ - pragha-mtp-musicobject.h + pragha-mtp-musicobject.h \ + pragha-mtp-thread.c \ + pragha-mtp-thread.h \ + pragha-mtp-thread-data.c \ + pragha-mtp-thread-data.h libpmtp_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libpmtp_la_CFLAGS = \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - $(GUDEV_CFLAGS) \ - $(LIBMTP_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall - -libpmtp_la_LIBADD = \ - ../devices/libdeviceclient.la \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) \ - $(GUDEV_LIBS) \ - $(LIBMTP_LIBS) - -if HAVE_GSTREAMER_AUDIO -libpmtp_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libpmtp_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -libpmtp_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libpmtp_la_LIBADD += $(LIBXFCE4UI_LIBS) -endif +libpmtp_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBMTP_CFLAGS) + +libpmtp_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBMTP_LIBS) \ + $(top_builddir)/src/libpragha.la plugin_DATA = mtp.plugin diff -Nru pragha-1.3.3/plugins/mtp/Makefile.in pragha-1.3.992/plugins/mtp/Makefile.in --- pragha-1.3.3/plugins/mtp/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/mtp/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,867 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/mtp +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libpmtp_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(top_builddir)/src/libpragha.la +am_libpmtp_la_OBJECTS = libpmtp_la-pragha-devices-mtp.lo \ + libpmtp_la-pragha-mtp-musicobject.lo \ + libpmtp_la-pragha-mtp-thread.lo \ + libpmtp_la-pragha-mtp-thread-data.lo +libpmtp_la_OBJECTS = $(am_libpmtp_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libpmtp_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libpmtp_la_CFLAGS) \ + $(CFLAGS) $(libpmtp_la_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ./$(DEPDIR)/libpmtp_la-pragha-devices-mtp.Plo \ + ./$(DEPDIR)/libpmtp_la-pragha-mtp-musicobject.Plo \ + ./$(DEPDIR)/libpmtp_la-pragha-mtp-thread-data.Plo \ + ./$(DEPDIR)/libpmtp_la-pragha-mtp-thread.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libpmtp_la_SOURCES) +DIST_SOURCES = $(libpmtp_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/mtp +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libpmtp.la +libpmtp_la_SOURCES = \ + pragha-devices-mtp.c \ + pragha-mtp-musicobject.c \ + pragha-mtp-musicobject.h \ + pragha-mtp-thread.c \ + pragha-mtp-thread.h \ + pragha-mtp-thread-data.c \ + pragha-mtp-thread-data.h + +libpmtp_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libpmtp_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBMTP_CFLAGS) + +libpmtp_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBMTP_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = mtp.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/mtp/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/mtp/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libpmtp.la: $(libpmtp_la_OBJECTS) $(libpmtp_la_DEPENDENCIES) $(EXTRA_libpmtp_la_DEPENDENCIES) + $(AM_V_CCLD)$(libpmtp_la_LINK) -rpath $(plugindir) $(libpmtp_la_OBJECTS) $(libpmtp_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpmtp_la-pragha-devices-mtp.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpmtp_la-pragha-mtp-musicobject.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpmtp_la-pragha-mtp-thread-data.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpmtp_la-pragha-mtp-thread.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libpmtp_la-pragha-devices-mtp.lo: pragha-devices-mtp.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpmtp_la_CFLAGS) $(CFLAGS) -MT libpmtp_la-pragha-devices-mtp.lo -MD -MP -MF $(DEPDIR)/libpmtp_la-pragha-devices-mtp.Tpo -c -o libpmtp_la-pragha-devices-mtp.lo `test -f 'pragha-devices-mtp.c' || echo '$(srcdir)/'`pragha-devices-mtp.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpmtp_la-pragha-devices-mtp.Tpo $(DEPDIR)/libpmtp_la-pragha-devices-mtp.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-devices-mtp.c' object='libpmtp_la-pragha-devices-mtp.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpmtp_la_CFLAGS) $(CFLAGS) -c -o libpmtp_la-pragha-devices-mtp.lo `test -f 'pragha-devices-mtp.c' || echo '$(srcdir)/'`pragha-devices-mtp.c + +libpmtp_la-pragha-mtp-musicobject.lo: pragha-mtp-musicobject.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpmtp_la_CFLAGS) $(CFLAGS) -MT libpmtp_la-pragha-mtp-musicobject.lo -MD -MP -MF $(DEPDIR)/libpmtp_la-pragha-mtp-musicobject.Tpo -c -o libpmtp_la-pragha-mtp-musicobject.lo `test -f 'pragha-mtp-musicobject.c' || echo '$(srcdir)/'`pragha-mtp-musicobject.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpmtp_la-pragha-mtp-musicobject.Tpo $(DEPDIR)/libpmtp_la-pragha-mtp-musicobject.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-mtp-musicobject.c' object='libpmtp_la-pragha-mtp-musicobject.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpmtp_la_CFLAGS) $(CFLAGS) -c -o libpmtp_la-pragha-mtp-musicobject.lo `test -f 'pragha-mtp-musicobject.c' || echo '$(srcdir)/'`pragha-mtp-musicobject.c + +libpmtp_la-pragha-mtp-thread.lo: pragha-mtp-thread.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpmtp_la_CFLAGS) $(CFLAGS) -MT libpmtp_la-pragha-mtp-thread.lo -MD -MP -MF $(DEPDIR)/libpmtp_la-pragha-mtp-thread.Tpo -c -o libpmtp_la-pragha-mtp-thread.lo `test -f 'pragha-mtp-thread.c' || echo '$(srcdir)/'`pragha-mtp-thread.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpmtp_la-pragha-mtp-thread.Tpo $(DEPDIR)/libpmtp_la-pragha-mtp-thread.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-mtp-thread.c' object='libpmtp_la-pragha-mtp-thread.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpmtp_la_CFLAGS) $(CFLAGS) -c -o libpmtp_la-pragha-mtp-thread.lo `test -f 'pragha-mtp-thread.c' || echo '$(srcdir)/'`pragha-mtp-thread.c + +libpmtp_la-pragha-mtp-thread-data.lo: pragha-mtp-thread-data.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpmtp_la_CFLAGS) $(CFLAGS) -MT libpmtp_la-pragha-mtp-thread-data.lo -MD -MP -MF $(DEPDIR)/libpmtp_la-pragha-mtp-thread-data.Tpo -c -o libpmtp_la-pragha-mtp-thread-data.lo `test -f 'pragha-mtp-thread-data.c' || echo '$(srcdir)/'`pragha-mtp-thread-data.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpmtp_la-pragha-mtp-thread-data.Tpo $(DEPDIR)/libpmtp_la-pragha-mtp-thread-data.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-mtp-thread-data.c' object='libpmtp_la-pragha-mtp-thread-data.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpmtp_la_CFLAGS) $(CFLAGS) -c -o libpmtp_la-pragha-mtp-thread-data.lo `test -f 'pragha-mtp-thread-data.c' || echo '$(srcdir)/'`pragha-mtp-thread-data.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libpmtp_la-pragha-devices-mtp.Plo + -rm -f ./$(DEPDIR)/libpmtp_la-pragha-mtp-musicobject.Plo + -rm -f ./$(DEPDIR)/libpmtp_la-pragha-mtp-thread-data.Plo + -rm -f ./$(DEPDIR)/libpmtp_la-pragha-mtp-thread.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libpmtp_la-pragha-devices-mtp.Plo + -rm -f ./$(DEPDIR)/libpmtp_la-pragha-mtp-musicobject.Plo + -rm -f ./$(DEPDIR)/libpmtp_la-pragha-mtp-thread-data.Plo + -rm -f ./$(DEPDIR)/libpmtp_la-pragha-mtp-thread.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/mtp/mtp.plugin pragha-1.3.992/plugins/mtp/mtp.plugin --- pragha-1.3.3/plugins/mtp/mtp.plugin 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/mtp/mtp.plugin 2019-07-17 12:56:06.000000000 +0000 @@ -3,7 +3,7 @@ Name=Mtp Devices Description=Management MTP devices Authors=Matias De lellis -Copyright=Copyright © 2014 Matias De lellis +Copyright=Copyright © 2014-2019 Matias De lellis Website=https://github.com/matiasdelellis/pragha Help=https://github.com/matiasdelellis/pragha -Depends=devices \ No newline at end of file + diff -Nru pragha-1.3.3/plugins/mtp/pragha-devices-mtp.c pragha-1.3.992/plugins/mtp/pragha-devices-mtp.c --- pragha-1.3.3/plugins/mtp/pragha-devices-mtp.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/mtp/pragha-devices-mtp.c 2019-07-25 23:55:09.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2009-2014 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -38,19 +38,23 @@ #include "plugins/pragha-plugin-macros.h" -#include "plugins/devices/pragha-devices-plugin.h" -#include "plugins/devices/pragha-device-client.h" - -#include "pragha-mtp-musicobject.h" - +#include "src/pragha-app-notification.h" +#include "src/pragha-database-provider.h" +#include "src/pragha-device-client.h" #include "src/pragha-music-enum.h" #include "src/pragha-menubar.h" #include "src/pragha-utils.h" #include "src/pragha-simple-widgets.h" +#include "src/pragha-background-task-bar.h" +#include "src/pragha-background-task-widget.h" #include "src/pragha-window.h" #include "src/pragha-hig.h" #include "src/pragha.h" +#include "pragha-mtp-musicobject.h" +#include "pragha-mtp-thread.h" +#include "pragha-mtp-thread-data.h" + #define PRAGHA_TYPE_MTP_PLUGIN (pragha_mtp_plugin_get_type ()) #define PRAGHA_MTP_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PRAGHA_TYPE_MTP_PLUGIN, PraghaMtpPlugin)) #define PRAGHA_MTP_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PRAGHA_TYPE_MTP_PLUGIN, PraghaMtpPlugin)) @@ -63,10 +67,19 @@ struct _PraghaMtpPluginPrivate { PraghaApplication *pragha; + PraghaDeviceClient *device_client; + + PraghaMtpThread *device_thread; + guint64 bus_hooked; guint64 device_hooked; - GUdevDevice *u_device; - LIBMTP_mtpdevice_t *mtp_device; + + GCancellable *cancellable; + + gchar *friend_name; + gchar *device_id; + + PraghaMtpThreadDownloadData *dw_data; GHashTable *tracks_table; @@ -75,18 +88,35 @@ GtkActionGroup *action_group_playlist; guint merge_id_playlist; + + GtkWidget *ask_dialog; + PraghaBackgroundTaskWidget *task_widget; }; PRAGHA_PLUGIN_REGISTER (PRAGHA_TYPE_MTP_PLUGIN, PraghaMtpPlugin, pragha_mtp_plugin) + +/* + * Forward declarations + */ +static void +pragha_mtp_plugin_append_menu_action (PraghaMtpPlugin *plugin); + +static void +pragha_mtp_plugin_remove_menu_action (PraghaMtpPlugin *plugin); + +static void +pragha_mtp_detected_ask_action (PraghaMtpPlugin *plugin); + + /* * Menu Actions. */ -static void pragha_mtp_action_send_to_device (GtkAction *action, PraghaMtpPlugin *plugin); -static void pragha_mtp_action_append_songs (GtkAction *action, PraghaMtpPlugin *plugin); -static void pragha_mtp_action_show_device_info (GtkAction *action, PraghaMtpPlugin *plugin); +static void pragha_mtp_action_send_to_device (GtkAction *action, PraghaMtpPlugin *plugin); +static void pragha_mtp_action_disconnect_device (GtkAction *action, PraghaMtpPlugin *plugin); +static void pragha_mtp_action_show_device_info (GtkAction *action, PraghaMtpPlugin *plugin); static const GtkActionEntry mtp_sendto_actions [] = { {"Send to MTP", NULL, "Fake MTP device", @@ -106,8 +136,8 @@ static const GtkActionEntry mtp_menu_actions [] = { {"MtpDevice", "multimedia-player", "Fake MTP device"}, - {"Add MTP library", "list-add", N_("_Add the library"), - "", "Add all the library", G_CALLBACK(pragha_mtp_action_append_songs)}, + {"Disconnect device", NULL, N_("Disconnect device"), + "", "Disconnect device", G_CALLBACK(pragha_mtp_action_disconnect_device)}, {"Show device info", "dialog-information", N_("Show device info"), "", "Show device info", G_CALLBACK(pragha_mtp_action_show_device_info)}, }; @@ -117,7 +147,7 @@ \ \ \ - \ + \ \ \ \ @@ -131,11 +161,11 @@ * Gear Menu. */ static void -pragha_gmenu_mtp_add_library_action (GSimpleAction *action, - GVariant *parameter, - gpointer user_data) +pragha_gmenu_mtp_disconnect_device_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { - pragha_mtp_action_append_songs (NULL, PRAGHA_MTP_PLUGIN(user_data)); + pragha_mtp_action_disconnect_device (NULL, PRAGHA_MTP_PLUGIN(user_data)); } static void @@ -147,167 +177,353 @@ } static GActionEntry mtp_entries[] = { - { "mtp-library", pragha_gmenu_mtp_add_library_action, NULL, NULL, NULL }, - { "mtp-info", pragha_gmenu_mtp_show_device_info_action, NULL, NULL, NULL } + { "mtp-disconnect", pragha_gmenu_mtp_disconnect_device_action, NULL, NULL, NULL }, + { "mtp-info", pragha_gmenu_mtp_show_device_info_action, NULL, NULL, NULL } }; static const gchar *mtp_menu_ui = \ - NEW_MENU("menubar") \ - OPEN_PLACEHOLDER("pragha-plugins-placeholder") \ - NEW_NAMED_SUBMENU("mtp-sudmenu", "Unknown MTP device") \ - NEW_ITEM("Add MTP library", "win", "mtp-library") \ - NEW_ITEM("Show device info", "win", "mtp-info") \ - CLOSE_SUBMENU \ - CLOSE_PLACEHOLDER \ - CLOSE_MENU; + "" \ + " " \ + "
    " \ + "
    " \ + " " \ + " Unknown MTP device" \ + "
    " \ + " " \ + " Disconnect library" \ + " win.mtp-disconnect" \ + " " \ + " " \ + " Show device info" \ + " win.mtp-info" \ + " " \ + "
    " \ + "
    " \ + "
    " \ + "
    " \ + "
    " \ + "
    "; + /* - * Basic Cache.. + * Some utils. */ + static void -pragha_mtp_plugin_append_cache (PraghaMtpPlugin *plugin) +pragha_mtp_clear_hook_device (PraghaMtpPlugin *plugin) { - PraghaPlaylist *playlist; - GHashTableIter iter; - gpointer key, value; - PraghaMusicobject *mobj = NULL; - GList *list = NULL; - PraghaMtpPluginPrivate *priv = plugin->priv; - g_hash_table_iter_init (&iter, priv->tracks_table); - while (g_hash_table_iter_next (&iter, &key, &value)) { - mobj = value; - if (G_LIKELY(mobj)) { - list = g_list_append (list, mobj); - g_object_ref (mobj); - } - /* Have to give control to GTK periodically ... */ - pragha_process_gtk_events (); + if (priv->bus_hooked) + priv->bus_hooked = 0; + + if (priv->device_hooked) + priv->device_hooked = 0; + + if (priv->device_id) { + g_free (priv->device_id); + priv->device_id = NULL; } - playlist = pragha_application_get_playlist (priv->pragha); - pragha_playlist_append_mobj_list (playlist, list); - g_list_free(list); + if (priv->friend_name) { + g_free (priv->friend_name); + priv->friend_name = NULL; + } } -static void -pragha_mtp_cache_clear (PraghaMtpPlugin *plugin) + +/* + * MTP thread responses and show the results to the user. + */ + +static gboolean +pragha_mtp_plugin_device_opened_idle (PraghaMtpThreadOpenedData *data) { + PraghaAppNotification *notification; + const gchar *device_id = NULL, *friendly_name; + + PraghaMtpPlugin *plugin = PRAGHA_MTP_PLUGIN(pragha_mtp_thread_opened_data_get_user_data (data)); PraghaMtpPluginPrivate *priv = plugin->priv; - g_hash_table_remove_all (priv->tracks_table); + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); + + device_id = pragha_mtp_thread_opened_data_get_device_id (data); + friendly_name = pragha_mtp_thread_opened_data_get_friendly_name (data); + + if (!device_id) { + CDEBUG(DBG_INFO, "Mtp plugin fail to open device..."); + notification = pragha_app_notification_new (_("MTP Device"), _("Failed to open the MTP device. Try again.")); + pragha_app_notification_show (notification); + pragha_mtp_thread_opened_data_free (data); + pragha_mtp_clear_hook_device (plugin); + + return FALSE; + } + + priv->device_id = g_strdup (device_id); + priv->friend_name = g_strdup (friendly_name); + + pragha_mtp_detected_ask_action (plugin); + + pragha_mtp_thread_opened_data_free (data); + + return FALSE; } -static void -pragha_mtp_cache_insert_track (PraghaMtpPlugin *plugin, PraghaMusicobject *mobj) +static gboolean +pragha_mtp_plugin_close_device_idle (gpointer user_data) { + PraghaDatabaseProvider *provider; + PraghaMusicEnum *enum_map = NULL; + + PraghaMtpPlugin *plugin = PRAGHA_MTP_PLUGIN(user_data); PraghaMtpPluginPrivate *priv = plugin->priv; - const gchar *file = pragha_musicobject_get_file(mobj); + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); + + /* Remove music on playlist */ - if (string_is_empty(file)) - return; + enum_map = pragha_music_enum_get (); + pragha_music_enum_map_remove (enum_map, "MTP"); + g_object_unref (enum_map); + + /* Hide the provider but leave it as backup */ + + provider = pragha_database_provider_get (); + pragha_provider_set_visible (provider, priv->device_id, FALSE); + pragha_provider_update_done (provider); + g_object_unref (provider); + + /* Remove cache and clear the rest */ + + pragha_mtp_plugin_remove_menu_action (plugin); + pragha_mtp_clear_hook_device (plugin); - g_hash_table_insert (priv->tracks_table, - g_strdup(file), - mobj); + return FALSE; } -/* - * Menu actions - */ -static void -pragha_mtp_action_send_to_device (GtkAction *action, PraghaMtpPlugin *plugin) +static gboolean +pragha_mtp_plugin_tracklist_progress_idle (PraghaMtpThreadProgressData *data) { - PraghaPlaylist *playlist; - PraghaMusicobject *mobj = NULL; - LIBMTP_track_t *mtp_track; - LIBMTP_error_t *stack; - const gchar *file; - gint ret; + gchar *description = NULL; + guint progress, total; + PraghaMtpPlugin *plugin = PRAGHA_MTP_PLUGIN(pragha_mtp_thread_progress_data_get_user_data (data)); PraghaMtpPluginPrivate *priv = plugin->priv; - playlist = pragha_application_get_playlist (priv->pragha); - mobj = pragha_playlist_get_selected_musicobject (playlist); + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); - if (!mobj) - return; + progress = pragha_mtp_thread_progress_data_get_progress (data); + total = pragha_mtp_thread_progress_data_get_total (data); - file = pragha_musicobject_get_file (mobj); - mtp_track = mtp_track_new_from_pragha_musicobject (priv->mtp_device, mobj); + CDEBUG(DBG_PLUGIN, "Tracklist progress: %i of %i", progress, total); - ret = LIBMTP_Send_Track_From_File (priv->mtp_device, file, mtp_track, NULL, NULL); + description = g_strdup_printf(_("%i files found in the %s device"), progress, priv->friend_name); + pragha_background_task_widget_set_description (priv->task_widget, description); + g_free(description); - if (ret != 0) { - stack = LIBMTP_Get_Errorstack (priv->mtp_device); - CDEBUG(DBG_INFO, "unable to send track: %s", stack->error_text); + pragha_mtp_thread_progress_data_free(data); - if (stack->errornumber == LIBMTP_ERROR_STORAGE_FULL) { - CDEBUG(DBG_PLUGIN, "No space left on MTP device"); - } - else { - CDEBUG(DBG_PLUGIN, "Unable to send file to MTP device: %s", file); - } + return FALSE; +} + +static gboolean +pragha_mtp_plugin_tracklist_loaded_idle (PraghaMtpThreadTracklistData *data) +{ + PraghaBackgroundTaskBar *taskbar; + PraghaDatabase *database; + PraghaDatabaseProvider *provider; + PraghaAppNotification *notification; + PraghaMusicobject *mobj; + GList *list, *l; + + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); + + PraghaMtpPlugin *plugin = PRAGHA_MTP_PLUGIN(pragha_mtp_thread_tracklist_data_get_user_data (data)); + PraghaMtpPluginPrivate *priv = plugin->priv; + + list = pragha_mtp_thread_tracklist_data_get_list (data); - LIBMTP_Dump_Errorstack(priv->mtp_device); - LIBMTP_Clear_Errorstack(priv->mtp_device); + CDEBUG(DBG_PLUGIN, "Mtp plugin tracklist has %i tracks", g_list_length (list)); + + /* Save to database + * TODO: Merge changes instead replace songs. + */ + + database = pragha_database_get (); + provider = pragha_database_provider_get (); + if (pragha_database_find_provider (database, priv->device_id)) { + pragha_provider_forget_songs (provider, priv->device_id); } else { - mobj = pragha_musicobject_new_from_mtp_track (mtp_track); - if (G_LIKELY(mobj)) - pragha_mtp_cache_insert_track (plugin, mobj); + pragha_provider_add_new (provider, + priv->device_id, + "MTP", + priv->friend_name, + "multimedia-player"); + } - CDEBUG(DBG_INFO, "Added %s to MTP device", file); + for (l = list; l != NULL; l = l->next) { + mobj = PRAGHA_MUSICOBJECT(l->data); + if (G_LIKELY(mobj)) + pragha_database_add_new_musicobject (database, mobj); } - LIBMTP_destroy_track_t(mtp_track); + /* Inform to user */ + + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_remove_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + + notification = pragha_app_notification_new (priv->friend_name, _("You can interact with your MTP device")); + pragha_app_notification_set_timeout (notification, 5); + pragha_app_notification_show (notification); + + pragha_mtp_plugin_append_menu_action (plugin); + + pragha_provider_set_visible (provider, priv->device_id, TRUE); + pragha_provider_update_done (provider); + + /* Clean */ + + g_object_unref (database); + g_object_unref (provider); + + pragha_mtp_thread_tracklist_data_free(data); + + return FALSE; } -static void -pragha_mtp_action_append_songs (GtkAction *action, PraghaMtpPlugin *plugin) +static gboolean +pragha_mtp_plugin_device_download_idle (PraghaMtpThreadDownloadData *data) { - pragha_mtp_plugin_append_cache (plugin); + PraghaMtpPlugin *plugin = PRAGHA_MTP_PLUGIN(pragha_mtp_thread_download_data_get_user_data (data)); + PraghaMtpPluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); + + priv->dw_data = data; + + return FALSE; } -static void -pragha_mtp_action_show_device_info (GtkAction *action, PraghaMtpPlugin *plugin) +static gboolean +pragha_mtp_plugin_send_to_device_idle (PraghaMtpThreadUploadData *data) { - GtkWidget *dialog, *header, *table, *label; - LIBMTP_devicestorage_t *storage; - gchar *friend_label = NULL; - gchar *storage_size = NULL; - gchar *storage_free = NULL; - gchar *storage_string = NULL; + PraghaDatabase *database; + PraghaDatabaseProvider *provider; + PraghaAppNotification *notification; + PraghaMusicobject *mobj; + const gchar *error; + + PraghaMtpPlugin *plugin = PRAGHA_MTP_PLUGIN(pragha_mtp_thread_upload_data_get_user_data (data)); + PraghaMtpPluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); + + error = pragha_mtp_thread_upload_data_get_error (data); + if (error) { + notification = pragha_app_notification_new (priv->friend_name, _("Failed to send the song to the device.")); + pragha_app_notification_show (notification); + pragha_mtp_thread_upload_data_free (data); + return FALSE; + } + + mobj = pragha_mtp_thread_upload_data_get_musicobject (data); + if (G_LIKELY(mobj)) { + database = pragha_database_get (); + pragha_database_add_new_musicobject (database, mobj); + g_object_unref(database); + + notification = pragha_app_notification_new (priv->friend_name, _("The song was uploaded to your device.")); + pragha_app_notification_set_timeout (notification, 5); + pragha_app_notification_show (notification); + + provider = pragha_database_provider_get (); + pragha_provider_update_done (provider); + g_object_unref(provider); + } + + pragha_mtp_thread_upload_data_free (data); + + return FALSE; +} + +static gboolean +pragha_mtp_action_show_device_info_idle (PraghaMtpThreadStatsData *data) +{ + PraghaAppNotification *notification; + PraghaHeader *header; + GtkWidget *dialog, *table, *label; + gchar *storage_size = NULL, *storage_free = NULL, *storage_string = NULL; + guint64 storage_free_space, storage_capacity; + guint8 current_battery_level = 0, maximum_battery_level = 0; + gchar *battery_string; guint row = 0; + const gchar *error; + PraghaMtpPlugin *plugin = pragha_mtp_thread_stats_data_get_user_data (data); PraghaMtpPluginPrivate *priv = plugin->priv; - friend_label = LIBMTP_Get_Friendlyname (priv->mtp_device); - if (!friend_label) - friend_label = LIBMTP_Get_Modelname (priv->mtp_device); + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); + + error = pragha_mtp_thread_stats_data_get_error (data); + if (error) { + CDEBUG(DBG_INFO, "Mtp plugin get stats hass some error: %s", error); + notification = pragha_app_notification_new (priv->friend_name, _("We could not get the device information.")); + pragha_app_notification_show (notification); + pragha_mtp_thread_stats_data_free (data); + return FALSE; + } - dialog = gtk_dialog_new_with_buttons (friend_label, + dialog = gtk_dialog_new_with_buttons (priv->friend_name, GTK_WINDOW(pragha_application_get_window (priv->pragha)), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, _("_Ok"), GTK_RESPONSE_OK, NULL); - header = sokoke_xfce_header_new (friend_label, "multimedia-player"); + header = pragha_header_new (); + pragha_header_set_title (header, priv->friend_name); + pragha_header_set_icon_name (header, "multimedia-player"); table = pragha_hig_workarea_table_new (); - LIBMTP_Get_Storage (priv->mtp_device, LIBMTP_STORAGE_SORTBY_FREESPACE); - for (storage = priv->mtp_device->storage; storage != 0; storage = storage->next) { - pragha_hig_workarea_table_add_section_title (table, &row, storage->StorageDescription); + if (pragha_mtp_thread_stats_data_get_first_storage_description(data)) { + pragha_hig_workarea_table_add_section_title (table, &row, + pragha_mtp_thread_stats_data_get_first_storage_description(data)); + + storage_free_space = pragha_mtp_thread_stats_data_get_first_storage_free_space (data); + storage_capacity = pragha_mtp_thread_stats_data_get_first_storage_capacity (data); + + storage_free = g_format_size (storage_free_space); + storage_size = g_format_size (storage_capacity); + + storage_string = g_strdup_printf (_("%s free of %s (%d%% used)"), + storage_free, storage_size, + (gint) ((storage_capacity - storage_free_space) * 100 / storage_capacity)); + + label = gtk_label_new_with_mnemonic (storage_string); + + pragha_hig_workarea_table_add_wide_control (table, &row, label); + + g_free (storage_free); + g_free (storage_size); + g_free (storage_string); + } + + if (pragha_mtp_thread_stats_data_get_second_storage_description(data)) { + pragha_hig_workarea_table_add_section_title (table, &row, + pragha_mtp_thread_stats_data_get_second_storage_description(data)); - storage_free = g_format_size (storage->FreeSpaceInBytes); - storage_size = g_format_size (storage->MaxCapacity); + storage_free_space = pragha_mtp_thread_stats_data_get_second_storage_free_space (data); + storage_capacity = pragha_mtp_thread_stats_data_get_second_storage_capacity (data); + + storage_free = g_format_size (storage_free_space); + storage_size = g_format_size (storage_capacity); storage_string = g_strdup_printf (_("%s free of %s (%d%% used)"), storage_free, storage_size, - (gint) ((storage->MaxCapacity - storage->FreeSpaceInBytes) * 100 / storage->MaxCapacity)); + (gint) ((storage_capacity - storage_free_space) * 100 / storage_capacity)); label = gtk_label_new_with_mnemonic (storage_string); @@ -318,7 +534,22 @@ g_free (storage_string); } - gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), header, FALSE, FALSE, 0); + if (pragha_mtp_thread_stats_data_get_maximun_battery_level (data)) { + pragha_hig_workarea_table_add_section_title (table, &row, _("Battery level")); + + current_battery_level = pragha_mtp_thread_stats_data_get_current_battery_level (data); + maximum_battery_level = pragha_mtp_thread_stats_data_get_maximun_battery_level (data); + + battery_string = g_strdup_printf (_("%d%%"), (int) ((float)current_battery_level / (float)maximum_battery_level * 100)); + + label = gtk_label_new_with_mnemonic (battery_string); + + pragha_hig_workarea_table_add_wide_control (table, &row, label); + + g_free (battery_string); + } + + gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), GTK_WIDGET(header), FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), table, TRUE, TRUE, 0); g_signal_connect (G_OBJECT(dialog), "response", @@ -326,86 +557,134 @@ gtk_widget_show_all (dialog); - g_free (friend_label); + pragha_mtp_thread_stats_data_free (data); + + return FALSE; } + /* - * MTP plugin. + * User actions. */ + static void -pragha_mtp_plugin_append_menu_action (PraghaMtpPlugin *plugin) +pragha_mtp_detected_ask_action_response (GtkWidget *dialog, + gint response, + gpointer user_data) { - PraghaPlaylist *playlist; - GtkActionGroup *action_group; - GtkAction *action; - GActionMap *map; - gchar *friend_label = NULL; + PraghaBackgroundTaskBar *taskbar; + PraghaMtpPlugin *plugin = user_data; PraghaMtpPluginPrivate *priv = plugin->priv; - friend_label = LIBMTP_Get_Friendlyname (priv->mtp_device); - if (!friend_label) - friend_label = LIBMTP_Get_Modelname (priv->mtp_device); + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); - /* Menubar tools. */ + /* Destroy first due cache track is slow in main thread */ + gtk_widget_destroy (dialog); - action_group = gtk_action_group_new ("PraghaMenubarMtpActions"); - gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE); + switch (response) + { + case PRAGHA_DEVICE_RESPONSE_PLAY: + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_prepend_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + + pragha_mtp_thread_get_track_list (priv->device_thread, + G_SOURCE_FUNC (pragha_mtp_plugin_tracklist_loaded_idle), + G_SOURCE_FUNC (pragha_mtp_plugin_tracklist_progress_idle), + plugin); + break; + case PRAGHA_DEVICE_RESPONSE_NONE: + default: + pragha_mtp_clear_hook_device (plugin); + break; + } +} - gtk_action_group_add_actions (action_group, - mtp_menu_actions, - G_N_ELEMENTS (mtp_menu_actions), - plugin); +static void +pragha_mtp_detected_ask_action (PraghaMtpPlugin *plugin) +{ + GtkWidget *dialog; + gchar *message = NULL; - action = gtk_action_group_get_action (action_group, "MtpDevice"); - gtk_action_set_label(GTK_ACTION(action), friend_label); + PraghaMtpPluginPrivate *priv = plugin->priv; - priv->merge_id_menu = pragha_menubar_append_plugin_action (priv->pragha, - action_group, - mtp_menu_xml); - priv->action_group_menu = action_group; + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); - /* Gear Menu */ + message = g_strdup_printf (_("Do you want to manage the “%s” device with Pragha?"), priv->friend_name); - pragha_menubar_append_submenu (priv->pragha, "pragha-plugins-placeholder", - mtp_menu_ui, - "mtp-sudmenu", - friend_label, - plugin); + dialog = pragha_gudev_dialog_new (pragha_application_get_window (priv->pragha), + _("MTP Device"), "multimedia-player", + _("An MTP device was detected"), message, + _("Manage device"), PRAGHA_DEVICE_RESPONSE_PLAY); - map = G_ACTION_MAP (pragha_application_get_window(priv->pragha)); - g_action_map_add_action_entries (G_ACTION_MAP (map), - mtp_entries, G_N_ELEMENTS(mtp_entries), - plugin); + g_free(message); - /* Playlist sendto */ + g_signal_connect (G_OBJECT (dialog), "response", + G_CALLBACK (pragha_mtp_detected_ask_action_response), plugin); - action_group = gtk_action_group_new ("PraghaPlaylistMtpActions"); - gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE); + priv->ask_dialog = dialog; - gtk_action_group_add_actions (action_group, - mtp_sendto_actions, - G_N_ELEMENTS (mtp_sendto_actions), - plugin); + gtk_widget_show_all (dialog); +} - action = gtk_action_group_get_action (action_group, "Send to MTP"); - gtk_action_set_label(GTK_ACTION(action), friend_label); +static void +pragha_mtp_action_send_to_device (GtkAction *action, PraghaMtpPlugin *plugin) +{ + PraghaPlaylist *playlist; + PraghaMusicobject *mobj = NULL; + + PraghaMtpPluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); playlist = pragha_application_get_playlist (priv->pragha); - priv->merge_id_playlist = pragha_playlist_append_plugin_action (playlist, - action_group, - mtp_sendto_xml); - priv->action_group_playlist = action_group; + mobj = pragha_playlist_get_selected_musicobject (playlist); + + if (!mobj) + return; - g_free(friend_label); + pragha_mtp_thread_upload_track (priv->device_thread, + mobj, + G_SOURCE_FUNC (pragha_mtp_plugin_send_to_device_idle), + plugin); } -void +static void +pragha_mtp_action_disconnect_device (GtkAction *action, PraghaMtpPlugin *plugin) +{ + PraghaMtpPluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); + + pragha_mtp_thread_close_device (priv->device_thread, + pragha_mtp_plugin_close_device_idle, + plugin); +} + +static void +pragha_mtp_action_show_device_info (GtkAction *action, PraghaMtpPlugin *plugin) +{ + PraghaMtpPluginPrivate *priv = plugin->priv; + + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); + + pragha_mtp_thread_get_stats (priv->device_thread, + G_SOURCE_FUNC (pragha_mtp_action_show_device_info_idle), + plugin); +} + +/* + * PraghaBackend signals to playback. + */ +static void pragha_mtp_plugin_clean_source (PraghaBackend *backend, gpointer user_data) { PraghaMusicobject *mobj; gchar *tmp_filename = NULL; + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); + mobj = pragha_backend_get_musicobject (backend); if (!pragha_musicobject_is_mtp_file (mobj)) return; @@ -415,16 +694,20 @@ g_free (tmp_filename); } -void +static void pragha_mtp_plugin_prepare_source (PraghaBackend *backend, gpointer user_data) { + PraghaAppNotification *notification; PraghaMusicobject *mobj; gchar *tmp_filename = NULL, *uri = NULL; - gint track_id, ret = -1; + const gchar *error_msg = NULL; + gint track_id; PraghaMtpPlugin *plugin = user_data; PraghaMtpPluginPrivate *priv = plugin->priv; + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); + mobj = pragha_backend_get_musicobject (backend); if (!pragha_musicobject_is_mtp_file (mobj)) return; @@ -432,239 +715,223 @@ tmp_filename = pragha_mtp_plugin_get_temp_filename(mobj); track_id = pragha_mtp_plugin_get_track_id(mobj); - ret = LIBMTP_Get_Track_To_File (priv->mtp_device, - track_id, tmp_filename, - NULL, NULL); + pragha_mtp_thread_download_track (priv->device_thread, + track_id, + tmp_filename, + G_SOURCE_FUNC (pragha_mtp_plugin_device_download_idle), + NULL, + plugin); - if (ret == 0) { + CDEBUG(DBG_PLUGIN, "Mtp plugin waiting until download track done."); + + // FIXME: Maybe an ugly hack to syncronize download. + while (priv->dw_data == NULL) { + pragha_process_gtk_events (); + } + + error_msg = pragha_mtp_thread_download_data_get_error(priv->dw_data); + if (error_msg) { + CDEBUG(DBG_INFO, "Mtp plugin download track with some error: %s", error_msg); + notification = pragha_app_notification_new (priv->friend_name, _("Failed to download the song from device.")); + pragha_app_notification_show (notification); + } + else { + CDEBUG(DBG_INFO, "Mtp plugin download done. Try to reproduce it: %s", tmp_filename); uri = g_filename_to_uri (tmp_filename, NULL, NULL); pragha_backend_set_playback_uri (backend, uri); g_free(uri); } + + pragha_mtp_thread_download_data_free(priv->dw_data); g_free (tmp_filename); + + // Download and playback done. + priv->dw_data = NULL; } +/* + * PraghaDevices signals to handle device conections + */ static void -pragha_mtp_plugin_remove_menu_action (PraghaMtpPlugin *plugin) +pragha_mtp_plugin_device_added (PraghaDeviceClient *device_client, + PraghaDeviceType device_type, + GUdevDevice *u_device, + gpointer user_data) { - PraghaPlaylist *playlist; + PraghaAppNotification *notification; + LIBMTP_raw_device_t *raw_devices, *raw_device = NULL; + gint busnum = 0, devnum = 0, num_raw_devices = 0, i = 0; + PraghaMtpPlugin *plugin = user_data; PraghaMtpPluginPrivate *priv = plugin->priv; - if (!priv->merge_id_menu) - return; - - pragha_menubar_remove_plugin_action (priv->pragha, - priv->action_group_menu, - priv->merge_id_menu); - priv->merge_id_menu = 0; + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); - if (!priv->merge_id_playlist) + if (priv->device_hooked != 0) return; - playlist = pragha_application_get_playlist (priv->pragha); - pragha_playlist_remove_plugin_action (playlist, - priv->action_group_playlist, - priv->merge_id_playlist); - priv->merge_id_playlist = 0; - - pragha_menubar_remove_by_id (priv->pragha, - "pragha-plugins-placeholder", - "mtp-sudmenu"); -} - -static int -progressfunc (uint64_t const sent, uint64_t const total, void const *const data) -{ - /* Have to give control to GTK periodically ... */ - pragha_process_gtk_events (); - - return 0; -} + if (device_type != PRAGHA_DEVICE_MTP) + return; -static void -pragha_mtp_plugin_cache_tracks (PraghaMtpPlugin *plugin) -{ - LIBMTP_track_t *tracks, *track, *tmp; - PraghaMusicobject *mobj = NULL; + /* Get devices.. */ - PraghaMtpPluginPrivate *priv = plugin->priv; + busnum = g_udev_device_get_property_as_int (u_device, "BUSNUM"); + devnum = pragha_gudev_get_property_as_int (u_device, "DEVNUM", 10); - tracks = LIBMTP_Get_Tracklisting_With_Callback (priv->mtp_device, progressfunc, NULL); // Slow!. + notification = pragha_app_notification_new (_("MTP Device"), _("An MTP device was connected")); + pragha_app_notification_set_timeout (notification, 5); + pragha_app_notification_show (notification); - if (!tracks) - return; + /* Partial hook device */ - track = tracks; - while (track != NULL) { - mobj = pragha_musicobject_new_from_mtp_track (track); - if (G_LIKELY(mobj)) - pragha_mtp_cache_insert_track (plugin, mobj); + priv->bus_hooked = busnum; + priv->device_hooked = devnum; - tmp = track; - track = track->next; - LIBMTP_destroy_track_t(tmp); + /* Open device */ - /* Have to give control to GTK periodically ... */ - pragha_process_gtk_events (); - } + pragha_mtp_thread_open_device (priv->device_thread, + devnum, busnum, + G_SOURCE_FUNC (pragha_mtp_plugin_device_opened_idle), + plugin); } -static void -pragha_mtp_clear_hook_device (PraghaMtpPlugin *plugin) +void +pragha_mtp_plugin_device_removed (PraghaDeviceClient *device_client, + PraghaDeviceType device_type, + GUdevDevice *u_device, + gpointer user_data) { - PraghaMtpPluginPrivate *priv = plugin->priv; + PraghaAppNotification *notification; + guint64 busnum = 0; + guint64 devnum = 0; - if (priv->bus_hooked) - priv->bus_hooked = 0; - if (priv->device_hooked) - priv->device_hooked = 0; + PraghaMtpPlugin *plugin = PRAGHA_MTP_PLUGIN(user_data); + PraghaMtpPluginPrivate *priv = plugin->priv; - if (priv->u_device) { - g_object_unref (priv->u_device); - priv->u_device = NULL; - } - if (priv->mtp_device) { - LIBMTP_Release_Device (priv->mtp_device); - priv->mtp_device = NULL; - } -} + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); -static void -pragha_mtp_detected_ask_action_response (GtkWidget *dialog, - gint response, - gpointer user_data) -{ - PraghaMtpPlugin *plugin = user_data; + busnum = g_udev_device_get_property_as_uint64(u_device, "BUSNUM"); + devnum = pragha_gudev_get_property_as_int (u_device, "DEVNUM", 10); - switch (response) + if (busnum == priv->bus_hooked && devnum == priv->device_hooked) { - case PRAGHA_DEVICE_RESPONSE_PLAY: - pragha_mtp_plugin_append_cache (plugin); - break; - case PRAGHA_DEVICE_RESPONSE_NONE: - default: - break; + notification = pragha_app_notification_new (priv->friend_name, _("The device was disconnected.")); + pragha_app_notification_show (notification); + + if (priv->ask_dialog) { + gtk_widget_destroy (priv->ask_dialog); + priv->ask_dialog = NULL; + } + + pragha_mtp_thread_close_device (priv->device_thread, + pragha_mtp_plugin_close_device_idle, + plugin); } - gtk_widget_destroy (dialog); } -static void -pragha_mtp_detected_ask_action (PraghaMtpPlugin *plugin) -{ - GtkWidget *dialog; - dialog = pragha_gudev_dialog_new (NULL, _("MTP Device"), "multimedia-player", - _("Was inserted an MTP Device"), NULL, - _("Append songs of device"), PRAGHA_DEVICE_RESPONSE_PLAY); - - g_signal_connect (G_OBJECT (dialog), "response", - G_CALLBACK (pragha_mtp_detected_ask_action_response), plugin); - gtk_widget_show_all (dialog); -} +/* + * PraghaMtpPlugin implementation. + */ static void -pragha_mtp_plugin_device_added (PraghaDeviceClient *device_client, - PraghaDeviceType device_type, - GUdevDevice *u_device, - gpointer user_data) +pragha_mtp_plugin_append_menu_action (PraghaMtpPlugin *plugin) { - LIBMTP_raw_device_t *device_list, *raw_device = NULL; - LIBMTP_mtpdevice_t *mtp_device; - guint64 busnum = 0; - guint64 devnum = 0; - gint numdevs = 0; - gint i = 0; + PraghaPlaylist *playlist; + GtkActionGroup *action_group; + GtkAction *action; + GActionMap *map; - PraghaMtpPlugin *plugin = user_data; PraghaMtpPluginPrivate *priv = plugin->priv; - if (priv->mtp_device != NULL) - return; + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); - if (device_type != PRAGHA_DEVICE_MTP) - return; + /* Menubar tools. */ - /* Get devices.. */ + action_group = gtk_action_group_new ("PraghaMenubarMtpActions"); + gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE); - if (LIBMTP_Detect_Raw_Devices (&device_list, &numdevs) != LIBMTP_ERROR_NONE) - return; + gtk_action_group_add_actions (action_group, + mtp_menu_actions, + G_N_ELEMENTS (mtp_menu_actions), + plugin); - busnum = g_udev_device_get_property_as_uint64 (u_device, "BUSNUM"); - devnum = g_udev_device_get_property_as_uint64 (u_device, "DEVNUM"); + action = gtk_action_group_get_action (action_group, "MtpDevice"); + gtk_action_set_label(GTK_ACTION(action), priv->friend_name); - for (i = 0; i < numdevs; i++) { - if (device_list[i].bus_location == busnum && - device_list[i].devnum == devnum) { - raw_device = &device_list[i]; - break; - } - } - if (!raw_device) { - g_warning("No mach any mtp device with bus, testing first."); - raw_device = &device_list[0]; - } + priv->merge_id_menu = pragha_menubar_append_plugin_action (priv->pragha, + action_group, + mtp_menu_xml); + priv->action_group_menu = action_group; - if (!raw_device) { - g_free (device_list); - return; - } + /* Gear Menu */ - /* Get device and reorder by free space. */ + pragha_menubar_append_submenu (priv->pragha, "pragha-plugins-placeholder", + mtp_menu_ui, + "mtp-sudmenu", + priv->friend_name, + plugin); - mtp_device = LIBMTP_Open_Raw_Device(raw_device); // Slow!. - LIBMTP_Get_Storage (mtp_device, LIBMTP_STORAGE_SORTBY_FREESPACE); + map = G_ACTION_MAP (pragha_application_get_window(priv->pragha)); + g_action_map_add_action_entries (G_ACTION_MAP (map), + mtp_entries, G_N_ELEMENTS(mtp_entries), + plugin); - /* Hook device */ + /* Playlist sendto */ - priv->bus_hooked = busnum; - priv->device_hooked = devnum; - priv->u_device = g_object_ref (u_device); - priv->mtp_device = mtp_device; + action_group = gtk_action_group_new ("PraghaPlaylistMtpActions"); + gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE); - pragha_mtp_plugin_cache_tracks (plugin); + gtk_action_group_add_actions (action_group, + mtp_sendto_actions, + G_N_ELEMENTS (mtp_sendto_actions), + plugin); - pragha_mtp_detected_ask_action (plugin); - pragha_mtp_plugin_append_menu_action (plugin); + action = gtk_action_group_get_action (action_group, "Send to MTP"); + gtk_action_set_label(GTK_ACTION(action), priv->friend_name); - g_free (device_list); + playlist = pragha_application_get_playlist (priv->pragha); + priv->merge_id_playlist = pragha_playlist_append_plugin_action (playlist, + action_group, + mtp_sendto_xml); + priv->action_group_playlist = action_group; } -void -pragha_mtp_plugin_device_removed (PraghaDeviceClient *device_client, - PraghaDeviceType device_type, - GUdevDevice *u_device, - gpointer user_data) +static void +pragha_mtp_plugin_remove_menu_action (PraghaMtpPlugin *plugin) { - PraghaMusicEnum *enum_map = NULL; - guint64 busnum = 0; - guint64 devnum = 0; + PraghaPlaylist *playlist; - PraghaMtpPlugin *plugin = user_data; PraghaMtpPluginPrivate *priv = plugin->priv; - if (device_type != PRAGHA_DEVICE_MTP) + CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); + + if (!priv->merge_id_menu) return; - busnum = g_udev_device_get_property_as_uint64(u_device, "BUSNUM"); - devnum = g_udev_device_get_property_as_uint64(u_device, "DEVNUM"); + pragha_menubar_remove_plugin_action (priv->pragha, + priv->action_group_menu, + priv->merge_id_menu); + priv->merge_id_menu = 0; - if (busnum == priv->bus_hooked && devnum == priv->device_hooked) { - pragha_mtp_plugin_remove_menu_action (plugin); - pragha_mtp_cache_clear (plugin); - pragha_mtp_clear_hook_device (plugin); + if (!priv->merge_id_playlist) + return; - enum_map = pragha_music_enum_get (); - pragha_music_enum_map_remove (enum_map, "FILE_MTP"); - g_object_unref (enum_map); - } + playlist = pragha_application_get_playlist (priv->pragha); + pragha_playlist_remove_plugin_action (playlist, + priv->action_group_playlist, + priv->merge_id_playlist); + priv->merge_id_playlist = 0; + + pragha_menubar_remove_by_id (priv->pragha, + "pragha-plugins-placeholder", + "mtp-sudmenu"); } static void pragha_plugin_activate (PeasActivatable *activatable) { - PraghaDeviceClient *device_client; PraghaBackend *backend; PraghaMtpPlugin *plugin = PRAGHA_MTP_PLUGIN (activatable); @@ -679,26 +946,38 @@ g_free, g_object_unref); + priv->device_thread = pragha_mtp_thread_new (); + + /* New Task widget */ + + priv->cancellable = g_cancellable_new (); + + priv->task_widget = pragha_background_task_widget_new (_("Searching files to analyze"), + "multimedia-player", + 0, + priv->cancellable); + g_object_ref (G_OBJECT(priv->task_widget)); + + /* Connect signals */ + backend = pragha_application_get_backend (priv->pragha); g_signal_connect (backend, "prepare-source", G_CALLBACK(pragha_mtp_plugin_prepare_source), plugin); g_signal_connect (backend, "clean-source", G_CALLBACK(pragha_mtp_plugin_clean_source), plugin); - device_client = pragha_device_client_get(); - g_signal_connect (G_OBJECT(device_client), "device-added", + priv->device_client = pragha_device_client_get(); + g_signal_connect (G_OBJECT(priv->device_client), "device-added", G_CALLBACK(pragha_mtp_plugin_device_added), plugin); - g_signal_connect (G_OBJECT(device_client), "device-removed", + g_signal_connect (G_OBJECT(priv->device_client), "device-removed", G_CALLBACK(pragha_mtp_plugin_device_removed), plugin); - g_object_unref (device_client); - LIBMTP_Init (); } static void pragha_plugin_deactivate (PeasActivatable *activatable) { - PraghaDeviceClient *device_client; + PraghaDatabaseProvider *provider; PraghaBackend *backend; PraghaMtpPlugin *plugin = PRAGHA_MTP_PLUGIN (activatable); @@ -706,24 +985,50 @@ CDEBUG(DBG_PLUGIN, "Mtp plugin %s", G_STRFUNC); + /* Remove provider if user disable the plugin or hide it */ + + provider = pragha_database_provider_get (); + if (!pragha_plugins_engine_is_shutdown(pragha_application_get_plugins_engine(priv->pragha))) + { + if (priv->device_id) + { + pragha_provider_remove (provider, + priv->device_id); + pragha_provider_update_done (provider); + } + } + else + { + if (priv->device_id) + { + pragha_provider_set_visible (provider, priv->device_id, FALSE); + } + } + g_object_unref (provider); + + g_object_unref (priv->device_thread); + + /* Remove cache and clear the rest */ + pragha_mtp_plugin_remove_menu_action (plugin); - pragha_mtp_cache_clear (plugin); pragha_mtp_clear_hook_device (plugin); g_hash_table_destroy (priv->tracks_table); + g_object_unref(priv->cancellable); + + /* Disconnect signals */ backend = pragha_application_get_backend (priv->pragha); g_signal_handlers_disconnect_by_func (backend, pragha_mtp_plugin_prepare_source, plugin); g_signal_handlers_disconnect_by_func (backend, pragha_mtp_plugin_clean_source, plugin); - device_client = pragha_device_client_get(); - g_signal_handlers_disconnect_by_func (device_client, + g_signal_handlers_disconnect_by_func (priv->device_client, pragha_mtp_plugin_device_added, plugin); - g_signal_handlers_disconnect_by_func (device_client, + g_signal_handlers_disconnect_by_func (priv->device_client, pragha_mtp_plugin_device_removed, plugin); - g_object_unref (device_client); + g_object_unref (priv->device_client); priv->pragha = NULL; } diff -Nru pragha-1.3.3/plugins/mtp/pragha-mtp-musicobject.c pragha-1.3.992/plugins/mtp/pragha-mtp-musicobject.c --- pragha-1.3.3/plugins/mtp/pragha-mtp-musicobject.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/mtp/pragha-mtp-musicobject.c 2019-07-25 13:07:15.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2012-2014 matias */ +/* Copyright (C) 2012-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -30,6 +30,7 @@ #include "pragha-mtp-musicobject.h" + static gboolean is_valid_mime(const gchar *mime, const gchar **mlist) { @@ -42,6 +43,22 @@ return FALSE; } +static guint +mtp_track_get_year (const gchar *date) +{ + gchar *year_string = NULL; + guint year = 0; + + year_string = g_strndup (date, 4); + if (year_string) { + year = atoi (year_string); + g_free (year_string); + } + + // Minimal validate since some phones not implement it well. + return year > 1900 ? year : 0; +} + LIBMTP_track_t * mtp_track_new_from_pragha_musicobject (LIBMTP_mtpdevice_t *mtp_device, PraghaMusicobject *mobj) { @@ -109,8 +126,25 @@ { PraghaMusicEnum *enum_map = NULL; PraghaMusicobject *mobj = NULL; - gchar *uri = NULL; - + gchar *mime_type = NULL, *uri = NULL; + + /* First chech mime_type */ + + if (track->filetype == LIBMTP_FILETYPE_FLAC) + mime_type = g_strdup ("audio/x-flac"); + else if (track->filetype == LIBMTP_FILETYPE_MP3) + mime_type = g_strdup ("audio/mpeg"); + else if (track->filetype == LIBMTP_FILETYPE_OGG) + mime_type = g_strdup ("audio/ogg"); + else if (track->filetype == LIBMTP_FILETYPE_WAV) + mime_type = g_strdup ("audio/x-wav"); + else if (track->filetype == LIBMTP_FILETYPE_WMA) + mime_type = g_strdup ("audio/x-ms-wma"); + else if (track->filetype == LIBMTP_FILETYPE_MP4) + mime_type = g_strdup ("audio/x-m4a"); + else + return NULL; + uri = g_strdup_printf ("mtp://%i-%s", track->item_id, track->filename); CDEBUG(DBG_MOBJ, "Creating new musicobject to MTP: %s", uri); @@ -118,7 +152,8 @@ enum_map = pragha_music_enum_get(); mobj = g_object_new (PRAGHA_TYPE_MUSICOBJECT, "file", uri, - "source", pragha_music_enum_map_get(enum_map, "FILE_MTP"), + "mime-type", mime_type, + "source", pragha_music_enum_map_get(enum_map, "MTP"), NULL); g_object_unref (enum_map); @@ -128,6 +163,8 @@ pragha_musicobject_set_artist (mobj, track->artist); if (track->album) pragha_musicobject_set_album (mobj, track->album); + if (track->date) + pragha_musicobject_set_year (mobj, mtp_track_get_year (track->date)); if (track->genre) pragha_musicobject_set_genre (mobj, track->genre); if (track->duration) @@ -139,7 +176,8 @@ if (track->nochannels) pragha_musicobject_set_channels (mobj, track->nochannels); - g_free(uri); + g_free (uri); + g_free (mime_type); return mobj; } @@ -173,7 +211,7 @@ PraghaMusicSource file_source = FILE_NONE; enum_map = pragha_music_enum_get (); - file_source = pragha_music_enum_map_get(enum_map, "FILE_MTP"); + file_source = pragha_music_enum_map_get(enum_map, "MTP"); g_object_unref (enum_map); return (file_source == pragha_musicobject_get_source (mobj)); diff -Nru pragha-1.3.3/plugins/mtp/pragha-mtp-musicobject.h pragha-1.3.992/plugins/mtp/pragha-mtp-musicobject.h --- pragha-1.3.3/plugins/mtp/pragha-mtp-musicobject.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/mtp/pragha-mtp-musicobject.h 2019-07-23 01:19:14.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2012-2014 matias */ +/* Copyright (C) 2012-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -15,10 +15,11 @@ /* along with this program. If not, see . */ /*************************************************************************/ -#ifndef __PRAGHA_MTP_PLUGIN_H__ -#define __PRAGHA_MTP_PLUGIN_H__ +#ifndef __PRAGHA_MTP_MUSICOBJECT_H__ +#define __PRAGHA_MTP_MUSICOBJECT_H__ #include + #include "src/pragha-musicobject.h" G_BEGIN_DECLS @@ -32,4 +33,4 @@ G_END_DECLS -#endif /* __PRAGHA_MTP_PLUGIN_H__ */ \ No newline at end of file +#endif /* __PRAGHA_MTP_MUSICOBJECT_H__ */ diff -Nru pragha-1.3.3/plugins/mtp/pragha-mtp-thread.c pragha-1.3.992/plugins/mtp/pragha-mtp-thread.c --- pragha-1.3.3/plugins/mtp/pragha-mtp-thread.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/mtp/pragha-mtp-thread.c 2019-08-13 11:42:44.000000000 +0000 @@ -0,0 +1,784 @@ +/*************************************************************************/ +/* Copyright (C) 2019 matias */ +/* */ +/* Original code: Rhythmbox mtpdevice plugin */ +/* Copyright (C) 2009 Jonathan Matthew */ +/* - https://gitlab.gnome.org/GNOME/rhythmbox */ +/* - file:///rhythmbox/plugins/mtpdevice/rb-mtp-thread.c */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#if HAVE_CONFIG_H +#include +#endif + +#include +#include + +#include +#include + +#include "src/pragha-debug.h" +#include "src/pragha-utils.h" + +#include "pragha-mtp-thread-data.h" +#include "pragha-mtp-musicobject.h" + +#include "pragha-mtp-thread.h" + + +struct _PraghaMtpThread { + GObject parent; + + LIBMTP_mtpdevice_t *device; + + gchar *device_id; + + GThread *thread; + + GAsyncQueue *queue; +}; + +struct _PraghaMtpThreadClass { + GObjectClass parent; +}; + +G_DEFINE_TYPE(PraghaMtpThread, pragha_mtp_thread, G_TYPE_OBJECT) + + +/* + * Task definitions. + */ + +typedef enum { + OPEN_DEVICE = 1, + GET_TRACK_LIST, + GET_STATS, + DOWNLOAD_TRACK, + UPLOAD_TRACK, + CLOSE_DEVICE, + SHUTDOWN, +} PraghaMtpTaskType; + +typedef struct { + PraghaMtpTaskType task; + + guint devnum; + guint busnum; + + PraghaMusicobject *mobj; + + guint track_id; + gchar *filename; + + gpointer callback; + gpointer progress_callback; + gpointer user_data; +} PraghaMtpThreadTask; + +static char * +task_name (PraghaMtpThreadTask *task) +{ + switch (task->task) { + case OPEN_DEVICE: + return g_strdup ("open device"); + case GET_STATS: + return g_strdup ("get stats device"); + case GET_TRACK_LIST: + return g_strdup ("get track list"); + case DOWNLOAD_TRACK: + return g_strdup_printf ("download track %u to %s", + task->track_id, + task->filename[0] ? task->filename : ""); + case UPLOAD_TRACK: + return g_strdup_printf ("upload track"); + case CLOSE_DEVICE: + return g_strdup ("close device"); + case SHUTDOWN: + return g_strdup ("shutdown thread"); + default: + return g_strdup_printf ("unknown task type %d", task->task); + } +} + + +/* + * Tasks state machine... + */ + +static PraghaMtpThreadTask * +create_task (guint tasktype) +{ + PraghaMtpThreadTask *task = g_slice_new0 (PraghaMtpThreadTask); + task->task = tasktype; + return task; +} + +static void +destroy_task (PraghaMtpThreadTask *task) +{ + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + if (task->filename) { + g_free (task->filename); + } + + if (task->mobj) { + g_object_unref(G_OBJECT(task->mobj)); + } + + g_slice_free (PraghaMtpThreadTask, task); +} + +static void +queue_task (PraghaMtpThread *thread, PraghaMtpThreadTask *task) +{ + char *name = task_name (task); + CDEBUG(DBG_PLUGIN, "Mtp thread queueing task: %s", name); + g_free (name); + + g_async_queue_push (thread->queue, task); +} + +static void +open_device (PraghaMtpThread *thread, PraghaMtpThreadTask *task) +{ + PraghaMtpThreadOpenedData *data; + LIBMTP_raw_device_t *raw_devices; + LIBMTP_mtpdevice_t *device = NULL; + LIBMTP_devicestorage_t *storage; + gchar *device_id = NULL, *friendly_name = NULL; + guint64 freeSpace = 0; + gint num_raw_devices = 0, i = 0; + + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + LIBMTP_Detect_Raw_Devices (&raw_devices, &num_raw_devices); + for (i = 0; i < num_raw_devices; i++) + { + if (raw_devices[i].bus_location == task->busnum && + raw_devices[i].devnum == task->devnum) + { + /* + * Open device + */ + device = LIBMTP_Open_Raw_Device_Uncached (&raw_devices[i]); + if (device == NULL) + continue; + + /* + * Check storage and ignore just charging devices. + */ + if (!LIBMTP_Get_Storage (device, LIBMTP_STORAGE_SORTBY_FREESPACE)) { + LIBMTP_Dump_Errorstack (device); + LIBMTP_Clear_Errorstack (device); + } + for (storage = device->storage; storage != 0; storage = storage->next) { + freeSpace += storage->FreeSpaceInBytes; + } + if (!freeSpace) { + LIBMTP_Release_Device (device); + device = NULL; + } + + if (device != NULL) { + break; + } + } + } + + if (device) { + device_id = LIBMTP_Get_Serialnumber (device); + friendly_name = LIBMTP_Get_Friendlyname (device); + if (!friendly_name) + friendly_name = LIBMTP_Get_Modelname (device); + if (!friendly_name) + friendly_name = g_strdup (_("Unknown MTP device")); + + thread->device = device; + thread->device_id = g_strdup (device_id); + } + + data = pragha_mtp_thread_opened_data_new (task->user_data, device_id, friendly_name); + g_idle_add ((GSourceFunc) task->callback, data); + + g_free (device_id); + g_free (friendly_name); +} + +static void +get_stats (PraghaMtpThread *thread, PraghaMtpThreadTask *task) +{ + PraghaMtpThreadStatsData *data; + LIBMTP_devicestorage_t *storage; + guint storagei = 0; + gchar *first_storage_description = NULL; + guint64 first_storage_capacity, first_storage_free_space; + gchar *second_storage_description = NULL; + guint64 second_storage_capacity = 0, second_storage_free_space = 0; + guint8 maximum_battery_level = 0, current_battery_level = 0; + + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + LIBMTP_Get_Storage (thread->device, LIBMTP_STORAGE_SORTBY_FREESPACE); + for (storage = thread->device->storage; storage != 0; storage = storage->next, storagei++) { + if (storagei == 0) { + first_storage_description = g_strdup(storage->StorageDescription); + first_storage_capacity = storage->MaxCapacity; + first_storage_free_space = storage->FreeSpaceInBytes; + } + else if (storagei == 1) { + second_storage_description = g_strdup(storage->StorageDescription); + second_storage_capacity = storage->MaxCapacity; + second_storage_free_space = storage->FreeSpaceInBytes; + } + else { + CDEBUG(DBG_PLUGIN, "Mtp plugin we ignore the storage %s", storage->StorageDescription); + } + } + + if (!LIBMTP_Get_Batterylevel(thread->device, &maximum_battery_level, ¤t_battery_level)) { + // Silently ignore. Some devices does not support getting the battery level. + LIBMTP_Clear_Errorstack(thread->device); + } + + data = pragha_mtp_thread_stats_data_new (task->user_data, + first_storage_description, + first_storage_capacity, + first_storage_free_space, + second_storage_description, + second_storage_capacity, + second_storage_free_space, + maximum_battery_level, + current_battery_level, + NULL); + g_idle_add ((GSourceFunc) task->callback, data); + + g_free (first_storage_description); + g_free (second_storage_description); +} + +static GList * +get_track_list_recursive (PraghaMtpThread *thread, + PraghaMtpThreadTask *task, + guint storageid, + gint leaf, + GList *list) +{ + PraghaMtpThreadProgressData *data; + PraghaMusicobject *mobj = NULL; + LIBMTP_file_t *folders = NULL, *lfolder = NULL, *audios = NULL, *laudio = NULL; + LIBMTP_file_t *files, *file, *tmp; + gboolean nomedia = FALSE; + + files = LIBMTP_Get_Files_And_Folders (thread->device, + storageid, + leaf); + + if (!files) { + pragha_mtp_thread_report_errors (thread); + return list; + } + + file = files; + while (file != NULL) + { + if (file->filetype == LIBMTP_FILETYPE_FOLDER) + { + if (folders == NULL) + folders = lfolder = file; + else { + lfolder->next = file; + lfolder = lfolder->next; + } + } + else if (LIBMTP_FILETYPE_IS_AUDIO(file->filetype)) + { + if (audios == NULL) + audios = laudio = file; + else { + laudio->next = file; + laudio = laudio->next; + } + } + else { + if (g_ascii_strcasecmp(file->filename, ".nomedia") == 0) { + nomedia = TRUE; + break; + } + } + file = file->next; + } + + if (nomedia == FALSE) + { + /* Add folders recursively */ + file = folders; + while (file != NULL) { + list = get_track_list_recursive (thread, task, storageid, file->item_id, list); + file = file->next; + } + + /* Add music files */ + file = audios; + while (file != NULL) + { + LIBMTP_track_t *track; + track = LIBMTP_Get_Trackmetadata(thread->device, file->item_id); + if (G_LIKELY(track)) { + mobj = pragha_musicobject_new_from_mtp_track (track); + if (G_LIKELY(mobj)) { + pragha_musicobject_set_provider (mobj, thread->device_id); + list = g_list_prepend(list, mobj); + } + LIBMTP_destroy_track_t(track); + } + file = file->next; + } + } + + /* Clean memory. */ + file = files; + while (file != NULL) { + tmp = file; + file = file->next; + LIBMTP_destroy_file_t(tmp); + } + + data = pragha_mtp_thread_progress_data_new (task->user_data, + g_list_length (list), + 0); + g_idle_add ((GSourceFunc) task->progress_callback, data); + + return list; +} + +static void +get_track_list (PraghaMtpThread *thread, PraghaMtpThreadTask *task) +{ + PraghaMtpThreadTracklistData *data; + GList *list = NULL; + LIBMTP_devicestorage_t *storage; + + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + LIBMTP_Get_Storage (thread->device, LIBMTP_STORAGE_SORTBY_FREESPACE); + + for (storage = thread->device->storage; storage != NULL; storage = storage->next) { + list = get_track_list_recursive (thread, + task, + storage->id, + LIBMTP_FILES_AND_FOLDERS_ROOT, + list); + } + + if (!list) { + CDEBUG(DBG_PLUGIN, "Mtp plugin no tracks on the device"); + pragha_mtp_thread_report_errors (thread); + } + + data = pragha_mtp_thread_tracklist_data_new (task->user_data, list); + g_idle_add ((GSourceFunc) task->callback, data); +} + +static void +download_track (PraghaMtpThread *thread, + PraghaMtpThreadTask *task) +{ + PraghaMtpThreadDownloadData *data; + LIBMTP_file_t *fileinfo; + LIBMTP_error_t *stack; + + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + fileinfo = LIBMTP_Get_Filemetadata (thread->device, task->track_id); + if (fileinfo == NULL) { + stack = LIBMTP_Get_Errorstack (thread->device); + CDEBUG(DBG_PLUGIN, "Mtp thread unable to get track metadata for %u: %s", task->track_id, stack->error_text); + + data = pragha_mtp_thread_download_data_new (task->user_data, NULL, stack->error_text); + g_idle_add ((GSourceFunc) task->callback, data); + + LIBMTP_Clear_Errorstack (thread->device); + return; + } + + if (LIBMTP_Get_Track_To_File (thread->device, task->track_id, task->filename, NULL, NULL)) { + stack = LIBMTP_Get_Errorstack (thread->device); + CDEBUG(DBG_PLUGIN, "Mtp thread unable to copy file from MTP device: %s", stack->error_text); + + data = pragha_mtp_thread_download_data_new (task->user_data, NULL, stack->error_text); + g_idle_add ((GSourceFunc) task->callback, data); + + LIBMTP_Clear_Errorstack (thread->device); + return; + } + + data = pragha_mtp_thread_download_data_new (task->user_data, task->filename, NULL); + g_idle_add ((GSourceFunc) task->callback, data); +} + +static void +upload_track (PraghaMtpThread *thread, + PraghaMtpThreadTask *task) +{ + PraghaMtpThreadUploadData *data; + PraghaMusicobject *mobj; + LIBMTP_folder_t *folders, *music; + LIBMTP_track_t *track; + LIBMTP_error_t *stack; + const gchar *filename = NULL, *artist = NULL, *album = NULL; + guint32 storage_id, music_id, artist_id, album_id; + + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + /* + * Create an Music/Artist/Album tree to put the file, with fallback to root + */ + + folders = LIBMTP_Get_Folder_List (thread->device); + music = LIBMTP_Find_Folder (folders, thread->device->default_music_folder); + if (music) { + storage_id = music->storage_id; + music_id = music->folder_id; + } + else { + CDEBUG(DBG_PLUGIN, "unable to find default music folder"); + storage_id = thread->device->storage->id; + music_id = LIBMTP_Create_Folder (thread->device, + g_strdup(_("Music")), + LIBMTP_FILES_AND_FOLDERS_ROOT, storage_id); + if (music_id == 0) { + CDEBUG(DBG_PLUGIN, "couldn't create the Music folder"); + pragha_mtp_thread_report_errors (thread); + } + } + + artist = pragha_musicobject_get_artist (task->mobj); + artist_id = LIBMTP_Create_Folder (thread->device, + g_strdup(string_is_not_empty(artist) ? artist : _("Unknown Artist")), + music_id, storage_id); + if (artist_id == 0) { + CDEBUG(DBG_PLUGIN, "couldn't create the artist folder"); + pragha_mtp_thread_report_errors (thread); + } + + album = pragha_musicobject_get_album (task->mobj); + album_id = LIBMTP_Create_Folder (thread->device, + g_strdup(string_is_not_empty(album) ? album : _("Unknown Album")), + artist_id, storage_id); + if (album_id == 0) { + CDEBUG(DBG_PLUGIN, "couldn't create the album folder"); + pragha_mtp_thread_report_errors (thread); + } + + /* + * Create Track and upload it. + */ + filename = pragha_musicobject_get_file (task->mobj); + track = mtp_track_new_from_pragha_musicobject (thread->device, task->mobj); + + track->parent_id = album_id; + track->storage_id = storage_id; + + if (LIBMTP_Send_Track_From_File (thread->device, filename, track, NULL, NULL)) { + stack = LIBMTP_Get_Errorstack (thread->device); + + CDEBUG(DBG_PLUGIN, "Mtp thread unable to upload file to MTP device: %s", stack->error_text); + + data = pragha_mtp_thread_upload_data_new (task->user_data, NULL, stack->error_text); + g_idle_add ((GSourceFunc) task->callback, data); + + LIBMTP_Clear_Errorstack (thread->device); + + return; + } + + mobj = pragha_musicobject_new_from_mtp_track (track); + pragha_musicobject_set_provider (mobj, thread->device_id); + data = pragha_mtp_thread_upload_data_new (task->user_data, mobj, NULL); + g_idle_add ((GSourceFunc) task->callback, data); + + LIBMTP_destroy_track_t (track); + LIBMTP_destroy_folder_t (folders); +} + +static void +close_device (PraghaMtpThread *thread, PraghaMtpThreadTask *task) +{ + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + if (thread->device != NULL) { + LIBMTP_Release_Device (thread->device); + thread->device = NULL; + } + + if (thread->device_id != NULL) { + g_free (thread->device_id); + thread->device_id = NULL; + } + + g_idle_add ((GSourceFunc) task->callback, task->user_data); +} + +static gboolean +run_task (PraghaMtpThread *thread, PraghaMtpThreadTask *task) +{ + char *name = task_name (task); + CDEBUG(DBG_PLUGIN, "Mtp thread running task: %s", name); + g_free (name); + + switch (task->task) { + case OPEN_DEVICE: + open_device (thread, task); + break; + case GET_STATS: + get_stats (thread, task); + break; + case GET_TRACK_LIST: + get_track_list (thread, task); + break; + case DOWNLOAD_TRACK: + download_track (thread, task); + break; + case UPLOAD_TRACK: + upload_track (thread, task); + break; + case CLOSE_DEVICE: + close_device (thread, task); + break; + case SHUTDOWN: + return TRUE; + default: + g_assert_not_reached (); + } + + return FALSE; +} + +static gpointer +task_thread (PraghaMtpThread *thread) +{ + PraghaMtpThreadTask *task; + gboolean quit = FALSE; + + GAsyncQueue *queue = g_async_queue_ref (thread->queue); + + CDEBUG(DBG_PLUGIN, "Mtp thread worker starting"); + + while (quit == FALSE) { + task = g_async_queue_pop (queue); + quit = run_task (thread, task); + destroy_task (task); + } + + CDEBUG(DBG_PLUGIN, "Mtp thread worker exiting"); + + /* clean up any queued tasks */ + while ((task = g_async_queue_try_pop (queue)) != NULL) + destroy_task (task); + + g_async_queue_unref (queue); + + return NULL; +} + + +/* + * Public functions + */ + +void +pragha_mtp_thread_open_device (PraghaMtpThread *thread, + guint devnum, + guint busnum, + GSourceFunc finish_func, + gpointer data) +{ + PraghaMtpThreadTask *task = create_task (OPEN_DEVICE); + + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + task->devnum = devnum; + task->busnum = busnum; + task->callback = finish_func; + task->user_data = data; + + queue_task (thread, task); +} + +void +pragha_mtp_thread_get_stats (PraghaMtpThread *thread, + GSourceFunc finish_func, + gpointer data) +{ + PraghaMtpThreadTask *task = create_task (GET_STATS); + + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + task->callback = finish_func; + task->user_data = data; + + queue_task (thread, task); +} + +void +pragha_mtp_thread_get_track_list (PraghaMtpThread *thread, + GSourceFunc finish_func, + GSourceFunc progress_func, + gpointer data) +{ + PraghaMtpThreadTask *task = create_task (GET_TRACK_LIST); + + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + task->callback = finish_func; + task->progress_callback = progress_func; + task->user_data = data; + + queue_task (thread, task); +} + +void +pragha_mtp_thread_download_track (PraghaMtpThread *thread, + guint track_id, + gchar *filename, + GSourceFunc finish_func, + GSourceFunc progress_func, + gpointer data) +{ + PraghaMtpThreadTask *task = create_task (DOWNLOAD_TRACK); + + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + task->track_id = track_id; + task->filename = g_strdup(filename); + task->callback = finish_func; + task->progress_callback = progress_func; + task->user_data = data; + + queue_task (thread, task); +} + +void +pragha_mtp_thread_upload_track (PraghaMtpThread *thread, + PraghaMusicobject *mobj, + GSourceFunc finish_func, + gpointer data) +{ + PraghaMtpThreadTask *task = create_task (UPLOAD_TRACK); + + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + task->mobj = g_object_ref(mobj); + task->callback = finish_func; + task->user_data = data; + + queue_task (thread, task); +} + +void +pragha_mtp_thread_close_device (PraghaMtpThread *thread, + GSourceFunc finish_func, + gpointer data) +{ + PraghaMtpThreadTask *task = create_task (CLOSE_DEVICE); + + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + task->callback = finish_func; + task->user_data = data; + + queue_task (thread, task); +} + +void +pragha_mtp_thread_report_errors (PraghaMtpThread *thread) +{ + LIBMTP_error_t *stack; + + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + for (stack = LIBMTP_Get_Errorstack (thread->device); stack != NULL; stack = stack->next) { + g_warning ("libmtp error: %s", stack->error_text); + } + + LIBMTP_Clear_Errorstack (thread->device); +} + + +/* + * GObject things + */ + +static void +impl_finalize (GObject *object) +{ + PraghaMtpThread *thread = PRAGHA_MTP_THREAD (object); + PraghaMtpThreadTask *task; + + CDEBUG(DBG_PLUGIN, "Mtp thread killing MTP worker thread"); + + task = create_task (SHUTDOWN); + queue_task (thread, task); + + if (thread->thread != g_thread_self ()) { + g_thread_join (thread->thread); + CDEBUG(DBG_PLUGIN, "Mtp thread MTP worker thread exited"); + } else { + CDEBUG(DBG_PLUGIN, "Mtp thread we're on the MTP worker thread.."); + } + + g_async_queue_unref (thread->queue); + + if (thread->device != NULL) { + LIBMTP_Release_Device (thread->device); + } + + if (thread->device_id != NULL) { + g_free(thread->device_id); + } + + G_OBJECT_CLASS (pragha_mtp_thread_parent_class)->finalize (object); +} + +static void +pragha_mtp_thread_init (PraghaMtpThread *thread) +{ + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + LIBMTP_Init (); + + thread->queue = g_async_queue_new (); + + thread->thread = g_thread_new ("pragha-mtp", (GThreadFunc) task_thread, thread); +} + +static void +pragha_mtp_thread_class_init (PraghaMtpThreadClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + + object_class->finalize = impl_finalize; +} + +PraghaMtpThread * +pragha_mtp_thread_new (void) +{ + CDEBUG(DBG_PLUGIN, "Mtp thread %s", G_STRFUNC); + + return g_object_new (PRAGHA_TYPE_MTP_THREAD, NULL); +} + diff -Nru pragha-1.3.3/plugins/mtp/pragha-mtp-thread-data.c pragha-1.3.992/plugins/mtp/pragha-mtp-thread-data.c --- pragha-1.3.3/plugins/mtp/pragha-mtp-thread-data.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/mtp/pragha-mtp-thread-data.c 2019-07-22 14:13:11.000000000 +0000 @@ -0,0 +1,397 @@ +/*************************************************************************/ +/* Copyright (C) 2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#if HAVE_CONFIG_H +#include +#endif + +#include +#include + +#include + +#include "src/pragha-musicobject.h" + +#include "pragha-mtp-thread-data.h" + +/* + * PraghaMtpThreadOpenedData * + */ +struct _PraghaMtpThreadOpenedData { + gpointer user_data; + gchar *device_id; + gchar *friendly_name; +}; + +PraghaMtpThreadOpenedData * +pragha_mtp_thread_opened_data_new (gpointer user_data, + const gchar *device_id, + const gchar *friendly_name) +{ + PraghaMtpThreadOpenedData *data; + + data = g_slice_new (PraghaMtpThreadOpenedData); + + data->user_data = user_data; + data->device_id = g_strdup(device_id); + data->friendly_name = g_strdup(friendly_name); + + return data; +} + +void +pragha_mtp_thread_opened_data_free (PraghaMtpThreadOpenedData *data) +{ + g_free (data->device_id); + g_free (data->friendly_name); + + g_slice_free (PraghaMtpThreadOpenedData, data); +} + +gpointer +pragha_mtp_thread_opened_data_get_user_data (PraghaMtpThreadOpenedData *data) +{ + return data->user_data; +} + +const gchar * +pragha_mtp_thread_opened_data_get_device_id (PraghaMtpThreadOpenedData *data) +{ + return data->device_id; +} + +const gchar * +pragha_mtp_thread_opened_data_get_friendly_name (PraghaMtpThreadOpenedData *data) +{ + return data->friendly_name; +} + + +/* + * PraghaMtpThreadTracklistData * + */ +struct _PraghaMtpThreadTracklistData { + gpointer user_data; + GList *list; +}; + +PraghaMtpThreadTracklistData * +pragha_mtp_thread_tracklist_data_new (gpointer user_data, + GList *list) +{ + PraghaMtpThreadTracklistData *data; + + data = g_slice_new (PraghaMtpThreadTracklistData); + + data->user_data = user_data; + data->list = list; + + return data; +} + +void +pragha_mtp_thread_tracklist_data_free (PraghaMtpThreadTracklistData *data) +{ + g_slice_free (PraghaMtpThreadTracklistData, data); +} + +gpointer +pragha_mtp_thread_tracklist_data_get_user_data (PraghaMtpThreadTracklistData *data) +{ + return data->user_data; +} + +GList * +pragha_mtp_thread_tracklist_data_get_list (PraghaMtpThreadTracklistData *data) +{ + return data->list; +} + + +/* + * PraghaMtpThreadProgressData * + */ +struct _PraghaMtpThreadProgressData { + gpointer user_data; + guint progress; + guint total; +}; + +PraghaMtpThreadProgressData * +pragha_mtp_thread_progress_data_new (gpointer user_data, + guint progress, + guint total) +{ + PraghaMtpThreadProgressData *data; + + data = g_slice_new (PraghaMtpThreadProgressData); + + data->user_data = user_data; + data->progress = progress; + data->total = total; + + return data; +} + +void +pragha_mtp_thread_progress_data_free (PraghaMtpThreadProgressData *data) +{ + g_slice_free (PraghaMtpThreadProgressData, data); +} + +gpointer +pragha_mtp_thread_progress_data_get_user_data (PraghaMtpThreadProgressData *data) +{ + return data->user_data; +} + +guint +pragha_mtp_thread_progress_data_get_progress (PraghaMtpThreadProgressData *data) +{ + return data->progress; +} + +guint +pragha_mtp_thread_progress_data_get_total (PraghaMtpThreadProgressData *data) +{ + return data->total; +} + + +/* + * PraghaMtpThreadDownloadData * + */ +struct _PraghaMtpThreadDownloadData { + gpointer user_data; + gchar *filename; + gchar *error; +}; + +PraghaMtpThreadDownloadData * +pragha_mtp_thread_download_data_new (gpointer user_data, + const gchar *filename, + const gchar *error) +{ + PraghaMtpThreadDownloadData *data; + + data = g_slice_new (PraghaMtpThreadDownloadData); + + data->user_data = user_data; + data->filename = g_strdup(filename); + data->error = g_strdup (error); + + return data; +} + +void +pragha_mtp_thread_download_data_free (PraghaMtpThreadDownloadData *data) +{ + g_free (data->filename); + g_free (data->error); + + g_slice_free (PraghaMtpThreadDownloadData, data); +} + +gpointer +pragha_mtp_thread_download_data_get_user_data (PraghaMtpThreadDownloadData *data) +{ + return data->user_data; +} + +const gchar * +pragha_mtp_thread_download_data_get_filename (PraghaMtpThreadDownloadData *data) +{ + return data->filename; +} + +const gchar * +pragha_mtp_thread_download_data_get_error (PraghaMtpThreadDownloadData *data) +{ + return data->error; +} + + +/* + * PraghaMtpThreadUploadData * + */ +struct _PraghaMtpThreadUploadData { + gpointer user_data; + PraghaMusicobject *mobj; + gchar *error; +}; + +PraghaMtpThreadUploadData * +pragha_mtp_thread_upload_data_new (gpointer user_data, + PraghaMusicobject *mobj, + const gchar *error) +{ + PraghaMtpThreadUploadData *data; + + data = g_slice_new (PraghaMtpThreadUploadData); + + data->user_data = user_data; + if (mobj) + data->mobj = g_object_ref(mobj); + data->error = g_strdup (error); + + return data; +} + +void +pragha_mtp_thread_upload_data_free (PraghaMtpThreadUploadData *data) +{ + if (data->mobj) + g_object_unref (data->mobj); + g_free (data->error); + + g_slice_free (PraghaMtpThreadUploadData, data); +} + +gpointer +pragha_mtp_thread_upload_data_get_user_data (PraghaMtpThreadUploadData *data) +{ + return data->user_data; +} + +PraghaMusicobject * +pragha_mtp_thread_upload_data_get_musicobject (PraghaMtpThreadUploadData *data) +{ + return data->mobj; +} + +const gchar * +pragha_mtp_thread_upload_data_get_error (PraghaMtpThreadUploadData *data) +{ + return data->error; +} + +/* + * PraghaMtpThreadStatsData * + */ +struct _PraghaMtpThreadStatsData { + gpointer user_data; + gchar *first_storage_description; + guint64 first_storage_capacity; + guint64 first_storage_free_space; + gchar *second_storage_description; + guint64 second_storage_capacity; + guint64 second_storage_free_space; + guint8 maximum_battery_level; + guint8 current_battery_level; + gchar *error; +}; + +PraghaMtpThreadStatsData * +pragha_mtp_thread_stats_data_new (gpointer user_data, + const gchar *first_storage_description, + guint64 first_storage_capacity, + guint64 first_storage_free_space, + const gchar *second_storage_description, + guint64 second_storage_capacity, + guint64 second_storage_free_space, + guint8 maximum_battery_level, + guint8 current_battery_level, + const gchar *error) +{ + PraghaMtpThreadStatsData *data; + + data = g_slice_new (PraghaMtpThreadStatsData); + + data->user_data = user_data; + data->first_storage_description = g_strdup (first_storage_description); + data->first_storage_capacity = first_storage_capacity; + data->first_storage_free_space = first_storage_free_space; + data->second_storage_description = g_strdup (second_storage_description); + data->second_storage_capacity = second_storage_capacity; + data->second_storage_free_space = second_storage_free_space; + data->maximum_battery_level = maximum_battery_level; + data->current_battery_level = current_battery_level; + data->error = g_strdup (error); + + return data; +} + +void +pragha_mtp_thread_stats_data_free (PraghaMtpThreadStatsData *data) +{ + g_free (data->first_storage_description); + g_free (data->second_storage_description); + g_free (data->error); + + g_slice_free (PraghaMtpThreadStatsData, data); +} + +gpointer +pragha_mtp_thread_stats_data_get_user_data (PraghaMtpThreadStatsData *data) +{ + return data->user_data; +} + +const gchar * +pragha_mtp_thread_stats_data_get_first_storage_description (PraghaMtpThreadStatsData *data) +{ + return data->first_storage_description; +} + +guint64 +pragha_mtp_thread_stats_data_get_first_storage_capacity (PraghaMtpThreadStatsData *data) +{ + return data->first_storage_capacity; +} + +guint64 +pragha_mtp_thread_stats_data_get_first_storage_free_space (PraghaMtpThreadStatsData *data) +{ + return data->first_storage_free_space; +} + +const gchar * +pragha_mtp_thread_stats_data_get_second_storage_description (PraghaMtpThreadStatsData *data) +{ + return data->second_storage_description; +} + +guint64 +pragha_mtp_thread_stats_data_get_second_storage_capacity (PraghaMtpThreadStatsData *data) +{ + return data->second_storage_capacity; +} + +guint64 +pragha_mtp_thread_stats_data_get_second_storage_free_space (PraghaMtpThreadStatsData *data) +{ + return data->second_storage_free_space; +} + +guint8 +pragha_mtp_thread_stats_data_get_maximun_battery_level (PraghaMtpThreadStatsData *data) +{ + return data->maximum_battery_level; +} + +guint8 +pragha_mtp_thread_stats_data_get_current_battery_level (PraghaMtpThreadStatsData *data) +{ + return data->current_battery_level; +} + +const gchar * +pragha_mtp_thread_stats_data_get_error (PraghaMtpThreadStatsData *data) +{ + return data->error; +} + diff -Nru pragha-1.3.3/plugins/mtp/pragha-mtp-thread-data.h pragha-1.3.992/plugins/mtp/pragha-mtp-thread-data.h --- pragha-1.3.3/plugins/mtp/pragha-mtp-thread-data.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/mtp/pragha-mtp-thread-data.h 2019-07-25 12:29:15.000000000 +0000 @@ -0,0 +1,192 @@ +/*************************************************************************/ +/* Copyright (C) 2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#include + +#include +#include +#include + +#include "src/pragha-musicobject.h" + +#ifndef __PRAGHA_MTP_THREAD_DATA_H +#define __PRAGHA_MTP_THREAD_DATA_H + +/* + * PraghaMtpThreadOpenedData * + */ +typedef struct _PraghaMtpThreadOpenedData PraghaMtpThreadOpenedData; + +PraghaMtpThreadOpenedData * +pragha_mtp_thread_opened_data_new (gpointer user_data, + const gchar *device_id, + const gchar *friendly_name); + +void +pragha_mtp_thread_opened_data_free (PraghaMtpThreadOpenedData *data); + +gpointer +pragha_mtp_thread_opened_data_get_user_data (PraghaMtpThreadOpenedData *data); + +const gchar * +pragha_mtp_thread_opened_data_get_device_id (PraghaMtpThreadOpenedData *data); + +const gchar * +pragha_mtp_thread_opened_data_get_friendly_name (PraghaMtpThreadOpenedData *data); + + +/* + * PraghaMtpThreadTracklistData * + */ +typedef struct _PraghaMtpThreadTracklistData PraghaMtpThreadTracklistData; + +PraghaMtpThreadTracklistData * +pragha_mtp_thread_tracklist_data_new (gpointer user_data, + GList *list); + +void +pragha_mtp_thread_tracklist_data_free (PraghaMtpThreadTracklistData *data); + +gpointer +pragha_mtp_thread_tracklist_data_get_user_data (PraghaMtpThreadTracklistData *data); + +GList * +pragha_mtp_thread_tracklist_data_get_list (PraghaMtpThreadTracklistData *data); + + +/* + * PraghaMtpThreadProgressData * + */ +typedef struct _PraghaMtpThreadProgressData PraghaMtpThreadProgressData; + + +PraghaMtpThreadProgressData * +pragha_mtp_thread_progress_data_new (gpointer user_data, + guint progress, + guint total); + +void +pragha_mtp_thread_progress_data_free (PraghaMtpThreadProgressData *data); + +gpointer +pragha_mtp_thread_progress_data_get_user_data (PraghaMtpThreadProgressData *data); + +guint +pragha_mtp_thread_progress_data_get_progress (PraghaMtpThreadProgressData *data); + +guint +pragha_mtp_thread_progress_data_get_total (PraghaMtpThreadProgressData *data); + + +/* + * PraghaMtpThreadDownloadData * + */ +typedef struct _PraghaMtpThreadDownloadData PraghaMtpThreadDownloadData; + +PraghaMtpThreadDownloadData * +pragha_mtp_thread_download_data_new (gpointer user_data, + const gchar *filename, + const gchar *error); + +void +pragha_mtp_thread_download_data_free (PraghaMtpThreadDownloadData *data); + +gpointer +pragha_mtp_thread_download_data_get_user_data (PraghaMtpThreadDownloadData *data); + +const gchar * +pragha_mtp_thread_download_data_get_filename (PraghaMtpThreadDownloadData *data); + +const gchar * +pragha_mtp_thread_download_data_get_error (PraghaMtpThreadDownloadData *data); + + +/* + * PraghaMtpThreadUploadData * + */ +typedef struct _PraghaMtpThreadUploadData PraghaMtpThreadUploadData; + +PraghaMtpThreadUploadData * +pragha_mtp_thread_upload_data_new (gpointer user_data, + PraghaMusicobject *mobj, + const gchar *error); + +void +pragha_mtp_thread_upload_data_free (PraghaMtpThreadUploadData *data); + +gpointer +pragha_mtp_thread_upload_data_get_user_data (PraghaMtpThreadUploadData *data); + +PraghaMusicobject * +pragha_mtp_thread_upload_data_get_musicobject (PraghaMtpThreadUploadData *data); + +const gchar * +pragha_mtp_thread_upload_data_get_error (PraghaMtpThreadUploadData *data); + + +/* + * PraghaMtpThreadStatsData * + */ +typedef struct _PraghaMtpThreadStatsData PraghaMtpThreadStatsData; + +PraghaMtpThreadStatsData * +pragha_mtp_thread_stats_data_new (gpointer user_data, + const gchar *first_storage_description, + guint64 first_storage_capacity, + guint64 first_storage_free_space, + const gchar *second_storage_description, + guint64 second_storage_capacity, + guint64 second_storage_free_space, + guint8 maximum_battery_level, + guint8 current_battery_level, + const gchar *error); + +void +pragha_mtp_thread_stats_data_free (PraghaMtpThreadStatsData *data); + +gpointer +pragha_mtp_thread_stats_data_get_user_data (PraghaMtpThreadStatsData *data); + +const gchar * +pragha_mtp_thread_stats_data_get_first_storage_description (PraghaMtpThreadStatsData *data); + +guint64 +pragha_mtp_thread_stats_data_get_first_storage_capacity (PraghaMtpThreadStatsData *data); + +guint64 +pragha_mtp_thread_stats_data_get_first_storage_free_space (PraghaMtpThreadStatsData *data); + +const gchar * +pragha_mtp_thread_stats_data_get_second_storage_description (PraghaMtpThreadStatsData *data); + +guint64 +pragha_mtp_thread_stats_data_get_second_storage_capacity (PraghaMtpThreadStatsData *data); + +guint64 +pragha_mtp_thread_stats_data_get_second_storage_free_space (PraghaMtpThreadStatsData *data); + +guint8 +pragha_mtp_thread_stats_data_get_maximun_battery_level (PraghaMtpThreadStatsData *data); + +guint8 +pragha_mtp_thread_stats_data_get_current_battery_level (PraghaMtpThreadStatsData *data); + +const gchar * +pragha_mtp_thread_stats_data_get_error (PraghaMtpThreadStatsData *data); + +#endif // __PRAGHA_MTP_THREAD_DATA_H + diff -Nru pragha-1.3.3/plugins/mtp/pragha-mtp-thread.h pragha-1.3.992/plugins/mtp/pragha-mtp-thread.h --- pragha-1.3.3/plugins/mtp/pragha-mtp-thread.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/mtp/pragha-mtp-thread.h 2019-07-25 23:19:52.000000000 +0000 @@ -0,0 +1,92 @@ +/*************************************************************************/ +/* Copyright (C) 2019 matias */ +/* */ +/* Original code: Rhythmbox mtpdevice plugin */ +/* Copyright (C) 2009 Jonathan Matthew */ +/* - https://gitlab.gnome.org/GNOME/rhythmbox */ +/* - file:///rhythmbox/plugins/mtpdevice/rb-mtp-thread.c */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#include + +#include +#include +#include + +#include "src/pragha-musicobject.h" + +#ifndef __PRAGHA_MTP_THREAD_H +#define __PRAGHA_MTP_THREAD_H + +#define PRAGHA_TYPE_MTP_THREAD (pragha_mtp_thread_get_type ()) +#define PRAGHA_MTP_THREAD(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PRAGHA_TYPE_MTP_THREAD, PraghaMtpThread)) +#define PRAGHA_MTP_THREAD_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PRAGHA_TYPE_MTP_THREAD, PraghaMtpThreadClass)) +#define PRAGHA_IS_MTP_THREAD(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PRAGHA_TYPE_MTP_THREAD)) +#define PRAGHA_IS_MTP_THREAD_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PRAGHA_TYPE_MTP_THREAD)) +#define PRAGHA_MTP_THREAD_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PRAGHA_TYPE_MTP_THREAD, PraghaMtpThreadClass)) + +typedef struct _PraghaMtpThread PraghaMtpThread; +typedef struct _PraghaMtpThreadClass PraghaMtpThreadClass; + +/* + * Public functions. + */ + +PraghaMtpThread * +pragha_mtp_thread_new (void); + +void +pragha_mtp_thread_open_device (PraghaMtpThread *thread, + guint devnum, + guint busnum, + GSourceFunc finish_func, + gpointer user_data); + +void +pragha_mtp_thread_get_stats (PraghaMtpThread *thread, + GSourceFunc finish_func, + gpointer user_data); + +void +pragha_mtp_thread_get_track_list (PraghaMtpThread *thread, + GSourceFunc finish_func, + GSourceFunc progress_func, + gpointer user_data); + +void +pragha_mtp_thread_download_track (PraghaMtpThread *thread, + guint track_id, + gchar *filename, + GSourceFunc finish_func, + GSourceFunc progress_func, + gpointer data); + +void +pragha_mtp_thread_upload_track (PraghaMtpThread *thread, + PraghaMusicobject *mobj, + GSourceFunc finish_func, + gpointer data); + +void +pragha_mtp_thread_close_device (PraghaMtpThread *thread, + GSourceFunc finish_func, + gpointer data); + +void +pragha_mtp_thread_report_errors (PraghaMtpThread *thread); + +#endif // __PRAGHA_MTP_THREAD_H + diff -Nru pragha-1.3.3/plugins/notify/Makefile.am pragha-1.3.992/plugins/notify/Makefile.am --- pragha-1.3.3/plugins/notify/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/notify/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -12,42 +12,14 @@ libnotify_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libnotify_la_CFLAGS = \ - $(LIBGLYR_CFLAGS) \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBNOTIFY_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall - -libnotify_la_LIBADD = \ - $(LIBGLYR_LIBS) \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBNOTIFY_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) - -if HAVE_GSTREAMER_AUDIO -libnotify_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libnotify_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -libnotify_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libnotify_la_LIBADD += $(LIBXFCE4UI_LIBS) -endif +libnotify_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBNOTIFY_CFLAGS) + +libnotify_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBNOTIFY_LIBS) \ + $(top_builddir)/src/libpragha.la plugin_DATA = notify.plugin diff -Nru pragha-1.3.3/plugins/notify/Makefile.in pragha-1.3.992/plugins/notify/Makefile.in --- pragha-1.3.3/plugins/notify/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/notify/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,826 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/notify +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libnotify_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(top_builddir)/src/libpragha.la +am_libnotify_la_OBJECTS = libnotify_la-pragha-notify-plugin.lo +libnotify_la_OBJECTS = $(am_libnotify_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libnotify_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libnotify_la_CFLAGS) \ + $(CFLAGS) $(libnotify_la_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = \ + ./$(DEPDIR)/libnotify_la-pragha-notify-plugin.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libnotify_la_SOURCES) +DIST_SOURCES = $(libnotify_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/notify +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libnotify.la +libnotify_la_SOURCES = \ + pragha-notify-plugin.c + +libnotify_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libnotify_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBNOTIFY_CFLAGS) + +libnotify_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBNOTIFY_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = notify.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/notify/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/notify/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libnotify.la: $(libnotify_la_OBJECTS) $(libnotify_la_DEPENDENCIES) $(EXTRA_libnotify_la_DEPENDENCIES) + $(AM_V_CCLD)$(libnotify_la_LINK) -rpath $(plugindir) $(libnotify_la_OBJECTS) $(libnotify_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libnotify_la-pragha-notify-plugin.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libnotify_la-pragha-notify-plugin.lo: pragha-notify-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libnotify_la_CFLAGS) $(CFLAGS) -MT libnotify_la-pragha-notify-plugin.lo -MD -MP -MF $(DEPDIR)/libnotify_la-pragha-notify-plugin.Tpo -c -o libnotify_la-pragha-notify-plugin.lo `test -f 'pragha-notify-plugin.c' || echo '$(srcdir)/'`pragha-notify-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libnotify_la-pragha-notify-plugin.Tpo $(DEPDIR)/libnotify_la-pragha-notify-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-notify-plugin.c' object='libnotify_la-pragha-notify-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libnotify_la_CFLAGS) $(CFLAGS) -c -o libnotify_la-pragha-notify-plugin.lo `test -f 'pragha-notify-plugin.c' || echo '$(srcdir)/'`pragha-notify-plugin.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libnotify_la-pragha-notify-plugin.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libnotify_la-pragha-notify-plugin.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/pragha-plugin-macros.h pragha-1.3.992/plugins/pragha-plugin-macros.h --- pragha-1.3.3/plugins/pragha-plugin-macros.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/pragha-plugin-macros.h 2019-03-12 12:23:12.000000000 +0000 @@ -82,6 +82,7 @@ type_name, \ PEAS_TYPE_EXTENSION_BASE, \ 0, \ + G_ADD_PRIVATE_DYNAMIC(TypeName) \ G_IMPLEMENT_INTERFACE_DYNAMIC (PEAS_TYPE_ACTIVATABLE, \ peas_activatable_iface_init) \ TYPE_CODE) \ @@ -131,7 +132,6 @@ object_class->get_property = get_property; \ \ g_object_class_override_property (object_class, PROP_OBJECT, "object"); \ - g_type_class_add_private (klass, sizeof (TypeName##Private)); \ } \ static void \ type_name##_class_finalize (TypeName##Class *klass) \ @@ -140,7 +140,7 @@ static void \ type_name##_init (TypeName *plugin) \ { \ - plugin->priv = G_TYPE_INSTANCE_GET_PRIVATE (plugin, TYPE_NAME, TypeName##Private); \ + plugin->priv = type_name##_get_instance_private (plugin); \ } \ G_MODULE_EXPORT void \ peas_register_types (PeasObjectModule *module) \ diff -Nru pragha-1.3.3/plugins/removable-media/Makefile.am pragha-1.3.992/plugins/removable-media/Makefile.am --- pragha-1.3.3/plugins/removable-media/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/removable-media/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -12,41 +12,12 @@ libremovable_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libremovable_la_CFLAGS = \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - $(GUDEV_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall +libremovable_la_CFLAGS = \ + $(PRAGHA_CFLAGS) -libremovable_la_LIBADD = \ - ../devices/libdeviceclient.la \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) \ - $(GUDEV_LIBS) - -if HAVE_GSTREAMER_AUDIO -libremovable_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libremovable_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -libremovable_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libremovable_la_LIBADD += $(LIBXFCE4UI_LIBS) -endif +libremovable_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(top_builddir)/src/libpragha.la plugin_DATA = removable.plugin diff -Nru pragha-1.3.3/plugins/removable-media/Makefile.in pragha-1.3.992/plugins/removable-media/Makefile.in --- pragha-1.3.3/plugins/removable-media/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/removable-media/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,826 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/removable-media +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libremovable_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(top_builddir)/src/libpragha.la +am_libremovable_la_OBJECTS = \ + libremovable_la-pragha-devices-removable.lo +libremovable_la_OBJECTS = $(am_libremovable_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libremovable_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libremovable_la_CFLAGS) $(CFLAGS) $(libremovable_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = \ + ./$(DEPDIR)/libremovable_la-pragha-devices-removable.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libremovable_la_SOURCES) +DIST_SOURCES = $(libremovable_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/removable +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libremovable.la +libremovable_la_SOURCES = \ + pragha-devices-removable.c + +libremovable_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libremovable_la_CFLAGS = \ + $(PRAGHA_CFLAGS) + +libremovable_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = removable.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/removable-media/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/removable-media/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libremovable.la: $(libremovable_la_OBJECTS) $(libremovable_la_DEPENDENCIES) $(EXTRA_libremovable_la_DEPENDENCIES) + $(AM_V_CCLD)$(libremovable_la_LINK) -rpath $(plugindir) $(libremovable_la_OBJECTS) $(libremovable_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libremovable_la-pragha-devices-removable.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libremovable_la-pragha-devices-removable.lo: pragha-devices-removable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libremovable_la_CFLAGS) $(CFLAGS) -MT libremovable_la-pragha-devices-removable.lo -MD -MP -MF $(DEPDIR)/libremovable_la-pragha-devices-removable.Tpo -c -o libremovable_la-pragha-devices-removable.lo `test -f 'pragha-devices-removable.c' || echo '$(srcdir)/'`pragha-devices-removable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libremovable_la-pragha-devices-removable.Tpo $(DEPDIR)/libremovable_la-pragha-devices-removable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-devices-removable.c' object='libremovable_la-pragha-devices-removable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libremovable_la_CFLAGS) $(CFLAGS) -c -o libremovable_la-pragha-devices-removable.lo `test -f 'pragha-devices-removable.c' || echo '$(srcdir)/'`pragha-devices-removable.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libremovable_la-pragha-devices-removable.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libremovable_la-pragha-devices-removable.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/removable-media/pragha-devices-removable.c pragha-1.3.992/plugins/removable-media/pragha-devices-removable.c --- pragha-1.3.3/plugins/removable-media/pragha-devices-removable.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/removable-media/pragha-devices-removable.c 2019-07-17 15:17:15.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2009-2014 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -36,9 +36,8 @@ #include "plugins/pragha-plugin-macros.h" -#include "plugins/devices/pragha-devices-plugin.h" -#include "plugins/devices/pragha-device-client.h" - +#include "src/pragha-device-client.h" +#include "src/pragha-database-provider.h" #include "src/pragha-playback.h" #include "src/pragha-utils.h" #include "src/pragha.h" @@ -55,6 +54,8 @@ struct _PraghaRemovablePluginPrivate { PraghaApplication *pragha; + PraghaDeviceClient *device_client; + /* Gudev devie */ guint64 bus_hooked; guint64 device_hooked; @@ -77,7 +78,7 @@ PraghaRemovablePluginPrivate *priv = plugin->priv; priv->bus_hooked = 0; - priv->device_hooked = 0; + priv->device_hooked = 0; if (priv->u_device) { g_object_unref (priv->u_device); @@ -96,64 +97,75 @@ static void pragha_block_device_add_to_library (PraghaRemovablePlugin *plugin, GMount *mount) { - PraghaPreferences *preferences; + PraghaDatabaseProvider *provider; PraghaScanner *scanner; - GSList *library_dir = NULL; + GSList *provider_list = NULL; GFile *mount_point; - gchar *mount_path; + gchar *mount_path, *name; PraghaRemovablePluginPrivate *priv = plugin->priv; mount_point = g_mount_get_root (mount); mount_path = g_file_get_path (mount_point); - preferences = pragha_application_get_preferences (priv->pragha); + provider = pragha_database_provider_get (); + provider_list = pragha_provider_get_list (provider); + + if (pragha_string_list_is_not_present (provider_list, mount_path)) + { + name = g_mount_get_name (mount); + + pragha_provider_add_new (provider, + mount_path, + "local", + name, + "media-removable"); - library_dir = pragha_preferences_get_library_list (preferences); - if (!is_present_str_list (mount_path, library_dir)) { - library_dir = g_slist_append (library_dir, g_strdup(mount_path)); - - pragha_preferences_set_filename_list (preferences, - GROUP_LIBRARY, - KEY_LIBRARY_DIR, - library_dir); + scanner = pragha_application_get_scanner (priv->pragha); + pragha_scanner_update_library (scanner); + + g_free (name); } - priv->mount_path = g_strdup(mount_path); + else + { + /* Show old backup */ + pragha_provider_set_visible (provider, mount_path, TRUE); + pragha_provider_set_ignore (provider, mount_path, FALSE); + pragha_provider_update_done (provider); + } + g_slist_free_full (provider_list, g_free); - scanner = pragha_application_get_scanner (priv->pragha); - pragha_scanner_update_library (scanner); + priv->mount_path = g_strdup(mount_path); + g_object_unref (provider); g_object_unref (mount_point); - free_str_list(library_dir); g_free (mount_path); } static void pragha_removable_drop_device_from_library (PraghaRemovablePlugin *plugin) { - PraghaPreferences *preferences; - PraghaScanner *scanner; - GSList *library_dir = NULL; + PraghaDatabaseProvider *provider; + GSList *provider_list = NULL; PraghaRemovablePluginPrivate *priv = plugin->priv; - preferences = pragha_application_get_preferences (priv->pragha); - - library_dir = pragha_preferences_get_library_list (preferences); - if (is_present_str_list (priv->mount_path, library_dir)) { - library_dir = delete_from_str_list (priv->mount_path, library_dir); - - pragha_preferences_set_filename_list (preferences, - GROUP_LIBRARY, - KEY_LIBRARY_DIR, - library_dir); + provider = pragha_database_provider_get (); + provider_list = pragha_provider_get_list (provider); - scanner = pragha_application_get_scanner (priv->pragha); - pragha_scanner_update_library (scanner); + if (pragha_string_list_is_present (provider_list, priv->mount_path)) + { + /* Hide the provider but leave it as backup */ + pragha_provider_set_visible (provider, priv->mount_path, FALSE); + pragha_provider_set_ignore (provider, priv->mount_path, TRUE); + pragha_provider_update_done (provider); } - free_str_list(library_dir); + + g_slist_free_full (provider_list, g_free); + g_object_unref (provider); } + /* * Some functions to mount block removable. */ @@ -199,19 +211,22 @@ GMount *mount; GError *error = NULL; gchar *name = NULL, *primary = NULL; - + g_return_if_fail (G_IS_VOLUME (volume)); g_return_if_fail (G_IS_ASYNC_RESULT (result)); + PraghaRemovablePluginPrivate *priv = plugin->priv; + /* finish mounting the volume */ if (!g_volume_mount_finish (volume, result, &error)) { if (error->code != G_IO_ERROR_FAILED_HANDLED && error->code != G_IO_ERROR_ALREADY_MOUNTED) { name = g_volume_get_name (G_VOLUME (volume)); - primary = g_strdup_printf (_("Unable to access \"%s\""), name); + primary = g_strdup_printf (_("Unable to accesss to “%s” device"), name); g_free (name); - dialog = pragha_gudev_dialog_new (NULL, _("Removable Device"), "media-removable", + dialog = pragha_gudev_dialog_new (pragha_application_get_window (priv->pragha), + _("Removable Device"), "media-removable", primary, error->message, NULL, PRAGHA_DEVICE_RESPONSE_NONE); g_signal_connect (dialog, "response", @@ -230,7 +245,6 @@ pragha_block_device_add_to_library (plugin, mount); g_object_unref (mount); } - g_object_unref (volume); } static void @@ -274,7 +288,7 @@ GtkWidget *dialog; GVolumeMonitor *monitor; GVolume *volume; - gchar *name = NULL, *primary = NULL; + gchar *name = NULL, *secondary = NULL; PraghaRemovablePlugin *plugin = data; PraghaRemovablePluginPrivate *priv = plugin->priv; @@ -294,19 +308,20 @@ } name = g_volume_get_name (G_VOLUME (volume)); - primary = g_strdup_printf (_("Want to manage \"%s\" volume?"), name); + secondary = g_strdup_printf (_("Do you want to manage the “%s” device with Pragha?"), name); g_free (name); - dialog = pragha_gudev_dialog_new (NULL, _("Removable Device"), "media-removable", - primary, NULL, - _("_Update library"), PRAGHA_DEVICE_RESPONSE_BROWSE); + dialog = pragha_gudev_dialog_new (pragha_application_get_window (priv->pragha), + _("Removable Device"), "media-removable", + _("An removable device was detected"), secondary, + _("Manage device"), PRAGHA_DEVICE_RESPONSE_BROWSE); g_signal_connect (G_OBJECT (dialog), "response", G_CALLBACK (pragha_block_device_detected_response), plugin); gtk_widget_show_all (dialog); - g_free (primary); + g_free (secondary); return FALSE; } @@ -364,7 +379,6 @@ static void pragha_plugin_activate (PeasActivatable *activatable) { - PraghaDeviceClient *device_client; PraghaRemovablePlugin *plugin = PRAGHA_REMOVABLE_PLUGIN (activatable); PraghaRemovablePluginPrivate *priv = plugin->priv; @@ -372,31 +386,59 @@ priv->pragha = g_object_get_data (G_OBJECT (plugin), "object"); - device_client = pragha_device_client_get(); - g_signal_connect (G_OBJECT(device_client), "device-added", + priv->device_client = pragha_device_client_get(); + g_signal_connect (G_OBJECT(priv->device_client), "device-added", G_CALLBACK(pragha_removable_plugin_device_added), plugin); - g_signal_connect (G_OBJECT(device_client), "device-removed", + g_signal_connect (G_OBJECT(priv->device_client), "device-removed", G_CALLBACK(pragha_removable_plugin_device_removed), plugin); - g_object_unref (device_client); } static void pragha_plugin_deactivate (PeasActivatable *activatable) { - PraghaDeviceClient *device_client; + PraghaDatabaseProvider *provider; + PraghaRemovablePlugin *plugin = PRAGHA_REMOVABLE_PLUGIN (activatable); PraghaRemovablePluginPrivate *priv = plugin->priv; CDEBUG(DBG_PLUGIN, "Removable plugin %s", G_STRFUNC); - device_client = pragha_device_client_get(); - g_signal_handlers_disconnect_by_func (device_client, + /* Remove provider if user disable the plugin or hide it */ + + provider = pragha_database_provider_get (); + if (!pragha_plugins_engine_is_shutdown(pragha_application_get_plugins_engine(priv->pragha))) + { + if (priv->mount_path) + { + pragha_provider_remove (provider, + priv->mount_path); + pragha_provider_update_done (provider); + } + } + else + { + if (priv->mount_path) + { + pragha_provider_set_visible (provider, priv->mount_path, FALSE); + pragha_provider_set_ignore (provider, priv->mount_path, TRUE); + } + } + g_object_unref (provider); + + /* Clean memory */ + + pragha_removable_clear_hook_device (plugin); + + /* Disconnect signals */ + + g_signal_handlers_disconnect_by_func (priv->device_client, pragha_removable_plugin_device_added, plugin); - g_signal_handlers_disconnect_by_func (device_client, + g_signal_handlers_disconnect_by_func (priv->device_client, pragha_removable_plugin_device_removed, plugin); - g_object_unref (device_client); + + g_object_unref (G_OBJECT(priv->device_client)); priv->pragha = NULL; -} \ No newline at end of file +} diff -Nru pragha-1.3.3/plugins/removable-media/removable.plugin pragha-1.3.992/plugins/removable-media/removable.plugin --- pragha-1.3.3/plugins/removable-media/removable.plugin 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/removable-media/removable.plugin 2019-07-17 12:54:52.000000000 +0000 @@ -3,7 +3,7 @@ Name=Removable media Description=Detect removable media and scan it Authors=Matias De lellis -Copyright=Copyright © 2014 Matias De lellis +Copyright=Copyright © 2014-2019 Matias De lellis Website=https://github.com/matiasdelellis/pragha Help=https://github.com/matiasdelellis/pragha -Depends=devices \ No newline at end of file + diff -Nru pragha-1.3.3/plugins/song-info/Makefile.am pragha-1.3.992/plugins/song-info/Makefile.am --- pragha-1.3.3/plugins/song-info/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -8,6 +8,8 @@ plugin_LTLIBRARIES = libsong-info.la libsong_info_la_SOURCES = \ + pragha-song-info-cache.c \ + pragha-song-info-cache.h \ pragha-song-info-plugin.c \ pragha-song-info-plugin.h \ pragha-song-info-dialog.c \ @@ -16,6 +18,8 @@ pragha-song-info-pane.h \ pragha-song-info-thread-albumart.c \ pragha-song-info-thread-albumart.h \ + pragha-song-info-thread-artistart.c \ + pragha-song-info-thread-artistart.h \ pragha-song-info-thread-dialog.c \ pragha-song-info-thread-dialog.h \ pragha-song-info-thread-pane.c \ @@ -23,41 +27,27 @@ libsong_info_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libsong_info_la_CFLAGS = \ - $(LIBGLYR_CFLAGS) \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall - -libsong_info_la_LIBADD = \ - $(LIBGLYR_LIBS) \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) - -if HAVE_GSTREAMER_AUDIO -libsong_info_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libsong_info_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -libsong_info_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libsong_info_la_LIBADD += $(LIBXFCE4UI_LIBS) -endif +libsong_info_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBGLYR_CFLAGS) + +libsong_info_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBGLYR_LIBS) \ + $(top_builddir)/src/libpragha.la + + +pragha-song-info-ui.h: pragha-song-info.ui Makefile + $(AM_V_GEN) xdt-csource --strip-comments --strip-content --static --name=pragha_song_info_ui $< > $@ plugin_DATA = song-info.plugin -EXTRA_DIST = $(plugin_DATA) +EXTRA_DIST = \ + $(plugin_DATA) \ + pragha-song-info.ui + +DISTCLEANFILES = \ + pragha-song-info-ui.h + +BUILT_SOURCES = \ + pragha-song-info-ui.h diff -Nru pragha-1.3.3/plugins/song-info/Makefile.in pragha-1.3.992/plugins/song-info/Makefile.in --- pragha-1.3.3/plugins/song-info/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,944 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/song-info +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libsong_info_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(top_builddir)/src/libpragha.la +am_libsong_info_la_OBJECTS = \ + libsong_info_la-pragha-song-info-cache.lo \ + libsong_info_la-pragha-song-info-plugin.lo \ + libsong_info_la-pragha-song-info-dialog.lo \ + libsong_info_la-pragha-song-info-pane.lo \ + libsong_info_la-pragha-song-info-thread-albumart.lo \ + libsong_info_la-pragha-song-info-thread-artistart.lo \ + libsong_info_la-pragha-song-info-thread-dialog.lo \ + libsong_info_la-pragha-song-info-thread-pane.lo +libsong_info_la_OBJECTS = $(am_libsong_info_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libsong_info_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libsong_info_la_CFLAGS) $(CFLAGS) $(libsong_info_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = \ + ./$(DEPDIR)/libsong_info_la-pragha-song-info-cache.Plo \ + ./$(DEPDIR)/libsong_info_la-pragha-song-info-dialog.Plo \ + ./$(DEPDIR)/libsong_info_la-pragha-song-info-pane.Plo \ + ./$(DEPDIR)/libsong_info_la-pragha-song-info-plugin.Plo \ + ./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-albumart.Plo \ + ./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-artistart.Plo \ + ./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-dialog.Plo \ + ./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-pane.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libsong_info_la_SOURCES) +DIST_SOURCES = $(libsong_info_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/song-info +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libsong-info.la +libsong_info_la_SOURCES = \ + pragha-song-info-cache.c \ + pragha-song-info-cache.h \ + pragha-song-info-plugin.c \ + pragha-song-info-plugin.h \ + pragha-song-info-dialog.c \ + pragha-song-info-dialog.h \ + pragha-song-info-pane.c \ + pragha-song-info-pane.h \ + pragha-song-info-thread-albumart.c \ + pragha-song-info-thread-albumart.h \ + pragha-song-info-thread-artistart.c \ + pragha-song-info-thread-artistart.h \ + pragha-song-info-thread-dialog.c \ + pragha-song-info-thread-dialog.h \ + pragha-song-info-thread-pane.c \ + pragha-song-info-thread-pane.h + +libsong_info_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libsong_info_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBGLYR_CFLAGS) + +libsong_info_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBGLYR_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = song-info.plugin +EXTRA_DIST = \ + $(plugin_DATA) \ + pragha-song-info.ui + +DISTCLEANFILES = \ + pragha-song-info-ui.h + +BUILT_SOURCES = \ + pragha-song-info-ui.h + +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/song-info/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/song-info/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libsong-info.la: $(libsong_info_la_OBJECTS) $(libsong_info_la_DEPENDENCIES) $(EXTRA_libsong_info_la_DEPENDENCIES) + $(AM_V_CCLD)$(libsong_info_la_LINK) -rpath $(plugindir) $(libsong_info_la_OBJECTS) $(libsong_info_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsong_info_la-pragha-song-info-cache.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsong_info_la-pragha-song-info-dialog.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsong_info_la-pragha-song-info-pane.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsong_info_la-pragha-song-info-plugin.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-albumart.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-artistart.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-dialog.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-pane.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libsong_info_la-pragha-song-info-cache.lo: pragha-song-info-cache.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -MT libsong_info_la-pragha-song-info-cache.lo -MD -MP -MF $(DEPDIR)/libsong_info_la-pragha-song-info-cache.Tpo -c -o libsong_info_la-pragha-song-info-cache.lo `test -f 'pragha-song-info-cache.c' || echo '$(srcdir)/'`pragha-song-info-cache.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsong_info_la-pragha-song-info-cache.Tpo $(DEPDIR)/libsong_info_la-pragha-song-info-cache.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-song-info-cache.c' object='libsong_info_la-pragha-song-info-cache.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -c -o libsong_info_la-pragha-song-info-cache.lo `test -f 'pragha-song-info-cache.c' || echo '$(srcdir)/'`pragha-song-info-cache.c + +libsong_info_la-pragha-song-info-plugin.lo: pragha-song-info-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -MT libsong_info_la-pragha-song-info-plugin.lo -MD -MP -MF $(DEPDIR)/libsong_info_la-pragha-song-info-plugin.Tpo -c -o libsong_info_la-pragha-song-info-plugin.lo `test -f 'pragha-song-info-plugin.c' || echo '$(srcdir)/'`pragha-song-info-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsong_info_la-pragha-song-info-plugin.Tpo $(DEPDIR)/libsong_info_la-pragha-song-info-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-song-info-plugin.c' object='libsong_info_la-pragha-song-info-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -c -o libsong_info_la-pragha-song-info-plugin.lo `test -f 'pragha-song-info-plugin.c' || echo '$(srcdir)/'`pragha-song-info-plugin.c + +libsong_info_la-pragha-song-info-dialog.lo: pragha-song-info-dialog.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -MT libsong_info_la-pragha-song-info-dialog.lo -MD -MP -MF $(DEPDIR)/libsong_info_la-pragha-song-info-dialog.Tpo -c -o libsong_info_la-pragha-song-info-dialog.lo `test -f 'pragha-song-info-dialog.c' || echo '$(srcdir)/'`pragha-song-info-dialog.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsong_info_la-pragha-song-info-dialog.Tpo $(DEPDIR)/libsong_info_la-pragha-song-info-dialog.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-song-info-dialog.c' object='libsong_info_la-pragha-song-info-dialog.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -c -o libsong_info_la-pragha-song-info-dialog.lo `test -f 'pragha-song-info-dialog.c' || echo '$(srcdir)/'`pragha-song-info-dialog.c + +libsong_info_la-pragha-song-info-pane.lo: pragha-song-info-pane.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -MT libsong_info_la-pragha-song-info-pane.lo -MD -MP -MF $(DEPDIR)/libsong_info_la-pragha-song-info-pane.Tpo -c -o libsong_info_la-pragha-song-info-pane.lo `test -f 'pragha-song-info-pane.c' || echo '$(srcdir)/'`pragha-song-info-pane.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsong_info_la-pragha-song-info-pane.Tpo $(DEPDIR)/libsong_info_la-pragha-song-info-pane.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-song-info-pane.c' object='libsong_info_la-pragha-song-info-pane.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -c -o libsong_info_la-pragha-song-info-pane.lo `test -f 'pragha-song-info-pane.c' || echo '$(srcdir)/'`pragha-song-info-pane.c + +libsong_info_la-pragha-song-info-thread-albumart.lo: pragha-song-info-thread-albumart.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -MT libsong_info_la-pragha-song-info-thread-albumart.lo -MD -MP -MF $(DEPDIR)/libsong_info_la-pragha-song-info-thread-albumart.Tpo -c -o libsong_info_la-pragha-song-info-thread-albumart.lo `test -f 'pragha-song-info-thread-albumart.c' || echo '$(srcdir)/'`pragha-song-info-thread-albumart.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsong_info_la-pragha-song-info-thread-albumart.Tpo $(DEPDIR)/libsong_info_la-pragha-song-info-thread-albumart.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-song-info-thread-albumart.c' object='libsong_info_la-pragha-song-info-thread-albumart.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -c -o libsong_info_la-pragha-song-info-thread-albumart.lo `test -f 'pragha-song-info-thread-albumart.c' || echo '$(srcdir)/'`pragha-song-info-thread-albumart.c + +libsong_info_la-pragha-song-info-thread-artistart.lo: pragha-song-info-thread-artistart.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -MT libsong_info_la-pragha-song-info-thread-artistart.lo -MD -MP -MF $(DEPDIR)/libsong_info_la-pragha-song-info-thread-artistart.Tpo -c -o libsong_info_la-pragha-song-info-thread-artistart.lo `test -f 'pragha-song-info-thread-artistart.c' || echo '$(srcdir)/'`pragha-song-info-thread-artistart.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsong_info_la-pragha-song-info-thread-artistart.Tpo $(DEPDIR)/libsong_info_la-pragha-song-info-thread-artistart.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-song-info-thread-artistart.c' object='libsong_info_la-pragha-song-info-thread-artistart.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -c -o libsong_info_la-pragha-song-info-thread-artistart.lo `test -f 'pragha-song-info-thread-artistart.c' || echo '$(srcdir)/'`pragha-song-info-thread-artistart.c + +libsong_info_la-pragha-song-info-thread-dialog.lo: pragha-song-info-thread-dialog.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -MT libsong_info_la-pragha-song-info-thread-dialog.lo -MD -MP -MF $(DEPDIR)/libsong_info_la-pragha-song-info-thread-dialog.Tpo -c -o libsong_info_la-pragha-song-info-thread-dialog.lo `test -f 'pragha-song-info-thread-dialog.c' || echo '$(srcdir)/'`pragha-song-info-thread-dialog.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsong_info_la-pragha-song-info-thread-dialog.Tpo $(DEPDIR)/libsong_info_la-pragha-song-info-thread-dialog.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-song-info-thread-dialog.c' object='libsong_info_la-pragha-song-info-thread-dialog.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -c -o libsong_info_la-pragha-song-info-thread-dialog.lo `test -f 'pragha-song-info-thread-dialog.c' || echo '$(srcdir)/'`pragha-song-info-thread-dialog.c + +libsong_info_la-pragha-song-info-thread-pane.lo: pragha-song-info-thread-pane.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -MT libsong_info_la-pragha-song-info-thread-pane.lo -MD -MP -MF $(DEPDIR)/libsong_info_la-pragha-song-info-thread-pane.Tpo -c -o libsong_info_la-pragha-song-info-thread-pane.lo `test -f 'pragha-song-info-thread-pane.c' || echo '$(srcdir)/'`pragha-song-info-thread-pane.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsong_info_la-pragha-song-info-thread-pane.Tpo $(DEPDIR)/libsong_info_la-pragha-song-info-thread-pane.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-song-info-thread-pane.c' object='libsong_info_la-pragha-song-info-thread-pane.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsong_info_la_CFLAGS) $(CFLAGS) -c -o libsong_info_la-pragha-song-info-thread-pane.lo `test -f 'pragha-song-info-thread-pane.c' || echo '$(srcdir)/'`pragha-song-info-thread-pane.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-cache.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-dialog.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-pane.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-plugin.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-albumart.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-artistart.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-dialog.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-pane.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-cache.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-dialog.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-pane.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-plugin.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-albumart.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-artistart.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-dialog.Plo + -rm -f ./$(DEPDIR)/libsong_info_la-pragha-song-info-thread-pane.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: all check install install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +pragha-song-info-ui.h: pragha-song-info.ui Makefile + $(AM_V_GEN) xdt-csource --strip-comments --strip-content --static --name=pragha_song_info_ui $< > $@ + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-cache.c pragha-1.3.992/plugins/song-info/pragha-song-info-cache.c --- pragha-1.3.3/plugins/song-info/pragha-song-info-cache.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-cache.c 2019-07-26 23:33:39.000000000 +0000 @@ -0,0 +1,566 @@ +/*************************************************************************/ +/* Copyright (C) 2011-2018 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#include "pragha-song-info-cache.h" + +#include + +#include "src/pragha-utils.h" +#include "src/pragha-musicobject-mgmt.h" + +struct _PraghaInfoCache { + GObject _parent; + + PraghaDatabase *cdbase; + gchar *cache_dir; +}; + +enum { + SIGNAL_CACHE_CHANGED, + LAST_SIGNAL +}; + +static int signals[LAST_SIGNAL] = { 0 }; + +G_DEFINE_TYPE(PraghaInfoCache, pragha_info_cache, G_TYPE_OBJECT) + +static void +pragha_info_cache_finalize (GObject *object) +{ + PraghaInfoCache *cache = PRAGHA_INFO_CACHE(object); + + g_free (cache->cache_dir); + + G_OBJECT_CLASS(pragha_info_cache_parent_class)->finalize(object); +} + +static void +pragha_info_cache_dispose (GObject *object) +{ + PraghaInfoCache *cache = PRAGHA_INFO_CACHE(object); + + if (cache->cdbase) { + g_object_unref (cache->cdbase); + cache->cdbase = NULL; + } + G_OBJECT_CLASS(pragha_info_cache_parent_class)->dispose(object); +} + + +static void +pragha_info_cache_class_init (PraghaInfoCacheClass *klass) +{ + GObjectClass *object_class; + + object_class = G_OBJECT_CLASS(klass); + object_class->finalize = pragha_info_cache_finalize; + object_class->dispose = pragha_info_cache_dispose; + + signals[SIGNAL_CACHE_CHANGED] = + g_signal_new ("cache-changed", + G_TYPE_FROM_CLASS (object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaInfoCacheClass, cache_changed), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); +} + +static void +pragha_info_cache_init (PraghaInfoCache *cache) +{ + cache->cache_dir = g_build_path (G_DIR_SEPARATOR_S, g_get_user_cache_dir (), "pragha", "info", NULL); + g_mkdir_with_parents (cache->cache_dir, S_IRWXU); + cache->cdbase = pragha_database_get (); +} + +PraghaInfoCache * +pragha_info_cache_get (void) +{ + static PraghaInfoCache *cache = NULL; + + if (G_UNLIKELY (cache == NULL)) { + cache = g_object_new (PRAGHA_TYPE_INFO_CACHE, NULL); + g_object_add_weak_pointer (G_OBJECT (cache), + (gpointer) &cache); + } + else { + g_object_ref (G_OBJECT(cache)); + } + + return cache; +} + +/* + * Similar songs cache. + */ + +static gchar * +pragha_info_cache_build_similar_songs_path (PraghaInfoCache *cache, const gchar *title, const gchar *artist) +{ + gchar *title_escaped = pragha_escape_slashes (title); + gchar *artist_escaped = pragha_escape_slashes (artist); + gchar *result = g_strdup_printf ("%s%s%s-%s.similar", cache->cache_dir, G_DIR_SEPARATOR_S, artist_escaped, title_escaped); + g_free (title_escaped); + g_free (artist_escaped); + return result; +} + +static gchar * +pragha_info_cache_get_similar_songs_uri (PraghaInfoCache *cache, const gchar *title, const gchar *artist) +{ + gchar *path = pragha_info_cache_build_similar_songs_path (cache, title, artist); + + if (g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR) == FALSE) { + g_free (path); + return NULL; + } + + return path; +} + +gboolean +pragha_info_cache_contains_similar_songs (PraghaInfoCache *cache, const gchar *title, const gchar *artist) +{ + gchar *path = pragha_info_cache_get_similar_songs_uri (cache, title, artist); + + if (path) { + g_free (path); + return TRUE; + } + + return FALSE; +} + +GList * +pragha_info_cache_get_similar_songs (PraghaInfoCache *cache, + const gchar *title, + const gchar *artist, + gchar **provider) +{ + PraghaMusicobject *mobj; + GKeyFile *key_file; + GError *error = NULL; + GList *list = NULL; + guint length = 0, i = 0; + gchar *path = NULL, *key = NULL; + gchar *ifile = NULL, *ititle = NULL, *iartist = NULL; + + path = pragha_info_cache_get_similar_songs_uri(cache, title, artist); + if (!path) + return NULL; + + key_file = g_key_file_new (); + + if (!g_key_file_load_from_file (key_file, path, G_KEY_FILE_NONE, &error)) { + if (!g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_NOENT)) + g_warning ("Error loading key file: %s", error->message); + g_error_free (error); + g_free (path); + return NULL; + } + + length = g_key_file_get_integer (key_file, "Similar-Songs", "NumberOfEntries", NULL); + + for (i = 1 ; i <= length ; i++) + { + key = g_strdup_printf("File%d", i); + ifile = g_key_file_get_string (key_file, "Similar-Songs", key, NULL); + g_free (key); + + key = g_strdup_printf("Title%d", i); + ititle = g_key_file_get_string (key_file, "Similar-Songs", key, NULL); + g_free (key); + + key = g_strdup_printf("Artist%d", i); + iartist = g_key_file_get_string (key_file, "Similar-Songs", key, NULL); + g_free (key); + + mobj = pragha_musicobject_new (); + + pragha_musicobject_set_file (mobj, ifile); + pragha_musicobject_set_title (mobj, ititle); + pragha_musicobject_set_artist (mobj, iartist); + + list = g_list_prepend (list, mobj); + + g_free (ifile); + g_free (ititle); + g_free (iartist); + } + + *provider = g_key_file_get_string (key_file, "Similar-Songs", "Provider", NULL); + + g_key_file_free (key_file); + g_free (path); + + return g_list_reverse (list); +} + +void +pragha_info_cache_save_similar_songs (PraghaInfoCache *cache, + const gchar *title, + const gchar *artist, + const gchar *provider, + GList *mlist) +{ + PraghaMusicobject *mobj; + GKeyFile *key_file = NULL; + GError *error = NULL; + GList *list = NULL; + const gchar *file = NULL, *ititle = NULL, *iartist = NULL; + gchar *file_entry, *key = NULL; + guint length = 0; + gint64 time = 0; + gint i = 0; + + key_file = g_key_file_new (); + + g_key_file_set_string (key_file, "Songs", "Title", title); + g_key_file_set_string (key_file, "Songs", "Artist", artist); + + time = g_get_real_time (); + g_key_file_set_int64 (key_file, "Similar-Songs", "SavedTime", time); + + length = g_list_length (mlist); + g_key_file_set_integer (key_file, "Similar-Songs", "NumberOfEntries", length); + + g_key_file_set_string (key_file, "Similar-Songs", "Provider", provider); + + for (list = mlist; list != NULL; list = list->next) { + mobj = PRAGHA_MUSICOBJECT(list->data); + i++; + + key = g_strdup_printf("File%d", i); + file = pragha_musicobject_get_file (mobj); + g_key_file_set_string (key_file, "Similar-Songs", key, file); + g_free (key); + + key = g_strdup_printf("Title%d", i); + ititle = pragha_musicobject_get_title (mobj); + g_key_file_set_string (key_file, "Similar-Songs", key, ititle); + g_free (key); + + key = g_strdup_printf("Artist%d", i); + iartist = pragha_musicobject_get_artist (mobj); + g_key_file_set_string (key_file, "Similar-Songs", key, iartist); + g_free (key); + } + + file_entry = pragha_info_cache_build_similar_songs_path(cache, title, artist); + if (!g_key_file_save_to_file (key_file, file_entry, &error)) + g_warning ("Error saving key file: %s", error->message); + g_free(file_entry); + + g_key_file_free (key_file); +} + +/* + * Lyrics cache. + */ + +static gchar * +pragha_info_cache_build_lyrics_path (PraghaInfoCache *cache, const gchar *title, const gchar *artist) +{ + gchar *title_escaped = pragha_escape_slashes (title); + gchar *artist_escaped = pragha_escape_slashes (artist); + gchar *result = g_strdup_printf ("%s%s%s-%s.lyrics.txt", cache->cache_dir, G_DIR_SEPARATOR_S, artist_escaped, title_escaped); + g_free (title_escaped); + g_free (artist_escaped); + return result; +} + +static gchar * +pragha_info_cache_get_lyrics_uri (PraghaInfoCache *cache, const gchar *title, const gchar *artist) +{ + gchar *path = pragha_info_cache_build_lyrics_path (cache, title, artist); + + if (g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR) == FALSE) { + g_free (path); + return NULL; + } + + return path; +} + +gboolean +pragha_info_cache_contains_song_lyrics (PraghaInfoCache *cache, const gchar *title, const gchar *artist) +{ + gchar *path = pragha_info_cache_get_lyrics_uri (cache, title, artist); + + if (path) { + g_free (path); + return TRUE; + } + + return FALSE; +} + +static gchar * +pragha_info_cache_build_ini_lyrics_path (PraghaInfoCache *cache, const gchar *title, const gchar *artist) +{ + gchar *title_escaped = pragha_escape_slashes (title); + gchar *artist_escaped = pragha_escape_slashes (artist); + gchar *result = g_strdup_printf ("%s%s%s-%s.lyrics", cache->cache_dir, G_DIR_SEPARATOR_S, artist_escaped, title_escaped); + g_free (title_escaped); + g_free (artist_escaped); + return result; +} + +static gchar * +pragha_info_cache_get_ini_lyrics_uri (PraghaInfoCache *cache, const gchar *title, const gchar *artist) +{ + gchar *path = pragha_info_cache_build_ini_lyrics_path (cache, title, artist); + + if (g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR) == FALSE) { + g_free (path); + return NULL; + } + + return path; +} + +gboolean +pragha_info_cache_contains_ini_song_lyrics (PraghaInfoCache *cache, const gchar *title, const gchar *artist) +{ + gchar *path = pragha_info_cache_get_ini_lyrics_uri (cache, title, artist); + + if (path) { + g_free (path); + return TRUE; + } + + return FALSE; +} + +gchar * +pragha_info_cache_get_song_lyrics (PraghaInfoCache *cache, + const gchar *title, + const gchar *artist, + gchar **provider) +{ + GKeyFile *key_file; + GError *error = NULL; + gchar *path = NULL, *ini_path = NULL, *lyrics = NULL; + + path = pragha_info_cache_get_lyrics_uri (cache, title, artist); + if (!path) + return NULL; + + if (!g_file_get_contents (path, &lyrics, NULL, &error)) { + g_warning ("Error loading lyrics file: %s", error->message); + g_free (path); + return NULL; + } + + ini_path = pragha_info_cache_get_ini_lyrics_uri (cache, title, artist); + if (ini_path) { + key_file = g_key_file_new (); + if (!g_key_file_load_from_file (key_file, ini_path, G_KEY_FILE_NONE, &error)) { + if (!g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_NOENT)) + g_warning ("Error loading key file: %s", error->message); + g_error_free (error); + } + else { + *provider = g_key_file_get_string (key_file, "Lyrics", "Provider", NULL); + } + g_key_file_free (key_file); + } + + g_free (path); + g_free (ini_path); + + return lyrics; +} + +void +pragha_info_cache_save_song_lyrics (PraghaInfoCache *cache, + const gchar *title, + const gchar *artist, + const gchar *provider, + const gchar *lyrics) +{ + GKeyFile *key_file = NULL; + GError *error = NULL; + gchar *key_path = NULL, *lyrics_path = NULL; + gint64 time = 0; + + lyrics_path = pragha_info_cache_build_lyrics_path (cache, title, artist); + if (!g_file_set_contents (lyrics_path, lyrics, -1, &error)) { + g_warning ("Error saving lyrics file: %s", error->message); + g_free (lyrics_path); + return; + } + + key_file = g_key_file_new (); + + g_key_file_set_string (key_file, "Song", "Title", title); + g_key_file_set_string (key_file, "Song", "Artist", artist); + + time = g_get_real_time (); + g_key_file_set_int64 (key_file, "Lyrics", "SavedTime", time); + g_key_file_set_string (key_file, "Lyrics", "Provider", provider); + + key_path = pragha_info_cache_build_ini_lyrics_path (cache, title, artist); + if (!g_key_file_save_to_file (key_file, key_path, &error)) + g_warning ("Error saving key file: %s", error->message); + g_free (key_path); + + g_key_file_free (key_file); + g_free (lyrics_path); +} + +/* + * Artist bio cache. + */ + +static gchar * +pragha_info_cache_build_artist_bio_path (PraghaInfoCache *cache, const gchar *artist) +{ + gchar *artist_escaped = pragha_escape_slashes (artist); + gchar *result = g_strdup_printf ("%s%s%s.bio.txt", cache->cache_dir, G_DIR_SEPARATOR_S, artist_escaped); + g_free (artist_escaped); + return result; +} + +static gchar * +pragha_info_cache_get_artist_bio_uri (PraghaInfoCache *cache, const gchar *artist) +{ + gchar *path = pragha_info_cache_build_artist_bio_path (cache, artist); + if (g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR) == FALSE) { + g_free (path); + return NULL; + } + return path; +} + +gboolean +pragha_info_cache_contains_artist_bio (PraghaInfoCache *cache, const gchar *artist) +{ + gchar *path = pragha_info_cache_get_artist_bio_uri (cache, artist); + if (path) { + g_free (path); + return TRUE; + } + return FALSE; +} + +static gchar * +pragha_info_cache_build_ini_artist_bio_path (PraghaInfoCache *cache, const gchar *artist) +{ + gchar *artist_escaped = pragha_escape_slashes (artist); + gchar *result = g_strdup_printf ("%s%s%s.bio", cache->cache_dir, G_DIR_SEPARATOR_S, artist_escaped); + g_free (artist_escaped); + return result; +} + +static gchar * +pragha_info_cache_get_ini_artist_bio_uri (PraghaInfoCache *cache, const gchar *artist) +{ + gchar *path = pragha_info_cache_build_ini_artist_bio_path (cache, artist); + if (g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR) == FALSE) { + g_free (path); + return NULL; + } + return path; +} + +gboolean +pragha_info_cache_contains_ini_artist_bio (PraghaInfoCache *cache, const gchar *artist) +{ + gchar *path = pragha_info_cache_get_ini_artist_bio_uri (cache, artist); + if (path) { + g_free (path); + return TRUE; + } + return FALSE; +} + +gchar * +pragha_info_cache_get_artist_bio (PraghaInfoCache *cache, + const gchar *artist, + gchar **provider) +{ + GKeyFile *key_file; + GError *error = NULL; + gchar *path = NULL, *bio = NULL; + + path = pragha_info_cache_get_artist_bio_uri (cache, artist); + if (!path) + return NULL; + + if (!g_file_get_contents (path, &bio, NULL, &error)) { + g_warning ("Error loading artist bio file: %s", error->message); + g_free (path); + return NULL; + } + + path = pragha_info_cache_get_ini_artist_bio_uri (cache, artist); + if (path) { + key_file = g_key_file_new (); + + if (!g_key_file_load_from_file (key_file, path, G_KEY_FILE_NONE, &error)) { + if (!g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_NOENT)) + g_warning ("Error loading key file: %s", error->message); + g_error_free (error); + g_free (path); + return NULL; + } + + *provider = g_key_file_get_string (key_file, "Artist-Bio", "Provider", NULL); + + g_key_file_free (key_file); + g_free (path); + } + + return bio; +} + +void +pragha_info_cache_save_artist_bio (PraghaInfoCache *cache, + const gchar *artist, + const gchar *provider, + const gchar *bio) +{ + GKeyFile *key_file = NULL; + GError *error = NULL; + gchar *key_path = NULL, *bio_path = NULL; + gint64 time = 0; + + bio_path = pragha_info_cache_build_artist_bio_path (cache, artist); + if (!g_file_set_contents (bio_path, bio, -1, &error)) { + g_warning ("Error saving artist bio file: %s", error->message); + g_free (bio_path); + return; + } + + key_file = g_key_file_new (); + g_key_file_set_string (key_file, "Song", "Artist", artist); + + time = g_get_real_time (); + g_key_file_set_int64 (key_file, "Artist-Bio", "SavedTime", time); + g_key_file_set_string (key_file, "Artist-Bio", "Provider", provider); + + key_path = pragha_info_cache_build_ini_artist_bio_path (cache, artist); + if (!g_key_file_save_to_file (key_file, key_path, &error)) + g_warning ("Error saving key file: %s", error->message); + + g_free (key_path); + g_free (bio_path); + + g_key_file_free (key_file); +} diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-cache.h pragha-1.3.992/plugins/song-info/pragha-song-info-cache.h --- pragha-1.3.3/plugins/song-info/pragha-song-info-cache.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-cache.h 2019-07-26 22:58:11.000000000 +0000 @@ -0,0 +1,104 @@ +/*************************************************************************/ +/* Copyright (C) 2018-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_INFO_CACHE_H +#define PRAGHA_INFO_CACHE_H + +#include +#include + +G_BEGIN_DECLS + +#define PRAGHA_TYPE_INFO_CACHE (pragha_info_cache_get_type()) +#define PRAGHA_INFO_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_INFO_CACHE, PraghaInfoCache)) +#define PRAGHA_INFO_CACHE_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_INFO_CACHE, PraghaInfoCache const)) +#define PRAGHA_INFO_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_INFO_CACHE, PraghaInfoCacheClass)) +#define PRAGHA_IS_INFO_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_INFO_CACHE)) +#define PRAGHA_IS_INFO_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_INFO_CACHE)) +#define PRAGHA_INFO_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_INFO_CACHE, PraghaInfoCacheClass)) + +typedef struct _PraghaInfoCache PraghaInfoCache; +typedef struct _PraghaInfoCacheClass PraghaInfoCacheClass; + +struct _PraghaInfoCacheClass +{ + GObjectClass parent_class; + void (*cache_changed) (PraghaInfoCache *cache); +}; + +PraghaInfoCache * +pragha_info_cache_get (void); + +gboolean +pragha_info_cache_contains_similar_songs (PraghaInfoCache *cache, + const gchar *title, + const gchar *artist); + + +GList * +pragha_info_cache_get_similar_songs (PraghaInfoCache *cache, + const gchar *title, + const gchar *artist, + gchar **provider); + + +void +pragha_info_cache_save_similar_songs (PraghaInfoCache *cache, + const gchar *title, + const gchar *artist, + const gchar *provider, + GList *mlist); + +gboolean +pragha_info_cache_contains_song_lyrics (PraghaInfoCache *cache, + const gchar *title, + const gchar *artist); + +void +pragha_info_cache_save_song_lyrics (PraghaInfoCache *cache, + const gchar *title, + const gchar *artist, + const gchar *provider, + const gchar *lyrics); + +gchar * +pragha_info_cache_get_song_lyrics (PraghaInfoCache *cache, + const gchar *title, + const gchar *artist, + gchar **provider); +gboolean +pragha_info_cache_contains_artist_bio (PraghaInfoCache *cache, + const gchar *artist); + +gboolean +pragha_info_cache_contains_ini_artist_bio(PraghaInfoCache *cache, + const gchar *artist); + +gchar * +pragha_info_cache_get_artist_bio (PraghaInfoCache *cache, + const gchar *artist, + gchar **provider); + +void +pragha_info_cache_save_artist_bio (PraghaInfoCache *cache, + const gchar *artist, + const gchar *provider, + const gchar *bio); + +G_END_DECLS + +#endif /* PRAGHA_INFO_CACHE_H */ diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-dialog.c pragha-1.3.992/plugins/song-info/pragha-song-info-dialog.c --- pragha-1.3.3/plugins/song-info/pragha-song-info-dialog.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-dialog.c 2018-10-03 14:28:58.000000000 +0000 @@ -53,7 +53,8 @@ const gchar *subtitle_header, const gchar *text) { - GtkWidget *dialog, *vbox, *header, *view, *scrolled; + PraghaHeader *header; + GtkWidget *dialog, *vbox, *view, *scrolled; GtkTextBuffer *buffer; view = gtk_text_view_new (); @@ -85,10 +86,12 @@ gtk_window_set_default_size(GTK_WINDOW (dialog), 450, 350); - header = sokoke_xfce_header_new (subtitle_header, NULL); + header = pragha_header_new (); + pragha_header_set_title (header, subtitle_header); + pragha_header_set_icon_name (header, "media-optical"); vbox = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); - gtk_box_pack_start (GTK_BOX(vbox), header, FALSE, FALSE, 0); + gtk_box_pack_start (GTK_BOX(vbox), GTK_WIDGET(header), FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX(vbox), scrolled, TRUE, TRUE, 0); g_signal_connect (G_OBJECT(dialog), "response", diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-pane.c pragha-1.3.992/plugins/song-info/pragha-song-info-pane.c --- pragha-1.3.3/plugins/song-info/pragha-song-info-pane.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-pane.c 2019-07-27 00:08:33.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2011-2014 matias */ +/* Copyright (C) 2011-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -25,30 +25,46 @@ #include #endif +#include "pragha-song-info-ui.h" + #include #include "pragha-song-info-pane.h" +#include "src/pragha-database.h" +#include "src/pragha-musicobject-mgmt.h" +#include "src/pragha-hig.h" #include "src/pragha-utils.h" struct _PraghaSonginfoPane { GtkScrolledWindow parent; + /* Title */ + GtkWidget *title; + /* Text widget */ GtkWidget *text_view; + /* List widget */ + GtkWidget *list_view; + GtkWidget *append_button; + /* Info that show thde pane */ GLYR_GET_TYPE info_type; /* Sidebar widgets */ - GtkWidget *pane_title; - GtkUIManager *context_menu; + GtkWidget *pane_title; + GtkBuilder *builder; + GSimpleActionGroup *actions; }; G_DEFINE_TYPE(PraghaSonginfoPane, pragha_songinfo_pane, GTK_TYPE_SCROLLED_WINDOW) enum { SIGNAL_TYPE_CHANGED, + SIGNAL_APPEND, + SIGNAL_APPEND_ALL, + SIGNAL_QUEUE, LAST_SIGNAL }; static int signals[LAST_SIGNAL] = { 0 }; @@ -57,30 +73,89 @@ * Menus definitions * **/ -static void pragha_songinfo_pane_show_artist_info_action (GtkAction *action, PraghaSonginfoPane *pane); -static void pragha_songinfo_pane_show_lyrics_action (GtkAction *action, PraghaSonginfoPane *pane); +static void +pragha_songinfo_pane_show_artist_info_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data); -gchar *songinfo_pane_context_menu_xml = " \ - \ - \ - \ - \ - "; - -GtkActionEntry songinfo_pane_context_aentries[] = { - {"Artist info", NULL, N_("Artist info"), - "", "Artist info", G_CALLBACK(pragha_songinfo_pane_show_artist_info_action)}, - {"Lyrics", NULL, N_("Lyrics"), - "", "Lyrics", G_CALLBACK(pragha_songinfo_pane_show_lyrics_action)} +static void +pragha_songinfo_pane_show_lyrics_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data); + +static void +pragha_songinfo_pane_show_similar_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data); + +static const GActionEntry song_info_aentries[] = { + { "artist", pragha_songinfo_pane_show_artist_info_action, NULL, NULL, NULL }, + { "lyrics", pragha_songinfo_pane_show_lyrics_action, NULL, NULL, NULL }, + { "similar", pragha_songinfo_pane_show_similar_action, NULL, NULL, NULL } }; + /* * Public Api */ +GtkWidget * +pragha_songinfo_pane_row_new (PraghaMusicobject *mobj) +{ + PraghaDatabase *cdbase; + PraghaMusicobject *db_mobj; + GtkWidget *row, *box, *icon, *label; + const gchar *title = NULL, *artist = NULL; + gchar *song_name = NULL; + + row = gtk_list_box_row_new (); + box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); + gtk_container_add(GTK_CONTAINER(row), box); + + title = pragha_musicobject_get_title (mobj); + artist = pragha_musicobject_get_artist (mobj); + + cdbase = pragha_database_get (); + db_mobj = pragha_database_get_artist_and_title_song (cdbase, artist, title); + if (db_mobj) { + g_object_set_data_full (G_OBJECT(row), "SONG", db_mobj, g_object_unref); + icon = gtk_image_new_from_icon_name ("media-playback-start-symbolic", + GTK_ICON_SIZE_MENU); + } + else { + g_object_set_data_full (G_OBJECT(row), "SONG", mobj, g_object_unref); + icon = gtk_image_new_from_icon_name ("edit-find-symbolic", + GTK_ICON_SIZE_MENU); + } + + song_name = g_strdup_printf ("%s - %s", title, artist); + + label = gtk_label_new (song_name); + gtk_label_set_ellipsize (GTK_LABEL(label), PANGO_ELLIPSIZE_END); + gtk_widget_set_valign (label, GTK_ALIGN_CENTER); + gtk_widget_set_halign (label, GTK_ALIGN_START); + + gtk_box_pack_start(GTK_BOX(box), icon, FALSE, FALSE, 6); + gtk_box_pack_start(GTK_BOX(box), label, TRUE, TRUE, 0); + + gtk_widget_show_all (row); + + g_object_unref(cdbase); + g_free (song_name); + + return row; +} + +void +pragha_songinfo_pane_set_title (PraghaSonginfoPane *pane, + const gchar *title) +{ + gtk_label_set_text (GTK_LABEL(pane->title), title); + gtk_widget_show (GTK_WIDGET(pane->title)); +} + void pragha_songinfo_pane_set_text (PraghaSonginfoPane *pane, - const gchar *title, const gchar *text, const gchar *provider) { @@ -92,25 +167,76 @@ gtk_text_buffer_set_text (buffer, "", -1); gtk_text_buffer_get_start_iter (GTK_TEXT_BUFFER(buffer), &iter); - gtk_text_buffer_insert_with_tags_by_name (GTK_TEXT_BUFFER(buffer), &iter, title, -1, - "style_bold", "style_large", "margin_top", NULL); - - gtk_text_buffer_insert (GTK_TEXT_BUFFER(buffer), &iter, "\n\n", -1); gtk_text_buffer_insert (GTK_TEXT_BUFFER(buffer), &iter, text, -1); if (string_is_not_empty(provider)) { - gtk_text_buffer_insert (GTK_TEXT_BUFFER(buffer), &iter, "\n\n", -1); + if (string_is_not_empty(text)) + gtk_text_buffer_insert (GTK_TEXT_BUFFER(buffer), &iter, "\n\n", -1); gtk_text_buffer_insert (GTK_TEXT_BUFFER(buffer), &iter, _("Thanks to "), -1); gtk_text_buffer_insert_with_tags_by_name (GTK_TEXT_BUFFER(buffer), &iter, provider, -1, "style_bold", "style_italic", NULL); } } void +pragha_songinfo_pane_append_song_row (PraghaSonginfoPane *pane, + GtkWidget *row) +{ + gtk_list_box_insert (GTK_LIST_BOX(pane->list_view), row, 0); + gtk_widget_show (GTK_WIDGET(pane->list_view)); + gtk_widget_show (GTK_WIDGET(pane->append_button)); +} + +void pragha_songinfo_pane_clear_text (PraghaSonginfoPane *pane) { GtkTextBuffer *buffer; + buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (pane->text_view)); gtk_text_buffer_set_text (buffer, "", -1); + + gtk_widget_hide (GTK_WIDGET(pane->title)); +} + +void +pragha_songinfo_pane_clear_list (PraghaSonginfoPane *pane) +{ + GList *list, *l; + GtkWidget *children; + + list = gtk_container_get_children (GTK_CONTAINER(pane->list_view)); + l = list; + while (l != NULL) { + children = l->data; + gtk_container_remove(GTK_CONTAINER(pane->list_view), children); + l = g_list_next(l); + } + g_list_free(list); + + gtk_widget_hide (GTK_WIDGET(pane->list_view)); + gtk_widget_hide (GTK_WIDGET(pane->append_button)); +} + +GList * +pragha_songinfo_get_mobj_list (PraghaSonginfoPane *pane) +{ + PraghaMusicobject *mobj; + GList *mlist = NULL, *list, *l; + GtkWidget *row; + const gchar *provider = NULL; + + list = gtk_container_get_children (GTK_CONTAINER(pane->list_view)); + l = list; + while (l != NULL) { + row = l->data; + mobj = g_object_get_data (G_OBJECT(row), "SONG"); + provider = pragha_musicobject_get_provider (mobj); + if (string_is_not_empty(provider)) + mlist = g_list_append (mlist, mobj); + l = g_list_next(l); + } + g_list_free (list); + + return mlist; } GtkWidget * @@ -119,16 +245,17 @@ return pane->pane_title; } -GtkMenu * -pragha_songinfo_pane_get_popup_menu (PraghaSonginfoPane *pane) +GtkWidget * +pragha_songinfo_pane_get_popover (PraghaSonginfoPane *pane) { - return GTK_MENU(gtk_ui_manager_get_widget(pane->context_menu, "/popup")); -} + GMenuModel *model; + GtkWidget *popover; -GtkUIManager * -pragha_songinfo_pane_get_pane_context_menu (PraghaSonginfoPane *pane) -{ - return pane->context_menu; + model = G_MENU_MODEL(gtk_builder_get_object (pane->builder, "song-info-menu")); + popover = gtk_popover_new_from_model (pane->pane_title, model); + gtk_widget_insert_action_group (popover, "info", G_ACTION_GROUP(pane->actions)); + + return popover; } GLYR_GET_TYPE @@ -137,15 +264,116 @@ return pane->info_type; } +void +pragha_songinfo_pane_set_default_view (PraghaSonginfoPane *pane, GLYR_GET_TYPE view_type) +{ + switch(view_type) { + case GLYR_GET_ARTIST_BIO: + pragha_songinfo_pane_show_artist_info_action (NULL, NULL, pane); + break; + case GLYR_GET_SIMILAR_SONGS: + pragha_songinfo_pane_show_similar_action (NULL, NULL, pane); + break; + case GLYR_GET_LYRICS: + default: + pragha_songinfo_pane_show_lyrics_action (NULL, NULL, pane); + break; + } +} + /* * Private */ +static void +pragha_song_info_row_activated (GtkListBox *box, + GtkListBoxRow *row, + PraghaSonginfoPane *pane) +{ + PraghaMusicobject *mobj = NULL; + + mobj = g_object_get_data (G_OBJECT(row), "SONG"); + if (mobj == NULL) + return; + + g_signal_emit (pane, signals[SIGNAL_APPEND], 0, mobj); +} + +static gboolean +pragha_song_info_row_key_press (GtkWidget *widget, + GdkEventKey *event, + PraghaSonginfoPane *pane) +{ + GtkListBoxRow *row; + PraghaMusicobject *mobj = NULL; + if (event->keyval != GDK_KEY_q && event->keyval != GDK_KEY_Q) + return FALSE; + + row = gtk_list_box_get_selected_row (GTK_LIST_BOX (pane->list_view)); + mobj = g_object_get_data (G_OBJECT(row), "SONG"); + if (mobj == NULL) + return FALSE; + + g_signal_emit (pane, signals[SIGNAL_QUEUE], 0, mobj); + + return TRUE; +} + +static void +pragha_song_info_append_songs (GtkButton *button, + PraghaSonginfoPane *pane) +{ + g_signal_emit (pane, signals[SIGNAL_APPEND_ALL], 0); +} + +static void +song_list_header_func (GtkListBoxRow *row, + GtkListBoxRow *before, + gpointer user_data) +{ + GtkWidget *header; + header = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL); + gtk_list_box_row_set_header (row, header); +} + +static gint +song_list_sort_func (GtkListBoxRow *a, + GtkListBoxRow *b, + gpointer user_data) +{ + PraghaMusicobject *mobja = NULL, *mobjb = NULL; + const gchar *providera = NULL, *providerb = NULL; + + mobja = g_object_get_data (G_OBJECT(a), "SONG"); + mobjb = g_object_get_data (G_OBJECT(b), "SONG"); + + providera = pragha_musicobject_get_provider (mobja); + providerb = pragha_musicobject_get_provider (mobjb); + + if (string_is_empty(providera) && string_is_not_empty(providerb)) + return 1; + + if (string_is_not_empty(providera) && string_is_empty(providerb)) + return -1; + + if (string_is_empty(providera) && string_is_empty(providerb)) + return -1; + + if (string_is_not_empty(providera) && string_is_not_empty(providerb)) + return 1; + + return 0; +} + /* Menus */ static void -pragha_songinfo_pane_show_artist_info_action (GtkAction *action, PraghaSonginfoPane *pane) +pragha_songinfo_pane_show_artist_info_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaSonginfoPane *pane = PRAGHA_SONGINFO_PANE(user_data); + gtk_label_set_text (GTK_LABEL(pane->pane_title), _("Artist info")); pane->info_type = GLYR_GET_ARTIST_BIO; @@ -153,44 +381,51 @@ } static void -pragha_songinfo_pane_show_lyrics_action (GtkAction *action, PraghaSonginfoPane *pane) +pragha_songinfo_pane_show_lyrics_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaSonginfoPane *pane = PRAGHA_SONGINFO_PANE(user_data); + gtk_label_set_text (GTK_LABEL(pane->pane_title), _("Lyrics")); pane->info_type = GLYR_GET_LYRICS; g_signal_emit (pane, signals[SIGNAL_TYPE_CHANGED], 0); } -/* Construction */ - -static GtkUIManager * -pragha_songinfo_pane_context_menu_new (PraghaSonginfoPane *pane) +static void +pragha_songinfo_pane_show_similar_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { - GtkUIManager *context_menu = NULL; - GtkActionGroup *context_actions; - GError *error = NULL; + PraghaSonginfoPane *pane = PRAGHA_SONGINFO_PANE(user_data); - context_actions = gtk_action_group_new ("Header Songinfo Pane Context Actions"); - context_menu = gtk_ui_manager_new (); + gtk_label_set_text (GTK_LABEL(pane->pane_title), _("Similar songs")); + pane->info_type = GLYR_GET_SIMILAR_SONGS; - gtk_action_group_set_translation_domain (context_actions, GETTEXT_PACKAGE); + g_signal_emit (pane, signals[SIGNAL_TYPE_CHANGED], 0); +} - if (!gtk_ui_manager_add_ui_from_string (context_menu, - songinfo_pane_context_menu_xml, - -1, &error)) { - g_critical ("(%s): Unable to create header songinfo tree context menu, err : %s", - __func__, error->message); - } +/* Construction */ - gtk_action_group_add_actions (context_actions, - songinfo_pane_context_aentries, - G_N_ELEMENTS(songinfo_pane_context_aentries), - (gpointer) pane); - gtk_ui_manager_insert_action_group (context_menu, context_actions, 0); +static void +pragha_songinfo_pane_construct_builder (PraghaSonginfoPane *pane) +{ + GError *error = NULL; - g_object_unref (context_actions); + pane->builder = gtk_builder_new (); + gtk_builder_add_from_string (pane->builder, pragha_song_info_ui, -1, &error); + if (error) { + g_print ("GtkBuilder error: %s", error->message); + g_error_free (error); + error = NULL; + } - return context_menu; + pane->actions = g_simple_action_group_new (); + g_action_map_add_action_entries (G_ACTION_MAP(pane->actions), + song_info_aentries, + G_N_ELEMENTS(song_info_aentries), + (gpointer)pane); } static void @@ -198,7 +433,7 @@ { PraghaSonginfoPane *pane = PRAGHA_SONGINFO_PANE (object); - g_object_unref (pane->context_menu); + g_object_unref (pane->builder); (*G_OBJECT_CLASS (pragha_songinfo_pane_parent_class)->finalize) (object); } @@ -206,8 +441,38 @@ static void pragha_songinfo_pane_init (PraghaSonginfoPane *pane) { - GtkWidget *view; + GtkWidget *box, *lbox, *label, *append_button, *icon, *view, *list; GtkTextBuffer *buffer; + PangoAttrList *attrs; + GtkStyleContext *context; + + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); + context = gtk_widget_get_style_context (box); + gtk_style_context_add_class (context, GTK_STYLE_CLASS_VIEW); + + label = gtk_label_new (_("Lyrics")); + gtk_widget_set_halign (label, GTK_ALIGN_START); + gtk_widget_set_valign (label, GTK_ALIGN_CENTER); + gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); + g_object_set (label, "xalign", 0.0, NULL); + + attrs = pango_attr_list_new (); + pango_attr_list_insert (attrs, pango_attr_weight_new (PANGO_WEIGHT_BOLD)); + pango_attr_list_insert (attrs, pango_attr_scale_new (PANGO_SCALE_X_LARGE)); + gtk_label_set_attributes (GTK_LABEL (label), attrs); + pango_attr_list_unref (attrs); + + lbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); + context = gtk_widget_get_style_context (lbox); + gtk_style_context_add_class (context, "linked"); + + append_button = gtk_button_new (); + pragha_hig_set_tiny_button (append_button); + gtk_widget_set_tooltip_text (append_button, _("_Add to current playlist")); + gtk_widget_set_valign (append_button, GTK_ALIGN_CENTER); + icon = gtk_image_new_from_icon_name ("list-add", GTK_ICON_SIZE_MENU); + gtk_image_set_pixel_size (GTK_IMAGE(icon), 12); + gtk_button_set_image(GTK_BUTTON(append_button), icon); view = gtk_text_view_new (); gtk_text_view_set_editable (GTK_TEXT_VIEW (view), FALSE); @@ -233,17 +498,39 @@ gtk_scrolled_window_set_hadjustment (GTK_SCROLLED_WINDOW(pane), NULL); gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW(pane), NULL); - gtk_container_set_border_width (GTK_CONTAINER (pane), 2); - - gtk_container_add (GTK_CONTAINER (pane), view); + list = gtk_list_box_new (); + gtk_list_box_set_header_func (GTK_LIST_BOX (list), + song_list_header_func, list, NULL); + gtk_list_box_set_sort_func (GTK_LIST_BOX (list), + song_list_sort_func, list, NULL); + + gtk_box_pack_start (GTK_BOX(lbox), GTK_WIDGET(label), FALSE, FALSE, 4); + gtk_box_pack_start (GTK_BOX(lbox), GTK_WIDGET(append_button), FALSE, FALSE, 4); + + gtk_box_pack_start (GTK_BOX(box), GTK_WIDGET(lbox), FALSE, FALSE, 2); + gtk_box_pack_start (GTK_BOX(box), GTK_WIDGET(list), FALSE, FALSE, 2); + gtk_box_pack_start (GTK_BOX(box), GTK_WIDGET(view), FALSE, FALSE, 2); + gtk_container_add (GTK_CONTAINER (pane), box); gtk_widget_show_all (GTK_WIDGET(pane)); pane->pane_title = gtk_label_new (_("Lyrics")); - gtk_misc_set_alignment (GTK_MISC(pane->pane_title), 0.0, 0.5); + gtk_widget_set_halign (GTK_WIDGET(pane->pane_title), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(pane->pane_title), GTK_ALIGN_CENTER); - pane->context_menu = pragha_songinfo_pane_context_menu_new(pane); + g_signal_connect (list, "row-activated", + G_CALLBACK(pragha_song_info_row_activated), pane); + g_signal_connect (list, "key-press-event", + G_CALLBACK(pragha_song_info_row_key_press), pane); + g_signal_connect (append_button, "clicked", + G_CALLBACK(pragha_song_info_append_songs), pane); + + pragha_songinfo_pane_construct_builder (pane); + + pane->title = label; pane->text_view = view; + pane->list_view = list; + pane->append_button = append_button; pane->info_type = GLYR_GET_LYRICS; } @@ -263,10 +550,37 @@ NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + + signals[SIGNAL_APPEND] = + g_signal_new ("append", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaSonginfoPaneClass, append), + NULL, NULL, + g_cclosure_marshal_VOID__POINTER, + G_TYPE_NONE, 1, G_TYPE_POINTER); + + signals[SIGNAL_APPEND_ALL] = + g_signal_new ("append-all", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaSonginfoPaneClass, append_all), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + + signals[SIGNAL_QUEUE] = + g_signal_new ("queue", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaSonginfoPaneClass, queue), + NULL, NULL, + g_cclosure_marshal_VOID__POINTER, + G_TYPE_NONE, 1, G_TYPE_POINTER); } PraghaSonginfoPane * pragha_songinfo_pane_new (void) { return g_object_new (PRAGHA_TYPE_SONGINFO_PANE, NULL); -} \ No newline at end of file +} diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-pane.h pragha-1.3.992/plugins/song-info/pragha-song-info-pane.h --- pragha-1.3.3/plugins/song-info/pragha-song-info-pane.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-pane.h 2019-07-03 00:30:21.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2011-2014 matias */ +/* Copyright (C) 2011-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -21,6 +21,8 @@ #include #include +#include "src/pragha-musicobject.h" + G_BEGIN_DECLS #define PRAGHA_TYPE_SONGINFO_PANE (pragha_songinfo_pane_get_type ()) @@ -35,21 +37,35 @@ typedef struct { GtkScrolledWindowClass __parent__; void (*type_changed) (PraghaSonginfoPane *pane); + void (*append) (PraghaSonginfoPane *pane, PraghaMusicobject *mobj); + void (*append_all) (PraghaSonginfoPane *pane); + void (*queue) (PraghaSonginfoPane *pane, PraghaMusicobject *mobj); } PraghaSonginfoPaneClass; +GtkWidget * pragha_songinfo_pane_row_new (PraghaMusicobject *mobj); + +void pragha_songinfo_pane_set_title (PraghaSonginfoPane *pane, + const gchar *title); + void pragha_songinfo_pane_set_text (PraghaSonginfoPane *pane, - const gchar *title, const gchar *text, const gchar *provider); + +void pragha_songinfo_pane_append_song_row (PraghaSonginfoPane *pane, + GtkWidget *row); + void pragha_songinfo_pane_clear_text (PraghaSonginfoPane *pane); +void pragha_songinfo_pane_clear_list (PraghaSonginfoPane *pane); + +GList *pragha_songinfo_get_mobj_list (PraghaSonginfoPane *pane); GtkWidget *pragha_songinfo_pane_get_pane_title (PraghaSonginfoPane *pane); -GtkMenu *pragha_songinfo_pane_get_popup_menu (PraghaSonginfoPane *pane); -GtkUIManager *pragha_songinfo_pane_get_pane_context_menu (PraghaSonginfoPane *pane); +GtkWidget *pragha_songinfo_pane_get_popover (PraghaSonginfoPane *pane); GLYR_GET_TYPE pragha_songinfo_pane_get_default_view (PraghaSonginfoPane *pane); +void pragha_songinfo_pane_set_default_view (PraghaSonginfoPane *pane, GLYR_GET_TYPE view_type); PraghaSonginfoPane *pragha_songinfo_pane_new (void); G_END_DECLS -#endif /* PRAGHA_SONGINFO_H */ \ No newline at end of file +#endif /* PRAGHA_SONGINFO_H */ diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-plugin.c pragha-1.3.992/plugins/song-info/pragha-song-info-plugin.c --- pragha-1.3.3/plugins/song-info/pragha-song-info-plugin.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-plugin.c 2019-07-03 00:30:12.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2011-2014 matias */ +/* Copyright (C) 2011-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -49,6 +49,7 @@ #include "src/pragha.h" #include "src/pragha-hig.h" +#include "src/pragha-playlist.h" #include "src/pragha-playback.h" #include "src/pragha-sidebar.h" #include "src/pragha-simple-async.h" @@ -62,10 +63,11 @@ PraghaSonginfoPane *pane; - GlyrDatabase *cache_db; + PraghaInfoCache *cache_info; gboolean download_album_art; GtkWidget *download_album_art_w; + GtkWidget *proxy_w; GtkActionGroup *action_group_playlist; guint merge_id_playlist; @@ -168,11 +170,13 @@ PraghaMusicobject *mobj; const gchar *artist = NULL; const gchar *album = NULL; - gchar *album_art_path; + gchar *album_art_path = NULL; + + PraghaSongInfoPluginPrivate *priv = plugin->priv; CDEBUG(DBG_INFO, "Get album art handler"); - backend = pragha_application_get_backend (plugin->priv->pragha); + backend = pragha_application_get_backend (priv->pragha); if (pragha_backend_get_state (backend) == ST_STOPPED) return; @@ -183,20 +187,19 @@ if (string_is_empty(artist) || string_is_empty(album)) return; - art_cache = pragha_application_get_art_cache (plugin->priv->pragha); - album_art_path = pragha_art_cache_get_uri (art_cache, artist, album); - + art_cache = pragha_application_get_art_cache (priv->pragha); + album_art_path = pragha_art_cache_get_album_uri (art_cache, artist, album); if (album_art_path) goto exists; pragha_songinfo_plugin_get_album_art (plugin, artist, album); exists: - g_free(album_art_path); + g_free (album_art_path); } static void -cancel_pane_search (PraghaSongInfoPlugin *plugin) +pragha_song_info_cancel_pane_search (PraghaSongInfoPlugin *plugin) { PraghaSongInfoPluginPrivate *priv = plugin->priv; @@ -210,18 +213,21 @@ static void related_get_song_info_pane_handler (PraghaSongInfoPlugin *plugin) { - PraghaSongInfoPluginPrivate *priv = plugin->priv; PraghaBackend *backend; PraghaMusicobject *mobj; - const gchar *artist = NULL; - const gchar *title = NULL; - const gchar *filename = NULL; + GList *list = NULL, *l = NULL; + const gchar *artist = NULL, *title = NULL, *filename = NULL; + gchar *artist_bio = NULL, *lyrics = NULL, *provider = NULL; + GLYR_GET_TYPE view_type = GLYR_GET_UNKNOWN; + + PraghaSongInfoPluginPrivate *priv = plugin->priv; CDEBUG (DBG_INFO, "Get song info handler"); - backend = pragha_application_get_backend (plugin->priv->pragha); + backend = pragha_application_get_backend (priv->pragha); if (pragha_backend_get_state (backend) == ST_STOPPED) { - pragha_songinfo_pane_clear_text (plugin->priv->pane); + pragha_songinfo_pane_clear_text (priv->pane); + pragha_songinfo_pane_clear_list (priv->pane); return; } @@ -233,8 +239,58 @@ if (string_is_empty(artist) || string_is_empty(title)) return; - cancel_pane_search (plugin); - priv->pane_search = pragha_songinfo_plugin_get_info_to_pane (plugin, pragha_songinfo_pane_get_default_view(plugin->priv->pane), artist, title, filename); + pragha_song_info_cancel_pane_search (plugin); + pragha_songinfo_pane_clear_list (priv->pane); + + view_type = pragha_songinfo_pane_get_default_view (priv->pane); + switch (view_type) { + case GLYR_GET_ARTIST_BIO: + if (pragha_info_cache_contains_artist_bio (priv->cache_info, artist)) + { + artist_bio = pragha_info_cache_get_artist_bio (priv->cache_info, + artist, &provider); + + pragha_songinfo_pane_set_title (priv->pane, artist); + pragha_songinfo_pane_set_text (priv->pane, artist_bio, provider); + g_free (artist_bio); + g_free (provider); + return; + } + break; + case GLYR_GET_LYRICS: + if (pragha_info_cache_contains_song_lyrics (priv->cache_info, title, artist)) + { + lyrics = pragha_info_cache_get_song_lyrics (priv->cache_info, + title, artist, + &provider); + pragha_songinfo_pane_set_title (priv->pane, title); + pragha_songinfo_pane_set_text (priv->pane, lyrics, provider); + g_free (lyrics); + g_free (provider); + return; + } + break; + case GLYR_GET_SIMILAR_SONGS: + if (pragha_info_cache_contains_similar_songs (priv->cache_info, title, artist)) + { + list = pragha_info_cache_get_similar_songs (priv->cache_info, + title, artist, + &provider); + for (l = list ; l != NULL ; l = l->next) { + pragha_songinfo_pane_append_song_row (priv->pane, + pragha_songinfo_pane_row_new ((PraghaMusicobject *)l->data)); + } + pragha_songinfo_pane_set_title (priv->pane, title); + pragha_songinfo_pane_set_text (priv->pane, "", provider); + g_list_free (list); + g_free (provider); + return; + } + break; + default: + break; + } + priv->pane_search = pragha_songinfo_plugin_get_info_to_pane (plugin, view_type, artist, title, filename); } static void @@ -246,26 +302,31 @@ if (priv->download_album_art) related_get_album_art_handler (plugin); - if (gtk_widget_is_visible(GTK_WIDGET(priv->pane))) - related_get_song_info_pane_handler (plugin); + if (!gtk_widget_is_visible(GTK_WIDGET(priv->pane))) + return; + + related_get_song_info_pane_handler (plugin); } static void backend_changed_state_cb (PraghaBackend *backend, GParamSpec *pspec, gpointer user_data) { PraghaMusicSource file_source = FILE_NONE; - PraghaBackendState state = 0; + PraghaBackendState state = ST_STOPPED; PraghaSongInfoPlugin *plugin = user_data; + PraghaSongInfoPluginPrivate *priv = plugin->priv; - cancel_pane_search (plugin); + pragha_song_info_cancel_pane_search (plugin); state = pragha_backend_get_state (backend); CDEBUG(DBG_INFO, "Configuring thread to get the cover art"); - if (state == ST_STOPPED) - pragha_songinfo_pane_clear_text (plugin->priv->pane); + if (state == ST_STOPPED) { + pragha_songinfo_pane_clear_text (priv->pane); + pragha_songinfo_pane_clear_list (priv->pane); + } if (state != ST_PLAYING) return; @@ -273,13 +334,103 @@ file_source = pragha_musicobject_get_source (pragha_backend_get_musicobject (backend)); if (file_source == FILE_NONE) { - pragha_songinfo_pane_clear_text (plugin->priv->pane); + pragha_songinfo_pane_clear_text (priv->pane); + pragha_songinfo_pane_clear_list (priv->pane); return; } - + pragha_song_info_get_info (plugin); } +static void +pragha_songinfo_pane_append (PraghaSonginfoPane *pane, + PraghaMusicobject *mobj, + PraghaSongInfoPlugin *plugin) +{ + PraghaPlaylist *playlist; + const gchar *provider = NULL, *title = NULL, *artist = NULL; + + PraghaSongInfoPluginPrivate *priv = plugin->priv; + + provider = pragha_musicobject_get_provider (mobj); + if (string_is_empty(provider)) + { + open_url (pragha_musicobject_get_file(mobj), NULL); + } + else + { + title = pragha_musicobject_get_title (mobj); + artist = pragha_musicobject_get_artist (mobj); + playlist = pragha_application_get_playlist (priv->pragha); + if (!pragha_playlist_already_has_title_of_artist (playlist, title, artist)) + pragha_playlist_append_single_song (playlist, g_object_ref(mobj)); + pragha_playlist_select_title_of_artist (playlist, title, artist); + } +} + +static void +pragha_songinfo_pane_queue (PraghaSonginfoPane *pane, + PraghaMusicobject *mobj, + PraghaSongInfoPlugin *plugin) +{ + PraghaPlaylist *playlist; + const gchar *provider = NULL, *title = NULL, *artist = NULL; + + PraghaSongInfoPluginPrivate *priv = plugin->priv; + + provider = pragha_musicobject_get_provider (mobj); + if (string_is_empty(provider)) + return; + + title = pragha_musicobject_get_title (mobj); + artist = pragha_musicobject_get_artist (mobj); + playlist = pragha_application_get_playlist (priv->pragha); + if (!pragha_playlist_already_has_title_of_artist (playlist, title, artist)) + pragha_playlist_append_single_song (playlist, g_object_ref(mobj)); + pragha_playlist_select_title_of_artist (playlist, title, artist); + pragha_playlist_toggle_queue_selected (playlist); +} + +static void +pragha_songinfo_pane_append_all (PraghaSonginfoPane *pane, + PraghaSongInfoPlugin *plugin) +{ + PraghaPlaylist *playlist; + PraghaMusicobject *mobj; + const gchar *title = NULL, *artist = NULL; + GList *mlist, *list; + + PraghaSongInfoPluginPrivate *priv = plugin->priv; + + mlist = pragha_songinfo_get_mobj_list (priv->pane); + list = mlist; + while (list != NULL) { + mobj = PRAGHA_MUSICOBJECT(list->data); + title = pragha_musicobject_get_title (mobj); + artist = pragha_musicobject_get_artist (mobj); + playlist = pragha_application_get_playlist (priv->pragha); + if (!pragha_playlist_already_has_title_of_artist (playlist, title, artist)) + pragha_playlist_append_single_song (playlist, g_object_ref(mobj)); + list = g_list_next(list); + } + g_list_free (mlist); +} + +static gchar * +pragha_songinfo_plugin_get_proxy (PraghaPreferences *preferences) +{ + gchar *plugin_group = NULL, *string = NULL; + plugin_group = pragha_preferences_get_plugin_group_name (preferences, "song-info"); + + string = pragha_preferences_get_string (preferences, + plugin_group, + "Proxy"); + + g_free (plugin_group); + + return string; +} + /* * Update handlers */ @@ -301,12 +452,12 @@ * Public api */ -GlyrDatabase * -pragha_songinfo_plugin_get_cache (PraghaSongInfoPlugin *plugin) +PraghaInfoCache * +pragha_songinfo_plugin_get_cache_info (PraghaSongInfoPlugin *plugin) { PraghaSongInfoPluginPrivate *priv = plugin->priv; - return priv->cache_db; + return priv->cache_info; } PraghaSonginfoPane * @@ -317,6 +468,23 @@ return priv->pane; } +void +pragha_songinfo_plugin_init_glyr_query (gpointer data) +{ + PraghaPreferences *preferences; + gchar *proxy = NULL; + GlyrQuery *query = data; + + preferences = pragha_preferences_get (); + proxy = pragha_songinfo_plugin_get_proxy (preferences); + + glyr_query_init (query); + glyr_opt_proxy (query, proxy); + + g_object_unref (preferences); + g_free (proxy); +} + PraghaApplication * pragha_songinfo_plugin_get_application (PraghaSongInfoPlugin *plugin) { @@ -335,30 +503,43 @@ PraghaSongInfoPlugin *plugin) { PraghaPreferences *preferences; - gchar *plugin_group = NULL; + const gchar *entry_proxy = NULL; + gchar *plugin_group = NULL, *test_proxy = NULL; PraghaSongInfoPluginPrivate *priv = plugin->priv; + preferences = pragha_preferences_get (); + plugin_group = pragha_preferences_get_plugin_group_name (preferences, "song-info"); + + test_proxy = pragha_songinfo_plugin_get_proxy (preferences); + switch(response_id) { case GTK_RESPONSE_CANCEL: gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(priv->download_album_art_w), priv->download_album_art); + pragha_gtk_entry_set_text (GTK_ENTRY(priv->proxy_w), test_proxy); break; case GTK_RESPONSE_OK: priv->download_album_art = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(priv->download_album_art_w)); - preferences = pragha_preferences_get (); - plugin_group = pragha_preferences_get_plugin_group_name(preferences, "song-info"); pragha_preferences_set_boolean (preferences, plugin_group, "DownloadAlbumArt", priv->download_album_art); - g_object_unref (preferences); - g_free (plugin_group); + + entry_proxy = gtk_entry_get_text (GTK_ENTRY(priv->proxy_w)); + + if (g_strcmp0 (test_proxy, entry_proxy)) + pragha_preferences_set_string (preferences, plugin_group, "Proxy", entry_proxy); + break; default: break; } + + g_object_unref (preferences); + g_free (plugin_group); + g_free (test_proxy); } static void @@ -366,8 +547,8 @@ { PreferencesDialog *dialog; PraghaPreferences *preferences = NULL; - gchar *plugin_group = NULL; - GtkWidget *table, *download_album_art_w; + gchar *plugin_group = NULL, *proxy = NULL; + GtkWidget *table, *download_album_art_w, *proxy_label, *proxy_w; guint row = 0; PraghaSongInfoPluginPrivate *priv = plugin->priv; @@ -380,6 +561,16 @@ pragha_hig_workarea_table_add_wide_control (table, &row, download_album_art_w); preferences = pragha_preferences_get (); + proxy_label = gtk_label_new (_("Proxy")); + proxy_w = gtk_entry_new (); + proxy = pragha_songinfo_plugin_get_proxy (preferences); + if (proxy) + gtk_entry_set_text (GTK_ENTRY(proxy_w), proxy); + gtk_entry_set_placeholder_text (GTK_ENTRY(proxy_w), "[protocol://][user:pass@]yourproxy.domain[:port]"); + gtk_entry_set_activates_default (GTK_ENTRY(proxy_w), TRUE); + + pragha_hig_workarea_table_add_row (table, &row, proxy_label, proxy_w); + plugin_group = pragha_preferences_get_plugin_group_name(preferences, "song-info"); priv->download_album_art = @@ -389,6 +580,7 @@ priv->setting_widget = table; priv->download_album_art_w = download_album_art_w; + priv->proxy_w = proxy_w; dialog = pragha_application_get_preferences_dialog (priv->pragha); pragha_preferences_append_services_setting (dialog, table, FALSE); @@ -399,6 +591,7 @@ g_object_unref (G_OBJECT (preferences)); g_free (plugin_group); + g_free (proxy); } static void @@ -425,7 +618,8 @@ PraghaPreferences *preferences; PraghaPlaylist *playlist; PraghaSidebar *sidebar; - gchar *cache_folder = NULL; + GLYR_GET_TYPE view_type = GLYR_GET_LYRICS; + gchar *plugin_group = NULL; PraghaSongInfoPlugin *plugin = PRAGHA_SONG_INFO_PLUGIN (activatable); PraghaSongInfoPluginPrivate *priv = plugin->priv; @@ -436,11 +630,7 @@ glyr_init (); - cache_folder = g_build_path (G_DIR_SEPARATOR_S, g_get_user_cache_dir (), "pragha", NULL); - - g_mkdir_with_parents (cache_folder, S_IRWXU); - priv->cache_db = glyr_db_init (cache_folder); - g_free (cache_folder); + priv->cache_info = pragha_info_cache_get(); /* Attach Playlist popup menu*/ priv->action_group_playlist = gtk_action_group_new ("PraghaGlyrPlaylistActions"); @@ -461,7 +651,7 @@ pragha_sidebar_attach_plugin (sidebar, GTK_WIDGET (priv->pane), pragha_songinfo_pane_get_pane_title (priv->pane), - pragha_songinfo_pane_get_popup_menu (priv->pane)); + pragha_songinfo_pane_get_popover (priv->pane)); /* Connect signals */ @@ -471,11 +661,22 @@ preferences = pragha_application_get_preferences (priv->pragha); + plugin_group = pragha_preferences_get_plugin_group_name (preferences, "song-info"); + view_type = pragha_preferences_get_integer (preferences, plugin_group, "default-view"); + pragha_songinfo_pane_set_default_view (priv->pane, view_type); + g_free (plugin_group); + g_signal_connect (G_OBJECT(preferences), "notify::secondary-lateral-panel", G_CALLBACK(pragha_songinfo_pane_visibility_changed), plugin); g_signal_connect (G_OBJECT(priv->pane), "type-changed", G_CALLBACK(pragha_songinfo_pane_type_changed), plugin); + g_signal_connect (G_OBJECT(priv->pane), "append", + G_CALLBACK(pragha_songinfo_pane_append), plugin); + g_signal_connect (G_OBJECT(priv->pane), "append-all", + G_CALLBACK(pragha_songinfo_pane_append_all), plugin); + g_signal_connect (G_OBJECT(priv->pane), "queue", + G_CALLBACK(pragha_songinfo_pane_queue), plugin); /* Default values */ @@ -519,7 +720,10 @@ plugin); plugin_group = pragha_preferences_get_plugin_group_name (preferences, "song-info"); - if (!pragha_plugins_is_shutdown(pragha_application_get_plugins_engine(priv->pragha))) { + pragha_preferences_set_integer (preferences, plugin_group, "default-view", + pragha_songinfo_pane_get_default_view (priv->pane)); + + if (!pragha_plugins_engine_is_shutdown(pragha_application_get_plugins_engine(priv->pragha))) { pragha_preferences_remove_group (preferences, plugin_group); } g_free (plugin_group); @@ -529,7 +733,7 @@ pragha_songinfo_plugin_remove_setting (plugin); - glyr_db_destroy (priv->cache_db); + g_object_unref (priv->cache_info); glyr_cleanup (); diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-plugin.h pragha-1.3.992/plugins/song-info/pragha-song-info-plugin.h --- pragha-1.3.3/plugins/song-info/pragha-song-info-plugin.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-plugin.h 2019-02-26 16:09:02.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2011-2014 matias */ +/* Copyright (C) 2011-2018 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -26,6 +26,7 @@ #include #include +#include "pragha-song-info-cache.h" #include "pragha-song-info-pane.h" #include "src/pragha.h" @@ -48,8 +49,11 @@ pragha_song_info_plugin) PraghaApplication *pragha_songinfo_plugin_get_application (PraghaSongInfoPlugin *plugin); + +PraghaInfoCache *pragha_songinfo_plugin_get_cache_info (PraghaSongInfoPlugin *plugin); GlyrDatabase *pragha_songinfo_plugin_get_cache (PraghaSongInfoPlugin *plugin); PraghaSonginfoPane *pragha_songinfo_plugin_get_pane (PraghaSongInfoPlugin *plugin); +void pragha_songinfo_plugin_init_glyr_query (gpointer data); G_END_DECLS diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-thread-albumart.c pragha-1.3.992/plugins/song-info/pragha-song-info-thread-albumart.c --- pragha-1.3.3/plugins/song-info/pragha-song-info-thread-albumart.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-thread-albumart.c 2019-02-26 16:09:02.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2011-2014 matias */ +/* Copyright (C) 2011-2018 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -51,7 +51,7 @@ art_cache = pragha_application_get_art_cache (pragha); if (glyr_info->head->data) - pragha_art_cache_put (art_cache, artist, album, glyr_info->head->data, glyr_info->head->size); + pragha_art_cache_put_album (art_cache, artist, album, glyr_info->head->data, glyr_info->head->size); glyr_free_list(glyr_info->head); } @@ -102,7 +102,7 @@ glyr_info = g_slice_new0 (glyr_struct); - glyr_query_init(&glyr_info->query); + pragha_songinfo_plugin_init_glyr_query(&glyr_info->query); glyr_opt_type (&glyr_info->query, GLYR_GET_COVERART); glyr_opt_from (&glyr_info->query, "lastfm;musicbrainz"); diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-thread-albumart.h pragha-1.3.992/plugins/song-info/pragha-song-info-thread-albumart.h --- pragha-1.3.3/plugins/song-info/pragha-song-info-thread-albumart.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-thread-albumart.h 2018-06-21 11:24:11.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2011-2014 matias */ +/* Copyright (C) 2011-2018 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -32,4 +32,4 @@ G_END_DECLS -#endif /* PRAGHA_SONGINFO_THREAD_ALBUMART_H */ \ No newline at end of file +#endif /* PRAGHA_SONGINFO_THREAD_ALBUMART_H */ diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-thread-artistart.c pragha-1.3.992/plugins/song-info/pragha-song-info-thread-artistart.c --- pragha-1.3.3/plugins/song-info/pragha-song-info-thread-artistart.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-thread-artistart.c 2019-02-26 16:09:02.000000000 +0000 @@ -0,0 +1,117 @@ +/*************************************************************************/ +/* Copyright (C) 2011-2018 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#if defined(GETTEXT_PACKAGE) +#include +#else +#include +#endif + +#include + +#include "pragha-song-info-plugin.h" +#include "pragha-song-info-pane.h" + +#include "src/pragha-art-cache.h" +#include "src/pragha-simple-async.h" + +typedef struct { + PraghaSongInfoPlugin *plugin; + GlyrQuery query; + GlyrMemCache *head; +} glyr_struct; + +/* Save the downloaded artist art in cache, and updates the gui.*/ + +static void +glyr_finished_successfully (glyr_struct *glyr_info) +{ + PraghaApplication *pragha; + PraghaArtCache *art_cache; + const gchar *artist = NULL; + + pragha = pragha_songinfo_plugin_get_application (glyr_info->plugin); + + artist = glyr_info->query.artist; + + art_cache = pragha_application_get_art_cache (pragha); + + if (glyr_info->head->data) + pragha_art_cache_put_artist (art_cache, artist, glyr_info->head->data, glyr_info->head->size); + + glyr_free_list(glyr_info->head); +} + +/* + * Final threads + */ + +static gboolean +glyr_finished_thread_update (gpointer data) +{ + glyr_struct *glyr_info = data; + + if (glyr_info->head != NULL) + glyr_finished_successfully (glyr_info); + + glyr_query_destroy (&glyr_info->query); + g_slice_free (glyr_struct, glyr_info); + + return FALSE; +} + +/* Get artist bio or lyric on a thread. */ + +static gpointer +get_related_info_idle_func (gpointer data) +{ + GlyrMemCache *head; + GLYR_ERROR error; + + glyr_struct *glyr_info = data; + + head = glyr_get (&glyr_info->query, &error, NULL); + + glyr_info->head = head; + + return glyr_info; +} + +void +pragha_songinfo_plugin_get_artist_art (PraghaSongInfoPlugin *plugin, + const gchar *artist) +{ + glyr_struct *glyr_info; + + CDEBUG(DBG_INFO, "Get artist art handler"); + + glyr_info = g_slice_new0 (glyr_struct); + + pragha_songinfo_plugin_init_glyr_query(&glyr_info->query); + + glyr_opt_type (&glyr_info->query, GLYR_GET_ARTIST_PHOTOS); + glyr_opt_from (&glyr_info->query, "lastfm"); + + glyr_opt_artist (&glyr_info->query, artist); + + glyr_info->plugin = plugin; + + pragha_async_launch (get_related_info_idle_func, + glyr_finished_thread_update, + glyr_info); +} + diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-thread-artistart.h pragha-1.3.992/plugins/song-info/pragha-song-info-thread-artistart.h --- pragha-1.3.3/plugins/song-info/pragha-song-info-thread-artistart.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-thread-artistart.h 2018-06-21 11:24:11.000000000 +0000 @@ -0,0 +1,34 @@ +/*************************************************************************/ +/* Copyright (C) 2011-2018 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_SONGINFO_THREAD_ARTISTART_H +#define PRAGHA_SONGINFO_THREAD_ARTISTART_H + +#include + +#include +#include "pragha-song-info-plugin.h" + +G_BEGIN_DECLS + +void +pragha_songinfo_plugin_get_artist_art (PraghaSongInfoPlugin *plugin, + const gchar *artist); + +G_END_DECLS + +#endif /* PRAGHA_SONGINFO_THREAD_ARTISTART_H */ diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-thread-dialog.c pragha-1.3.992/plugins/song-info/pragha-song-info-thread-dialog.c --- pragha-1.3.3/plugins/song-info/pragha-song-info-thread-dialog.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-thread-dialog.c 2019-07-02 21:34:15.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2011-2014 matias */ +/* Copyright (C) 2011-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -27,6 +27,7 @@ #include "pragha-song-info-dialog.h" #include "pragha-song-info-pane.h" +#include "src/pragha-app-notification.h" #include "src/pragha-simple-async.h" #include "src/pragha-utils.h" @@ -74,20 +75,21 @@ static void glyr_finished_incorrectly(glyr_struct *glyr_info) { - PraghaStatusbar *statusbar = pragha_statusbar_get (); + PraghaAppNotification *notification; switch (glyr_info->query.type) { case GLYR_GET_LYRICS: - pragha_statusbar_set_misc_text (statusbar, _("Lyrics not found.")); + notification = pragha_app_notification_new (_("Lyrics"), _("Lyrics not found.")); + pragha_app_notification_show (notification); break; case GLYR_GET_ARTIST_BIO: - pragha_statusbar_set_misc_text (statusbar, _("Artist information not found.")); + notification = pragha_app_notification_new (_("Artist info"), _("Artist information not found.")); + pragha_app_notification_show (notification); break; case GLYR_GET_COVERART: default: break; } - g_object_unref (statusbar); } /* @@ -142,12 +144,11 @@ { PraghaApplication *pragha; GtkWidget *window; - GlyrDatabase *cache_db; glyr_struct *glyr_info; glyr_info = g_slice_new0 (glyr_struct); - glyr_query_init (&glyr_info->query); + pragha_songinfo_plugin_init_glyr_query (&glyr_info->query); glyr_opt_type (&glyr_info->query, type); switch (type) { @@ -165,11 +166,6 @@ break; } - cache_db = pragha_songinfo_plugin_get_cache (plugin); - - glyr_opt_lookup_db (&glyr_info->query, cache_db); - glyr_opt_db_autowrite (&glyr_info->query, TRUE); - glyr_info->plugin = plugin; pragha = pragha_songinfo_plugin_get_application (plugin); diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-thread-pane.c pragha-1.3.992/plugins/song-info/pragha-song-info-thread-pane.c --- pragha-1.3.3/plugins/song-info/pragha-song-info-thread-pane.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-thread-pane.c 2019-08-13 11:42:44.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2011-2014 matias */ +/* Copyright (C) 2011-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -23,10 +23,13 @@ #include +#include "pragha-song-info-cache.h" #include "pragha-song-info-plugin.h" #include "pragha-song-info-pane.h" #include "src/pragha-simple-async.h" +#include "src/pragha-database.h" +#include "src/pragha-utils.h" typedef struct { PraghaSongInfoPlugin *plugin; @@ -39,6 +42,42 @@ /* + * Utils. + */ + +PraghaMusicobject * +glyr_mem_cache_get_raw_mobj (GlyrMemCache *it) +{ + PraghaMusicobject *mobj = NULL; + gchar *title, *artist, *url; + gchar *utitle = NULL, *uartist = NULL; + gchar **tags; + + tags = g_strsplit (it->data, "\n", 4); + title = tags[0]; + artist = tags[1]; + url = tags[3]; + + if (string_is_empty(title) || string_is_empty(artist) || string_is_empty(url)) + return NULL; + + utitle = pragha_unescape_html_utf75(title); + uartist = pragha_unescape_html_utf75(artist); + + mobj = pragha_musicobject_new (); + pragha_musicobject_set_file (mobj, url); + pragha_musicobject_set_title (mobj, utitle); + pragha_musicobject_set_artist (mobj, uartist); + + g_free(utitle); + g_free(uartist); + + g_strfreev (tags); + + return mobj; +} + +/* * Function to check if has the last */ @@ -73,15 +112,53 @@ glyr_finished_successfully_pane (glyr_struct *glyr_info) { PraghaSonginfoPane *pane; + PraghaInfoCache *cache; + PraghaDatabase *cdbase; + GlyrMemCache *it = NULL; + GList *list = NULL, *l = NULL; + + cache = pragha_songinfo_plugin_get_cache_info (glyr_info->plugin); + pane = pragha_songinfo_plugin_get_pane (glyr_info->plugin); switch (glyr_info->head->type) { case GLYR_TYPE_LYRICS: - pane = pragha_songinfo_plugin_get_pane (glyr_info->plugin); - pragha_songinfo_pane_set_text (pane, glyr_info->query.title, glyr_info->head->data, glyr_info->head->prov); + pragha_info_cache_save_song_lyrics (cache, + glyr_info->query.title, + glyr_info->query.artist, + glyr_info->head->prov, + glyr_info->head->data); + pragha_songinfo_pane_set_title (pane, glyr_info->query.title); + pragha_songinfo_pane_set_text (pane, glyr_info->head->data, glyr_info->head->prov); break; case GLYR_TYPE_ARTIST_BIO: - pane = pragha_songinfo_plugin_get_pane (glyr_info->plugin); - pragha_songinfo_pane_set_text (pane,glyr_info->query.artist, glyr_info->head->data, glyr_info->head->prov); + pragha_info_cache_save_artist_bio (cache, + glyr_info->query.artist, + glyr_info->head->prov, + glyr_info->head->data); + pragha_songinfo_pane_set_title (pane, glyr_info->query.artist); + pragha_songinfo_pane_set_text (pane, glyr_info->head->data, glyr_info->head->prov); + break; + case GLYR_TYPE_SIMILAR_SONG: + cdbase = pragha_database_get (); + for (it = glyr_info->head ; it != NULL ; it = it->next) { + list = g_list_append (list, glyr_mem_cache_get_raw_mobj(it)); + } + g_object_unref (cdbase); + + pragha_info_cache_save_similar_songs (cache, + glyr_info->query.title, + glyr_info->query.artist, + glyr_info->head->prov, + list); + + for (l = list ; l != NULL ; l = l->next) { + pragha_songinfo_pane_append_song_row (pane, + pragha_songinfo_pane_row_new (PRAGHA_MUSICOBJECT(l->data))); + } + g_list_free (list); + + pragha_songinfo_pane_set_title (pane, glyr_info->query.title); + pragha_songinfo_pane_set_text (pane, "", glyr_info->head->prov); break; case GLYR_TYPE_COVERART: default: @@ -97,11 +174,18 @@ switch (glyr_info->query.type) { case GLYR_GET_LYRICS: pane = pragha_songinfo_plugin_get_pane (glyr_info->plugin); - pragha_songinfo_pane_set_text (pane, glyr_info->query.title, _("Lyrics not found."), ""); + pragha_songinfo_pane_set_title (pane, glyr_info->query.title); + pragha_songinfo_pane_set_text (pane, _("Lyrics not found."), ""); break; case GLYR_GET_ARTIST_BIO: pane = pragha_songinfo_plugin_get_pane (glyr_info->plugin); - pragha_songinfo_pane_set_text (pane, glyr_info->query.artist, _("Artist information not found."), ""); + pragha_songinfo_pane_set_title (pane, glyr_info->query.artist); + pragha_songinfo_pane_set_text (pane, _("Artist information not found."), ""); + break; + case GLYR_GET_SIMILAR_SONGS: + pane = pragha_songinfo_plugin_get_pane (glyr_info->plugin); + pragha_songinfo_pane_set_title (pane, glyr_info->query.title); + pragha_songinfo_pane_set_text (pane, _("No recommended songs."), ""); break; case GLYR_GET_COVERART: default: @@ -170,27 +254,39 @@ const gchar *filename) { PraghaSonginfoPane *pane; - GlyrDatabase *cache_db; glyr_struct *glyr_info; + GCancellable *cancellable; glyr_info = g_slice_new0 (glyr_struct); - glyr_query_init (&glyr_info->query); + pragha_songinfo_plugin_init_glyr_query (&glyr_info->query); glyr_opt_type (&glyr_info->query, type); pane = pragha_songinfo_plugin_get_pane (plugin); + pragha_songinfo_pane_clear_text (pane); + pragha_songinfo_pane_clear_list (pane); switch (type) { case GLYR_GET_ARTIST_BIO: - pragha_songinfo_pane_set_text (pane, artist, _("Searching..."), ""); + pragha_songinfo_pane_set_title (pane, artist); + pragha_songinfo_pane_set_text (pane, _("Searching..."), ""); glyr_opt_artist(&glyr_info->query, artist); glyr_opt_lang (&glyr_info->query, "auto"); glyr_opt_lang_aware_only (&glyr_info->query, TRUE); break; + case GLYR_GET_SIMILAR_SONGS: + pragha_songinfo_pane_set_title (pane, title); + pragha_songinfo_pane_set_text (pane, _("Searching..."), ""); + + glyr_opt_number (&glyr_info->query, 50); + glyr_opt_artist(&glyr_info->query, artist); + glyr_opt_title(&glyr_info->query, title); + break; case GLYR_GET_LYRICS: - pragha_songinfo_pane_set_text (pane, title, _("Searching..."), ""); + pragha_songinfo_pane_set_title (pane, title); + pragha_songinfo_pane_set_text (pane, _("Searching..."), ""); glyr_opt_artist(&glyr_info->query, artist); glyr_opt_title(&glyr_info->query, title); @@ -199,15 +295,10 @@ break; } - cache_db = pragha_songinfo_plugin_get_cache (plugin); - - glyr_opt_lookup_db (&glyr_info->query, cache_db); - glyr_opt_db_autowrite (&glyr_info->query, TRUE); - glyr_info->filename = g_strdup(filename); glyr_info->plugin = plugin; - GCancellable *cancellable = g_cancellable_new (); + cancellable = g_cancellable_new (); glyr_info->cancellable = g_object_ref (cancellable); glyr_info->cancel_id = g_cancellable_connect (glyr_info->cancellable, G_CALLBACK (search_cancelled), diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info-thread-pane.h pragha-1.3.992/plugins/song-info/pragha-song-info-thread-pane.h --- pragha-1.3.3/plugins/song-info/pragha-song-info-thread-pane.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info-thread-pane.h 2019-07-27 00:18:18.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2011-2014 matias */ +/* Copyright (C) 2011-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -19,8 +19,8 @@ #define PRAGHA_SONGINFO_THREAD_PANE_H #include - #include + #include "pragha-song-info-plugin.h" G_BEGIN_DECLS diff -Nru pragha-1.3.3/plugins/song-info/pragha-song-info.ui pragha-1.3.992/plugins/song-info/pragha-song-info.ui --- pragha-1.3.3/plugins/song-info/pragha-song-info.ui 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/song-info/pragha-song-info.ui 2019-07-02 22:51:28.000000000 +0000 @@ -0,0 +1,33 @@ + + + +
    + + Artist info + info.artist + + + Lyrics + info.lyrics + + + Similar songs + info.similar + +
    +
    +
    diff -Nru pragha-1.3.3/plugins/tunein/Makefile.am pragha-1.3.992/plugins/tunein/Makefile.am --- pragha-1.3.3/plugins/tunein/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/tunein/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -12,40 +12,15 @@ libtunein_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -libtunein_la_CFLAGS = \ - $(LIBSOUP_CFLAGS) \ - $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - $(LIBPEAS_CFLAGS) \ - $(LIBPEAS_GTK_CFLAGS) \ - -I$(top_srcdir)/src/include \ - -Wall - -libtunein_la_LIBADD = \ - $(LIBSOUP_LIBS) \ - $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) \ - $(LIBPEAS_LIBS) \ - $(LIBPEAS_GTK_LIBS) - -if HAVE_GSTREAMER_AUDIO -libtunein_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -libtunein_la_LIBADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -libtunein_la_CFLAGS += $(LIBXFCE4UI_CFLAGS) -libtunein_la_LIBADD += $(LIBXFCE4UI_LIBS) -endif +libtunein_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBSOUP_CFLAGS) + + +libtunein_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBSOUP_LIBS) \ + $(top_builddir)/src/libpragha.la plugin_DATA = tunein.plugin diff -Nru pragha-1.3.3/plugins/tunein/Makefile.in pragha-1.3.992/plugins/tunein/Makefile.in --- pragha-1.3.3/plugins/tunein/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/tunein/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,826 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/tunein +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libtunein_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(top_builddir)/src/libpragha.la +am_libtunein_la_OBJECTS = libtunein_la-pragha-tunein-plugin.lo +libtunein_la_OBJECTS = $(am_libtunein_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libtunein_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libtunein_la_CFLAGS) \ + $(CFLAGS) $(libtunein_la_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = \ + ./$(DEPDIR)/libtunein_la-pragha-tunein-plugin.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libtunein_la_SOURCES) +DIST_SOURCES = $(libtunein_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/tunein +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libtunein.la +libtunein_la_SOURCES = \ + pragha-tunein-plugin.c + +libtunein_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libtunein_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + $(LIBSOUP_CFLAGS) + +libtunein_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(LIBSOUP_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = tunein.plugin +EXTRA_DIST = $(plugin_DATA) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/tunein/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/tunein/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libtunein.la: $(libtunein_la_OBJECTS) $(libtunein_la_DEPENDENCIES) $(EXTRA_libtunein_la_DEPENDENCIES) + $(AM_V_CCLD)$(libtunein_la_LINK) -rpath $(plugindir) $(libtunein_la_OBJECTS) $(libtunein_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtunein_la-pragha-tunein-plugin.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libtunein_la-pragha-tunein-plugin.lo: pragha-tunein-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtunein_la_CFLAGS) $(CFLAGS) -MT libtunein_la-pragha-tunein-plugin.lo -MD -MP -MF $(DEPDIR)/libtunein_la-pragha-tunein-plugin.Tpo -c -o libtunein_la-pragha-tunein-plugin.lo `test -f 'pragha-tunein-plugin.c' || echo '$(srcdir)/'`pragha-tunein-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtunein_la-pragha-tunein-plugin.Tpo $(DEPDIR)/libtunein_la-pragha-tunein-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-tunein-plugin.c' object='libtunein_la-pragha-tunein-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtunein_la_CFLAGS) $(CFLAGS) -c -o libtunein_la-pragha-tunein-plugin.lo `test -f 'pragha-tunein-plugin.c' || echo '$(srcdir)/'`pragha-tunein-plugin.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libtunein_la-pragha-tunein-plugin.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libtunein_la-pragha-tunein-plugin.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/tunein/pragha-tunein-plugin.c pragha-1.3.992/plugins/tunein/pragha-tunein-plugin.c --- pragha-1.3.3/plugins/tunein/pragha-tunein-plugin.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/plugins/tunein/pragha-tunein-plugin.c 2019-07-05 14:22:37.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2014 matias */ +/* Copyright (C) 2014-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -35,6 +35,7 @@ #include #include "src/pragha.h" +#include "src/pragha-app-notification.h" #include "src/pragha-menubar.h" #include "src/pragha-playlist.h" #include "src/pragha-playlists-mgmt.h" @@ -42,6 +43,8 @@ #include "src/pragha-hig.h" #include "src/pragha-utils.h" #include "src/pragha-window.h" +#include "src/pragha-background-task-bar.h" +#include "src/pragha-background-task-widget.h" #include "src/xml_helper.h" #include "plugins/pragha-plugin-macros.h" @@ -54,11 +57,14 @@ #define PRAGHA_TUNEIN_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PRAGHA_TYPE_TUNEIN_PLUGIN, PraghaTuneinPluginClass)) struct _PraghaTuneinPluginPrivate { - PraghaApplication *pragha; + PraghaApplication *pragha; - GtkActionGroup *action_group_main_menu; - guint merge_id_main_menu; + PraghaBackgroundTaskWidget *task_widget; + GtkWidget *name_entry; + GtkActionGroup *action_group_main_menu; + guint merge_id_main_menu; }; + typedef struct _PraghaTuneinPluginPrivate PraghaTuneinPluginPrivate; PRAGHA_PLUGIN_REGISTER (PRAGHA_TYPE_TUNEIN_PLUGIN, @@ -125,8 +131,9 @@ SoupMessage *msg, gpointer user_data) { - GtkWidget *window; + PraghaAppNotification *notification; PraghaPlaylist *playlist; + PraghaBackgroundTaskBar *taskbar; PraghaDatabase *cdbase; PraghaMusicobject *mobj = NULL; XMLNode *xml = NULL, *xi; @@ -136,17 +143,27 @@ PraghaTuneinPlugin *plugin = user_data; PraghaTuneinPluginPrivate *priv = plugin->priv; - window = pragha_application_get_window (priv->pragha); - remove_watch_cursor (window); - - if (!SOUP_STATUS_IS_SUCCESSFUL (msg->status_code)) + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_remove_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + + if (!SOUP_STATUS_IS_SUCCESSFUL (msg->status_code)) { + notification = pragha_app_notification_new ("TuneIn", _("There was an error when searching radio on TuneIn")); + pragha_app_notification_show (notification); return; + } xml = tinycxml_parse ((gchar *)msg->response_body->data); xi = xmlnode_get (xml, CCA{"opml", "body", "outline", NULL }, NULL, NULL); + for(;xi;xi= xi->next) { + type = tunein_helper_get_atribute (xi, "type"); + if (g_ascii_strcasecmp(type, "audio") == 0) + break; + } - type = tunein_helper_get_atribute (xi, "type"); - if (g_ascii_strcasecmp(type, "audio") != 0) { + if (xi == NULL) { + notification = pragha_app_notification_new ("TuneIn", _("Radio was not found")); + pragha_app_notification_show (notification); xmlnode_free(xml); return; } @@ -155,6 +172,8 @@ url = tunein_helper_get_atribute (xi, "URL"); if (string_is_empty(name) || string_is_empty(url)) { + notification = pragha_app_notification_new ("TuneIn", _("There was an error when searching radio on TuneIn")); + pragha_app_notification_show (notification); xmlnode_free(xml); return; } @@ -180,20 +199,26 @@ static void pragha_tunein_plugin_get_radio (PraghaTuneinPlugin *plugin, const gchar *field) { - GtkWidget *window; + PraghaBackgroundTaskBar *taskbar; SoupSession *session; SoupMessage *msg; gchar *escaped_field = NULL, *query = NULL; PraghaTuneinPluginPrivate *priv = plugin->priv; - window = pragha_application_get_window (priv->pragha); - set_watch_cursor (window); + priv->task_widget = pragha_background_task_widget_new (_("Searching radio on TuneIn"), + "edit-find", + 0, + NULL); + + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_prepend_widget (taskbar, GTK_WIDGET(priv->task_widget)); + g_object_unref(G_OBJECT(taskbar)); escaped_field = g_uri_escape_string (field, NULL, TRUE); query = g_strdup_printf ("%s%s", "http://opml.radiotime.com/Search.aspx?query=", escaped_field); - session = soup_session_sync_new (); + session = soup_session_new (); msg = soup_message_new ("GET", query); soup_session_queue_message (session, msg, @@ -206,12 +231,32 @@ /* * TuneIn dialog */ + +static void +pragha_tunein_dialog_response (GtkWidget *dialog, + gint response_id, + PraghaTuneinPlugin *plugin) +{ + PraghaTuneinPluginPrivate *priv = plugin->priv; + + switch (response_id) { + case GTK_RESPONSE_ACCEPT: + pragha_tunein_plugin_get_radio (plugin, gtk_entry_get_text(GTK_ENTRY(priv->name_entry))); + break; + case GTK_RESPONSE_CANCEL: + default: + break; + } + + priv->name_entry = NULL; + gtk_widget_destroy (dialog); +} + static void pragha_tunein_get_radio_dialog (PraghaTuneinPlugin *plugin) { GtkWidget *dialog, *parent; GtkWidget *table, *entry; - gint result; guint row = 0; PraghaTuneinPluginPrivate *priv = plugin->priv; @@ -233,24 +278,15 @@ entry = gtk_entry_new (); gtk_entry_set_max_length (GTK_ENTRY(entry), 255); gtk_entry_set_activates_default (GTK_ENTRY(entry), TRUE); + priv->name_entry = entry; pragha_hig_workarea_table_add_wide_control (table, &row, entry); gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), table); - gtk_widget_show_all(dialog); - - result = gtk_dialog_run(GTK_DIALOG(dialog)); - switch(result) { - case GTK_RESPONSE_ACCEPT: - pragha_tunein_plugin_get_radio(plugin, gtk_entry_get_text(GTK_ENTRY(entry))); - break; - case GTK_RESPONSE_CANCEL: - break; - default: - break; - } - gtk_widget_destroy (dialog); + g_signal_connect (G_OBJECT (dialog), "response", + G_CALLBACK (pragha_tunein_dialog_response), plugin); + gtk_widget_show_all (dialog); } /* @@ -289,8 +325,8 @@ G_CALLBACK (pragha_gmenu_tunein_plugin_get_radio_action), plugin); item = g_menu_item_new (_("Search radio on TuneIn"), "win.search-tunein"); - pragha_menubar_append_action (priv->pragha, "pragha-plugins-placeholder", action, item); + g_object_unref (item); } static void diff -Nru pragha-1.3.3/plugins/visualizer/Makefile.am pragha-1.3.992/plugins/visualizer/Makefile.am --- pragha-1.3.3/plugins/visualizer/Makefile.am 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/visualizer/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -0,0 +1,30 @@ +plugindir = $(libdir)/pragha/plugins/visualizer + +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libvisualizer.la + +libvisualizer_la_SOURCES = \ + pragha-visualizer-plugin.h \ + pragha-visualizer-plugin.c \ + pragha-visualizer.h \ + pragha-visualizer.c \ + pragha-visualizer-particle.h \ + pragha-visualizer-particle.c + +libvisualizer_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) + +libvisualizer_la_CFLAGS = \ + $(PRAGHA_CFLAGS) + +libvisualizer_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = visualizer.plugin + +EXTRA_DIST = \ + $(plugin_DATA) diff -Nru pragha-1.3.3/plugins/visualizer/Makefile.in pragha-1.3.992/plugins/visualizer/Makefile.in --- pragha-1.3.3/plugins/visualizer/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/visualizer/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,857 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = plugins/visualizer +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +libvisualizer_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(top_builddir)/src/libpragha.la +am_libvisualizer_la_OBJECTS = \ + libvisualizer_la-pragha-visualizer-plugin.lo \ + libvisualizer_la-pragha-visualizer.lo \ + libvisualizer_la-pragha-visualizer-particle.lo +libvisualizer_la_OBJECTS = $(am_libvisualizer_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libvisualizer_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libvisualizer_la_CFLAGS) $(CFLAGS) \ + $(libvisualizer_la_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = \ + ./$(DEPDIR)/libvisualizer_la-pragha-visualizer-particle.Plo \ + ./$(DEPDIR)/libvisualizer_la-pragha-visualizer-plugin.Plo \ + ./$(DEPDIR)/libvisualizer_la-pragha-visualizer.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libvisualizer_la_SOURCES) +DIST_SOURCES = $(libvisualizer_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(plugin_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +plugindir = $(libdir)/pragha/plugins/visualizer +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(LIBPEAS_CFLAGS) \ + $(LIBPEAS_GTK_CFLAGS) + +plugin_LTLIBRARIES = libvisualizer.la +libvisualizer_la_SOURCES = \ + pragha-visualizer-plugin.h \ + pragha-visualizer-plugin.c \ + pragha-visualizer.h \ + pragha-visualizer.c \ + pragha-visualizer-particle.h \ + pragha-visualizer-particle.c + +libvisualizer_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +libvisualizer_la_CFLAGS = \ + $(PRAGHA_CFLAGS) + +libvisualizer_la_LIBADD = \ + $(PRAGHA_LIBS) \ + $(top_builddir)/src/libpragha.la + +plugin_DATA = visualizer.plugin +EXTRA_DIST = \ + $(plugin_DATA) + +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/visualizer/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/visualizer/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libvisualizer.la: $(libvisualizer_la_OBJECTS) $(libvisualizer_la_DEPENDENCIES) $(EXTRA_libvisualizer_la_DEPENDENCIES) + $(AM_V_CCLD)$(libvisualizer_la_LINK) -rpath $(plugindir) $(libvisualizer_la_OBJECTS) $(libvisualizer_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvisualizer_la-pragha-visualizer-particle.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvisualizer_la-pragha-visualizer-plugin.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvisualizer_la-pragha-visualizer.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libvisualizer_la-pragha-visualizer-plugin.lo: pragha-visualizer-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvisualizer_la_CFLAGS) $(CFLAGS) -MT libvisualizer_la-pragha-visualizer-plugin.lo -MD -MP -MF $(DEPDIR)/libvisualizer_la-pragha-visualizer-plugin.Tpo -c -o libvisualizer_la-pragha-visualizer-plugin.lo `test -f 'pragha-visualizer-plugin.c' || echo '$(srcdir)/'`pragha-visualizer-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvisualizer_la-pragha-visualizer-plugin.Tpo $(DEPDIR)/libvisualizer_la-pragha-visualizer-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-visualizer-plugin.c' object='libvisualizer_la-pragha-visualizer-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvisualizer_la_CFLAGS) $(CFLAGS) -c -o libvisualizer_la-pragha-visualizer-plugin.lo `test -f 'pragha-visualizer-plugin.c' || echo '$(srcdir)/'`pragha-visualizer-plugin.c + +libvisualizer_la-pragha-visualizer.lo: pragha-visualizer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvisualizer_la_CFLAGS) $(CFLAGS) -MT libvisualizer_la-pragha-visualizer.lo -MD -MP -MF $(DEPDIR)/libvisualizer_la-pragha-visualizer.Tpo -c -o libvisualizer_la-pragha-visualizer.lo `test -f 'pragha-visualizer.c' || echo '$(srcdir)/'`pragha-visualizer.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvisualizer_la-pragha-visualizer.Tpo $(DEPDIR)/libvisualizer_la-pragha-visualizer.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-visualizer.c' object='libvisualizer_la-pragha-visualizer.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvisualizer_la_CFLAGS) $(CFLAGS) -c -o libvisualizer_la-pragha-visualizer.lo `test -f 'pragha-visualizer.c' || echo '$(srcdir)/'`pragha-visualizer.c + +libvisualizer_la-pragha-visualizer-particle.lo: pragha-visualizer-particle.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvisualizer_la_CFLAGS) $(CFLAGS) -MT libvisualizer_la-pragha-visualizer-particle.lo -MD -MP -MF $(DEPDIR)/libvisualizer_la-pragha-visualizer-particle.Tpo -c -o libvisualizer_la-pragha-visualizer-particle.lo `test -f 'pragha-visualizer-particle.c' || echo '$(srcdir)/'`pragha-visualizer-particle.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvisualizer_la-pragha-visualizer-particle.Tpo $(DEPDIR)/libvisualizer_la-pragha-visualizer-particle.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-visualizer-particle.c' object='libvisualizer_la-pragha-visualizer-particle.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvisualizer_la_CFLAGS) $(CFLAGS) -c -o libvisualizer_la-pragha-visualizer-particle.lo `test -f 'pragha-visualizer-particle.c' || echo '$(srcdir)/'`pragha-visualizer-particle.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plugindir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(plugindir)" || exit $$?; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; test -n "$(plugindir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(plugindir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libvisualizer_la-pragha-visualizer-particle.Plo + -rm -f ./$(DEPDIR)/libvisualizer_la-pragha-visualizer-plugin.Plo + -rm -f ./$(DEPDIR)/libvisualizer_la-pragha-visualizer.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libvisualizer_la-pragha-visualizer-particle.Plo + -rm -f ./$(DEPDIR)/libvisualizer_la-pragha-visualizer-plugin.Plo + -rm -f ./$(DEPDIR)/libvisualizer_la-pragha-visualizer.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/plugins/visualizer/pragha-visualizer.c pragha-1.3.992/plugins/visualizer/pragha-visualizer.c --- pragha-1.3.3/plugins/visualizer/pragha-visualizer.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/visualizer/pragha-visualizer.c 2019-02-26 16:09:02.000000000 +0000 @@ -0,0 +1,242 @@ +/*************************************************************************/ +/* Copyright (C) 2018 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +/* + * This code is completely based on the Koel audio visualization.. + * https://github.com/koel/core/blob/master/js/utils/visualizer.js + * + * Just Thanks!. + */ + +#include +#include + +#define SYNCRONIZED 1 + +//#define DRAW_DEBUG 1 + +#include "src/pragha-backend.h" + +#include "pragha-visualizer-particle.h" +#include "pragha-visualizer.h" + +#ifdef DRAW_DEBUG +static gint tick_i = 0; +static gint draw_i = 0; +static gint update_i = 0; +#endif + +#define PRAGHA_TYPE_VISUALIZER (pragha_visualizer_get_type()) +#define PRAGHA_VISUALIZER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_VISUALIZER, PraghaVisualizer)) +#define PRAGHA_VISUALIZER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_VISUALIZER, PraghaVisualizer const)) +#define PRAGHA_VISUALIZER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_VISUALIZER, PraghaVisualizerClass)) +#define PRAGHA_IS_VISUALIZER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_VISUALIZER)) +#define PRAGHA_IS_VISUALIZER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_VISUALIZER)) +#define PRAGHA_VISUALIZER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_VISUALIZER, PraghaVisualizerClass)) + +struct _PraghaVisualizerClass { + GtkBoxClass parent_class; +}; +struct _PraghaVisualizer { + GtkBox _parent; + + GtkWidget *drawing_area; + GList *particles; + + guint width; + guint height; + + guint tick_id; +}; + +G_DEFINE_TYPE(PraghaVisualizer, pragha_visualizer, GTK_TYPE_BOX) + +void +pragha_visualizer_set_magnitudes (PraghaVisualizer *visualizer, GValue *magnitudes) +{ + PraghaParticle *particle = NULL; + const GValue *mag = NULL; + GList *l = NULL; + guint i = 0; + gdouble dmag = 0.0; + + if (!gtk_widget_is_visible (GTK_WIDGET(visualizer))) + return; + + for (l = visualizer->particles, i = 0 ; l != NULL ; l = l->next, i++) + { + particle = l->data; + mag = gst_value_list_get_value (magnitudes, i); + if (mag != NULL) + dmag = 80.0 + g_value_get_float (mag); + else + dmag = 0.0; + + pragha_particle_set_energy (particle, dmag/80); +// pragha_particle_move (particle, visualizer->width, visualizer->height); + } + +#ifdef DRAW_DEBUG + update_i++; +#endif + +#ifndef SYNCRONIZED + gtk_widget_queue_draw (GTK_WIDGET(visualizer->drawing_area)); +#endif +} + +void +pragha_visualizer_stop (PraghaVisualizer *visualizer) +{ + PraghaParticle *particle = NULL; + GList *l = NULL; + for (l = visualizer->particles ; l != NULL ; l = l->next) + { + particle = l->data; + pragha_particle_set_energy (particle, 0.0); + } +} + +static gboolean +pragha_visualizer_widget_draw (GtkWidget *widget, cairo_t *cr, gpointer user_data) +{ + PraghaParticle *particle = NULL; + GList *l = NULL; + + PraghaVisualizer *visualizer = PRAGHA_VISUALIZER (user_data); + + cairo_set_tolerance (cr, 1.0); + cairo_set_antialias (cr, CAIRO_ANTIALIAS_FAST); + + cairo_rectangle (cr, 0, 0, visualizer->width, visualizer->height); + cairo_fill (cr); + + for (l = visualizer->particles ; l != NULL ; l = l->next) + { + particle = l->data; + pragha_particle_move (particle, visualizer->width, visualizer->height); + pragha_particle_draw (particle, cr); + } + +#ifdef DRAW_DEBUG + draw_i++; + g_critical ("Tick: %i, Draw: %i, Mag: %i", tick_i, draw_i, update_i); +#endif + + return TRUE; +} + +#ifdef SYNCRONIZED +static gboolean +pragha_visualizer_drawing_tick (gpointer user_data) +{ + GtkWidget *widget = GTK_WIDGET (user_data); +#ifdef DRAW_DEBUG + tick_i++; +#endif + if (gtk_widget_is_visible (widget)) + gtk_widget_queue_draw(widget); + + return G_SOURCE_CONTINUE; +} +#endif + +static void +pragha_visualizer_size_allocate (GtkWidget *widget, GdkRectangle *allocation, gpointer user_data) +{ + PraghaParticle *particle = NULL; + GList *l = NULL; + gint x = 0, y = 0; + + PraghaVisualizer *visualizer = PRAGHA_VISUALIZER (user_data); + + visualizer->width = allocation->width; + visualizer->height = allocation->height; + + for (l = visualizer->particles ; l != NULL ; l = l->next) + { + particle = l->data; + x = g_random_int_range (1, visualizer->width); + y = g_random_int_range (1, visualizer->height); + pragha_particle_reset (particle); + pragha_particle_move_to (particle, x, y); + } +} + +static void +pragha_visualizer_dispose (GObject *object) +{ + PraghaVisualizer *visualizer = PRAGHA_VISUALIZER (object); + +#ifdef SYNCRONIZED + if (visualizer->tick_id) { + g_source_remove (visualizer->tick_id); + visualizer->tick_id = 0; + } +#endif + + if (visualizer->particles) { + g_list_free_full (visualizer->particles, g_object_unref); + visualizer->particles = NULL; + } + G_OBJECT_CLASS (pragha_visualizer_parent_class)->dispose (object); +} + +static void +pragha_visualizer_class_init (PraghaVisualizerClass *class) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (class); + gobject_class->dispose = pragha_visualizer_dispose; +} + +static void +pragha_visualizer_init (PraghaVisualizer *visualizer) +{ + GtkWidget *drawing_area; + PraghaParticle *particle = NULL; + gint i = 0; + + drawing_area = gtk_drawing_area_new (); + gtk_widget_set_size_request (drawing_area, 640, 480); + gtk_widget_set_hexpand (drawing_area, TRUE); + + g_signal_connect (drawing_area, "size-allocate", + G_CALLBACK(pragha_visualizer_size_allocate), visualizer); + g_signal_connect (G_OBJECT (drawing_area), "draw", + G_CALLBACK (pragha_visualizer_widget_draw), visualizer); + +#ifdef SYNCRONIZED + visualizer->tick_id = g_timeout_add (75, pragha_visualizer_drawing_tick, drawing_area); +#endif + + for (i = 0 ; i < 128 ; i++) { + particle = pragha_particle_new (); + pragha_particle_set_energy (particle, 0.0); + visualizer->particles = g_list_append (visualizer->particles, particle); + } + + visualizer->drawing_area = drawing_area; + gtk_widget_set_visible (drawing_area, TRUE); + + gtk_container_add(GTK_CONTAINER(visualizer), drawing_area); +} + +PraghaVisualizer * +pragha_visualizer_new (void) +{ + return g_object_new (PRAGHA_TYPE_VISUALIZER, NULL); +} diff -Nru pragha-1.3.3/plugins/visualizer/pragha-visualizer.h pragha-1.3.992/plugins/visualizer/pragha-visualizer.h --- pragha-1.3.3/plugins/visualizer/pragha-visualizer.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/visualizer/pragha-visualizer.h 2018-06-28 20:05:59.000000000 +0000 @@ -0,0 +1,39 @@ +/*************************************************************************/ +/* Copyright (C) 2018 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_VISUALIZER_H +#define PRAGHA_VISUALIZER_H + +#include + +#include +#include + +G_BEGIN_DECLS + +typedef struct _PraghaVisualizer PraghaVisualizer; +typedef struct _PraghaVisualizerClass PraghaVisualizerClass; + +void +pragha_visualizer_set_magnitudes (PraghaVisualizer *visualizer, GValue *magnitudes); + +PraghaVisualizer * +pragha_visualizer_new (void); + +G_END_DECLS + +#endif /* PRAGHA_VISUALIZER_H */ diff -Nru pragha-1.3.3/plugins/visualizer/pragha-visualizer-particle.c pragha-1.3.992/plugins/visualizer/pragha-visualizer-particle.c --- pragha-1.3.3/plugins/visualizer/pragha-visualizer-particle.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/visualizer/pragha-visualizer-particle.c 2019-08-13 11:42:44.000000000 +0000 @@ -0,0 +1,207 @@ +/*************************************************************************/ +/* Copyright (C) 2018-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +/* + * This code is completely based on the Koel audio visualization.. + * https://github.com/koel/core/blob/master/js/utils/visualizer.js + * + * Just Thanks!. + */ + +#include +#include + +#define SYNCRONIZED 1 + +//#define DRAW_DEBUG 1 + +#include "pragha-visualizer-particle.h" + +const gdouble SMOOTHING = 0.5; +const gdouble SCALE_MIN = 5.0; +const gdouble SCALE_MAX = 80.0; +const gdouble SPEED_MIN = 0.3; +const gdouble SPEED_MAX = 1.5; +const gdouble ALPHA_MIN = 0.8; +const gdouble ALPHA_MAX = 0.9; +const gdouble SPIN_MIN = 0.002; +const gdouble SPIN_MAX = 0.010; +const gdouble SIZE_MIN = 0.5; +const gdouble PSIZE_MAX = 1.25; + +#ifdef DRAW_DEBUG +static gint tick_i = 0; +static gint draw_i = 0; +static gint update_i = 0; +#endif + +const gchar *COLORS[] = { + "#69D2E7", + "#1B676B", + "#BEF202", + "#EBE54D", + "#00CDAC", + "#1693A5", + "#F9D423", + "#FF4E50", + "#E7204E", + "#0CCABA", + "#FF006F" +}; + +struct _PraghaParticle { + GObject _parent; + + gdouble x; + gdouble y; + + GdkRGBA color; + + gdouble level; + gdouble scale; + gdouble alpha; + gdouble speed; + gdouble size; + gdouble spin; + gdouble band; + + gdouble smoothedScale; + gdouble smoothedAlpha; + gdouble decayScale; + gdouble decayAlpha; + gdouble rotation; + gdouble energy; +}; + +G_DEFINE_TYPE(PraghaParticle, pragha_particle, G_TYPE_OBJECT) + +void +pragha_particle_reset (PraghaParticle *particle) +{ + particle->x = 0; + particle->y = 0; + + particle->level = 1.0 + floor(g_random_double_range (0, 4)); + particle->scale = g_random_double_range (SCALE_MIN, SCALE_MAX); + particle->alpha = g_random_double_range (ALPHA_MIN, ALPHA_MAX); + particle->speed = g_random_double_range (SPEED_MIN, SPEED_MAX); + gdk_rgba_parse (&particle->color, COLORS[g_random_int_range (0, G_N_ELEMENTS(COLORS))]); + + particle->size = g_random_double_range (SIZE_MIN, PSIZE_MAX); + particle->spin = g_random_double_range (SPIN_MIN, SPIN_MAX); + + if (g_random_double_range (0.0, 1.0) < 0.5) + particle->spin *=-1.0; + + particle->smoothedScale = 0.0; + particle->smoothedAlpha = 0.0; + particle->decayScale = 0.0; + particle->decayAlpha = 0.0; + particle->rotation = g_random_double_range (0.0, 2*G_PI); + particle->energy = 0.0; +} + +void +pragha_particle_move_to (PraghaParticle *particle, gint x, gint y) +{ + particle->x = x; + particle->y = y; +} + +void +pragha_particle_move (PraghaParticle *particle, guint width, guint height) +{ + particle->rotation += particle->spin; + particle->y -= particle->speed * particle->level; + + if (particle->y < (-particle->size * particle->level * particle->scale * 2)) + { + pragha_particle_reset(particle); + + particle->x = g_random_int_range (0, width); + particle->y = height + (particle->size * particle->scale * particle->level * 2); + } +} + +void +pragha_particle_set_energy (PraghaParticle *particle, gdouble energy) +{ + particle->energy = energy; +} + +void +pragha_particle_draw (PraghaParticle *particle, cairo_t *cr) +{ + GdkRGBA *color; + const gdouble power = exp (particle->energy); + const gdouble scale = particle->scale * power; + const gdouble alpha = particle->alpha * particle->energy * 2; + + particle->decayScale = MAX (particle->decayScale, scale); + particle->decayAlpha = MAX (particle->decayAlpha, alpha); + + particle->smoothedScale += (particle->decayScale - particle->smoothedScale) * 0.3; + particle->smoothedAlpha += (particle->decayAlpha - particle->smoothedAlpha) * 0.3; + + particle->decayScale *= 0.985; + particle->decayAlpha *= 0.975; + + color = gdk_rgba_copy (&particle->color); + color->alpha = particle->smoothedAlpha / particle->level; + + cairo_save (cr); + + cairo_translate (cr, particle->x + cos(particle->rotation * particle->speed) * 250, particle->y); + cairo_rotate (cr, particle->rotation); + cairo_scale (cr, particle->smoothedScale * particle->level, particle->smoothedScale * particle->level); + + cairo_rectangle (cr, -1.5, -0.5, 3.0, 1.0); + cairo_clip (cr); + + cairo_move_to (cr, particle->size * 0.5, 0.0); + cairo_line_to (cr, particle->size * -0.5, 0.0); + + cairo_set_line_width (cr, 1.0); + cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND); + gdk_cairo_set_source_rgba (cr, color); + cairo_stroke (cr); + + cairo_reset_clip(cr); + + cairo_restore (cr); + + gdk_rgba_free (color); +} + +static void +pragha_particle_class_init (PraghaParticleClass *klass) +{ +} + +static void +pragha_particle_init (PraghaParticle *particle) +{ + pragha_particle_reset (particle); +} + +PraghaParticle * +pragha_particle_new (void) +{ + PraghaParticle *particle = g_object_new (PRAGHA_TYPE_PARTICLE, NULL); + return particle; +} + diff -Nru pragha-1.3.3/plugins/visualizer/pragha-visualizer-particle.h pragha-1.3.992/plugins/visualizer/pragha-visualizer-particle.h --- pragha-1.3.3/plugins/visualizer/pragha-visualizer-particle.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/visualizer/pragha-visualizer-particle.h 2018-06-28 20:08:38.000000000 +0000 @@ -0,0 +1,64 @@ +/*************************************************************************/ +/* Copyright (C) 2018 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_VISUALIZER_PARTICLE_H +#define PRAGHA_VISUALIZER_PARTICLE_H + +#include + +#include +#include + +G_BEGIN_DECLS + +#define PRAGHA_TYPE_PARTICLE (pragha_particle_get_type()) +#define PRAGHA_PARTICLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_PARTICLE, PraghaParticle)) +#define PRAGHA_PARTICLE_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_PARTICLE, PraghaParticle const)) +#define PRAGHA_PARTICLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_PARTICLE, PraghaParticleClass)) +#define PRAGHA_IS_PARTICLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_PARTICLE)) +#define PRAGHA_IS_PARTICLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_PARTICLE)) +#define PRAGHA_PARTICLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_PARTICLE, PraghaParticleClass)) + +typedef struct _PraghaParticle PraghaParticle; +typedef struct _PraghaParticleClass PraghaParticleClass; + +struct _PraghaParticleClass +{ + GObjectClass parent_class; +}; + +void +pragha_particle_reset (PraghaParticle *particle); + +void +pragha_particle_move_to (PraghaParticle *particle, gint x, gint y); + +void +pragha_particle_move (PraghaParticle *particle, guint width, guint height); + +void +pragha_particle_set_energy (PraghaParticle *particle, gdouble energy); + +void +pragha_particle_draw (PraghaParticle *particle, cairo_t *cr); + +PraghaParticle * +pragha_particle_new (void); + +G_END_DECLS + +#endif /* PRAGHA_VISUALIZER_PARTICLE_H */ diff -Nru pragha-1.3.3/plugins/visualizer/pragha-visualizer-plugin.c pragha-1.3.992/plugins/visualizer/pragha-visualizer-plugin.c --- pragha-1.3.3/plugins/visualizer/pragha-visualizer-plugin.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/visualizer/pragha-visualizer-plugin.c 2019-08-13 11:42:44.000000000 +0000 @@ -0,0 +1,233 @@ +/*************************************************************************/ +/* Copyright (C) 2018-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#if defined(GETTEXT_PACKAGE) +#include +#else +#include +#endif + +#include +#include +#include +#include + +#include +#include + +#include "pragha-visualizer-plugin.h" + +#include "src/pragha.h" +#include "src/pragha-menubar.h" +#include "src/pragha-playback.h" +#include "src/pragha-window.h" + +#include "plugins/pragha-plugin-macros.h" + +PRAGHA_PLUGIN_REGISTER (PRAGHA_TYPE_VISUALIZER_PLUGIN, + PraghaVisualizerPlugin, + pragha_visualizer_plugin) + + +/* + * Menubar Prototypes + */ + +static void +visualizer_action (GtkAction *action, PraghaVisualizerPlugin *plugin) +{ + GtkWidget *main_stack; + gboolean visualizer; + + PraghaVisualizerPluginPrivate *priv = plugin->priv; + + main_stack = pragha_application_get_main_stack (priv->pragha); + + visualizer = gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)); + if(visualizer) { + gtk_stack_set_visible_child_name (GTK_STACK(main_stack), "visualizer"); + } + else { + gtk_stack_set_visible_child_name (GTK_STACK(main_stack), "playlist"); + } + + /* Sink gear menu and menubar */ + g_simple_action_set_state (priv->gear_action, g_variant_new_boolean (visualizer)); +} + +static const +GtkToggleActionEntry main_menu_actions [] = { + {"Visualizer", NULL, N_("_Visualizer"), + "T", "Switch between playlist and visualizer", G_CALLBACK(visualizer_action), + FALSE} +}; + +static const +gchar *main_menu_xml = " \ + \ + \ + \ + \ + \ + \ + \ +"; + + +static void +pragha_gmenu_visualizer (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + GtkAction *gtkaction; + + PraghaVisualizerPlugin *plugin = user_data; + PraghaVisualizerPluginPrivate *priv = plugin->priv; + + /* Sink gear menu and menubar. Logic there. */ + gtkaction = gtk_action_group_get_action (priv->action_group_main_menu, "Visualizer"); + gtk_action_activate (gtkaction); +} + + +/* + * Visualizer plugin. + */ +static void +pragha_visualizer_plugin_update_spectrum (PraghaBackend *backend, gpointer value, gpointer user_data) +{ + GValue *magnitudes = value; + + PraghaVisualizerPlugin *plugin = user_data; + PraghaVisualizerPluginPrivate *priv = plugin->priv; + + pragha_visualizer_set_magnitudes (priv->visualizer, magnitudes); +} + +static void +pragha_visualizer_plugin_append_menues (PraghaVisualizerPlugin *plugin) +{ + GMenuItem *item; + GSimpleAction *action; + + PraghaVisualizerPluginPrivate *priv = plugin->priv; + + /* + * Menubar + */ + priv->action_group_main_menu = gtk_action_group_new ("PraghaVisualizerMainMenuActions"); + gtk_action_group_set_translation_domain (priv->action_group_main_menu, GETTEXT_PACKAGE); + gtk_action_group_add_toggle_actions (priv->action_group_main_menu, + main_menu_actions, + G_N_ELEMENTS (main_menu_actions), + plugin); + + priv->merge_id_main_menu = pragha_menubar_append_plugin_action (priv->pragha, + priv->action_group_main_menu, + main_menu_xml); + + /* + * Gear Menu + */ + + action = g_simple_action_new_stateful("visualizer", NULL, g_variant_new_boolean(FALSE)); + g_signal_connect (G_OBJECT (action), "activate", + G_CALLBACK (pragha_gmenu_visualizer), plugin); + + item = g_menu_item_new (_("Show Visualizer"), "win.visualizer"); + pragha_menubar_append_action (priv->pragha, "pragha-view-placeholder", action, item); + g_object_unref (item); + + priv->gear_action = action; +} + +static void +pragha_visualizer_plugin_remove_menues (PraghaVisualizerPlugin *plugin) +{ + PraghaVisualizerPluginPrivate *priv = plugin->priv; + + if (!priv->merge_id_main_menu) + return; + + pragha_menubar_remove_plugin_action (priv->pragha, + priv->action_group_main_menu, + priv->merge_id_main_menu); + + priv->merge_id_main_menu = 0; + + pragha_menubar_remove_action (priv->pragha, "pragha-view-placeholder", "visualizer"); +} + + +static void +pragha_plugin_activate (PeasActivatable *activatable) +{ + PraghaBackend *backend; + GtkWidget *main_stack; + + PraghaVisualizerPlugin *plugin = PRAGHA_VISUALIZER_PLUGIN (activatable); + PraghaVisualizerPluginPrivate *priv = plugin->priv; + priv->pragha = g_object_get_data (G_OBJECT (plugin), "object"); + + CDEBUG(DBG_PLUGIN, "Visualizer plugin %s", G_STRFUNC); + + priv->visualizer = pragha_visualizer_new (); + + main_stack = pragha_application_get_main_stack (priv->pragha); + gtk_stack_add_named (GTK_STACK(main_stack), GTK_WIDGET(priv->visualizer), "visualizer"); + + pragha_visualizer_plugin_append_menues (plugin); + + /* Connect signals */ + backend = pragha_application_get_backend (priv->pragha); + pragha_backend_enable_spectrum (backend); + g_signal_connect (backend, "spectrum", + G_CALLBACK(pragha_visualizer_plugin_update_spectrum), plugin); + + gtk_widget_show_all (GTK_WIDGET(priv->visualizer)); +} + +static void +pragha_plugin_deactivate (PeasActivatable *activatable) +{ + PraghaBackend *backend; + GtkWidget *main_stack; + + PraghaVisualizerPlugin *plugin = PRAGHA_VISUALIZER_PLUGIN (activatable); + PraghaVisualizerPluginPrivate *priv = plugin->priv; + + priv->pragha = g_object_get_data (G_OBJECT (plugin), "object"); + + CDEBUG(DBG_PLUGIN, "Visualizer plugin %s", G_STRFUNC); + + /* Disconnect signals */ + backend = pragha_application_get_backend (priv->pragha); + pragha_backend_disable_spectrum (backend); + g_signal_handlers_disconnect_by_func (backend, + pragha_visualizer_plugin_update_spectrum, plugin); + + pragha_visualizer_plugin_remove_menues (plugin); + + /* Free Memory */ + + main_stack = pragha_application_get_main_stack (priv->pragha); + gtk_container_remove (GTK_CONTAINER(main_stack), GTK_WIDGET(priv->visualizer)); +} diff -Nru pragha-1.3.3/plugins/visualizer/pragha-visualizer-plugin.h pragha-1.3.992/plugins/visualizer/pragha-visualizer-plugin.h --- pragha-1.3.3/plugins/visualizer/pragha-visualizer-plugin.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/visualizer/pragha-visualizer-plugin.h 2018-06-28 23:18:57.000000000 +0000 @@ -0,0 +1,54 @@ +/*************************************************************************/ +/* Copyright (C) 2018 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef __PRAGHA_VISUALIZER_PLUGIN_H__ +#define __PRAGHA_VISUALIZER_PLUGIN_H__ + +#include +#include + +#include "src/pragha.h" + +#include "pragha-visualizer.h" + +G_BEGIN_DECLS + +#define PRAGHA_TYPE_VISUALIZER_PLUGIN (pragha_visualizer_plugin_get_type ()) +#define PRAGHA_VISUALIZER_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PRAGHA_TYPE_VISUALIZER_PLUGIN, PraghaVisualizerPlugin)) +#define PRAGHA_VISUALIZER_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PRAGHA_TYPE_VISUALIZER_PLUGIN, PraghaVisualizerPlugin)) +#define PRAGHA_IS_VISUALIZER_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PRAGHA_TYPE_VISUALIZER_PLUGIN)) +#define PRAGHA_IS_VISUALIZER_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PRAGHA_TYPE_VISUALIZER_PLUGIN)) +#define PRAGHA_VISUALIZER_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PRAGHA_TYPE_VISUALIZER_PLUGIN, PraghaVisualizerPluginClass)) + +typedef struct _PraghaVisualizerPluginPrivate PraghaVisualizerPluginPrivate; + +struct _PraghaVisualizerPluginPrivate { + PraghaApplication *pragha; + + PraghaVisualizer *visualizer; + + /* Menu options */ + GtkActionGroup *action_group_main_menu; + guint merge_id_main_menu; + GSimpleAction *gear_action; +}; + +GType pragha_visualizer_plugin_get_type (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* __PRAGHA_VISUALIZER_PLUGIN_H__ */ diff -Nru pragha-1.3.3/plugins/visualizer/visualizer.plugin pragha-1.3.992/plugins/visualizer/visualizer.plugin --- pragha-1.3.3/plugins/visualizer/visualizer.plugin 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/plugins/visualizer/visualizer.plugin 2018-06-28 20:12:10.000000000 +0000 @@ -0,0 +1,8 @@ +[Plugin] +Module=visualizer +Name=Audio visualizer +Description=A audio visualizer plugin +Authors=Matias De lellis +Copyright=Copyright © 2018 Matias De lellis +Website=https://github.com/matiasdelellis/pragha +Help=https://github.com/matiasdelellis/pragha diff -Nru pragha-1.3.3/po/ar.po pragha-1.3.992/po/ar.po --- pragha-1.3.3/po/ar.po 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/po/ar.po 2019-08-13 23:06:57.000000000 +0000 @@ -0,0 +1,1518 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# wissam . , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Pragha\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Arabic (http://www.transifex.com/matias/Pragha/language/ar/)\n" +"Language: ar\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "الموسيقى على جهاز الكمبيوتر" + +#. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 +msgid "_No" +msgstr "لا (_N)" + +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 +msgid "_Yes" +msgstr "نعم (_Y)" + +#: ../src/info-bar-import-music.c:80 +#, c-format +msgid "Would you like to import %s to library?" +msgstr "هل ترغب باستيراد %s إلى مكتبة الموسيقى؟" + +#: ../src/info-bar-import-music.c:127 +msgid "Would you like to update your music library?" +msgstr "هل ترغب يتحديث مكتبة الموسيقى الخاصة بك؟" + +#: ../src/info-bar-import-music.c:170 +msgid "Some changes need restart pragha." +msgstr "بعض التغييرات تحتاج إلى إعادة تشغيل البرنامج." + +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "بعض المهام ضمن البرنامج تعمل في الخلفية" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "تجاهل" + +#: ../src/pragha-cmdline.c:192 +msgid "FILENAME" +msgstr "اسم الملف" + +#: ../src/pragha-cmdline.c:251 +msgid "Use --help to see a full list of available command line options." +msgstr "Use --help to see a full list of available command line options." + +#: ../src/pragha-equalizer-dialog.c:50 +msgid "Disabled" +msgstr "غير مفعل" + +#: ../src/pragha-equalizer-dialog.c:51 +msgid "Classical" +msgstr "كلاسيكي" + +#: ../src/pragha-equalizer-dialog.c:52 +msgid "Club" +msgstr "نادي" + +#: ../src/pragha-equalizer-dialog.c:53 +msgid "Dance" +msgstr "رقص" + +#: ../src/pragha-equalizer-dialog.c:54 +msgid "Full Bass" +msgstr "Bass" + +#: ../src/pragha-equalizer-dialog.c:55 +msgid "Full Bass and Treble" +msgstr "Full Bass and Treble" + +#: ../src/pragha-equalizer-dialog.c:56 +msgid "Full Treble" +msgstr "Full Treble" + +#: ../src/pragha-equalizer-dialog.c:57 +msgid "Laptop Speakers and Headphones" +msgstr " مكبرات صوت اللابتوب وسماعات الأذن " + +#: ../src/pragha-equalizer-dialog.c:58 +msgid "Large Hall" +msgstr "قاعة كبيرة" + +#: ../src/pragha-equalizer-dialog.c:59 +msgid "Live" +msgstr "لايف" + +#: ../src/pragha-equalizer-dialog.c:60 +msgid "Party" +msgstr "حفلة" + +#: ../src/pragha-equalizer-dialog.c:61 +msgid "Pop" +msgstr "بوب" + +#: ../src/pragha-equalizer-dialog.c:62 +msgid "Reggae" +msgstr "Reggae" + +#: ../src/pragha-equalizer-dialog.c:63 +msgid "Rock" +msgstr "روك" + +#: ../src/pragha-equalizer-dialog.c:64 +msgid "Ska" +msgstr "Ska" + +#: ../src/pragha-equalizer-dialog.c:65 +msgid "Smiley Face Curve" +msgstr "Smiley Face Curve" + +#: ../src/pragha-equalizer-dialog.c:66 +msgid "Soft" +msgstr "هادئ" + +#: ../src/pragha-equalizer-dialog.c:67 +msgid "Soft Rock" +msgstr "روك هادئ" + +#: ../src/pragha-equalizer-dialog.c:68 +msgid "Techno" +msgstr "تكنو" + +#: ../src/pragha-equalizer-dialog.c:69 +msgid "Custom" +msgstr "مخصص" + +#: ../src/pragha-equalizer-dialog.c:423 +msgid "Equalizer" +msgstr "معادل الصوت" + +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 +#: ../plugins/notify/pragha-notify-plugin.c:166 +msgid "Unknown Artist" +msgstr "فنان غير معروف" + +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 +#: ../plugins/notify/pragha-notify-plugin.c:167 +msgid "Unknown Album" +msgstr "ألبوم غير معروف" + +#. The search dialog +#: ../src/pragha-filter-dialog.c:368 +msgid "Search in playlist" +msgstr "البحث في قائمة الأغاني" + +#: ../src/pragha-filter-dialog.c:371 +msgid "_Close" +msgstr "إغلاق (_C)" + +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 +msgid "Add to playback queue" +msgstr "إضافة إلى دور الأغاني قيد التشغيل" + +#: ../src/pragha-filter-dialog.c:375 +msgid "_Jump to" +msgstr "انتقال إلى (_J)" + +#: ../src/pragha-library-pane.c:141 +msgid "_Skip" +msgstr "تخطي (_S)" + +#: ../src/pragha-library-pane.c:142 +msgid "S_kip All" +msgstr "تخطي الكل (_k)" + +#: ../src/pragha-library-pane.c:143 +msgid "Delete _All" +msgstr "حذف الكل (_A)" + +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "غير معروف" + +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "نوع غير معروف" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "لا يمكن نقل الملف إلى سلة المحذوفات. هل تريد حذف الملف بشكل نهائي؟" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "لا يمكن نقل الملف \"%s\" إلى سلة المحذوفات. التفاصيل: %s؟" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "إلغاء الأمر (_C)" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "حذف (_D)" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 +msgid "Folders structure" +msgstr "عرض حسب المجلدات" + +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 +msgid "Artist" +msgstr "الفنان" + +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 +msgid "Album" +msgstr "الألبوم" + +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 +msgid "Genre" +msgstr "النوع" + +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 +msgid "Artist / Album" +msgstr "فنان / ألبوم" + +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 +msgid "Genre / Artist" +msgstr "النوع / الفنان" + +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "النوع / ألبوم" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 +msgid "Genre / Artist / Album" +msgstr "النوع / الفنان / الألبوم" + +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 +msgid "Playlists" +msgstr "قائمة الأغاني" + +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 +msgid "Radios" +msgstr "قنوات الراديو" + +#: ../src/pragha-library-pane.c:2678 +msgid "Really want to move the files to trash?" +msgstr "هل تريد بالتأكيد نقل الملف إلى سلة المحذوفات؟" + +#: ../src/pragha-library-pane.c:2680 +msgid "Delete permanently instead of moving to trash" +msgstr "حذف الملف بشكل نهائي بدلاُ من نقل الملف إلى سلة المحذوفات" + +#: ../src/pragha-library-pane.c:2734 +msgid "" +"Are you sure you want to delete current file from library?\n" +"\n" +"Warning: To recover we must rescan the entire library." +msgstr "" +"هل تريد بالتأكيد حذف هذا الملف من مكتبة الموسيقى؟\n" +"\n" +"تحذير: لإعادة إضافة الملف يجب إجراء إعادة تحديث لكامل مكتبة الموسيقى. " + +#: ../src/pragha-menubar.c:193 +msgid "_Playback" +msgstr "تشغيل (_P)" + +#: ../src/pragha-menubar.c:194 +msgid "Play_list" +msgstr "قائمة الشتغيل (_l)" + +#: ../src/pragha-menubar.c:195 +msgid "_View" +msgstr "عرض (_V)" + +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 +msgid "_Tools" +msgstr "أدوات (_T)" + +#: ../src/pragha-menubar.c:197 +msgid "_Help" +msgstr "مساعدة (_H)" + +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 +#: ../plugins/notify/pragha-notify-plugin.c:177 +msgid "Previous track" +msgstr "المسار السابق" + +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 +msgid "Play / Pause" +msgstr "تشغيل / إيقاف مؤقت" + +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 +msgid "Stop" +msgstr "إيقاف" + +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 +#: ../plugins/notify/pragha-notify-plugin.c:181 +msgid "Next track" +msgstr "المسار التالي" + +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 +msgid "Edit track information" +msgstr "تعديل معلومات المسار" + +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 +msgid "_Quit" +msgstr "خروج (_Q)" + +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 +msgid "_Add files" +msgstr "إضافة ملفات (_A)" + +#: ../src/pragha-menubar.c:211 +msgid "Open a media file" +msgstr "فتح ملف" + +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 +msgid "Add _location" +msgstr "إضافة مجلد (_l)" + +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 +msgid "_Add the library" +msgstr "إضافة إلى المكتبة (_A)" + +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 +msgid "Remove selection from playlist" +msgstr "إزالة الملفات التي تم تحديدها من المكتبة" + +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 +msgid "Crop playlist" +msgstr "إبقاء المسارات المحددة فقط في قائمة التشغيل وإزالة الباقي." + +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 +msgid "Clear playlist" +msgstr "مسح قائمة التشغيل" + +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 +msgid "Save playlist" +msgstr "حفظ قائمة التشغيل" + +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 +msgid "New playlist" +msgstr "قائمة تشغيل جديدة" + +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "تصدير" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 +msgid "Save selection" +msgstr "حفظ المسارات المحددة" + +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 +msgid "_Search in playlist" +msgstr "بحث في قائمة التشغيل (_S)" + +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 +msgid "_Preferences" +msgstr "خيارات (_P)" + +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 +msgid "Jump to playing song" +msgstr "الانتقال إلى المسار قيد التشغيل" + +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 +msgid "E_qualizer" +msgstr "معدل الصوت (_q)" + +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 +msgid "_Rescan library" +msgstr "فحص الملفات وإعادة تحديث مكتبة الموسيقى (_R)" + +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 +msgid "_Update library" +msgstr "تحديث مكتبة الموسيقى (_U)" + +#: ../src/pragha-menubar.c:244 +msgid "_Statistics" +msgstr "إحصائيات (_S)" + +#: ../src/pragha-menubar.c:246 +msgid "Homepage" +msgstr "موقع البرنامج على شبكة الانترنت" + +#: ../src/pragha-menubar.c:248 +msgid "Community" +msgstr "المطوّرين والمساهمين" + +#: ../src/pragha-menubar.c:250 +msgid "Wiki" +msgstr "تعليمات الاستخدام على موقع البرنامج" + +#: ../src/pragha-menubar.c:252 +msgid "Translate Pragha" +msgstr "ساعد بترجمة Pragha" + +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 +msgid "About" +msgstr "حول البرنامج" + +#: ../src/pragha-menubar.c:259 +msgid "_Shuffle" +msgstr "عشوائي (_S)" + +#: ../src/pragha-menubar.c:262 +msgid "_Repeat" +msgstr "تكرار (_R)" + +#: ../src/pragha-menubar.c:265 +msgid "_Fullscreen" +msgstr "شاشة كاملة (_F)" + +#: ../src/pragha-menubar.c:268 +msgid "Lateral _panel" +msgstr "نافذة مكتبة الموسيقى (_p)" + +#: ../src/pragha-menubar.c:271 +msgid "Secondary lateral panel" +msgstr "نافذة معلومات الأغنية" + +#: ../src/pragha-menubar.c:274 +msgid "Playback controls below" +msgstr "أزرار التحكم بالتشغيل في الأسفل" + +#: ../src/pragha-menubar.c:277 +msgid "Menubar" +msgstr "شريط القائمة" + +#: ../src/pragha-menubar.c:638 +msgid "Total Tracks:" +msgstr "عدد الأغاني في المكتبة:" + +#: ../src/pragha-menubar.c:640 +msgid "Total Artists:" +msgstr "عدد الفنانين" + +#: ../src/pragha-menubar.c:642 +msgid "Total Albums:" +msgstr "عدد الألبومات" + +#: ../src/pragha-menubar.c:645 +msgid "Statistics" +msgstr "إحصائيات" + +#. Create labels +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 +msgid "Title" +msgstr "عنوان الأغنية" + +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 +msgid "Bitrate" +msgstr "معدل البت" + +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 +msgid "Year" +msgstr "السنة" + +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 +msgid "Comment" +msgstr "تعليق" + +#. Create labels +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 +msgid "Length" +msgstr "المدة" + +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 +msgid "Filename" +msgstr "اسم الملف" + +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 +msgid "Mimetype" +msgstr "Mimetype" + +#: ../src/pragha-playlist.c:212 +msgid "Remove from playback queue" +msgstr "إزالة من دور الأغاني قيد التشغيل" + +#: ../src/pragha-playlist.c:214 +msgid "Remove from playlist" +msgstr "إزالة من قائمة التشغيل" + +#: ../src/pragha-playlist.c:222 +msgid "_Send to" +msgstr "إرسال إلى (_S)" + +#: ../src/pragha-playlist.c:2535 +#, c-format +msgid "Copy \"%i\" to selected track numbers" +msgstr "نسخ \"%i\" إلى أرقام المسارات المحددة" + +#: ../src/pragha-playlist.c:2541 +#, c-format +msgid "Copy \"%s\" to selected titles" +msgstr "نسخ \"%s\" إلى عناوين المسارات المحددة" + +#: ../src/pragha-playlist.c:2547 +#, c-format +msgid "Copy \"%s\" to selected artists" +msgstr "نسخ \"%s\" إلى أسماء الفنانين المسارات المحددة" + +#: ../src/pragha-playlist.c:2553 +#, c-format +msgid "Copy \"%s\" to selected albums" +msgstr "نسخ \"%s\" إلى أسماء ألبومات المسارات المحددة" + +#: ../src/pragha-playlist.c:2559 +#, c-format +msgid "Copy \"%s\" to selected genres" +msgstr "نسخ \"%s\" إلى أنواع المسارات المحددة" + +#: ../src/pragha-playlist.c:2565 +#, c-format +msgid "Copy \"%i\" to selected years" +msgstr "نسخ \"%i\" إلى سنوات إصدار المسارات المحددة" + +#: ../src/pragha-playlist.c:2571 +#, c-format +msgid "Copy \"%s\" to selected comments" +msgstr "نسخ \"%s\" إلى التعليقات في المسارات المحددة" + +#. Create the checkmenu items +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 +msgid "Track" +msgid_plural "Tracks" +msgstr[0] "مسار" +msgstr[1] "مسار" +msgstr[2] "مسار" +msgstr[3] "مسار" +msgstr[4] "مسار" +msgstr[5] "مسارات" + +#: ../src/pragha-playlist.c:3514 +msgid "Clear sort" +msgstr "إلغاء الترتيب" + +#: ../src/pragha-playlists-mgmt.c:74 +msgid "Playlist" +msgstr "قائمة التشغيل" + +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 +msgid "_Ok" +msgstr "موافق (_O)" + +#: ../src/pragha-playlists-mgmt.c:130 +msgid "con_playlist is a reserved playlist name" +msgstr "con_playlist اسم قائمة تشغيل موجود مسبقاً" + +#: ../src/pragha-playlists-mgmt.c:154 +#, c-format +msgid "Do you want to overwrite the playlist: %s ?" +msgstr "هل تريد استبدال قائمة التشغيل: %s؟" + +#: ../src/pragha-playlists-mgmt.c:508 +msgid "Choose a new name" +msgstr "اختر اسم جديد" + +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "إعادة تسمية" + +#: ../src/pragha-playlists-mgmt.c:557 +#, c-format +msgid "Do you want to delete the item: %s ?" +msgstr "هل تريد حذف: %s؟" + +#: ../src/pragha-playlists-mgmt.c:587 +msgid "Export playlist to file" +msgstr "حفظ قائمة التشغيل في ملف" + +#: ../src/pragha-playlists-mgmt.c:591 +msgid "_Save" +msgstr "حفظ (_S)" + +#: ../src/pragha-playlists-mgmt.c:1036 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 +#, c-format +msgid "Added %d songs from %d of the imported playlist." +msgstr "تمت إضافة %dأغنية من %d أغنية من قائمة التشغيل المستوردة." + +#: ../src/pragha-playlists-mgmt.c:1255 +msgid "What do you want to do?" +msgstr "ماذا تريد؟" + +#: ../src/pragha-playlists-mgmt.c:1257 +#, c-format +msgid "Replace the playlist \"%s\"" +msgstr "إعادة استبدال قائمة التشغيل \"%s\"" + +#: ../src/pragha-playlists-mgmt.c:1262 +#, c-format +msgid "Add to playlist \"%s\"" +msgstr "الإضافة إلى قائمة التشغيل \"%s\"" + +#: ../src/pragha-preferences-dialog.c:204 +msgid "" +"Patterns should be of the form:;;....\n" +"A maximum of six patterns are allowed.\n" +"Wildcards are not accepted as of now ( patches welcome :-) )." +msgstr "" +"الأنماط يجب أن تكون من الشكل: ;;......\n" +"يُسمح بستة أنماط كأقصى حد.\n" +"لا يمكن استخدام wildcards حالياً (ساعدنا في إمكانية استخدامها :-))" + +#: ../src/pragha-preferences-dialog.c:227 +msgid "Album art pattern" +msgstr "نمط صورة الألبوم" + +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 +msgid "Start normal" +msgstr "بدء بوضع النافذة" + +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 +msgid "Start fullscreen" +msgstr "البدء بوضع الشاشة الكاملة" + +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 +msgid "Start in system tray" +msgstr "البدء في وضع النافذة المصغرة" + +#. Create a folder chooser dialog +#: ../src/pragha-preferences-dialog.c:700 +msgid "Select a folder to add to library" +msgstr "اختيار مجلد لإضافته إلى مكتبة الموسيقى" + +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 +msgid "_Open" +msgstr "فتح (_O)" + +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 +msgid "Audio" +msgstr "الصوت" + +#: ../src/pragha-preferences-dialog.c:931 +msgid "Audio sink" +msgstr "جهاز الصوت" + +#: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 +msgid "Restart Required" +msgstr "يجب إعادة التشغيل" + +#: ../src/pragha-preferences-dialog.c:950 +msgid "Audio Device" +msgstr "مخرج الصوت" + +#: ../src/pragha-preferences-dialog.c:960 +msgid "Use software mixer" +msgstr "استعمال software mixer" + +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "مكتبة الوسيقى" + +#: ../src/pragha-preferences-dialog.c:998 +msgid "Can not change directories while they are analyzing." +msgstr "لا يمكن تغيير المجلدات أثناء إضافة الأغاني" + +#: ../src/pragha-preferences-dialog.c:1018 +msgid "Folders" +msgstr "المجلدات" + +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 +msgid "_Add" +msgstr "إضافة (_A)" + +#: ../src/pragha-preferences-dialog.c:1053 +msgid "_Remove" +msgstr "حذف (_R)" + +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 +msgid "Sort albums by release year" +msgstr "ترتيب الألبومات حسب سنة الإصدار" + +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + +#. Labels +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 +msgid "Appearance" +msgstr "المظهر" + +#: ../src/pragha-preferences-dialog.c:1132 +msgid "Use system title bar and borders" +msgstr "استخدام طريقة عرض النظام لشريط العناوين والحدود" + +#: ../src/pragha-preferences-dialog.c:1138 +msgid "Use small icons on the toolbars" +msgstr "استخدام أيقونات صغيرة في شريط الأدوات" + +#: ../src/pragha-preferences-dialog.c:1141 +msgid "Controls" +msgstr "أزرار التحكم" + +#: ../src/pragha-preferences-dialog.c:1143 +msgid "Show Album art in Panel" +msgstr "عرض صورة الألبوم في لوحة أزرار التحكم" + +#: ../src/pragha-preferences-dialog.c:1146 +msgid "Size of Album art" +msgstr "حجم صورة الألبوم" + +#: ../src/pragha-preferences-dialog.c:1151 +msgid "Album art file pattern" +msgstr "نمط ملف صورة الألبوم" + +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 +msgid "Search" +msgstr "بحث" + +#. Instant search. +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 +msgid "Search while typing" +msgstr "البحث أثناء الكتابة" + +#. Aproximate search. +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 +msgid "Search similar words" +msgstr "البحث عن كلمات مشابهة" + +#: ../src/pragha-preferences-dialog.c:1201 +msgid "When starting pragha" +msgstr "عند بدء تشغيل Pragha" + +#: ../src/pragha-preferences-dialog.c:1204 +msgid "Remember last window state" +msgstr "تذكّر حالة نافذة البرنامج" + +#: ../src/pragha-preferences-dialog.c:1210 +msgid "Restore last playlist" +msgstr "استعادة آخر قائمة تشغيل" + +#: ../src/pragha-preferences-dialog.c:1213 +msgid "When adding folders" +msgstr "عند إضافة المجلدات" + +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 +msgid "Add files recursively" +msgstr "إضافة الملفات ضمن المجلدات الفرعية أيضاً" + +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 +msgid "Desktop" +msgstr "سطح المكتب" + +#: ../src/pragha-preferences-dialog.c:1240 +msgid "Show Pragha icon in the notification area" +msgstr "عرض أيقونة البرنامج المصغرة في منطقة الإشعارات" + +#: ../src/pragha-preferences-dialog.c:1243 +msgid "Minimize Pragha when closing window" +msgstr "تصغير عند إغلاق النافذة" + +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 +msgid "Plugins" +msgstr "الإضافات" + +#. The main preferences dialog +#: ../src/pragha-preferences-dialog.c:1351 +msgid "Preferences" +msgstr "الإعدادات" + +#: ../src/pragha-preferences-dialog.c:1363 +msgid "General" +msgstr "عام" + +#: ../src/pragha-preferences-dialog.c:1410 +msgid "Services" +msgstr "الخدمات" + +#: ../src/pragha-preferences-dialog.c:1424 +msgid "Preferences of Pragha" +msgstr "خيارات Pragha" + +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 +#, c-format +msgid "%i files analyzed of %i detected" +msgstr "تم فحص %i ملف من أصل %i تم اكتشافها" + +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 +msgid "Searching files to analyze" +msgstr "البحث عن المفات للقيام بالتحليل" + +#: ../src/pragha-scanner.c:257 +msgid "Library scan complete" +msgstr "اكتملت عملية تحديث مكتبة الموسيقى" + +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 +msgid "Not playing" +msgstr "متوقف" + +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "تعديل معلومات الأغنية" + +#: ../src/pragha-tags-dialog.c:171 +msgid "Track No" +msgstr "المسار رقم " + +#: ../src/pragha-tags-dialog.c:174 +msgid "File" +msgstr "ملف" + +#. The main edit dialog +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 +msgid "Details" +msgstr "تفاصيل" + +#: ../src/pragha-tags-dialog.c:672 +msgid "channel" +msgid_plural "channels" +msgstr[0] "قناة" +msgstr[1] "قناة" +msgstr[2] "قناة" +msgstr[3] "قناة" +msgstr[4] "قناة" +msgstr[5] "قنوات" + +#: ../src/pragha-tags-dialog.c:691 +msgid "Channels" +msgstr "قنوات" + +#: ../src/pragha-tags-dialog.c:692 +msgid "Samplerate" +msgstr "معدل أخذ العينات" + +#: ../src/pragha-tags-dialog.c:693 +msgid "Folder" +msgstr "مجلد" + +#: ../src/pragha-tags-dialog.c:1092 +msgid "Selection to" +msgstr "التحديد إلى" + +#: ../src/pragha-tags-dialog.c:1130 +msgid "Open folder" +msgstr "فتح مجلد" + +#: ../src/pragha-tags-mgmt.c:197 +#, c-format +msgid "" +"Do you want to set the track number of ALL of the selected tracks to: %d ?" +msgstr "هل تريد تغيير رقم المسار لكل المسارات المحددة إلى %d؟" + +#: ../src/pragha-tags-mgmt.c:215 +#, c-format +msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" +msgstr "هل تريد تغيير العنوان لكل المسارات المحددة إلى: %s؟" + +#: ../src/pragha-toolbar.c:147 +#, c-format +msgid "" +"%s by %s in %s" +msgstr "" +"%s by %s in %s" + +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 +#, c-format +msgid "%s by %s" +msgstr "%s by %s" + +#: ../src/pragha-toolbar.c:156 +#, c-format +msgid "%s in %s" +msgstr "%s in %s" + +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 +msgid "Previous Track" +msgstr "المسار السابق" + +#: ../src/pragha-toolbar.c:859 +msgid "Play / Pause Track" +msgstr "تشغيل / إيقاف مؤقت" + +#: ../src/pragha-toolbar.c:863 +msgid "Stop playback" +msgstr "إيقاف" + +#: ../src/pragha-toolbar.c:867 +msgid "Next Track" +msgstr "المسار التالي" + +#: ../src/pragha-toolbar.c:878 +msgid "Leave Fullscreen" +msgstr "خروج من وضع الشاشة الكاملة" + +#: ../src/pragha-toolbar.c:885 +msgid "Play songs in a random order" +msgstr "تشغيل الأغاني بترتيب عشوائي" + +#: ../src/pragha-toolbar.c:888 +msgid "Repeat playback list at the end" +msgstr "إعادة تشغيل قائمة الأغاني عند الانتهاء" + +#: ../src/pragha-utils.c:493 +msgid "day" +msgid_plural "days" +msgstr[0] "يوم" +msgstr[1] "يوم" +msgstr[2] "يوم" +msgstr[3] "أيام" +msgstr[4] "أيام" +msgstr[5] "أيام" + +#: ../src/pragha-utils.c:796 +msgid "Unable to open the browser" +msgstr "لا يمكن فتح المتصفح" + +#: ../src/pragha-window.c:133 +#, c-format +msgid "" +"Error playing current track.\n" +"(%s)\n" +"Reason: %s" +msgstr "" +"خطأ في تشغيل المسار الحالي\n" +"(%s)\n" +"السبب: %s" + +#: ../src/pragha-window.c:140 +msgid "_Stop" +msgstr "إيقاف (_S)" + +#: ../src/pragha-window.c:141 +msgid "_Next" +msgstr "التالي (_N)" + +#: ../src/pragha.c:175 +msgid "Select a file to play" +msgstr "اختر ملف لتشغيله" + +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 +msgid "Supported media" +msgstr "أنواع الملفات المدعومة" + +#: ../src/pragha.c:308 +msgid "All files" +msgstr "كل الملفات" + +#: ../src/pragha.c:384 +msgid "Enter the URL of an internet radio stream" +msgstr "أدخل رابط URL لقناة راديو على الانترنت" + +#: ../src/pragha.c:391 +msgid "Give it a name to save" +msgstr "اختر اسم ليتم الحفظ" + +#: ../src/pragha.c:404 +msgid "Add a location" +msgstr "إضافة مجلد" + +#. Setup application name and pulseaudio role +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 +msgid "Pragha Music Player" +msgstr "Pragha Music Player" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "عرض مكونات مكتبة الموسيقى (_E)" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "طيّ وإخفاء مكونات مكتبة الموسيقى (_C)" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "إضافة إلى قائمة التشغيل الحالية (_A)" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "استبدال قائمة التشغيل الحالية (_R)" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "استبدال و تشغيل (_p)" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "حذف" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "إزالة مكتبة الموسيقى (_R)" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "نقل إلى سلة المحذوفات (_t)" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "حذف من مكتبة الموسيقى" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + +#: ../data/pragha.desktop.in.h:1 +msgid "Music Player" +msgstr "مشغل الموسيقى" + +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 +msgid "Search tags on AcoustID" +msgstr "البحث عن معلومات الأغنية في AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "حدث خطأ أثناء البحث عن معلومات الأغنية في AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 +msgid "AcoustID not found any similar song" +msgstr "AcoustID لم يتمكن من إيجاد أغاني مشابه" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "يتم الآن البحث عن معلومات الأغنية في AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "تحديث مكتبة Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "سيرفر" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "اسم المستخدم" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "كلمة السر" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Audio CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "Audio/Data CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "تم إدخال audio cd" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 +msgid "Add Audio _CD" +msgstr "إضافة ِaudio cd (_C)" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 +msgid "Audio CD Device" +msgstr "إضافة CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 +msgid "Connect to CDDB server" +msgstr "الاتصال بسيرفر CDDB" + +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 +msgid "Search music on DLNA server" +msgstr "البحث عن موسيقى في سيرفر DLNA" + +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 +#, c-format +msgid "Music of the %s server was added." +msgstr "تمت إضافة الموسيقى من سيرفر %s" + +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +msgid "Could not find any DLNA server." +msgstr "لم يتم إيجاد أي سيرفر DLNA" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 +msgid "_Lastfm" +msgstr "_Lastfm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 +msgid "Import a XSPF playlist" +msgstr "استيراد قائمة تشغيل بصيغة XSPF" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 +msgid "Add favorites" +msgstr "إضافة المفضلة" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 +msgid "Add similar" +msgstr "إضافة المسارات المشابهة" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 +msgid "Unable to establish conection with Last.fm" +msgstr "لم نتمكن من الاتصال بموقع Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 +msgid "Last.fm suggested a tag correction" +msgstr "Last.fm اقترح تصحيح لمعلومات الأغنية" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 +msgid "Love song on Last.fm failed." +msgstr "Love song on Last.fm failed." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 +msgid "Unlove song on Last.fm failed." +msgstr "Unlove song on Last.fm failed." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 +#, c-format +msgid "Added %d tracks of %d suggested from Last.fm" +msgstr "تمت إضافة %d مسار من أصل %dمسارات مقترحة من موقع Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 +#, c-format +msgid "Last.fm doesn't suggest any similar track" +msgstr "Last.fm لم يقترح أي مسارات مشابه" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 +#, c-format +msgid "Added %d songs of the last %d loved on Last.fm." +msgstr "تمت إضافة %d مسار من أصل آخر %d تم الإعجاب بها على موقع Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 +#, c-format +msgid "You don't have favorite tracks on Last.fm" +msgstr "ليس لديك مسارات مفضلة على موقع Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 +msgid "Last.fm submission failed" +msgstr "Last.fm submission failed" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 +msgid "Track scrobbled on Last.fm" +msgstr "Track scrobbled on Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 +msgid "Update current song on Last.fm failed." +msgstr "فشل تحديث الأغنية الحالية على موقع Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 +msgid "Scrobble on Last.fm" +msgstr "Scrobble on Last.fm" + +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" + +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "" + +#: ../plugins/notify/pragha-notify-plugin.c:165 +#, c-format +msgid "by %s in %s (%s)" +msgstr "by %s in %s (%s)" + +#: ../plugins/notify/pragha-notify-plugin.c:267 +msgid "Notifications" +msgstr "الإشعارات" + +#: ../plugins/notify/pragha-notify-plugin.c:269 +msgid "Show Album art in notifications" +msgstr "عرض صورة الألبوم في الإشعارات" + +#: ../plugins/notify/pragha-notify-plugin.c:274 +msgid "Add actions to change track in notifications" +msgstr "إضافة أزرار التحكم بالتشغيل في الإشعارات" + +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 +#, c-format +msgid "Unable to accesss to “%s” device" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 +msgid "Removable Device" +msgstr "الأقراص القابلة للإزالة" + +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "معلومات الفنان" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "البحث عن كلمات الأغنية (_l)" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 +msgid "Search _artist info" +msgstr "البحث عن معلومات الفنان (_a)" + +#: ../plugins/song-info/pragha-song-info-plugin.c:558 +msgid "Song Information" +msgstr "معلومات الأغاني" + +#: ../plugins/song-info/pragha-song-info-plugin.c:560 +msgid "Download the album art while playing their songs." +msgstr "تحميل صورة الألبوم أثناء تشغيل الأغاني." + +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#, c-format +msgid "Lyrics thanks to %s" +msgstr "Lyrics thanks to %s" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 +#, c-format +msgid "%s thanks to %s" +msgstr "%s thanks to %s" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 +msgid "Lyrics not found." +msgstr "عذراً، كلمات الأغنية غير موجودة" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 +msgid "Artist information not found." +msgstr "لم يتم العثور على معلومات عن الفنان" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 +msgid "Searching..." +msgstr "يتم الآن البحث" + +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 +msgid "Search radio on TuneIn" +msgstr "البحث عن قناة راديو على موقع TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "حدث خطأ أثناء البحث في موقع TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "البحث عن قنوات الراديو في موقع TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 +msgid "Search in TuneIn" +msgstr "البحث في موقع TuneIn" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/bg.po pragha-1.3.992/po/bg.po --- pragha-1.3.3/po/bg.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/bg.po 2019-08-13 23:06:57.000000000 +0000 @@ -3,45 +3,61 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# Lyubomir Vasilev, 2015 +# Любомир Василев, 2015 +# Любомир Василев, 2017-2018 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2015-05-28 10:43+0000\n" -"Last-Translator: Lyubomir Vasilev\n" -"Language-Team: Bulgarian (http://www.transifex.com/p/Pragha/language/bg/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Bulgarian (http://www.transifex.com/matias/Pragha/language/" +"bg/)\n" "Language: bg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Местна музика" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "_Не" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "_Да" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "Желаете ли да добавите %s в библиотеката?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "Желаете ли да обновите музикалната си библиотека?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "Някои промени изискват рестартиране на pragha." +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "В момента се изпълняват фонови задачи" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Пренебрегване" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "ФАЙЛ" @@ -130,194 +146,150 @@ msgid "Custom" msgstr "Потребителски" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Еквалайзер" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Любими" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Непознат изпълнител" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Непознат албум" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "Търсене в списъка за изпълнение" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "_Затваряне" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Добавяне към списъка за изпълнение" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "_Преминаване към" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "П_ропускане" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "Пропускане на _всички" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "_Изтриване на всички" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "П_оказване на библиотеката" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Непознато" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "_Скриване на библиотеката" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Непознат жанр" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "Файлът не може да бъде преместен в кошчето. Изтриване завинаги?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Файлът „%s“ не може да бъде преместен в кошчето. Подробности: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Отказ" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Изтриване" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Дърво на папките" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Изпълнител" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Албум" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Жанр" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Изпълнител / албум" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Жанр / албум" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Жанр / изпълнител" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Жанр / албум" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Жанр / изпълнител / албум" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Добавяне към текущия списък" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "_Замяна на текущия списък" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Замяна и _изъплнение" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Преименуване" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Изтриване" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Извличане" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Редактиране на етикети" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Преместване в _кошчето" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Изтриване от библиотеката" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Непознато" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Непознат жанр" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "Файлът не може да бъде преместен в кошчето. Изтриване завинаги?" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "Файлът „%s“ не може да бъде преместен в кошчето. Подробности: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "_Отказ" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "_Изтриване" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Списъци за изпълнение" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Радиа" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Библиотека" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Наистина ли искате да преместите файловете в кошчето?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "Изтриване завинаги вместо местене в кошчето" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -328,179 +300,183 @@ "Внимание: За да бъде възстановен, ще трябва цялата библиотека да бъде " "сканирана наново." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Изпълнение" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "_Списък за изпълнение" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Преглед" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "И_нструменти" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Помощ" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "Предишна" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Изпълнение / Пауза" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Спиране" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Следваща" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "Редактиране на информацията за песента" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "И_зход" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "Добавяне на _файлове" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Отваряна на файл за изпълнение" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "Добавяне на _местоположение" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "Добавяне на _библиотеката" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "Премахване на избраното от списъка" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "Отрязване на остатъка от списъка" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Изчистване на списъка" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Запазване на списъка" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Нова спъсък" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Извличане" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Запазване на избраното" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "_Търсене в списъка" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Предпочитания" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Към изпълняващата се песен" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "_Еквалайзер" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "Повторно _сканиране на библиотеката" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "_Обновяване на библиотеката" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Статистики" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Начална страница" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Общност" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Уики" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Преведете Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Относно" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Разбъркване" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Повтаряне" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "На _цял екран" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "Страничен _панел" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "Втори страничен панел" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "Бутоните за изпълнение да са отдолу" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "Лента с менюта" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Лента за състояние" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" msgstr "Общо елементи за изпълнение:" @@ -518,163 +494,164 @@ msgstr "Статистики" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Заглавие" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Побитова скорост" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Година" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Коментар" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Дължина" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Име на файл" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "Тип" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "Премахване от опашката за изпълнение" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Премахване от списъка за изпълнение" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "Изп_ращане към" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "Копиране на „%i“ в избраните номера на писти" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "Копиране на „%s“ в избраните заглавия" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "Копиране на „%s“ в избраните изпълнители" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "Копиране на „%s“ в избраните албуми" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "Копиране на „%s“ в избраните жанрове" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "Копиране на „%i“ в избраните години" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "Копиране на „%s“ в избраните коментари" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" -msgstr[0] "Писта" -msgstr[1] "Писти" +msgstr[0] "Песен" +msgstr[1] "Песни" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Изчистване на сортирането" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "Списък за изпълнение" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "_Добре" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist е запазено име на списък за изпълнение" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "Искате ли да презапишете списъка за изпълнение: %s ?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Изберете ново име" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Преименуване" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "Искате ли да изтриете елемента: %s ?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Извличане на списъка за изпълнение във файл" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "_Запазване" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "%d от %d песни бяха добавени от внесения списък за изпълнение." -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "Какво искате да направите?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "Замяна на списъка за изпълнение „%s“" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "Добавяне към списъка за изпълнение „%s“" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -685,240 +662,256 @@ "За сега не се приемат заместващи символи ( приемаме разширения на " "функционалността :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Шаблон за обложка на албум" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Стартиране в нормален режим" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Стартиране на цял екран" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Стартиране в системния панел" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Изберете папка, която да добавите към библиотеката" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "_Отваряне" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Звук" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Звукова система" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Изисква се рестартиране" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Звуково устройство" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Използване на софтуерен смесител" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Библиотека" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "Не можете да променяте папките, докато те биват обхождани" -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Папки" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "_Добавяне" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "_Премахване" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Сливане на папките в изгледа с дървото на папките" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Подреждане на албумите по година на издаване" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Облик" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Използване на системните заглавна лента и рамки" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" +msgstr "Малки иконки в лентите с инструменти" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Отбелязване на редовете в текущия списък за изпълнение" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Елементи" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Показване на обложките на албумите в панела" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Размер на обложките на албумите" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Шаблон за файлове с обложки на албуми" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "Търсене" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "Търсене по време на писане" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "Търсене на подобни думи" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "При стартиране на pragha" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Запомняне на последното състояние на прозореца" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Възстановяване на последния списък за изпълнение" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "При добавяне на папки" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Добавяне на файловете от всички подпапки" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Работен плот" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "Показване на иконката на Pragha в зоната за уведомления" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "Минимизиране на Pragha при затваряне на прозореца" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "Добавки" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "Предпочитания" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Общи" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Услуги" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Предпочитания на Pragha" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "Анализирани са %i от %i открити файла" +msgid "%i files analyzed of %i detected" +msgstr "Анализирани са %i от намерените %i файла" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "Търсене на файлове за анализиране" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Сканирането на библиотеката е завършено" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Нищо не се изпълнява" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Редактиране на етикети" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" -msgstr "№ на писта" +msgstr "№ на песен" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Файл" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Подробности" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "канал" msgstr[1] "канали" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Канали" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Честота на дискретизация" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Папка" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Избраното към" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Отваряне на папка" @@ -934,7 +927,7 @@ msgstr "" "Искате ли на ВСИЧКИ избрани писти да зададете етикетът на заглавие: %s ?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s от %s в %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s от %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s в %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Предишна" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Изпълнение / пауза" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Спиране" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Следваща" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Излизане от цял екран" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Изпълнение на песните в произволен ред" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Повтаряне на списъка отначало след завършване" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "ден" msgstr[1] "дни" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Неуспешно отваряне на браузъра" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -1003,194 +1004,333 @@ "(%s)\n" "Причина: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "_Спиране" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "С_ледваща" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Изберете файл за изпълнение" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Поддържани формати" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Всички файлове" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "Въведете адреса на радио поток от Интернет" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "Дайте му име" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Добавяне на местоположение" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "Любомир Василев , 2015" - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" -msgstr "Pragha музикален плеър" +msgstr "Музикален плеър Pragha" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "П_оказване на библиотеката" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "_Скриване на библиотеката" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Добавяне към текущия списък" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Замяна на текущия списък" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Замяна и _изпълнение" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Изтриване" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "_Премахване на библиотеката" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Преместване в _кошчето" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Изтриване от библиотеката" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "Музикален плеър" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Слушайте и управлявайте музиката си" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "Търсене на етикети в AcoustID" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Възникна грешка при търсенето на етикетите Ви в AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "AcoustID не откри подобна песен" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Търсене на етикети в AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Опресняване на библиотеката Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Сървър" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Потребителско име" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Парола" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Аудио диск" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "Диск с аудио/данни" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" msgstr "Беше вкаран аудио диск" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "Добавяне на _аудио диск" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "Аудио диск" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Устройство за аудио дискове" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Свързване със сървър за дискова информация" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "Свързване с DLNA сървър" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "Музиката от сървъра %s беше добавена." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "Неуспешно търсене на DLNA сървър" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Lastfm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Обичам това" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Не обичам това" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "Внасяне на списък за изпълнение от XSPF" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Добавяне на любими" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Добавяне на подобни" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "Неуспешна връзка с Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm предложи поправка в етикета" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "Неуспешно отбелязване на песента като обичана в Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "Неуспешно отбелязване на песента като не обичана в Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "Добавени са %d от %d предложени от Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "Last.fm няма предложения за подобни" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "Добавени са %d от последните %d обичани песни в Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "Нямате любими песни в Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "Неуспешно подаване на информация към Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "Песента е обявена в Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "Неуспешно обновяване на текущата песен в Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "Обявяване в Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Потребителско име" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Парола" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Песни" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1209,79 +1349,162 @@ msgid "Add actions to change track in notifications" msgstr "Добавяне на средства за смяна на песента в известията" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Опресняване на библиотеката Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Любими в Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" -msgstr "Неуспешен достъп до „%s“" +msgid "Unable to accesss to “%s” device" +msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "Преносимо устройство" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" -msgstr "Искате ли да управлявате файловете на „%s“?" +msgid "Artist info" +msgstr "Информация за изпълнителя" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:90 msgid "Search _lyric" msgstr "Търсене на _текст" -#: ../plugins/song-info/pragha-song-info-plugin.c:90 +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "Търсене на информация за _изпълнителя" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "Информация за песента" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "Изтегляне на обложката на албума по време на изпълнението на песните." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format msgid "Lyrics thanks to %s" msgstr "Текстът е осигурен, благодарение на %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 -#, c-format -msgid "Artist info" -msgstr "Информация за изпълнителя" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "%s благодарение на %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "Няма открит текст." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "Няма открита информация за изпълнителя." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Няма препоръчани песни." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "Търсене..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "Търсене на радио в TuneIn" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Възникна грешка при търсенето на радио в TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Търсене на радио в TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "Търсене в TuneIn" -#~ msgid "Ignore" -#~ msgstr "Пренебрегване" +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" -#~ msgid "Use Gnome 3 HIG" -#~ msgstr "Спазване на насоките на Gnome 3" +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/ca_ES.po pragha-1.3.992/po/ca_ES.po --- pragha-1.3.3/po/ca_ES.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/ca_ES.po 2019-08-13 23:06:57.000000000 +0000 @@ -3,45 +3,60 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# Adolfo Jayme Barrientos, 2014-2015 +# Fito JB, 2014-2015 +# Robert Antoni Buj Gelonch , 2016-2018 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2015-01-05 19:30+0000\n" -"Last-Translator: Adolfo Jayme Barrientos\n" -"Language-Team: Catalan (Spain) (http://www.transifex.com/p/Pragha/language/" -"ca_ES/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Catalan (Spain) (http://www.transifex.com/matias/Pragha/" +"language/ca_ES/)\n" "Language: ca_ES\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Música local" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "_No" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "_Sí" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" -msgstr "Voleu importar %s a la col·lecció?" +msgstr "Voleu importar %s a la biblioteca?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" -msgstr "Voleu actualitzar la vostra col·leció musical?" +msgstr "Voleu actualitzar la vostra biblioteca musical?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." -msgstr "És necessari reiniciar el Pragha perquè alguns canvis s’apliquin." +msgstr "Alguns canvis requereixen el reinici de Pragha perquè s'apliquin." + +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Hi ha tasques de rerefons que treballen" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Ignora" #: ../src/pragha-cmdline.c:192 msgid "FILENAME" @@ -50,8 +65,8 @@ #: ../src/pragha-cmdline.c:251 msgid "Use --help to see a full list of available command line options." msgstr "" -"Useu «%s --help» per veure el llistat de les opcions disponibles de la línia " -"d'ordres" +"Utilitzeu --help per veure un llistat complet de les opcions disponibles de " +"la línia d'ordres." #: ../src/pragha-equalizer-dialog.c:50 msgid "Disabled" @@ -91,7 +106,7 @@ #: ../src/pragha-equalizer-dialog.c:59 msgid "Live" -msgstr "En viu" +msgstr "En directe" #: ../src/pragha-equalizer-dialog.c:60 msgid "Party" @@ -133,552 +148,513 @@ msgid "Custom" msgstr "Personalitzat" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Equalitzador" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Preferits" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Artista desconegut" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Àlbum desconegut" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "Cerca a la llista de reproducció" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "_Tanca" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Afegeix a la cua de reproducció" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" -msgstr "_Vés a" +msgstr "_Vés-hi" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "_Omet" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "Omet-los _tots" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "Suprimeix-ho _tot" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "Afegeix una _biblioteca" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Desconegut" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "Afegeix una _biblioteca" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Gènere desconegut" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "" +"El fitxer no es pot moure a la paperera. Voleu suprimir-ho permanentment?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "No s’ha pogut moure el fitxer «%s» a la paperera. Detalls: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Cancel·la" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "Su_primeix" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" -msgstr "Estructura de la biblioteca" +msgstr "Estructura de carpetes" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Artista" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Àlbum" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Gènere" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Artista/àlbum" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Gènere/àlbum" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Gènere/artista" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Gènere/àlbum" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Gènere/artista/àlbum" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Afegeix a la llista de reproducció actual" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "_Reemplaça la llista de reproducció actual" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "R_eemplaça i reprodueix" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Canvia el nom" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Suprimeix" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Exporta" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Edita les etiquetes" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Mou a la _paperera" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Suprimeix de la biblioteca" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Desconegut" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Gènere desconegut" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" -"El fitxer no es pot moure a la paperera. Voleu suprimir-ho permanentment?" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "No s’ha pogut moure el fitxer «%s» a la paperera. Detalls: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "_Cancel·la" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "Su_primeix" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Llistes de reproducció" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" -msgstr "Ràdios" +msgstr "Emissores de ràdio" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Col·leció" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Esteu segur que voleu moure els fitxers a la paperera?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "Suprimeix permanentment en lloc de moure a la paperera" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" "Warning: To recover we must rescan the entire library." msgstr "" -"Esteu segur que voleu suprimir el fitxer actual de la col·lecció?\n" +"Esteu segur que voleu suprimir el fitxer actual de la biblioteca?\n" "\n" -"Avís: si el voleu recuperar és necessari escanejar de nou la col·lecció " -"sencera." +"Advertència: per a recuperar-lo és necessari explorar de nou tota la " +"biblioteca." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Reprodueix" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "Llista de _reprodució" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Visualitza" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Eines" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "A_juda" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "Pista anterior" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" -msgstr "Reprodueix/fes una pausa" +msgstr "Reprodueix / fes una pausa" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Atura" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Pista següent" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" -msgstr "Edita la informació de la cançó" +msgstr "Edita la informació de la pista" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Surt" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Afegeix fitxers" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Obre un fitxer multimèdia" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" -msgstr "Agefeix ubicació" +msgstr "Afegeix una _ubicació" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" -msgstr "_Afegeix una biblioteca" +msgstr "_Afegeix la biblioteca" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "Suprimeix la selecció de la llista de reproducció" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" -msgstr "Retalla llista de reproducció" +msgstr "Retalla la llista de reproducció" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" -msgstr "Neteja llista de reproducció" +msgstr "Neteja la llista de reproducció" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Desa la llista de reproducció" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Llista de reproducció nova" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Exporta" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Desa la selecció" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "_Cerca en aquesta llista de reproducció" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Preferències" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Salta a la cançó que s'està reproduint" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "_Equalitzador" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" -msgstr "Torna a escanejar la biblioteca" +msgstr "Torna a explo_rar la biblioteca" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" -msgstr "_Actualitza _biblioteca" +msgstr "Act_ualitza la biblioteca" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "Estadí_stiques" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Pàgina d'inici" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Comunitat" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" -msgstr "Tradueix el Pragha" +msgstr "Traduïu el Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Quant a" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Aleatori" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Repeteix" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Pantalla completa" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "Quadre _superior" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "Quadre lateral secundari" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" -msgstr "Controls de reproducció cap avall" +msgstr "Controls de reproducció a sota" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "Barra de menús" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Barra d'estat" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" -msgstr "Peces totals:" +msgstr "Nombre total de pistes:" #: ../src/pragha-menubar.c:640 msgid "Total Artists:" -msgstr "Total d'artistes:" +msgstr "Nombre total d'artistes:" #: ../src/pragha-menubar.c:642 msgid "Total Albums:" -msgstr "Total d'àlbums:" +msgstr "Nombre total d'àlbums:" #: ../src/pragha-menubar.c:645 msgid "Statistics" msgstr "Estadístiques" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Títol" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Taxa de bits" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Any" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Comentari" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Durada" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Nom del fitxer" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "Tipus MIME" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "Suprimeix de la cua de producció" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Suprimeix de la llista de reproducció" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "_Envia a" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" -msgstr "Copia «%i» als números de peça seleccionats" +msgstr "Copia «%i» als números de pistes seleccionats" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "Copia «%s» als títols seleccionats" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "Copia «%s» als artistes seleccionats" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "Copia «%s» als àlbums seleccionats" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "Copia «%s» als gèneres seleccionats" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "Copia «%i» als anys seleccionats" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "Copia «%s» als comentaris seleccionats" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "Pista" msgstr[1] "Pistes" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Neteja l'ordenació" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "Llista de reproducció" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "_D'acord" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist és un nom de llista de reproducció reservat" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "Voleu sobreescriure la llista de reproducció: %s?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Trieu un nom nou" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Reanomena" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "Voleu suprimir l’element: %s?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Exporta la llista de reproducció a un fitxer" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "_Desa" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "S’han afegit %d cançons de les %d que hi ha en la llista importada." -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "Què voleu fer?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" -msgstr "Reemplaça la llista de reproducció «%s»" +msgstr "Substitueix la llista de reproducció «%s»" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "Afegeix-les a la llista de reproducció «%s»" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -688,240 +664,256 @@ "Es permeten sis patrons com a màxim.\n" "No s’admeten comodins actualment (però s’accepten pedaços ;-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" -msgstr "Patró de caràtula d’àlbum" +msgstr "Patró de les caràtules dels àlbums" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Inicia normal" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Inicia a pantalla completa" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Inicia en l'àrea de notificació." #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" -msgstr "Trieu una carpeta per afegir-la a la col·lecció" +msgstr "Seleccioneu una carpeta per afegir-la a la biblioteca" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "_Obre" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Àudio" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" -msgstr "Destí («sink») d’àudio" +msgstr "Receptor d'àudio" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Es necessita reiniciar" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Dispositiu d'àudio" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Utilitza el mesclador per programari" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Biblioteca" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "No és possible canviar les carpetes mentre s’estan analitzant." -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Carpetes" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "_Afegeix" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "_Suprimeix" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Fusiona les carpetes en la visualització de estructura" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Ordena els àlbums per l'any de publicació" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Aparença" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Utilitza la barra de títol o els contorns del sistema" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Realça les files de la llista de reproducció actual" +msgstr "Utilitza icones petites en les barres d'eines" -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Controls" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" -msgstr "Mostra la caràtula al quadre" +msgstr "Mostra les caràtules dels àlbums al quadre" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" -msgstr "Mida de la caràtula" +msgstr "Mida de les caràtules dels àlbums" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" -msgstr "Patró de fitxers de caràtules" +msgstr "Patró dels fitxers de les caràtules dels àlbums" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "Cerca" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "Cerca mentre s'escriu" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "Cerca paraules semblants" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" -msgstr "En iniciar el Pragha" +msgstr "En iniciar Pragha" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Recorda l'últim estat" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Restaura l’última llista de reproducció" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "En afegir carpetes" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Afegeix els fitxers recursivament" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Escriptori" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" -msgstr "Mostra la icona del Pragha a l'àrea de notificació" +msgstr "Mostra la icona de Pragha a l'àrea de notificació" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" -msgstr "Minimitza el Pragha en tancar la finestra" +msgstr "Minimitza Pragha en tancar la finestra" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "Connectors" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "Preferències" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "General" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Serveis" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" -msgstr "Preferències del Pragha" +msgstr "Preferències de Pragha" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "S’han analitzat %i fitxers de %i detectats" +msgid "%i files analyzed of %i detected" +msgstr "%i fitxers analitzats dels %i detectats" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "S’estan cercant els fitxers a analitzar" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" -msgstr "" +msgstr "S'ha completat l'exploració de la biblioteca" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "No s'està reproduint" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Edita les etiquetes" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" -msgstr "Núm. de peça" +msgstr "Núm. de pista" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Fitxer" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Detalls" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "canal" msgstr[1] "canals" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Canals" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" -msgstr "Taxa de mostra" +msgstr "Taxa de mostres" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Carpeta" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Selecciona a" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Obre la carpeta" @@ -930,274 +922,424 @@ msgid "" "Do you want to set the track number of ALL of the selected tracks to: %d ?" msgstr "" +"Voleu establir el número de pista de TOTES les pistes seleccionades a: %d ?" #: ../src/pragha-tags-mgmt.c:215 #, c-format msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "" +"Voleu establir l'etiqueta del títol de TOTES les pistes seleccionades a: %s ?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s in %s" msgstr "" +"%s per %s a %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" -msgstr "" +msgstr "%s per %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" +msgstr "%s a %s" + +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" msgstr "" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Pista anterior" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Reprodueix / pausa la pista actual" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Atura la reproducció" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Pista següent" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Surt de la pantalla completa" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" -msgstr "Reprodueix cançons en ordre aleatori" +msgstr "Reprodueix les cançons en ordre aleatori" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" -msgstr "" +msgstr "Repeteix la llista de reproducció a l'acabament" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "dia" msgstr[1] "dies" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "No es pot obrir el navegador" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" "(%s)\n" "Reason: %s" msgstr "" -"S’ha produït un error en reproduir la peça actual.\n" +"S’ha produït un error en reproduir la pista actual.\n" "(%s)\n" "Motiu: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "A_tura" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "Següe_nt" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" -msgstr "" +msgstr "Seleccioneu un fitxer per a reproduir-lo" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Fitxers multimèdia admesos" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Tots els fitxers" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" -msgstr "Introduïu l’URL d’un flux de ràdio d’Internet" +msgstr "Introduïu l’URL d’un flux d'emissora de ràdio d’Internet" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" -msgstr "Nom del fitxer a desar" +msgstr "Doneu-li un nom per desar-ho" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" -msgstr "Afegeix una ubicació" - -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "" -"Jordi Mas i Hernàndez , 2014\n" -"Adolfo Jayme Barrientos , 2014" +msgstr "Afegiment d'una ubicació" #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "Reproductor de música Pragha" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "_Expandeix la biblioteca" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "_Contrau la biblioteca" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Afegeix a la llista de reproducció actual" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "Substitueix la llista de _reproducció actual" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Substitueix i re_produeix" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Suprimeix" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "Sup_rimeix la biblioteca" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Mou a la _paperera" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Suprimeix de la biblioteca" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "Reproductor de música" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Escolteu i gestioneu la música" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" -msgstr "Cerca etiquetes a l’AcoustID" +msgstr "Cerca etiquetes a AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "" +"S'ha produït un error mentre se cercaven les vostres etiquetes a AcoustID" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" +msgstr "AcoustID no ha trobat cap cançò similar" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Cerca d'etiquetes a AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Refresca la biblioteca d'Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Servidor" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Nom d'usuari" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Contrasenya" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "CD d'àudio" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "CD d’àudio o dades" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" msgstr "S’ha inserit un CD d’àudio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "Afegeix CD d'àudio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "CD d'àudio" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Dispositiu CD d'àudio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" -msgstr "Connecta amb un servidor CDDB" +msgstr "Connecta al servidor CDDB" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "Cerca música al servidor DLNA" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "S’ha afegit música des del servidor %s." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "No s’ha trobat cap servidor DLNA." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Lastfm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "M’encanta aquesta peça" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Ja no m’encanta aquesta peça" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" -msgstr "Exporta la llista de reproducció a XSPF" +msgstr "Importa una llista de reproducció XSPF" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Afegeix als preferits" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Afegeix similars" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" -msgstr "" +msgstr "No s'ha pogut establir la connexió amb Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" -msgstr "" +msgstr "Last.fm ha suggerit una correcció d'etiquetatge" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." -msgstr "" +msgstr "No s'ha pogut afegir el m'encanta a Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." -msgstr "" +msgstr "No s'ha pogut treure el m'encanta a Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" -msgstr "" +msgstr "S'han afegit %d pistes de les %d suggerides de Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" -msgstr "" +msgstr "Last.fm no suggereix cap pista similar" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." -msgstr "" +msgstr "S'han afegit %d cançons de les últimes %d amb m'encanta de Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" -msgstr "" +msgstr "No teniu cap pista preferida a Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" -msgstr "" +msgstr "Ha fallat l'enviament a Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" -msgstr "" +msgstr "Pista registrada a Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." -msgstr "" +msgstr "Ha fallat l'actualització de la cançò a Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" +msgstr "Registra a Last.fm" + +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Nom d'usuari" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Contrasenya" +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Pistes" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format msgid "by %s in %s (%s)" -msgstr "" +msgstr "per %s a %s (%s)" #: ../plugins/notify/pragha-notify-plugin.c:267 msgid "Notifications" @@ -1209,81 +1351,165 @@ #: ../plugins/notify/pragha-notify-plugin.c:274 msgid "Add actions to change track in notifications" +msgstr "Afegeix accions per canviar de pista a les notificacions" + +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Refresca la biblioteca de Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Preferits a Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" -msgstr "No es pot accedir a «%s»" +msgid "Unable to accesss to “%s” device" +msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "Dispositiu extraïble" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 #, c-format -msgid "Want to manage \"%s\" volume?" -msgstr "Voleu gestionar la unitat «%s»?" +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "Informació de l’artista" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "Cerca la _lletra" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" -msgstr "" +msgstr "Cerca la informació de l’_artista" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "Informació de la cançó" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "" +"Baixa les caràtules de l'àlbum mentre es reprodueixen les seves cançons." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" -msgstr "Informació de l’artista" +msgid "Lyrics thanks to %s" +msgstr "Lletra gràcies a %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" -msgstr "" +msgstr "%s gràcies a %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "No s’ha trobat la lletra." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "No s’ha trobat la informació de l’artista." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "No hi ha cançons recomanades." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "S’està cercant…" -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" +msgstr "Cerca l'emissora de ràdio a TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "S'ha produït un error mentre se cercava l'emissora de ràdio a TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Cerca de l'emissora de ràdio a AcoustID" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" +msgstr "Cerca a TuneIn" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" msgstr "" -#~ msgid "Ignore" -#~ msgstr "Ignora" +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" -#~ msgid "Use Gnome 3 HIG" -#~ msgstr "Utilitza la interfície de GNOME 3" +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/cs.po pragha-1.3.992/po/cs.po --- pragha-1.3.3/po/cs.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/cs.po 2019-08-13 23:06:57.000000000 +0000 @@ -3,47 +3,62 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# Alois Nešpor , 2011-2015 +# Alois Nešpor , 2011-2015,2018 # Alois Nešpor , 2014 # Petr Šimáček , 2012 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2015-03-02 15:40+0000\n" -"Last-Translator: Alois Nešpor \n" -"Language-Team: Czech (http://www.transifex.com/p/Pragha/language/cs/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Czech (http://www.transifex.com/matias/Pragha/language/cs/)\n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n " +"<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" + +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Lokální hudba" #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "_Ne" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "_Ano" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "Chcete %s importovat do knihovny?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "Chcete aktualizovat vaši knihovnu?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "Některé změny se projeví až po restartu přehrávače." +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Na pozadí běží operace" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Ignorovat" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "JMÉNO SOUBORU" @@ -133,194 +148,150 @@ msgid "Custom" msgstr "Vlastní" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Ekvalizér" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Oblíbené" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Neznámý umělec" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Neznámé album" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "Hledat v playlistu" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "_Zavřít" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Přidat do fronty" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "_Skočit na" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "_Přeskočit" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "P_řeskočit vše" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "Smazat _vše" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "_Rozbalit" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Neznámý" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "_Zabalit" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Neznámý žánr" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "Soubor nelze přesunout do koše. Úplně mazat?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Soubor \"%s\" nelze přesunout do koše. Detaily: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Zrušit" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Smazat" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Struktura adresářů" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Umělec" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Album" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Žánr" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Umělec / Album" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Žánr / Album" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Žánr / Umělec" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Žánr / Album" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Žánr / Umělec / Album" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Přidat na současný playlist" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "_Nahradit současný playlist" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Nahradit a přehrát" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Přejmenovat" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Smazat" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Exportovat" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Editovat tagy" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Přesunout do _koše" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Smazat z knihovny" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Neznámý" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Neznámý žánr" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "Soubor nelze přesunout do koše. Úplně mazat?" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "Soubor \"%s\" nelze přesunout do koše. Detaily: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "_Zrušit" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "_Smazat" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Playlisty" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Rádia" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Knihovna" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Opravdu chcete přesunout do koše?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "Namísto přesouvání do koše rovnou mazat" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -330,179 +301,183 @@ "\n" "Varování: K obnovení je nutné přeskenovat knihovnu." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Přehrát" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "Play_list" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Zobrazení" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Nástroje" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Nápověda" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "Předchozí skladba" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Hrát / Pauza" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Zastavit" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Další skladba" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "Editace informací o skladbě" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Konec" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Přidat soubory" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Otevřít soubor" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "Přidat _umístění" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "_Přidat knihovnu" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "Odebrat výběr z playlistu" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "Oříznout playlist" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Vyčistit playlist" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Uložit playlist" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Nový playlist" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Exportovat" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Uložit vybrané" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "_Hledat v playlistu" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Možnosti" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Skočit na hrající píseň" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "E_qualizer" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "_Znovu sestavit knihovnu" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "_Aktualizovat knihovnu" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Statistiky" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Domů" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Komunita" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Přeložit" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "O aplikaci" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Zamíchat" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Opakovat" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Na celou obrazovku" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "Postranní _panel" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "Sekundární postranní panel" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "Zobrazit ovládání v dolní části" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "Panel nabídky" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Stavový řádek" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" msgstr "Celkem skladeb:" @@ -520,164 +495,166 @@ msgstr "Statistika" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Název" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Bitráž" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Rok" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Komentář" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Délka" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Jméno souboru" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "MIME typ" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "Odebrat z fronty přehrávání" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Odebrat z playlistu" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "_Odeslat" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "Kopírovat \"%i\" na vybrané čísla skladeb" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "Kopírovat \"%s\" na vybrané názvy" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "Kopírovat \"%s\" na vybrané umělce" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "Kopírovat \"%s\" na vybrané alba" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "Kopírovat \"%s\" na vybrané žánry" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "Kopírovat \"%i\" na vybrané roky" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "Kopírovat \"%s\" na vybrané komentáře" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "Skladba" msgstr[1] "Skladby" msgstr[2] "Skladeb" +msgstr[3] "Skladeb" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Zrušit výběr" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "Playlist" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "_Ok" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist je rezervované jméno playlistu" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "Chcete přepsat playlist: %s ?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Vyberte nový název" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Přejmenovat" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "Chcete smazat položku: %s ?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Exportovat playlist do souboru" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "_Uložit" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "Z importovaného playlistu přidáno %d z %d písní. " -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "Co chcete dělat?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "Nahradit playlist \"%s\"" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "Přidat na playlist \"%s\"" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -687,241 +664,258 @@ "Maximum vzorů je šest.\n" "Zástupné znaky nejsou dovoleny (patch vítán :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Název obalu" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Sputit normálně" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Spustit na celou obrazovku (fullscreen)" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Spustit minimalizovaně v systémové liště" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Vybrat adresář k přidání do knihovny" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "_Otevřít" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Audio" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Audio sink" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Potřebuje restart" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Audio zařízení" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Použít softwarový mixer" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Knihovna" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "Nelze změnit adresáře, zatímco se analyzují." -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Adresáře" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "_Přidat" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "_Odstranit" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Zobrazovat v knihovně všechny vybrané adresáře spolu" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Seřadit alba podle roku" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Vzhled" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Použít systémový titulkový pruh a ohraničení" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" +msgstr "Použít malé ikony pro panel nástrojů" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Zvýraznit řádky v současném playlistě" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Controla" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Ukazovat obal v panelu" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Rozměry obalu" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Vzor souboru obalu" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "Hledat" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "Hledat během psaní" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "Hledat podobná slova" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "Když Pragha startuje" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Pamatovat si poslední pozici okna" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Obnovit poslední playlist" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "Při přidávání adresářů" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Přidat soubory rekurzivně" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Desktop" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "Zobrazit Pragha v oznamovací oblasti" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "Minimalizovat při zavření okna" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "Pluginy" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "Možnosti" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Hlavní" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Služby" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Možnosti" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" +msgid "%i files analyzed of %i detected" msgstr "%i souborů analyzovaných z %i zjištěných" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "Hledám soubory k analyzování" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Skenování knihovny dokončeno" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Nepřehrává" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Editovat tagy" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Skladba č." -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Soubor" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Detaily " -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "kanál" msgstr[1] "kanály" msgstr[2] "kanálů" +msgstr[3] "kanálů" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Kanály" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Vzorkovací frekvence" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Adresář" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Výběr k" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Otevřít adresář" @@ -936,7 +930,7 @@ msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "Chcete nastavit název tagu/značky u všech vybraných skladeb na %s ?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s od %s v %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s od %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s v %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Předchozí" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Přehrát / Zastavit" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Zastavit přehrávání" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Další skladba" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Opustit 'Celou obrazovku'" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Přehrávat písně náhodně" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Opakovat playlist po přehrání poslední skladby" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "den" msgstr[1] "dny" msgstr[2] "dnů" +msgstr[3] "dnů" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Nejde otevřít prohlížeč" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -1006,194 +1009,333 @@ "(%s)\n" "Důvod: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "_Zastavit" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "_Další" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Vybrat soubor k přehrání" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Podporované média" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Všechny soubory" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "Zadat URL internetového rádia" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "Zadejte jméno k uložení" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Přidat místo" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "Alois Nešpor (info@aloisnespor.info)" - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "Pragha hudební přehrávač" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "_Rozbalit" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "_Zabalit" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Přidat na současný playlist" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Nahradit současný playlist" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Nahradit a přehrát" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Smazat" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "_Odebrat knihovnu" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Přesunout do _koše" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Smazat z knihovny" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "Hudební přehrávač" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Spravovat a poslouchat hudbu" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "Hledat tagy na AcoustID" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Během hledání tagů na AcoustID se vyskytla chyba" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "AcoustID nenašel žádnou podobnou píseň" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Hledat tagy na AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Obnovit Ampache knihovnu" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Server" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Jméno uživatele" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Heslo" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Audio CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "Audio/Data CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" msgstr "Bylo vloženo AudioCD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "Přidat Audio _CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "Audio CD" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Audio CD zařízení" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Připojení k CDDB serveru" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "Hledat hudbu na DLNA serveru" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "Hudba ze serveru %s byla přidána." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "Nelze najít žádný DLNA server." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Lastfm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Oblíbená píseň" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Neoblíbená píseň" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "Importovat XSPF playlist" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Přidat mezi oblíbené" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Přidat podobné" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "Nelze navázat spojení s Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm navrhne opravu tagu" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "Není možné označit na Last.fm píseň za oblíbenou." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "Neoblíbené písně na Last.fm selhalo." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "Přidáno %d písní z %d navrhnutých Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "Last.fm nenavrhuje žádnou podobnou píseň" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "Přidáno %d skladeb z posledních %d oblíbených na Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "Nemáte žádné oblíbené písně na Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "Podřízení se Last.fm selhalo" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "Skladba je \"scrobbled\" na Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "Selhala aktualizace nynější písně na Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "Scrobble na Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Jméno uživatele" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Heslo" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Skladeb" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1212,79 +1354,162 @@ msgid "Add actions to change track in notifications" msgstr "V oznámení přidat akce ke změně skladby " -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Obnovit Koel knihovnu" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Oblíbené na Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" -msgstr "Nelze získat přístup k \"%s\"" +msgid "Unable to accesss to “%s” device" +msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "Odpojitelné zařízení" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" -msgstr "Chcete spravovat svazek \"%s\"?" +msgid "Artist info" +msgstr "Informace o umělci" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:90 msgid "Search _lyric" msgstr "Najít _text písně" -#: ../plugins/song-info/pragha-song-info-plugin.c:90 +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "Hledat informace o _umělci" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "Informace o hudbě" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "Stáhnout obal alba během přehrávání písní." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format msgid "Lyrics thanks to %s" msgstr "Texty díky %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 -#, c-format -msgid "Artist info" -msgstr "Informace o umělci" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "%s poděkování patří %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "Text písní nenalezen." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "Informace o umělci nebyly nalezeny." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Žádné doporučené písně." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "Hledám...." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "Hledat rádio na TuneIn" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Během hledání rádia na TuneIn se vyskytla chyba" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Hledání rádia na TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "Hledat v TuneIn" -#~ msgid "Ignore" -#~ msgstr "Ignorovat" +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" -#~ msgid "Use Gnome 3 HIG" -#~ msgstr "Použít Gnome 3 HIG" +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/da.po pragha-1.3.992/po/da.po --- pragha-1.3.3/po/da.po 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/po/da.po 2019-08-13 23:06:57.000000000 +0000 @@ -0,0 +1,1506 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# scootergrisen, 2017-2019 +msgid "" +msgstr "" +"Project-Id-Version: Pragha\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Danish (http://www.transifex.com/matias/Pragha/language/da/)\n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Lokal musik" + +#. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 +msgid "_No" +msgstr "_Nej" + +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 +msgid "_Yes" +msgstr "_Ja" + +#: ../src/info-bar-import-music.c:80 +#, c-format +msgid "Would you like to import %s to library?" +msgstr "Vil du importere %s til biblioteket?" + +#: ../src/info-bar-import-music.c:127 +msgid "Would you like to update your music library?" +msgstr "Vil du opdatere dit musikbibliotek?" + +#: ../src/info-bar-import-music.c:170 +msgid "Some changes need restart pragha." +msgstr "Nogle ændringer kræver at pragha genstartes." + +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Der er baggrundsopgaver som arbejder" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Ignorer" + +#: ../src/pragha-cmdline.c:192 +msgid "FILENAME" +msgstr "FILNAVN" + +#: ../src/pragha-cmdline.c:251 +msgid "Use --help to see a full list of available command line options." +msgstr "" +"Brug --help til at se en fuld liste over tilgængelige kommandolinjetilvalg." + +#: ../src/pragha-equalizer-dialog.c:50 +msgid "Disabled" +msgstr "Deaktiveret" + +#: ../src/pragha-equalizer-dialog.c:51 +msgid "Classical" +msgstr "Klassisk" + +#: ../src/pragha-equalizer-dialog.c:52 +msgid "Club" +msgstr "Klub" + +#: ../src/pragha-equalizer-dialog.c:53 +msgid "Dance" +msgstr "Dance" + +#: ../src/pragha-equalizer-dialog.c:54 +msgid "Full Bass" +msgstr "Fuld bas" + +#: ../src/pragha-equalizer-dialog.c:55 +msgid "Full Bass and Treble" +msgstr "Fuld bas og diskant" + +#: ../src/pragha-equalizer-dialog.c:56 +msgid "Full Treble" +msgstr "Fuld diskant" + +#: ../src/pragha-equalizer-dialog.c:57 +msgid "Laptop Speakers and Headphones" +msgstr "Bærbarhøjttalere og hovedtelefoner" + +#: ../src/pragha-equalizer-dialog.c:58 +msgid "Large Hall" +msgstr "Stor hal" + +#: ../src/pragha-equalizer-dialog.c:59 +msgid "Live" +msgstr "Live" + +#: ../src/pragha-equalizer-dialog.c:60 +msgid "Party" +msgstr "Party" + +#: ../src/pragha-equalizer-dialog.c:61 +msgid "Pop" +msgstr "Pop" + +#: ../src/pragha-equalizer-dialog.c:62 +msgid "Reggae" +msgstr "Reggae" + +#: ../src/pragha-equalizer-dialog.c:63 +msgid "Rock" +msgstr "Rock" + +#: ../src/pragha-equalizer-dialog.c:64 +msgid "Ska" +msgstr "Ska" + +#: ../src/pragha-equalizer-dialog.c:65 +msgid "Smiley Face Curve" +msgstr "Smileyansigtskurve" + +#: ../src/pragha-equalizer-dialog.c:66 +msgid "Soft" +msgstr "Blød" + +#: ../src/pragha-equalizer-dialog.c:67 +msgid "Soft Rock" +msgstr "Blød rock" + +#: ../src/pragha-equalizer-dialog.c:68 +msgid "Techno" +msgstr "Techno" + +#: ../src/pragha-equalizer-dialog.c:69 +msgid "Custom" +msgstr "Brugerdefineret" + +#: ../src/pragha-equalizer-dialog.c:423 +msgid "Equalizer" +msgstr "Equalizer" + +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Favoritter" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 +#: ../plugins/notify/pragha-notify-plugin.c:166 +msgid "Unknown Artist" +msgstr "Ukendt kunstner" + +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 +#: ../plugins/notify/pragha-notify-plugin.c:167 +msgid "Unknown Album" +msgstr "Ukendt album" + +#. The search dialog +#: ../src/pragha-filter-dialog.c:368 +msgid "Search in playlist" +msgstr "Søg i afspilningsliste" + +#: ../src/pragha-filter-dialog.c:371 +msgid "_Close" +msgstr "_Luk" + +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 +msgid "Add to playback queue" +msgstr "Tilføj til afspilningskøen" + +#: ../src/pragha-filter-dialog.c:375 +msgid "_Jump to" +msgstr "_Hop til" + +#: ../src/pragha-library-pane.c:141 +msgid "_Skip" +msgstr "_Spring over" + +#: ../src/pragha-library-pane.c:142 +msgid "S_kip All" +msgstr "S_pring alle over" + +#: ../src/pragha-library-pane.c:143 +msgid "Delete _All" +msgstr "Slet _alle" + +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Ukendt" + +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Ukendt genre" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "Filen kan ikke flyttes til papirkurven. Slet den permanent?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Filen \"%s\" kan ikke flyttes til papirkurven. Detaljer: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Annuller" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Slet" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 +msgid "Folders structure" +msgstr "Mappestruktur" + +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 +msgid "Artist" +msgstr "Kunstner" + +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 +msgid "Album" +msgstr "Album" + +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 +msgid "Genre" +msgstr "Genre" + +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 +msgid "Artist / Album" +msgstr "Kunster/album" + +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 +msgid "Genre / Artist" +msgstr "Genre/kunstner" + +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Genre/album" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 +msgid "Genre / Artist / Album" +msgstr "Genre/kunster/album" + +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 +msgid "Playlists" +msgstr "Afspilningslister" + +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 +msgid "Radios" +msgstr "Radioer" + +#: ../src/pragha-library-pane.c:2678 +msgid "Really want to move the files to trash?" +msgstr "Vil du virkelig flytte filerne til papirkurven?" + +#: ../src/pragha-library-pane.c:2680 +msgid "Delete permanently instead of moving to trash" +msgstr "Slet permanent i stedet for at flytte til papirkurven" + +#: ../src/pragha-library-pane.c:2734 +msgid "" +"Are you sure you want to delete current file from library?\n" +"\n" +"Warning: To recover we must rescan the entire library." +msgstr "" +"Er du sikker på, at du vil slette den aktuelle fil fra biblioteket?\n" +"\n" +"Advarsel: For at gendanne skal vi skanne hele biblioteket igen." + +#: ../src/pragha-menubar.c:193 +msgid "_Playback" +msgstr "_Afspilning" + +#: ../src/pragha-menubar.c:194 +msgid "Play_list" +msgstr "_Afspilningsliste" + +#: ../src/pragha-menubar.c:195 +msgid "_View" +msgstr "_Visning" + +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 +msgid "_Tools" +msgstr "Værk_tøjer" + +#: ../src/pragha-menubar.c:197 +msgid "_Help" +msgstr "_Hjælp" + +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 +#: ../plugins/notify/pragha-notify-plugin.c:177 +msgid "Previous track" +msgstr "Forrige spor" + +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 +msgid "Play / Pause" +msgstr "Afspil/pause" + +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 +msgid "Stop" +msgstr "Stop" + +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 +#: ../plugins/notify/pragha-notify-plugin.c:181 +msgid "Next track" +msgstr "Næste spor" + +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 +msgid "Edit track information" +msgstr "Rediger sporinformation" + +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 +msgid "_Quit" +msgstr "_Afslut" + +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 +msgid "_Add files" +msgstr "Tilføj _filer" + +#: ../src/pragha-menubar.c:211 +msgid "Open a media file" +msgstr "Åbn en mediefil" + +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 +msgid "Add _location" +msgstr "Tilføj _placering" + +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 +msgid "_Add the library" +msgstr "Tilføj _biblioteket" + +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 +msgid "Remove selection from playlist" +msgstr "Fjern valgte fra afspilningsliste" + +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 +msgid "Crop playlist" +msgstr "Beskær afspilningsliste" + +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 +msgid "Clear playlist" +msgstr "Ryd afspilningsliste" + +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 +msgid "Save playlist" +msgstr "Gem afspilningsliste" + +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 +msgid "New playlist" +msgstr "Ny afspilningsliste" + +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Eksportér" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 +msgid "Save selection" +msgstr "Gem valgte" + +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 +msgid "_Search in playlist" +msgstr "_Søg i afspilningsliste" + +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 +msgid "_Preferences" +msgstr "_Præferencer" + +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 +msgid "Jump to playing song" +msgstr "Hop til afspillende sang" + +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 +msgid "E_qualizer" +msgstr "_Equalizer" + +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 +msgid "_Rescan library" +msgstr "_Genskan bibliotek" + +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 +msgid "_Update library" +msgstr "_Opdater bibliotek" + +#: ../src/pragha-menubar.c:244 +msgid "_Statistics" +msgstr "_Statistik" + +#: ../src/pragha-menubar.c:246 +msgid "Homepage" +msgstr "Hjemmeside" + +#: ../src/pragha-menubar.c:248 +msgid "Community" +msgstr "Fællesskab" + +#: ../src/pragha-menubar.c:250 +msgid "Wiki" +msgstr "Wiki" + +#: ../src/pragha-menubar.c:252 +msgid "Translate Pragha" +msgstr "Oversæt Pragha" + +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 +msgid "About" +msgstr "Om" + +#: ../src/pragha-menubar.c:259 +msgid "_Shuffle" +msgstr "_Bland" + +#: ../src/pragha-menubar.c:262 +msgid "_Repeat" +msgstr "_Gentag" + +#: ../src/pragha-menubar.c:265 +msgid "_Fullscreen" +msgstr "_Fuldskærm" + +#: ../src/pragha-menubar.c:268 +msgid "Lateral _panel" +msgstr "Side_panel" + +#: ../src/pragha-menubar.c:271 +msgid "Secondary lateral panel" +msgstr "Sekundært sidepanel" + +#: ../src/pragha-menubar.c:274 +msgid "Playback controls below" +msgstr "Afspilningsbetjeninger nederst" + +#: ../src/pragha-menubar.c:277 +msgid "Menubar" +msgstr "Menulinje" + +#: ../src/pragha-menubar.c:638 +msgid "Total Tracks:" +msgstr "Samlet antal spor:" + +#: ../src/pragha-menubar.c:640 +msgid "Total Artists:" +msgstr "Samlet antal kunstnere:" + +#: ../src/pragha-menubar.c:642 +msgid "Total Albums:" +msgstr "Samlet antal albummer:" + +#: ../src/pragha-menubar.c:645 +msgid "Statistics" +msgstr "Statistik" + +#. Create labels +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 +msgid "Title" +msgstr "Titel" + +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 +msgid "Bitrate" +msgstr "Bithastighed" + +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 +msgid "Year" +msgstr "År" + +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 +msgid "Comment" +msgstr "Kommentar" + +#. Create labels +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 +msgid "Length" +msgstr "Varighed" + +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 +msgid "Filename" +msgstr "Filnavn" + +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 +msgid "Mimetype" +msgstr "MIME-type" + +#: ../src/pragha-playlist.c:212 +msgid "Remove from playback queue" +msgstr "Fjern fra afspilningskøen" + +#: ../src/pragha-playlist.c:214 +msgid "Remove from playlist" +msgstr "Fjern fra afspilningsliste" + +#: ../src/pragha-playlist.c:222 +msgid "_Send to" +msgstr "_Send til" + +#: ../src/pragha-playlist.c:2535 +#, c-format +msgid "Copy \"%i\" to selected track numbers" +msgstr "Kopiér \"%i\" til valgte spornumre" + +#: ../src/pragha-playlist.c:2541 +#, c-format +msgid "Copy \"%s\" to selected titles" +msgstr "Kopiér \"%s\" til valgte titler" + +#: ../src/pragha-playlist.c:2547 +#, c-format +msgid "Copy \"%s\" to selected artists" +msgstr "Kopiér \"%s\" til valgte kunstnere" + +#: ../src/pragha-playlist.c:2553 +#, c-format +msgid "Copy \"%s\" to selected albums" +msgstr "Kopiér \"%s\" til valgte albummer" + +#: ../src/pragha-playlist.c:2559 +#, c-format +msgid "Copy \"%s\" to selected genres" +msgstr "Kopiér \"%s\" til valgte genre" + +#: ../src/pragha-playlist.c:2565 +#, c-format +msgid "Copy \"%i\" to selected years" +msgstr "Kopiér \"%i\" til valgte år" + +#: ../src/pragha-playlist.c:2571 +#, c-format +msgid "Copy \"%s\" to selected comments" +msgstr "Kopiér \"%s\" til valgte kommentarer" + +#. Create the checkmenu items +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 +msgid "Track" +msgid_plural "Tracks" +msgstr[0] "Spor" +msgstr[1] "Spor" + +#: ../src/pragha-playlist.c:3514 +msgid "Clear sort" +msgstr "Ryd sortering" + +#: ../src/pragha-playlists-mgmt.c:74 +msgid "Playlist" +msgstr "Afspilningsliste" + +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 +msgid "_Ok" +msgstr "_OK" + +#: ../src/pragha-playlists-mgmt.c:130 +msgid "con_playlist is a reserved playlist name" +msgstr "con_playlist er et reserveret afspilningslistenavn" + +#: ../src/pragha-playlists-mgmt.c:154 +#, c-format +msgid "Do you want to overwrite the playlist: %s ?" +msgstr "Vil du overskrive afspilningslisten: %s ?" + +#: ../src/pragha-playlists-mgmt.c:508 +msgid "Choose a new name" +msgstr "Vælg et nyt navn" + +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Omdøb" + +#: ../src/pragha-playlists-mgmt.c:557 +#, c-format +msgid "Do you want to delete the item: %s ?" +msgstr "Vil du slette elementet: %s ?" + +#: ../src/pragha-playlists-mgmt.c:587 +msgid "Export playlist to file" +msgstr "Eksportér afspilningsliste til fil" + +#: ../src/pragha-playlists-mgmt.c:591 +msgid "_Save" +msgstr "_Gem" + +#: ../src/pragha-playlists-mgmt.c:1036 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 +#, c-format +msgid "Added %d songs from %d of the imported playlist." +msgstr "Tilføjede %d sange fra %d af den importerede afspilningsliste." + +#: ../src/pragha-playlists-mgmt.c:1255 +msgid "What do you want to do?" +msgstr "Hvad vil du?" + +#: ../src/pragha-playlists-mgmt.c:1257 +#, c-format +msgid "Replace the playlist \"%s\"" +msgstr "Erstat afspilningslisten \"%s\"" + +#: ../src/pragha-playlists-mgmt.c:1262 +#, c-format +msgid "Add to playlist \"%s\"" +msgstr "Tilføj til afspilningsliste \"%s\"" + +#: ../src/pragha-preferences-dialog.c:204 +msgid "" +"Patterns should be of the form:;;....\n" +"A maximum of six patterns are allowed.\n" +"Wildcards are not accepted as of now ( patches welcome :-) )." +msgstr "" +"Mønstre skal være i formatet:;;....\n" +"Højst seks mønstre er tilladt.\n" +"Jokertegn accepteres ikke indtil videre (patches er velkomne :-))." + +#: ../src/pragha-preferences-dialog.c:227 +msgid "Album art pattern" +msgstr "Albumbilledmønster" + +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 +msgid "Start normal" +msgstr "Start normalt" + +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 +msgid "Start fullscreen" +msgstr "Start i fuldskærm" + +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 +msgid "Start in system tray" +msgstr "Start i systembakke" + +#. Create a folder chooser dialog +#: ../src/pragha-preferences-dialog.c:700 +msgid "Select a folder to add to library" +msgstr "Vælg en mappe som skal tilføjes til biblioteket" + +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 +msgid "_Open" +msgstr "_Åbn" + +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 +msgid "Audio" +msgstr "Lyd" + +#: ../src/pragha-preferences-dialog.c:931 +msgid "Audio sink" +msgstr "Lydsink" + +#: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 +msgid "Restart Required" +msgstr "Kræver genstart" + +#: ../src/pragha-preferences-dialog.c:950 +msgid "Audio Device" +msgstr "Lydenhed" + +#: ../src/pragha-preferences-dialog.c:960 +msgid "Use software mixer" +msgstr "Brug softwaremikser" + +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Bibliotek" + +#: ../src/pragha-preferences-dialog.c:998 +msgid "Can not change directories while they are analyzing." +msgstr "Kan ikke skifte mapper mens de analyseres." + +#: ../src/pragha-preferences-dialog.c:1018 +msgid "Folders" +msgstr "Mapper" + +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 +msgid "_Add" +msgstr "_Tilføj" + +#: ../src/pragha-preferences-dialog.c:1053 +msgid "_Remove" +msgstr "_Fjern" + +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 +msgid "Sort albums by release year" +msgstr "Sortér albummer efter udgivelsesår" + +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + +#. Labels +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 +msgid "Appearance" +msgstr "Udseende" + +#: ../src/pragha-preferences-dialog.c:1132 +msgid "Use system title bar and borders" +msgstr "Brug systemets titellinje og kanter" + +#: ../src/pragha-preferences-dialog.c:1138 +msgid "Use small icons on the toolbars" +msgstr "Brug små ikoner på værktøjslinjerne" + +#: ../src/pragha-preferences-dialog.c:1141 +msgid "Controls" +msgstr "Betjeninger" + +#: ../src/pragha-preferences-dialog.c:1143 +msgid "Show Album art in Panel" +msgstr "Vis albumbillede i panel" + +#: ../src/pragha-preferences-dialog.c:1146 +msgid "Size of Album art" +msgstr "Størrelse på albumbillede" + +#: ../src/pragha-preferences-dialog.c:1151 +msgid "Album art file pattern" +msgstr "Filmønster for albumbillede" + +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 +msgid "Search" +msgstr "Søg" + +#. Instant search. +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 +msgid "Search while typing" +msgstr "Søg mens der skrives" + +#. Aproximate search. +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 +msgid "Search similar words" +msgstr "Søger efter lignende ord" + +#: ../src/pragha-preferences-dialog.c:1201 +msgid "When starting pragha" +msgstr "Når pragha startes" + +#: ../src/pragha-preferences-dialog.c:1204 +msgid "Remember last window state" +msgstr "Husk sidste vinduestilstand" + +#: ../src/pragha-preferences-dialog.c:1210 +msgid "Restore last playlist" +msgstr "Gendan sidste afspilningsliste" + +#: ../src/pragha-preferences-dialog.c:1213 +msgid "When adding folders" +msgstr "Når mapper tilføjes" + +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 +msgid "Add files recursively" +msgstr "Tilføj filer rekursivt" + +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 +msgid "Desktop" +msgstr "Skrivebord" + +#: ../src/pragha-preferences-dialog.c:1240 +msgid "Show Pragha icon in the notification area" +msgstr "Vis Pragha-ikon i underretningsområdet" + +#: ../src/pragha-preferences-dialog.c:1243 +msgid "Minimize Pragha when closing window" +msgstr "Minimer Pragha når vinduet lukkes" + +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 +msgid "Plugins" +msgstr "Plugins" + +#. The main preferences dialog +#: ../src/pragha-preferences-dialog.c:1351 +msgid "Preferences" +msgstr "Præferencer" + +#: ../src/pragha-preferences-dialog.c:1363 +msgid "General" +msgstr "Generelt" + +#: ../src/pragha-preferences-dialog.c:1410 +msgid "Services" +msgstr "Tjenester" + +#: ../src/pragha-preferences-dialog.c:1424 +msgid "Preferences of Pragha" +msgstr "Praghas præferencer" + +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 +#, c-format +msgid "%i files analyzed of %i detected" +msgstr "%i filer analyseret ud af %i registreret" + +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 +msgid "Searching files to analyze" +msgstr "Søger efter filer som skal analyseres" + +#: ../src/pragha-scanner.c:257 +msgid "Library scan complete" +msgstr "Skanning af bibliotek fuldført" + +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 +msgid "Not playing" +msgstr "Afspiller ikke" + +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Rediger mærkater" + +#: ../src/pragha-tags-dialog.c:171 +msgid "Track No" +msgstr "Spor nr." + +#: ../src/pragha-tags-dialog.c:174 +msgid "File" +msgstr "Fil" + +#. The main edit dialog +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 +msgid "Details" +msgstr "Detaljer" + +#: ../src/pragha-tags-dialog.c:672 +msgid "channel" +msgid_plural "channels" +msgstr[0] "kanal" +msgstr[1] "kanaler" + +#: ../src/pragha-tags-dialog.c:691 +msgid "Channels" +msgstr "Kanaler" + +#: ../src/pragha-tags-dialog.c:692 +msgid "Samplerate" +msgstr "Samplefrekvens" + +#: ../src/pragha-tags-dialog.c:693 +msgid "Folder" +msgstr "Mappe" + +#: ../src/pragha-tags-dialog.c:1092 +msgid "Selection to" +msgstr "Valg til" + +#: ../src/pragha-tags-dialog.c:1130 +msgid "Open folder" +msgstr "Åbn mappe" + +#: ../src/pragha-tags-mgmt.c:197 +#, c-format +msgid "" +"Do you want to set the track number of ALL of the selected tracks to: %d ?" +msgstr "Vil du sætte spornummeret på ALLE de valgte spor til: %d?" + +#: ../src/pragha-tags-mgmt.c:215 +#, c-format +msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" +msgstr "Vil du sætte titelmærkatet på ALLE de valgte spor til: %s?" + +#: ../src/pragha-toolbar.c:147 +#, c-format +msgid "" +"%s by %s in %s" +msgstr "" +"%s af %s i %s" + +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 +#, c-format +msgid "%s by %s" +msgstr "%s af %s" + +#: ../src/pragha-toolbar.c:156 +#, c-format +msgid "%s in %s" +msgstr "%s i %s" + +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 +msgid "Previous Track" +msgstr "Forrige spor" + +#: ../src/pragha-toolbar.c:859 +msgid "Play / Pause Track" +msgstr "Afspil/pause spor" + +#: ../src/pragha-toolbar.c:863 +msgid "Stop playback" +msgstr "Stop afspilning" + +#: ../src/pragha-toolbar.c:867 +msgid "Next Track" +msgstr "Næste spor" + +#: ../src/pragha-toolbar.c:878 +msgid "Leave Fullscreen" +msgstr "Forlad fuldskærm" + +#: ../src/pragha-toolbar.c:885 +msgid "Play songs in a random order" +msgstr "Afspil sange i tilfældig rækkefølge" + +#: ../src/pragha-toolbar.c:888 +msgid "Repeat playback list at the end" +msgstr "Gentag afspilningsliste ved slutningen" + +#: ../src/pragha-utils.c:493 +msgid "day" +msgid_plural "days" +msgstr[0] "dag" +msgstr[1] "dage" + +#: ../src/pragha-utils.c:796 +msgid "Unable to open the browser" +msgstr "Kan ikke åbne browseren" + +#: ../src/pragha-window.c:133 +#, c-format +msgid "" +"Error playing current track.\n" +"(%s)\n" +"Reason: %s" +msgstr "" +"Fejl ved afspilning af aktuelle spor.\n" +"(%s)\n" +"Årsag: %s" + +#: ../src/pragha-window.c:140 +msgid "_Stop" +msgstr "_Stop" + +#: ../src/pragha-window.c:141 +msgid "_Next" +msgstr "_Næste" + +#: ../src/pragha.c:175 +msgid "Select a file to play" +msgstr "Vælg en fil som skal afspilles" + +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 +msgid "Supported media" +msgstr "Understøttede medier" + +#: ../src/pragha.c:308 +msgid "All files" +msgstr "Alle filer" + +#: ../src/pragha.c:384 +msgid "Enter the URL of an internet radio stream" +msgstr "Indtast URL'en til en internetradiostrøm" + +#: ../src/pragha.c:391 +msgid "Give it a name to save" +msgstr "Giv den et navn for at gemme" + +#: ../src/pragha.c:404 +msgid "Add a location" +msgstr "Tilføj en placering" + +#. Setup application name and pulseaudio role +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 +msgid "Pragha Music Player" +msgstr "Pragha-musikafspiller" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "_Udfold bibliotek" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "_Sammenfold bibliotek" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Tilføj til aktuelle afspilningsliste" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Erstat aktuelle afspilningsliste" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Erstat og _afspil" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Slet" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "_Fjern bibliotek" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Flyt til _papirkurv" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Slet fra bibliotek" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + +#: ../data/pragha.desktop.in.h:1 +msgid "Music Player" +msgstr "Musikafspiller" + +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 +msgid "Search tags on AcoustID" +msgstr "Søg efter mærkater på AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Der opstod en fejl ved søgning efter dine mærkater på AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 +msgid "AcoustID not found any similar song" +msgstr "AcoustID fandt ikke nogen lignende sange" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Søger efter mærkater på AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Genopfrisk Ampache-bibliotek" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Server" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Brugernavn" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Adgangskode" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Lyd-CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "Lyd-/data-CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "En lyd-CD blev sat i" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 +msgid "Add Audio _CD" +msgstr "Tilføj lyd-_CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 +msgid "Audio CD Device" +msgstr "Lyd-CD-enhed" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 +msgid "Connect to CDDB server" +msgstr "Opret forbindelse til CDDB-server" + +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 +msgid "Search music on DLNA server" +msgstr "Søg efter musik på DLNA-server" + +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 +#, c-format +msgid "Music of the %s server was added." +msgstr "Musik fra %s-serveren blev tilføjet." + +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +msgid "Could not find any DLNA server." +msgstr "Kunne ikke finde nogen DLNA-server." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 +msgid "_Lastfm" +msgstr "_Lastfm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 +msgid "Import a XSPF playlist" +msgstr "Importér en XSPF-afspilningsliste" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 +msgid "Add favorites" +msgstr "Tilføj favoritter" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 +msgid "Add similar" +msgstr "Tilføj lignende" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 +msgid "Unable to establish conection with Last.fm" +msgstr "Kan ikke oprette forbindelse til Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 +msgid "Last.fm suggested a tag correction" +msgstr "Last.fm foreslog en mærkatrettelse" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 +msgid "Love song on Last.fm failed." +msgstr "\"Love\" sang på Last.fm mislykkedes." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 +msgid "Unlove song on Last.fm failed." +msgstr "\"Unlove\" sang på Last.fm mislykkedes." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 +#, c-format +msgid "Added %d tracks of %d suggested from Last.fm" +msgstr "Tilføjede %d spor ud af %d forslag fra Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 +#, c-format +msgid "Last.fm doesn't suggest any similar track" +msgstr "Last.fm foreslår ingen lignende spor" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 +#, c-format +msgid "Added %d songs of the last %d loved on Last.fm." +msgstr "Tilføjede %d sange ud af de sidste %d \"loved\" på Last.fm." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 +#, c-format +msgid "You don't have favorite tracks on Last.fm" +msgstr "Du har ikke favoritspor på Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 +msgid "Last.fm submission failed" +msgstr "Last.fm-indsendelse mislykkedes" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 +msgid "Track scrobbled on Last.fm" +msgstr "Spor \"scrobbled\" på Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 +msgid "Update current song on Last.fm failed." +msgstr "Opdatering af aktuelle sang på Last.fm mislykkedes." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 +msgid "Scrobble on Last.fm" +msgstr "\"Scrobble\" på Last.fm" + +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" + +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Spor" + +#: ../plugins/notify/pragha-notify-plugin.c:165 +#, c-format +msgid "by %s in %s (%s)" +msgstr "af %s i %s (%s)" + +#: ../plugins/notify/pragha-notify-plugin.c:267 +msgid "Notifications" +msgstr "Underretninger" + +#: ../plugins/notify/pragha-notify-plugin.c:269 +msgid "Show Album art in notifications" +msgstr "Vis albumbillede i underretninger" + +#: ../plugins/notify/pragha-notify-plugin.c:274 +msgid "Add actions to change track in notifications" +msgstr "Tilføj handlinger til at skifte spor i underretninger" + +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Genopfrisk Koel-mappen" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Favoritter på Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 +#, c-format +msgid "Unable to accesss to “%s” device" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 +msgid "Removable Device" +msgstr "Flytbar enhed" + +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "Kunstnerinfo" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "Søg efter _sangtekst" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 +msgid "Search _artist info" +msgstr "Søg efter _kunstnerinfo" + +#: ../plugins/song-info/pragha-song-info-plugin.c:558 +msgid "Song Information" +msgstr "Sanginformation" + +#: ../plugins/song-info/pragha-song-info-plugin.c:560 +msgid "Download the album art while playing their songs." +msgstr "Download albumbillede mens deres sange afspilles." + +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#, c-format +msgid "Lyrics thanks to %s" +msgstr "Sangtekster leveret af %s" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 +#, c-format +msgid "%s thanks to %s" +msgstr "%s leveret af %s" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 +msgid "Lyrics not found." +msgstr "Sangtekster ikke fundet." + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 +msgid "Artist information not found." +msgstr "Kunstnerinformation ikke fundet." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Ingen anbefalede sange." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 +msgid "Searching..." +msgstr "Søger..." + +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 +msgid "Search radio on TuneIn" +msgstr "Søger efter radio på TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Der opstod en fejl ved søgning efter radio på TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Søger efter radio på TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 +msgid "Search in TuneIn" +msgstr "Søg i TuneIn" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/de.po pragha-1.3.992/po/de.po --- pragha-1.3.3/po/de.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/de.po 2019-08-13 23:06:57.000000000 +0000 @@ -6,47 +6,63 @@ # Aru21, 2015 # Christoph Wickert , 2012-2013 # Christoph Wickert , 2011 -# Ettore Atalan , 2014 +# Ettore Atalan , 2014-2015,2017 # Mario Blättermann , 2012 +# Tina Keil , 2019 +# Vinzenz Vietzke , 2017 # Zijj , 2015 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2015-06-04 15:09+0000\n" -"Last-Translator: Zijj \n" -"Language-Team: German (http://www.transifex.com/p/Pragha/language/de/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: German (http://www.transifex.com/matias/Pragha/language/de/)\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Lokale Musik" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "_Nein" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "_Ja" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" -msgstr "Soll %s zur Bibliothek importiert werden?" +msgstr "Soll %s in die Bibliothek importiert werden?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "Möchten Sie Ihre Musikbibliothek aktualisieren?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "Einige Änderungen erfordern einen Neustart." +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Es werden Aufgaben im Hintergrund verarbeitet" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Ignorieren" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "DATEINAME" @@ -137,195 +153,151 @@ msgid "Custom" msgstr "Benutzerdefiniert" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Equalizer" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Favoriten" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Unbekannter Interpret" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Unbekanntes Album" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "In der Wiedergabeliste suchen" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "S_chließen" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Zur Wiedergabewarteschlange hinzufügen" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "_Wechseln zu" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "Über_springen" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "Alle ü_berspringen" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "_Alle löschen" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "Musikbibliothek _aufklappen" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Unbekannt" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "Musikbibliothek _zuklappen" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Unbekanntes Genre" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "" +"Datei kann nicht in den Papierkorb verschoben werden. Dauerhaft löschen?" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Die Datei »%s« kann nicht in den Müll verschoben werden. Details: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "Abbre_chen" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Löschen" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Verzeichnisbaum" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Interpret" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Album" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Genre" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Interpret / Album" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Genre / Album" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Genre / Interpret" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Genre / Album" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Genre / Interpret / Album" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "Zur _aktuellen Wiedergabeliste hinzufügen" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "Aktuelle Wiedergabeliste e_rsetzen" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Ersetzen und abs_pielen" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Umbenennen" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Löschen" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Exportieren" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Schlagwörter bearbeiten" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "In den Papierkorb _verschieben" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Aus der Bibliothek entfernen" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Unbekannt" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Unbekanntes Genre" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" -"Datei kann nicht in den Papierkorb verschoben werden. Dauerhaft löschen?" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "Die Datei »%s« kann nicht in den Müll verschoben werden. Details: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "Abbre_chen" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "_Löschen" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Wiedergabelisten" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Radios" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Bibliothek" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Soll die Datei wirklich in den Müll verschoben werden?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "Dauerhaft löschen anstatt in den Papierkorb zu verschieben" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -336,179 +308,183 @@ "Warnung: Um die Datei wiederherzustellen, muss die gesamte Musikbibliothek " "neu eingelesen werden." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Wiedergabe" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "Wiedergabe_liste" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Ansicht" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Werkzeuge" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Hilfe" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "Vorheriges Stück" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Wiedergabe / Pause" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Stopp" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Nächstes Stück" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "Stückinformationen bearbeiten" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Beenden" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "Dateien _hinzufügen" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Eine Mediendatei öffnen" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "_Ort hinzufügen" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "_Zur Bibliothek hinzufügen" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "Auswahl aus der Wiedergabeliste entfernen" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "Wiedergabeliste abschneiden" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Wiedergabeliste leeren" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Wiedergabeliste speichern" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Neue Wiedergabeliste" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Exportieren" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Auswahl speichern" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "Wiedergabeliste durch_suchen" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Einstellungen" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Zum momentan wiedergegebenen Titel springen" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "E_qualizer" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "Musikbibliothek neu _einlesen" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "Musikbibliothek akt_ualisieren" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "Statistiken" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Webseite" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Gemeinschaft" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Pragha übersetzen" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "_Über" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Zufallswiedergabe" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Wiederholen" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Vollbild" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "_Seitenleiste" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "Sekundäre Seitenleiste" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "Steuerelemente unten anzeigen" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "Menüleiste" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Statuszeile" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" msgstr "Gesamtzahl der Stücke:" @@ -526,163 +502,164 @@ msgstr "Statistiken" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Titel" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Bitrate" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Jahr" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Kommentar" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Länge" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Dateiname" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "MIME-Typ" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "Von der Wiedergabewarteliste entfernen" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Aus der Wiedergabeliste entfernen" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "_Senden an" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "»%i« zu ausgewählten Stücknummern kopieren" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "»%s« zu ausgewählten Titeln kopieren" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "»%s« zu ausgewählten Künstlern kopieren" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "»%s« zu ausgewählten Alben kopieren" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "»%s« zu ausgewählten Genres kopieren" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "»%i« zu ausgewählten Jahren kopieren" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "»%s« zu ausgewählten Kommentaren kopieren" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "Stück" msgstr[1] "Stücke" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Sortierung zurücksetzen" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "Wiedergabeliste" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "_Ok" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist ist ein reservierter Wiedergabelistenname" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "Soll die Wiedergabeliste »%s« überschreiben werden?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Neuen Namen angeben" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Umbenennen" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "Soll »%s« gelöscht werden?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Wiedergabeliste in Datei speichern" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "_Speichern" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "%d von %d Titeln der importierten Wiedergabeliste hinzugefügt." -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "Was möchten Sie tun?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "Die Wiedergabeliste »%s« ersetzen" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "Zur Wiedergabeliste »%s« hinzufügen" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -692,242 +669,258 @@ "Es sind maximal sechs Muster erlaubt.\n" "Platzhalter werden noch nicht verarbeitet (Patches sind willkommen :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Muster für Album-Cover" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Normal starten" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Im Vollbildmodus starten" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Im Tray starten" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Einen Ordner zum Hinzufügen zur Bibliothek auswählen" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "_Öffnen" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Audio" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Audiosystem" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Neustart erforderlich" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Audiogerät" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Software-Mixer verwenden" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Bibliothek" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "" "Das Verzeichnis kann nicht gewechselt werden, während diese analysiert " "werden." -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Ordner" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "_Hinzufügen" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "_Entfernen" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Ordner im Verzeichnisbaum zusammenführen" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Alben nach Erscheinungsjahr sortieren" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Erscheinungsbild" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Systemtitelleisten und Rahmen verwenden" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Zeilen in aktueller Wiedergabeliste hervorheben" +msgstr "Kleine Symbole auf den Werkzeugleisten verwenden" -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Steuerung" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Album-Cover in der Steuerleiste anzeigen" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Größe des Album-Covers" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Muster für Album-Cover Dateien" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "Suche" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "Während der Eingabe suchen" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "Ähnliche Wörter suchen" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "Beim Start von Pragha" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Fensterposition und -größe merken" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Letzte Wiedergabeliste wiederherstellen" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "Beim Hinzufügen von Ordnern" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Dateien rekursiv hinzufügen" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Desktop-Umgebung" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "Symbol in der Benachrichtigungsfläche anzeigen" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "Pragha beim Schließen des Fensters minimieren" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "Zusatzmodule" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "Einstellungen" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Allgemein" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Dienste" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Einstellungen von Pragha" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" +msgid "%i files analyzed of %i detected" msgstr "%i von %i gefundenen Dateien analysiert" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "Es wird nach Dateien zum Analysieren gesucht" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Einlesen der Musikbibliothek abgeschlossen" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Keine Wiedergabe" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Schlagwörter bearbeiten" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Stücknummer" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Datei" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Details" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "Kanal" msgstr[1] "Kanäle" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Kanäle" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Abtastrate" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Ordner" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Auswahl an" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Ordner öffnen" @@ -942,7 +935,7 @@ msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "Soll der Name für ALLE ausgewählten Stücke zu %s geändert werden?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s von %s aus %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s von %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s aus %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Vorheriges Stück" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Stück wiedergeben / pausieren" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Wiedergabe stoppen" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Nächstes Stück" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Vollbild verlassen" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "In einer zufälligen Reihenfolge wiedergeben" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Wiedergabe wiederholen" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "" msgstr[1] "Tag" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Der Browser konnte nicht geöffnet werden" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -1011,196 +1012,333 @@ "(%s)\n" "Grund: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "_Stopp" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "_Weiter" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Eine Datei zum Abspielen auswählen" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Unterstützte Mediendateien" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Alle Dateien" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "URL eines Internetradio-Streams angeben" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "Namen zum Speichern angeben" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Ort hinzufügen" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "" -"PhotonX\n" -"Christoph Wickert " - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "Pragha Musikspieler" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "Musikbibliothek _aufklappen" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "Musikbibliothek _zuklappen" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "Zur _aktuellen Wiedergabeliste hinzufügen" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "Aktuelle Wiedergabeliste e_rsetzen" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Ersetzen und abs_pielen" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Löschen" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "Bibliothek entfe_rnen" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "In den Papierkorb _verschieben" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Aus der Bibliothek entfernen" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "Musik-Player" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Musik verwalten und anhören" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "Suche Schlagwörter auf AcoustID" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Beim Suchen nach Schlagwörtern auf AcoustID trat ein Fehler auf" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "AcoustID fand kein ähnliches Lied" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Suche Schlagwörter auf AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Ampache-Bibliothek aktualisieren" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Server" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Benutzername" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Passwort" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Audio-CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "Audio/Daten-CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" msgstr "Eine Audio-CD wurde eingelegt" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "Audio-_CD hinzufügen" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "Audio-CD" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Audio-CD-Laufwerk" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Mit CDDB-Server verbinden" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "Musik auf DLNA-Server suchen" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "Musik des Servers %s wurde hinzugefügt." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "Es konnte kein DLNA-Server gefunden werden." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Lastfm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Stück aufwerten" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Stück abwerten" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "XSPF-Wiedergabeliste importieren" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Zu Favoriten hinzufügen" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Ähnliche hinzufügen" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "Es konnte keine Verbindung zu Last.fm aufgebaut werden" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm schlägt eine Schlagwort-Korrektur vor" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "Aufwerten des Titels bei Last.fm fehlgeschlagen." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "Abwerten des Titels bei Last.fm fehlgeschlagen." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "%d der %d von Last.fm vorgeschlagenen Titel wurden hinzugefügt" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "Es wurden keine ähnlichen Titel von Last.fm vorgeschlagen." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "%d der letzten %d bei Last.fm beliebten Titel wurden hinzugefügt." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "Keine Favoriten bei Last.fm vorhanden." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "Übertragung an Last.fm fehlgeschlagen" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "Titel, die auf Last.fm gescrobbelt wurden" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "Aktualisierung des aktuellen Titels bei Last.fm fehlgeschlagen." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "Auf Last.fm scrobbeln" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Benutzername" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Passwort" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Stücke" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1219,79 +1357,162 @@ msgid "Add actions to change track in notifications" msgstr "Aktionen zum Wechseln der Titel in den Benachrichtigungen anzeigen" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Koel-Bibliothek aktualisieren" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Favoriten auf Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" -msgstr "Kann nicht auf \"%s\" zugreifen" +msgid "Unable to accesss to “%s” device" +msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "Entfernbares Gerät" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 #, c-format -msgid "Want to manage \"%s\" volume?" -msgstr "Wollen Sie den Datenträger \"%s\" verwalten?" +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "Interpreteninformation" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:90 msgid "Search _lyric" msgstr "_Liedtext suchen" -#: ../plugins/song-info/pragha-song-info-plugin.c:90 +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "_Interpreteninformation suchen" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "Titelinformation" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "Album-Hülle während der Wiedergabe der Titel herunterladen." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format msgid "Lyrics thanks to %s" msgstr "Liedtext mit Dank an %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 -#, c-format -msgid "Artist info" -msgstr "Interpreteninformation" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "%s Dank an %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "Liedtext nicht gefunden." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "Interpreteninformation nicht gefunden." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Keine empfohlenen Lieder" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "Suchvorgang..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "Suche Radio auf TuneIn" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Beim Suchen nach Radios auf TuneIn trat ein Fehler auf" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Suche Radios auf TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "Suche in TuneIn" -#~ msgid "Ignore" -#~ msgstr "Ignorieren" +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" -#~ msgid "Use Gnome 3 HIG" -#~ msgstr "Verwende Gnome 3 HIG" +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/el.po pragha-1.3.992/po/el.po --- pragha-1.3.3/po/el.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/el.po 2019-08-13 23:06:57.000000000 +0000 @@ -8,40 +8,54 @@ msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 17:03+0000\n" -"Last-Translator: matias \n" -"Language-Team: Greek (http://www.transifex.com/p/Pragha/language/el/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Greek (http://www.transifex.com/matias/Pragha/language/el/)\n" "Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "" +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "" @@ -130,195 +144,151 @@ msgid "Custom" msgstr "" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Άγνωστος Καλλιτέχνης" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Άγνωστο Άλμπουμ" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Προσθήκη στην σειρά αναπαραγωγής" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "Πα_ράληψη" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "Παράληψη _Όλων" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "_Διαγραφή Όλων" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "_Επέκταση βιβλιοθήκης" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Άγνωστο" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "_Σύμπτηξη βιβλιοθήκης" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Άγνωστο Είδος" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "" +"Το αρχείο \"%s\" δεν μπορεί να μεταφερθεί στα απορρίματα. Λεπτομέρειες: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Δομή φακέλων" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Καλλιτέχνης" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Άλμπουμ" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Είδος" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Καλλιτέχνης / Άλμπουμ" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Είδος / Άλμπουμ" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Είδος / Καλλιτέχνης" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Είδος / Άλμπουμ" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Είδος / Καλλιτέχνης / Άλμπουμ" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Αφαίρεση" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Εξαγωγή" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Επεξεργασία ετικετών" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "_Μετακίνηση στα απορρίματα" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Διαγραφή από τη βιβλιοθήκη" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Άγνωστο" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Άγνωστο Είδος" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "" -"Το αρχείο \"%s\" δεν μπορεί να μεταφερθεί στα απορρίματα. Λεπτομέρειες: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Λίστες" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Βιβλιοθήκη" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Είστε σίγουροι ότι θέλετε να μετακινήσετε τα αρχεία στα απορρίματα;" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -328,179 +298,183 @@ "\n" "Για να το επαναφέρετε πρέπει να γίνει ανανέωση όλης της βιβλιοθήκης." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Προβολή" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Εργαλεία" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Βοήθεια" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Έναρξη / Παύση" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Διακοπή" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Επόμενο" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Έξοδος" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Προσθήκη αρχείων" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "_Άνοιγμα αρχείου" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Εκκαθάριση λίστας" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Αποθήκευση λίστας" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Εξαγωγή" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Αποθήκευση επιλογής" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "_Αναζήτηση στη λίστα" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Προτιμήσεις" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Μετάβαση στο αρχείο που παίζει" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "_Επαναφόρτωση βιβλιοθήκης" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "_Ανανέωση βιβλιοθήκης" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Στατιστικά" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Ιστοσελίδα" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Κοινότητα" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Μεταφράστε το Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Περί" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Τυχαία" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Επανάληψη" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Πλήρη οθόνη" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "Πλάγια _" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Γραμμή κατάστασης" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" msgstr "Συνολικός αριθμός κομματιών" @@ -518,163 +492,164 @@ msgstr "Στατιστικά" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Τίτλος" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Bitrate" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Έτος" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Σχόλιο" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Διάρκεια" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Όνομα αρχείου" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "" msgstr[1] "Κομμάτι" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Εκκαθάριση τακτοποίησης" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "το con_playlist είναι μη διαθέσιμο όνομα λίστας" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Εξαγωγή λίστας σε αρχείο" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "" -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -685,240 +660,256 @@ "Δεν είναι δεκτά τα μπαλαντέρ αυτή τη στιγμή (δεκτά τα όποια patches " "στείλετε :-) )" -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Σχέδιο εξώφυλλων άλμπουμ" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Κανονική εκκίνηση" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Εκκίνηση σε πλήρη οθόνη" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Εκκίνηση στη περιοχή ειδοποιήσεων" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Επιλέξτε φάκελο για προσθήκη στη βιβλιοθήκη" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Ήχος" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Σύστημα εξόδου ήχου" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Χρειάζεται επανεκκίνηση" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Συσκευή εξόδου" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Χρήση μίκτη λογισμικού" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Βιβλιοθήκη" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "" -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Φάκελοι" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Συγχώνευση φακέλων στην προβολή δέντρου φακέλων" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" msgstr "" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" msgstr "" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Εμφάνιση εξώφυλλων στην μπάρα" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Μέγεθος εξώφυλλων" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Μορφή ονόματος αρχείων εξώφυλλων" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Αποθήκευση προηγούμενης κατάστασης παραθύρου" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Επαναφορά προηγούμενης λίστας" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Προσθήκη αρχείων αναδρομικά" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Γενικά" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Προτιμήσεις του Pragha" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" +msgid "%i files analyzed of %i detected" msgstr "" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Σάρωση βιβλιοθήκης πλήρης" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Δεν παίζει τίποτα" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Επεξεργασία ετικετών" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Αριθμός κομματιού" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Αρχείο" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Λεπτομέρειες" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "" msgstr[1] "" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Κανάλια" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Δειγματοληψία" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Φάκελος" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "" @@ -933,7 +924,7 @@ msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s Από %s στο %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s Από %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s στο %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Προηγούμενο κομμάτι" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Αναπαραγωγή / Παύση κομματιού" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Διακοπή αναπαραγωγής" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Επόμενο" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Έξοδος από την πλήρη οθόνη" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Αναπαραγωγή αρχείων σε τυχαία σειρά" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Επανάληψη λίστας μετά το τέλος" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "" msgstr[1] "ημέρα" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Αδύνατο το άνοιγμα περιηγητή" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -999,194 +998,333 @@ "Reason: %s" msgstr "" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Επιλογή αρχείου προς αναπαραγωγή" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Τύποι αρχείων" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Όλα τα αρχεία" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "μνεία μετάφρασης" - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "_Επέκταση βιβλιοθήκης" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "_Σύμπτηξη βιβλιοθήκης" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Αφαίρεση" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "_Μετακίνηση στα απορρίματα" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Διαγραφή από τη βιβλιοθήκη" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 -msgid "Audio/Data CD" +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 -msgid "An audio CD was inserted" +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 -msgid "Add Audio _CD" +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Όνομα χρήστη" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Κωδικός" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 msgid "Audio CD" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 +msgid "Add Audio _CD" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Συσκευή CD ήχου" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Σύνδεση με διακομιστή CDDB" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 -msgid "_Lastfm" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "" - #: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 +msgid "_Lastfm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Όνομα χρήστη" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Κωδικός" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1205,73 +1343,162 @@ msgid "Add actions to change track in notifications" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" +msgid "Unable to accesss to “%s” device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Do you want to manage the “%s” device with Pragha?" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" +msgid "Lyrics thanks to %s" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/es.po pragha-1.3.992/po/es.po --- pragha-1.3.3/po/es.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/es.po 2019-08-13 23:06:57.000000000 +0000 @@ -3,51 +3,67 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# Adolfo Jayme Barrientos, 2012,2014 -# Adolfo Jayme Barrientos, 2012 -# matias , 2013-2014 -# matias , 2011-2012 +# Fito JB, 2012,2014 +# Fito JB, 2012 +# Josué Aquino , 2017 +# Matias De lellis , 2013-2015 +# Matias De lellis , 2011-2012 +# Matias De lellis , 2018-2019 # tonyskapunk , 2013 # tonyskapunk , 2013 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2015-09-09 10:33-0300\n" -"Last-Translator: matias \n" -"Language-Team: Spanish (http://www.transifex.com/p/Pragha/language/es/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:54+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Spanish (http://www.transifex.com/matias/Pragha/language/" +"es/)\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 1.8.4\n" + +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Música Local" #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "_No" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "_Sí" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "¿Quiere importar %s a la colección?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "¿Quiere actualizar la colección de música?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "Es necesario reiniciar pragha para aplicar algunos cambios." +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Hay tareas ejecutándose en segundo plano." + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Ignorar" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "NOMBREDEARCHIVO" @@ -137,196 +153,152 @@ msgid "Custom" msgstr "Personalizado" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Ecualizador" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Favoritos" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Artista desconocido" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Álbum desconocido" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "Buscar en la lista de reproducción" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "_Cerrar" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Agregar a la cola de reproducción" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "_Saltar a" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "_Omitir" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "O_mitir todos" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "Eliminar _todos" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "Expandir colección" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Desconocido" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "Contraer colección" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Género desconocido" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "" +"No se pudo mover el archivo a la papelera. ¿Quiere eliminarlo " +"permanentemente?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "No se puede mover el archivo «%s» a la papelera. Detalles: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Cancelar" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Eliminar" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Estructura de carpetas" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Artista" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Álbum" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Género" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Artista/álbum" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Género/álbum" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Género/artista" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Género/álbum" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Género/artista/álbum" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Añadir a la lista de reproducción actual" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "_Reemplazar lista de reproducción actual" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Reemplazar y re_producir " - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Renombrar" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Eliminar" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Exportar" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Editar las etiquetas" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Mover a la _papelera" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Eliminar de la colección" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Desconocido" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Género desconocido" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" -"No se pudo mover el archivo a la papelera. ¿Quiere eliminarlo " -"permanentemente?" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "No se puede mover el archivo «%s» a la papelera. Detalles: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "_Cancelar" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "_Eliminar" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Listas de reproducción" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Radios" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Colección" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "¿Realmente quiere mover los archivos a la papelera?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "Eliminar de forma permanente en lugar de mover a la papelera" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -336,179 +308,183 @@ "\n" "Aviso: para recuperarlo debe reexplorar la colección completamente. " -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Reproducción" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "_Lista" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Ver" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Herramientas" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Ayuda" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "Pista anterior" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Reproducir/pausar" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Detener" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Pista siguiente" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "Editar información de la pista" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Salir" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Añadir archivos" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Abrir un archivo multimedia" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "Añadir _ubicación" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "_Añadir la colección" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "Quitar selección de la lista de reproducción" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "Recortar lista de reproducción" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Limpiar lista de reproducción" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Guardar lista de reproducción" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Nueva lista de reproducción" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Exportar" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Guardar selección" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "Buscar en lista de reproducción" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Preferencias" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Saltar a la canción actual" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "E_cualizador" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "Volve_r a examinar la colección" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "_Actualizar la colección" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "E_stadísticas" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Sitio web" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Comunidad" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Traducir Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Acerca de" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Aleatorio" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Repetir" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Pantalla completa" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "Panel _lateral" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "Panel lateral secundario" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "Controles de reproducción abajo" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "Barra de menús" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Barra de estado" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" msgstr "Total de pistas:" @@ -526,164 +502,165 @@ msgstr "Estadísticas" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Titulo" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Tasa de bits" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Año" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Comentario" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Duración" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Nombre del archivo" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "Tipo MIME" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "Quitar de la cola de reproducción" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Quitar de la lista de reproducción" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "_Enviar a" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "Copiar «%i» a los números de pista seleccionados" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "Copiar «%s» a los títulos seleccionados" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "Copiar «%s» a los artistas seleccionados" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "Copiar «%s» a los álbumes seleccionados" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "Copiar «%s» a los géneros seleccionados" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "Copiar «%i» a los años seleccionados" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "Copiar «%s» a los comentarios seleccionados" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "Pista" msgstr[1] "Pistas" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Limpiar orden" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "Lista de reproducción" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "_Aceptar" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist es un nombre reservado" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "¿Quiere sobrescribir la lista de reproducción: %s?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Elija un nombre nuevo" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Renombrar" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "¿Quiere eliminar el elemento: %s?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Exportar lista de reproducción como archivo" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "_Guardar" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "" "Se añadieron %d canciones de las %d en la lista de reproducción importada." -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "¿Que quiere hacer?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "Reemplazar la lista de reproducción «%s»" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "Añadir a la lista de reproducción «%s»" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -694,240 +671,256 @@ "Se permiten seis patrones como máximo.\n" "Los comodines no se aceptan por ahora (se aceptan parches ;-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Patrón de la carátula" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Iniciar normalmente" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Iniciar en pantalla completa" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Iniciar en el área de notificación" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Seleccione una carpeta para añadirla a la colección" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "_Abrir" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Audio" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Mezclador de audio" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Requiere reiniciar" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Dispositivo de audio" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Usar mezclador por software" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Colección" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "No puede cambiar los directorios mientras se están analizando." -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Carpetas" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "_Añadir" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "_Quitar" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Combinar las carpetas en la vista de estructura de directorios" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Ordenar los álbumes por año de lanzamiento" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "Reproducción" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "Ignorar errores y continuar la reproducción" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Apariencia" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" msgstr "Usar la barra de título y los bordes del sistema" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" msgstr "Usar iconos pequeños en las barras de herramientas" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Resaltar filas en la lista de reproducción actual" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Controles" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Mostrar carátula del álbum en el panel" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Tamaño de la carátula del álbum" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Patrón del archivo de carátula" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "Búsqueda" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "Buscar automáticamente mientras escribe" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "Buscar palabras similares" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "Cuando inicia Pragha" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Recordar el último estado de la ventana" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Restaurar última lista de reproducción" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "Cuando se añaden carpetas" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Añadir archivos recursivamente" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Escritorio" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "Mostrar el icono de Pragha en el área de notificación" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "Minimizar Pragha al cerrar la ventana" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "Complementos" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "Preferencias" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "General" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Servicios" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Preferencias de Pragha" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "%i archivos analizados de %i encontrados" +msgid "%i files analyzed of %i detected" +msgstr "%i archivos analizados de %i detectados" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "Buscando archivos para analizar." -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Se completo la exploración de la colección" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "No se reproduce nada" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Editar las etiquetas" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "N.º de pista" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Archivo" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Detalles" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "canal" msgstr[1] "canales" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Canales" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Tasa de muestreo" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Carpeta" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Copiar selección en" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Abrir carpeta" @@ -946,7 +939,7 @@ "¿Desea establecer la etiqueta del título de TODAS las pistas seleccionadas " "a: %s?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s por %s en %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s por %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s en %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "Remover de Favoritos" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "Agregar a los Favoritos" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Pista anterior" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Reproducir o pausar la reproducción" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Detener la reproducción" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Pista siguiente" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Salir de pantalla completa" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Reproducir canciones en orden aleatorio" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Repetir lista de reproducción al finalizar" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "día" msgstr[1] "días" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "No se pudo abrir el navegador" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -1015,196 +1016,333 @@ "(%s)\n" "Motivo: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "_Detener" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "_Siguiente" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Seleccione un archivo para reproducir" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Archivos compatibles" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Todos los archivos" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "Escriba el URL de un flujo de radio por Internet" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "Proporcione un nombre para guardarlo" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Añadir una dirección" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "" -"Matías , 2009-2012\n" -"Adolfo Jayme Barrientos , 2014" - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "Reproductor de música Pragha" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "Mostrar _panel lateral" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "Mostrar panel lateral secundario" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "Mostrar barra de menú" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "Expandir colección" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "Contraer colección" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Añadir a la lista de reproducción actual" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Reemplazar lista de reproducción actual" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Reemplazar y re_producir " + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "Agregar y reproducir" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Eliminar" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "_Eliminar colección" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Mover a la _papelera" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Eliminar de la colección" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "Administra y escucha tu música" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "reproductor" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "Reproductor de música" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Escuche y administre su música" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "audio;multimedia;reproductor;" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "Buscar etiquetas en AcoustID" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Hubo un error al buscar las etiquetas en AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "AcoustID no se encontró ninguna canción parecida" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Buscando etiquetas en AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Actualizar la biblioteca de Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "Favoritos en Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "El servidor no contiene canciones para reproducir" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Servidor" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Usuario" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Contraseña" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "No se puede establecer conexión con Ampache" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "CD de audio" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "CD de audio/datos" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" msgstr "Se insertó un CD de audio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "Añadir _CD de audio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "CD de audio" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Dispositivo de CD de audio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Conectar con un servidor CDDB" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "Buscar música en un servidor DLNA" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "Se ha añadido música del servidor %s." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "No se pudo encontrar ningún servidor DLNA." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Me encanta" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Ya no me encanta" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "Importar lista de reproducción XSPF" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Añadir favoritos" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Añadir similares" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "No se pudo establecer la conexión con Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm sugiere una corrección en las etiquetas" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "Falló la adición de la pista a las favoritas de Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "Falló la eliminación de la pista de las favoritas de Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "Se agregaron %d canciones de %d sugeridas por Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "Last.fm no sugiero ninguna canción similar." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "Se agregaron %d canciones de las ultimas %d favoritas en Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "No tienes canciones favoritas en Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "Fallo al agregar la canción a tu perfil de Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "Se agrego la canción a tu perfil de Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "No se pudo actualizar la canción actual en Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "Scrobble en Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Usuario" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Contraseña" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "Dispositivo MTP desconocido" + +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "Música" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Pistas" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1223,80 +1361,163 @@ msgid "Add actions to change track in notifications" msgstr "Agregar acciones para cambiar de pista en las notificaciones" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Actualizar la biblioteca de Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Favoritos en Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "Importación terminada" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "No se puede establecer conexión con Koel" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" -msgstr "No se puede acceder a «%s»" +msgid "Unable to accesss to “%s” device" +msgstr "No se puede acceder al dispositivo «%s»" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "Dispositivo extraíble" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "¿Desea administrar el dispositivo «%s» con Pragha?" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "Se detectó un dispositivo extraíble" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "Administrar dispositivo" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "Gracias a" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" -msgstr "¿Quiere gestionar el volumen «%s»?" +msgid "Artist info" +msgstr "Información del artista" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "Letras" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" +msgstr "Canciones similares" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 +#: ../plugins/song-info/pragha-song-info-plugin.c:90 msgid "Search _lyric" msgstr "Buscar _letra" -#: ../plugins/song-info/pragha-song-info-plugin.c:90 +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "Buscar información del _artista" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "Información de la pista" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "" "Descargar la portada del álbum durante la reproducción de sus canciones." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format msgid "Lyrics thanks to %s" msgstr "Letra proporcionada por %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 -#, c-format -msgid "Artist info" -msgstr "Información del artista" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "%s gracias a %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "No se encontró la letra." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "No se encontró la información del artista." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "No hay canciones recomendadas" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "Buscando..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "Buscar radio en TuneIn" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Hubo un error al buscar radio en TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "La radio no se encontró" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Buscando radio en TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "Buscar en TuneIn" -#~ msgid "Ignore" -#~ msgstr "Ignorar" +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "_Visualizador" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "Mostrar Visualizador" -#~ msgid "Use Gnome 3 HIG" -#~ msgstr "Usar interfaz de Gnome 3" +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "Canción favorita" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "No es una canción favorita" diff -Nru pragha-1.3.3/po/fr.po pragha-1.3.992/po/fr.po --- pragha-1.3.3/po/fr.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/fr.po 2019-08-13 23:06:57.000000000 +0000 @@ -6,47 +6,65 @@ # Anthony Jorion , 2013-2015 # Anthony Jorion , 2013 # Julien Sansous , 2012 +# Cédric Marie, 2016 +# Félix Piédallu , 2016 # Julien Sansous , 2012 # Anthony Jorion , 2011 # raphaelh , 2011 +# r ptx , 2018 +# sda2b , 2018 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2015-02-16 22:10+0000\n" -"Last-Translator: Anthony Jorion \n" -"Language-Team: French (http://www.transifex.com/p/Pragha/language/fr/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: French (http://www.transifex.com/matias/Pragha/language/fr/)\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Musique Locale" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "_Non" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "_Oui" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "Voulez-vous importer %s à la bibliothèque ?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" -msgstr "Voulez-vous mettre à jour votre librairie musicale ?" +msgstr "Voulez-vous mettre à jour votre bibliothèque musicale ?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "Certains changements nécessitent de redémarrer pragha." +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Tâches en cours en arrière-plan" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Ignorer" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "NOM DE FICHIER" @@ -119,7 +137,7 @@ #: ../src/pragha-equalizer-dialog.c:65 msgid "Smiley Face Curve" -msgstr "" +msgstr "Courbe en sourire" #: ../src/pragha-equalizer-dialog.c:66 msgid "Soft" @@ -137,197 +155,153 @@ msgid "Custom" msgstr "Personnalisé" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Egaliseur" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Favoris" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Artiste inconnu" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Album inconnu" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "Rechercher dans la liste de lecture." -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "_Fermer" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Ajouter à la liste de lecture" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "_Aller à" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" -msgstr "Passer" +msgstr "_Passer" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "Tout passer" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "Tout _supprimer" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "_Maximiser la vue de la bibliothèque" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Inconnu" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "_Minimiser la vue de la bibliothèque" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Genre inconnu" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "" +"Le fichier ne peut être déplacé vers la corbeille. Le supprimer " +"définitivement ?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Le fichier \"%s\" ne peut être mis à la corbeille. Détails : %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Annuler" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Supprimer" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Structure des dossiers" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Artiste" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Album" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Genre" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Artiste / Album" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Genre / Album" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Genre / Artiste" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Genre / Album" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Genre / Artiste / Album" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Ajouter la liste de lecture courante" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "_Remplacer la liste de lecture courante" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Remplacer et _jouer" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Renommer" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Enlever" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Exporter" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Modifier les étiquettes" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "_Mettre à la corbeille" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Enlever de la bibliothèque" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Inconnu" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Genre inconnu" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" -"Le fichier ne peut être déplacé vers la corbeille. Le supprimer " -"définitivement ?" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "Le fichier \"%s\" ne peut être mis à la corbeille. Détails : %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "_Annuler" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "_Supprimer" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Listes de lecture" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Radios" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Bibliothèque" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Êtes-vous sûr de mettre les fichiers à la corbeille ?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "" "Supprimer de manière permanente au lieu de les déplacer vers la corbeille" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -337,178 +311,182 @@ "\n" "Attention: Pour récupérer, il faut rescanner toute la bibliothèque." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Lecture" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "_Liste de lecture" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Vue" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Outils" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Aide" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "Piste précédente" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Lecture / Pause" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Arrêter" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Piste suivante" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "Editer les étiquettes de la piste" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Quitter" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Ajouter des fichiers" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Ouvrir un fichier multimédia" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "Ajouter _emplacement" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "_Ajouter la bibliothèque" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" -msgstr "Enlever la séléction de la liste de lecture" +msgstr "Enlever la sélection de la liste de lecture" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "Récupérer la liste de lecture" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Effacer la liste de lecture" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Sauvegarder la liste de lecture" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Nouvelle liste de lecture" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Exporter" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Sauvegarder la sélection" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "_Chercher dans la liste de lecture" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Préférences" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "_Aller au morceau en cours de lecture" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "Egaliseur" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "_Rescanner la bibliothèque" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "_Mise à jour de la bibliothèque" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Statistiques" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Site Internet" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Communauté" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Traduire Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "À propos" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "Lecture a_léatoire" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "Lecture en _boucle" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Plein écran" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "_Panneau latéral" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "Second panneau latéral" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "Contrôles de lecture en dessous" -#: ../src/pragha-menubar.c:274 -msgid "Menubar" -msgstr "" - #: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Barre d'état" +msgid "Menubar" +msgstr "Barre de menus" #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" @@ -527,163 +505,164 @@ msgstr "Statistiques" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Titre" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Débit binaire" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Année" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Commentaire" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Durée" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Nom du fichier" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "Type MIME" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "Enlever de la liste de lecture" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Enlever de la liste de lecture" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "_Envoyer à" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" -msgstr "" +msgstr "Copier \"%i\" aux numéros de piste sélectionnés" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" -msgstr "" +msgstr "Copier \"%s\" aux titres sélectionnés" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" -msgstr "" +msgstr "Copier \"%s\" aux artistes sélectionnés" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "Copier \"%s\" aux albums sélectionnés" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "Copier \"%s\" aux genres sélectionnés" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "Copier \"%i\" aux années sélectionnées" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "Copier \"%s\" aux commentaires sélectionnés" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "" msgstr[1] "Piste" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Annule le tri" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "Liste de lecture" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "_Ok" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist est un nom de liste de lecture réservé" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "Voulez-vous remplacer la liste de lecture: %s ?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Choisir un nouveau nom" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Renommer" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "Voulez-vous effacer le champ: %s ?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Exporter la liste de lecture dans un fichier" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "_Enregistrer" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "%d chansons ajoutées depuis %d de la liste de lecture importée." -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "Que voulez-vous faire ?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "Remplace la liste de lecture \"%s\"" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "Ajouter à la liste de lecture \"%s\"" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -694,240 +673,256 @@ "Les wildcards ne sont pas encore acceptés (les patchs sont les " "bienvenus :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Motif à l'emplacement de la Pochette" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Démarrer normalement" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Démarrer en mode plein écran" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Démarer minimisé" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Sélectionner un répertoire à ajouter à la bibliothèque" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "_Ouvrir" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Audio" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Pilote audio" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Redémarrage obligatoire" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Périphérique audio" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Utiliser un logiciel de mixage" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Bibliothèque" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "Impossible de changer de dossier durant leur analyse." -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Répertoires" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "_Ajouter" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "_Supprimer" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Fusionner les dossiers dans la vue hiérarchique" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Trier les albums par année de sortie" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Apparence" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Utiliser les bordures et la barre de titre système" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" +msgstr "Utiliser de petites icônes dans les barres d'outils" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Surligner les lignes dans la liste de lecture courante" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Contrôles" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Montrer la pochette d'album dans le panneau" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Taille de la pochette" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Motif à l'emplacement de la pochette" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "Recherche" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "Recherche lors de la frappe" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "Rechercher des mots similaires" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "Lors du lancement de pragha" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Se rappeler de la disposition de la fenêtre" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Restaurer la dernière liste de lecture" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "Lors de l'ajout de dossiers" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Ajouter les fichiers récursivement" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Bureau" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "Afficher l'icône de pragha dans la zone de notification" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "Minimiser Pragha lors de la fermeture de la fenêtre" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "Greffons" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "Préférences" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Général" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Services" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Préférences de Pragha" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "%i fichiers analysés sur %i détectés" +msgid "%i files analyzed of %i detected" +msgstr "%i de fichiers analysés sur %i détectés" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "Recherche de fichiers à analyser" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Scan de la bibliothèque terminé" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Arrêté" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Modifier les étiquettes" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Piste n°" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Fichier" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Détails" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "canal" msgstr[1] "canaux" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Chaînes" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Fréquence d'échantillonnage" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Répertoire" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Sélection vers" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Ouvrir le répertoire" @@ -946,7 +941,7 @@ "Désirez-vous modifier la balise titre de TOUTES les pistes sélectionnées " "pour : %s ?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s par %s de %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s par %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s de %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Piste précédente" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Lecture / Pause de la piste" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Arrêter la lecture" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Piste suivante" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Quitter le mode plein écran" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Lire les morceaux en ordre aléatoire" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Répéter la lecture jusqu'à la fin" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "" msgstr[1] "jour" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Impossible d'ouvrir le navigateur" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -1015,201 +1018,333 @@ "(%s)⏎\n" "Raison: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "_Arrêter" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "_Suivant" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Sélectionner un fichier à jouer" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Fichiers pris en charge" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Tous les fichiers" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "Entrer l´URL d´un flux radio internet" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "Nommer pour enregistrer" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Ajouter un emplacement" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "" -"Raphaël Huck \n" -"Olivier Karquel \n" -"Raphael Tournoy \n" -"Laurent Coudeur \n" -"Stéphane Raimbault \n" -"Robert-André Mauchin \n" -"Quentin Peten " - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" -msgstr "Lecture de musique Pragha" +msgstr "Lecteur audio Pragha" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "_Maximiser la vue de la bibliothèque" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "_Minimiser la vue de la bibliothèque" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Ajouter la liste de lecture courante" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Remplacer la liste de lecture courante" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Remplacer et _jouer" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Enlever" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "_Supprimer bibliothèque" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "_Mettre à la corbeille" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Enlever de la bibliothèque" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "Lecteur de musique" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Gérer et écouter de la musique" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "Rechercher des mots-clés sur AcoustID" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Erreur lors de la recherche de tags sur AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "AcoustID n'a trouvé aucun titre similaire" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Recherche de tags sur sur AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Rafraîchir la bibliothèque Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Serveur" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Identifiant" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Mot de passe" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Disque audio" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "CD Audio/de données" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" msgstr "Un CD audio a été inséré" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "Ajouter le _CD audio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "Disque audio" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Périphérique CD Audio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Se connecter au serveur CDDB" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" -msgstr "" +msgstr "Rechercher de la musique sur un serveur DLNA" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." -msgstr "" +msgstr "La musique du serveur %s a été ajoutée." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 -msgid "_Lastfm" -msgstr "_Lastfm" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "J'aime cette piste" +msgstr "Impossible de trouver un serveur DLNA." #: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Je n'aime plus cette piste" +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 +msgid "_Lastfm" +msgstr "_Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "Importer une liste de lecture XSPF" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Ajouter aux favoris" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Ajouter des pistes similaires" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "Impossible d'établir une connexion avec Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm a suggéré la correction de l´étiquette" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "J´aime cette chanson sur Last.fm échoué" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "L'action \"retirer des coup de coeur\" sur Last.fm a échoué" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "%d pistes ajoutés sur %d suggestions de Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "Last.fm ne propose aucun titre similaire" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "%d pistes ont été ajoutées parmi les %d dernières aimées sur Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "Vous n'avez pas de morceaux favoris sur Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "La soumission à Last.fm a échoué" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "Piste soumise à Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "Mise à jour de la chanson en cours sur Last.fm échouée" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "Publier sur Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Identifiant" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Mot de passe" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Pistes" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1228,76 +1363,162 @@ msgid "Add actions to change track in notifications" msgstr "Ajouter les actions sur les pistes dans les notifications" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Rafraîchir la librairie Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Favoris sur Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" -msgstr "Impossible d'accéder à \"%s\"" +msgid "Unable to accesss to “%s” device" +msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "Périphérique amovible" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Do you want to manage the “%s” device with Pragha?" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "Informations sur l'artiste" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "Rechercher des _paroles" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" -msgstr "" +msgstr "Rechercher des informations sur l'_artiste" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "Informations sur la chanson" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "Télécharger la pochette de l'album pendant la lecture des morceaux." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format msgid "Lyrics thanks to %s" msgstr "Paroles fournies par %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 -#, c-format -msgid "Artist info" -msgstr "Informations sur l'artiste" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "%s grâce à %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "Les paroles n'ont pas été trouvées." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "Aucune information disponible sur l'interprète." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Pas de chansons recommandées." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "Recherche..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "Rechercher une radio sur TuneIn" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Erreur lors de la recherche de radio sur TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Recherche de radio sur TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "Rechercher sur TuneIn" -#~ msgid "Ignore" -#~ msgstr "Ignorer" +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/.gitignore pragha-1.3.992/po/.gitignore --- pragha-1.3.3/po/.gitignore 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -*.gmo -Makefile* -POTFILES -*~ -stamp-it -.intltool-merge-cache diff -Nru pragha-1.3.3/po/hu.po pragha-1.3.992/po/hu.po --- pragha-1.3.3/po/hu.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/hu.po 2019-08-13 23:06:57.000000000 +0000 @@ -4,505 +4,484 @@ # # Translators: # Péter Polonkai , 2012 +# 65f7262895004b1ecfbc0a2b4645ec5f, 2018 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 17:03+0000\n" -"Last-Translator: matias \n" -"Language-Team: Hungarian (http://www.transifex.com/p/Pragha/language/hu/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Hungarian (http://www.transifex.com/matias/Pragha/language/" +"hu/)\n" "Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Helyi zene" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" -msgstr "" +msgstr "_Nem" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" -msgstr "" +msgstr "_Igen" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "Valóban importálja a %s gyűjteményt?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" -msgstr "" +msgstr "Szeretné frissíteni zenei könyvtárát?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "" +"Hogy néhány módosítás érvénybe lépjen újra kell indítania a pragha lejátszót." + +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Még vannak háttérben futó feladatok" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Mellőzés" #: ../src/pragha-cmdline.c:192 msgid "FILENAME" -msgstr "" +msgstr "FÁJLNÉV" #: ../src/pragha-cmdline.c:251 msgid "Use --help to see a full list of available command line options." msgstr "" +"Használja a --help kapcsolót, hogy megtekinthesse a rendelkezésre álló " +"parancssori opciók teljes listáját." #: ../src/pragha-equalizer-dialog.c:50 msgid "Disabled" -msgstr "" +msgstr "Kikapcsolva" #: ../src/pragha-equalizer-dialog.c:51 msgid "Classical" -msgstr "" +msgstr "Klasszikus" #: ../src/pragha-equalizer-dialog.c:52 msgid "Club" -msgstr "" +msgstr "Klubzene" #: ../src/pragha-equalizer-dialog.c:53 msgid "Dance" -msgstr "" +msgstr "Tánczene" #: ../src/pragha-equalizer-dialog.c:54 msgid "Full Bass" -msgstr "" +msgstr "Basszuskiemelés" #: ../src/pragha-equalizer-dialog.c:55 msgid "Full Bass and Treble" -msgstr "" +msgstr "Basszus- és magaskiemelés" #: ../src/pragha-equalizer-dialog.c:56 msgid "Full Treble" -msgstr "" +msgstr "Magaskiemelés" #: ../src/pragha-equalizer-dialog.c:57 msgid "Laptop Speakers and Headphones" -msgstr "" +msgstr "Laptop hangszórók és fejhallgatók" #: ../src/pragha-equalizer-dialog.c:58 msgid "Large Hall" -msgstr "" +msgstr "Nagy terem" #: ../src/pragha-equalizer-dialog.c:59 msgid "Live" -msgstr "" +msgstr "Élő" #: ../src/pragha-equalizer-dialog.c:60 msgid "Party" -msgstr "" +msgstr "Party" #: ../src/pragha-equalizer-dialog.c:61 msgid "Pop" -msgstr "" +msgstr "Pop" #: ../src/pragha-equalizer-dialog.c:62 msgid "Reggae" -msgstr "" +msgstr "Reggae" #: ../src/pragha-equalizer-dialog.c:63 msgid "Rock" -msgstr "" +msgstr "Rock" #: ../src/pragha-equalizer-dialog.c:64 msgid "Ska" -msgstr "" +msgstr "Ska" #: ../src/pragha-equalizer-dialog.c:65 msgid "Smiley Face Curve" -msgstr "" +msgstr "Mosolygó arc görbe" #: ../src/pragha-equalizer-dialog.c:66 msgid "Soft" -msgstr "" +msgstr "Lágy" #: ../src/pragha-equalizer-dialog.c:67 msgid "Soft Rock" -msgstr "" +msgstr "Lágy rock" #: ../src/pragha-equalizer-dialog.c:68 msgid "Techno" -msgstr "" +msgstr "Techno" #: ../src/pragha-equalizer-dialog.c:69 msgid "Custom" -msgstr "" +msgstr "Egyéni" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" -msgstr "" +msgstr "Hangszínszabályzó" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Kedvencek" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Ismeretlen előadó" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Ismeretlen album" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" -msgstr "" +msgstr "Keresés a lejátszólistában" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" -msgstr "" +msgstr "_Bezárás" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Hozzáadás a lejátszási sorhoz" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" -msgstr "" +msgstr "_Ugrás" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" -msgstr "Ki_hagy" +msgstr "_Kihagyás" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" -msgstr "Mind _kihagy" +msgstr "_Mind kihagyása" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" -msgstr "Mind törlése" +msgstr "Mind _törlése" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "Gyűjt_emény kinyitása" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Ismeretlen" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "Gyűjtemény _összezárása" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Ismeretlen műfaj" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "A fájlt nem lehet a kukába helyezni. Szeretné véglegesen törölni?" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "A \"%s\" fájl mozgatása a kukába sikertelen. Részletek: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Mégsem" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Törlés" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Mappák struktúrája" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Előadó" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Album" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Műfaj" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Előadó / Album" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Műfaj / Album" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Műfaj / Előadó" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Műfaj / Album" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Műfaj / Előadó / Album" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Hozzáadás az aktuális lejátszólistához" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "_Lecseréli az aktuális lejátszólistát" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "_Aktuális listát cseréli és elindítja a lejátszást" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Átnevezés" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Törlés" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Export" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Címkék szerkesztése" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Mozgat_ás a kukába" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Törlés a gyűjteményből" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Ismeretlen" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Ismeretlen műfaj" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "A \"%s\" fájl mozgatása a kukába sikertelen. Részletek: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Lejátszólisták" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Rádiók" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Gyűjtemény" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Valóban a kukába szeretné dobni a fájlokat?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" -msgstr "" +msgstr "Kukába mozgatás helyett végleges törlés" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" "Warning: To recover we must rescan the entire library." msgstr "" -"Valóban töröli akarja az aktuális fájlt a gyűjteményből?\n" +"Valóban törölni akarja az aktuális fájlt a gyűjteményből?\n" "\n" -"Figyelem: Ahhoz hogy helyreállítsa újra kell ellenőrizni a gyűjteményt." +"Figyelmeztetés: A visszaállításhoz újra kell olvasni az egész gyűjteményt." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "L_ejátszás" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "_Lejátszólista" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Nézet" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "E_szközök" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Súgó" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" -msgstr "" +msgstr "Előző szám" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Lejátszás / Szünet" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Megállítás" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" -msgstr "Következő sáv" +msgstr "Következő szám" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" -msgstr "Dal információ szerkesztése" +msgstr "Dalinformációk szerkesztése" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Kilépés" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "Fájlok hozzá_adása" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" -msgstr "Média fájl megnyitása" +msgstr "Médiafájl megnyitása" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "He_ly hozzáadása" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "Hozzá_adás a gyűjteményhez" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" -msgstr "Kijelölt eltávolítása a lejátszólistáról" +msgstr "Kijelöltek eltávolítása a lejátszólistáról" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" -msgstr "Lejátszólista vágása" +msgstr "Kijelöltek megtartása a lejátszólistán" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Lejátszólista törlése" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Lejátszólista mentése" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Új lejátszólista" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Exportálás" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" -msgstr "Kiválasztás mentése" +msgstr "Kijelöltek mentése" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "Kere_sés a lejátszólistában" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Beállítások" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Ugrás a most szóló számra" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "_Hangszínszabályzó" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "Gyűjtemény új_raolvasása" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "Gyűjtemény _frissítése" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Statisztika" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Honlap" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Közösség" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Pragha fordítása" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Névjegy" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "Véletlen_szerű" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Ismétlés" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Teljes képernyő" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "Oldalsó _panel" -#: ../src/pragha-menubar.c:268 -msgid "Secondary lateral panel" -msgstr "" - #: ../src/pragha-menubar.c:271 -msgid "Playback controls below" -msgstr "Lejátszás vezérlőgombok alulra" +msgid "Secondary lateral panel" +msgstr "Másodlagos oldalsó panel" #: ../src/pragha-menubar.c:274 -msgid "Menubar" -msgstr "" +msgid "Playback controls below" +msgstr "Lejátszásvezérlő gombok alulra" #: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Státusz sor" +msgid "Menubar" +msgstr "Menüsor" #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" -msgstr "Összes sáv:" +msgstr "Összes szám:" #: ../src/pragha-menubar.c:640 msgid "Total Artists:" @@ -517,406 +496,424 @@ msgstr "Statisztika" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Cím" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Bitráta" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Év" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Megjegyzés" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Hossz" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Fájlnév" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" -msgstr "" +msgstr "MIME-típus" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" -msgstr "" +msgstr "Eltávolítás a lejátszási sorból" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Eltávolítás a lejátszólistáról" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" -msgstr "" +msgstr "_Küldés" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" -msgstr "\"%i\" kiválasztott sávszám másolása" +msgstr "\"%i\" kiválasztott dalsorszám másolása" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "\"%s\" kiválasztott cím másolása" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "\"%s\" kiválasztott előadó másolása" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "\"%s\" kiválasztott album másolása" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "\"%s\" kiválasztott műfaj másolása" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "\"%i\" kiválasztott év másolása" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "\"%s\" kiválasztott megjegyzés másolása" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" -msgstr[0] "" -msgstr[1] "Sáv" +msgstr[0] "Szám" +msgstr[1] "Szám" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Rendezés törlése" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" -msgstr "" +msgstr "Lejátszólista" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" -msgstr "" +msgstr "_Ok" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist egy védett lejátszólista neve" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "Valóban felül akarja írni ezt a lejátszólistát: %s ?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Válasszon új nevet" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Átnevezés" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "Valóban törölni akarja ezt az elemet: %s ?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Lejátszólista exportálása fájlba" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" -msgstr "" +msgstr "_Mentés" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "Hozzáadva %d dal, %d az importált lejátszólistán." -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" -msgstr "" +msgstr "Mit akar tenni?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" -msgstr "" +msgstr "\"%s\" lejátszólista lecserélése" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" -msgstr "" +msgstr "Hozzáadás a \"%s\" lejátszólistához" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" "Wildcards are not accepted as of now ( patches welcome :-) )." msgstr "" -"Az alábbi minták lehetnek:;;...\n" -"Maximum hat minta lehetséges.\n" -"Helyettesítők nem elfogadottak jelenleg ( patchet fogadunk :-) )." +"A mintáknak a következő formában kell lenniük:;;....\n" +"Legfeljebb hat mintázat megengedett.\n" +"Helyettesítő karakterek jelenleg nem elfogadottak ( javításokat szívesen " +"vesszük :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" -msgstr "Album borító minta" +msgstr "Albumborító minta" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Normál indítás" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Indítás teljes képernyőn" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Indítás tálcaikonnal" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" -msgstr "Válasszon mappát amit hozzáad a gyűjteményhez" +msgstr "Válasszon egy mappát, amit hozzáad a gyűjteményhez" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" -msgstr "" +msgstr "_Megnyitás" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Audio" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Audio választás" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Újraindítás szükséges" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" -msgstr "Audio eszköz" +msgstr "Audioeszköz" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Szoftveres keverő használata" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Gyűjtemény" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." -msgstr "" +msgstr "Nem lehet mappákat váltani elemzés közben." -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Mappák" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" -msgstr "" +msgstr "_Hozzáadás" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" -msgstr "" +msgstr "_Eltávolítás" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Mappák összevonása a struktúra nézetben" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" -msgstr "Albumok rendezése kiadás éve szerint" +msgstr "Albumok rendezése a kiadási év szerint" + +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Megjelenés" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Rendszer-címsor és szegély használata" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" +msgstr "Kis ikonok használata az eszköztárakban" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Sorok kiemelés az aktuális lejátszólistán" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" -msgstr "" +msgstr "Vezérlők" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" -msgstr "Album borító mutatása a panelen" +msgstr "Albumborító mutatása a panelen" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" -msgstr "Album borító mérete" +msgstr "Albumborító mérete" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" -msgstr "Album borító fájlnév minta" +msgstr "Albumborító fájlnév minta" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" -msgstr "" +msgstr "Keresés" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" -msgstr "" +msgstr "Keresés gépelés közben" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" -msgstr "" +msgstr "Hasonló szavak keresése" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" -msgstr "" +msgstr "Mikor a pragha elindul" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Jegyezze meg az ablak méretét" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Utolsónak használt lejátszólista visszaállítása" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" -msgstr "" +msgstr "Mappák hozzáadásakor" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Fájlok hozzáadása rekurzívan" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" -msgstr "" +msgstr "Asztal" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" -msgstr "" +msgstr "A Pragha ikon megjelenítése az értesítési területen" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" -msgstr "" +msgstr "A Pragha minimalizálása az ablak bezárásakor" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" -msgstr "" +msgstr "Pluginek" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" -msgstr "" +msgstr "Beállítások" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Általános" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" -msgstr "" +msgstr "Szolgáltatások" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Pragha beállításai" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "" +msgid "%i files analyzed of %i detected" +msgstr "%i fájl elemezve a %i észleltből" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" -msgstr "" +msgstr "Elemzésre váró fájlok keresése" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" -msgstr "Gyűjtemény ellenőrzés sikeres" +msgstr "Gyűjtemény beolvasása sikeres" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Nincs lejátszás" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Címkék szerkesztése" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" -msgstr "Sáv száma" +msgstr "Dal sorszáma" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Fájl" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Részletek" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" -msgstr[0] "" -msgstr[1] "" +msgstr[0] "csatorna" +msgstr[1] "csatorna" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Csatornák" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" -msgstr "Mintavétel" +msgstr "Mintavételi ráta" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Mappa" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Kijelölés" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Mappa megnyitása" @@ -924,275 +921,423 @@ #, c-format msgid "" "Do you want to set the track number of ALL of the selected tracks to: %d ?" -msgstr "Szeretné beállítani a sáv számát az ÖSSZES kijelölt dalra: %d ?" +msgstr "" +"Szeretné a dalsorszámot beállítani az ÖSSZES kijelölt számon %dértékre?" #: ../src/pragha-tags-mgmt.c:215 #, c-format msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" -msgstr "Szeretné beállítani a címet az ÖSSZES kijelölt dalra: %s ?" +msgstr "Szeretné a címet beállítani az ÖSSZES kijelölt számon erre: %s ?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s in %s" msgstr "" -"%s előadó %s előadó %s album %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s előadó %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s album %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" -msgstr "Előző sáv" +msgstr "Előző szám" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" -msgstr "Sáv Lejátszása / Megállítása" +msgstr "Szám Lejátszása / Megállítása" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Lejátszás megállítása" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" -msgstr "Következő sáv" +msgstr "Következő szám" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Teljes képernyő elhagyása" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Számok lejátszása véletlenszerű sorrendben" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Lejátszólista ismétlése" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "" msgstr[1] "nap" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "A böngésző megnyitása sikertelen" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" "(%s)\n" "Reason: %s" msgstr "" -"Hiba az aktuális dal lejátszásakor.\n" +"Hiba az aktuális szám lejátszásakor.\n" "(%s)\n" "Ok: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" -msgstr "" +msgstr "_Megállítás" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" -msgstr "" +msgstr "_Következő" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Fáj választása lejátszáshoz" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Támogatott formátumok" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Minden fájl" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "Adja meg az internet rádió URL-jét" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "Adjon neki egy nevet a mentéshez" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Hely hozzáadása" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "Polonkai Péter" - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" +msgstr "Pragha zenelejátszó" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" msgstr "" -#: ../data/pragha.desktop.in.h:1 -msgid "Music Player" +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "Gyűjtemény _kinyitása" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "Gyűjtemény össze_zárása" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Hozzáadás az aktuális lejátszólistához" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "Aktuális lejátszólista le_cserélése" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "_Aktuális lejátszólista lecserélése és a lejátszás elindítása" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" msgstr "" +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Törlés" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "Gyűjtemény _törlése" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Mozgat_ás a kukába" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Törlés a gyűjteményből" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 #: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" +msgid "Manage and listen your music" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 -msgid "Search tags on AcoustID" +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 -msgid "AcoustID not found any similar song" +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 -msgid "Audio/Data CD" +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 -msgid "An audio CD was inserted" +#: ../data/pragha.desktop.in.h:1 +msgid "Music Player" +msgstr "Zenelejátszó" + +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 -msgid "Add Audio _CD" -msgstr "Zenei _CD hozzáadása" +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 +msgid "Search tags on AcoustID" +msgstr "Címkék keresése az AcoustID-n" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Hiba történt a címkék keresésekor az AcoustID-n" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 +msgid "AcoustID not found any similar song" +msgstr "Az AcoustID nem talált hasonló dalt" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Címkék keresése az AcoustID-n" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Frissítse az Ampache könyvtárat" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Kiszolgáló" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Felhasználónév" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Jelszó" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Audio CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "Audio/Adat CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "Egy audio CD-t helyezett be" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 +msgid "Add Audio _CD" +msgstr "Audio _CD hozzáadása" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Audio CD eszköz" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" -msgstr "Kapcsolódás a CDDB szerverhez" +msgstr "Kapcsolódás a CDDB kiszolgálóhoz" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" -msgstr "" +msgstr "Zenék keresése a DLNA kiszolgálón" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." -msgstr "" +msgstr "%s kiszolgáló zenéi hozzáadva." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." -msgstr "" +msgstr "Nem található DLNA-kiszolgáló." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Lastfm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Kedvelt szám" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Nem kedvelt szám" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "XSPF lejátszólista importálása" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Hozzáadás a kedvencekhez" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Hasonló hozzáadása" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" -msgstr "" +msgstr "Nem sikerült kapcsolódni a Last.fm-hez" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm által javasolt címke" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." -msgstr "Kedvelt szám megjelölés Last.fm-en sikertelen." +msgstr "Kedveltszám-megjelölés Last.fm-en sikertelen." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." -msgstr "" +msgstr "Kedveltszám-megjelölés eltávolítása sikertelen a Last.fm-en." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" -msgstr "" +msgstr "%d Last.fm által javasolt szám hozzáadva ennyiből: %d" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" -msgstr "" +msgstr "A Last.fm nem javasol hasonló számokat" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "Hozzáadva %d dal az utolsó %d Last.fm-en kedvelt dal közül." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" -msgstr "" +msgstr "Nincsenek kedvenc számai a Last-fm-en" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" -msgstr "" +msgstr "A kérés a Last.fm felé sikertelen" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "Aktuális dal frissítése a Last.fm-en sikertelen." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Felhasználónév" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Jelszó" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Számok" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format msgid "by %s in %s (%s)" -msgstr "by %s / %s (%s)" +msgstr "előadó %s / %s (%s)" #: ../plugins/notify/pragha-notify-plugin.c:267 msgid "Notifications" @@ -1206,73 +1351,162 @@ msgid "Add actions to change track in notifications" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Koel gyűjtemény frissítése" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" +msgid "Unable to accesss to “%s” device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" +msgstr "Eltávolítható eszköz" + +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Artist info" +msgstr "Előadó információ" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "_Dalszöveg keresése" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" -msgstr "" +msgstr "_Információ keresése az előadóról" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" -msgstr "" +msgstr "Dalinformáció" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." -msgstr "" +msgstr "Albumborító letöltése a számok lejátszása közben." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" -msgstr "" +msgid "Lyrics thanks to %s" +msgstr "Köszönet a dalszövegért:%s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" -msgstr "" +msgstr "%s köszönet %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." -msgstr "" +msgstr "Nem található dalszöveg." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." -msgstr "" +msgstr "Nem található előadó információ." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Nincsenek ajánlott számok." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." -msgstr "" +msgstr "Keresés..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" +msgstr "Rádióállomás keresése a TuneIn-en" + +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Hiba történt a rádióállomás keresésekor a TuneIn-en" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Rádióállomás keresése a TuneIn-en" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" +msgstr "Keresés a TuneIn-en" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" msgstr "" diff -Nru pragha-1.3.3/po/id.po pragha-1.3.992/po/id.po --- pragha-1.3.3/po/id.po 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/po/id.po 2019-08-13 23:06:57.000000000 +0000 @@ -0,0 +1,1505 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# zk, 2016-2018 +msgid "" +msgstr "" +"Project-Id-Version: Pragha\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Indonesian (http://www.transifex.com/matias/Pragha/language/" +"id/)\n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Musik Lokal" + +#. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 +msgid "_No" +msgstr "_Tidak" + +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 +msgid "_Yes" +msgstr "_Ya" + +#: ../src/info-bar-import-music.c:80 +#, c-format +msgid "Would you like to import %s to library?" +msgstr "Apakah Anda ingin mengimpor %s ke pustaka?" + +#: ../src/info-bar-import-music.c:127 +msgid "Would you like to update your music library?" +msgstr "Apakah Anda ingin memperbarui pustaka musik Anda?" + +#: ../src/info-bar-import-music.c:170 +msgid "Some changes need restart pragha." +msgstr "Beberapa ubahan memerlukan pragha untuk dijalankan ulang." + +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Ada tugas latar belakang yang sedang bekerja" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Abaikan" + +#: ../src/pragha-cmdline.c:192 +msgid "FILENAME" +msgstr "NAMABERKAS" + +#: ../src/pragha-cmdline.c:251 +msgid "Use --help to see a full list of available command line options." +msgstr "Gunakan --help untuk melihat seluruh daftar opsi perintah baris." + +#: ../src/pragha-equalizer-dialog.c:50 +msgid "Disabled" +msgstr "Dinonaktifkan" + +#: ../src/pragha-equalizer-dialog.c:51 +msgid "Classical" +msgstr "Klasik" + +#: ../src/pragha-equalizer-dialog.c:52 +msgid "Club" +msgstr "Klub" + +#: ../src/pragha-equalizer-dialog.c:53 +msgid "Dance" +msgstr "Dansa" + +#: ../src/pragha-equalizer-dialog.c:54 +msgid "Full Bass" +msgstr "Penuh Bass" + +#: ../src/pragha-equalizer-dialog.c:55 +msgid "Full Bass and Treble" +msgstr "Penuh Bass dan Trebel" + +#: ../src/pragha-equalizer-dialog.c:56 +msgid "Full Treble" +msgstr "Penuh Trebel" + +#: ../src/pragha-equalizer-dialog.c:57 +msgid "Laptop Speakers and Headphones" +msgstr "Penyuara Laptop dan Fon Kepala" + +#: ../src/pragha-equalizer-dialog.c:58 +msgid "Large Hall" +msgstr "Aula Besar" + +#: ../src/pragha-equalizer-dialog.c:59 +msgid "Live" +msgstr "Langsung" + +#: ../src/pragha-equalizer-dialog.c:60 +msgid "Party" +msgstr "Pesta" + +#: ../src/pragha-equalizer-dialog.c:61 +msgid "Pop" +msgstr "Pop" + +#: ../src/pragha-equalizer-dialog.c:62 +msgid "Reggae" +msgstr "Reggae" + +#: ../src/pragha-equalizer-dialog.c:63 +msgid "Rock" +msgstr "Rock" + +#: ../src/pragha-equalizer-dialog.c:64 +msgid "Ska" +msgstr "Ska" + +#: ../src/pragha-equalizer-dialog.c:65 +msgid "Smiley Face Curve" +msgstr "Lengkung Muka Tersenyum" + +#: ../src/pragha-equalizer-dialog.c:66 +msgid "Soft" +msgstr "Ringan" + +#: ../src/pragha-equalizer-dialog.c:67 +msgid "Soft Rock" +msgstr "Rock Ringan" + +#: ../src/pragha-equalizer-dialog.c:68 +msgid "Techno" +msgstr "Tekno" + +#: ../src/pragha-equalizer-dialog.c:69 +msgid "Custom" +msgstr "Ubahsuai" + +#: ../src/pragha-equalizer-dialog.c:423 +msgid "Equalizer" +msgstr "Ekualiser" + +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Favorit" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 +#: ../plugins/notify/pragha-notify-plugin.c:166 +msgid "Unknown Artist" +msgstr "Artis tidak diketahui" + +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 +#: ../plugins/notify/pragha-notify-plugin.c:167 +msgid "Unknown Album" +msgstr "Album tidak diketahui" + +#. The search dialog +#: ../src/pragha-filter-dialog.c:368 +msgid "Search in playlist" +msgstr "Cari dalam daftar putar" + +#: ../src/pragha-filter-dialog.c:371 +msgid "_Close" +msgstr "_Tutup" + +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 +msgid "Add to playback queue" +msgstr "Tambah ke antrean pemutaran" + +#: ../src/pragha-filter-dialog.c:375 +msgid "_Jump to" +msgstr "L_ompat ke" + +#: ../src/pragha-library-pane.c:141 +msgid "_Skip" +msgstr "_Lewati" + +#: ../src/pragha-library-pane.c:142 +msgid "S_kip All" +msgstr "Le_wati Semua" + +#: ../src/pragha-library-pane.c:143 +msgid "Delete _All" +msgstr "Hapus _Semua" + +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Tidak diketahui" + +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Genre tidak diketahui" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "Berkas tidak bisa dipindah ke tempat sampah. Hapus secara permanen?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Berkas \"%s\" tidak bisa dipindah ke tempat sampah. Detail: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Batal" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Hapus" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 +msgid "Folders structure" +msgstr "Struktur folder" + +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 +msgid "Artist" +msgstr "Artis" + +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 +msgid "Album" +msgstr "Album" + +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 +msgid "Genre" +msgstr "Genre" + +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 +msgid "Artist / Album" +msgstr "Artis / Album" + +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 +msgid "Genre / Artist" +msgstr "Genre / Artis" + +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Genre / Album" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 +msgid "Genre / Artist / Album" +msgstr "Genre / Artis / Album" + +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 +msgid "Playlists" +msgstr "Daftar Putar" + +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 +msgid "Radios" +msgstr "Radio" + +#: ../src/pragha-library-pane.c:2678 +msgid "Really want to move the files to trash?" +msgstr "Yakin ingin memindahkan berkas ke tempat sampah?" + +#: ../src/pragha-library-pane.c:2680 +msgid "Delete permanently instead of moving to trash" +msgstr "Hapus secara permanen daripada memindahkannya ke tempat sampah" + +#: ../src/pragha-library-pane.c:2734 +msgid "" +"Are you sure you want to delete current file from library?\n" +"\n" +"Warning: To recover we must rescan the entire library." +msgstr "" +"Apakah Anda yakin ingin menghapus berkas ini dari pustaka?\n" +"\n" +"Peringatan: Untuk memulihkannya, pragha harus memindai ulang seluruh pustaka." + +#: ../src/pragha-menubar.c:193 +msgid "_Playback" +msgstr "_Pemutaran" + +#: ../src/pragha-menubar.c:194 +msgid "Play_list" +msgstr "_Daftar Putar" + +#: ../src/pragha-menubar.c:195 +msgid "_View" +msgstr "_Tampilan" + +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 +msgid "_Tools" +msgstr "_Alat" + +#: ../src/pragha-menubar.c:197 +msgid "_Help" +msgstr "_Bantuan" + +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 +#: ../plugins/notify/pragha-notify-plugin.c:177 +msgid "Previous track" +msgstr "Trek sebelumnya" + +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 +msgid "Play / Pause" +msgstr "Putar / Jeda" + +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 +msgid "Stop" +msgstr "Setop" + +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 +#: ../plugins/notify/pragha-notify-plugin.c:181 +msgid "Next track" +msgstr "Trek selanjutnya" + +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 +msgid "Edit track information" +msgstr "Sunting informasi trek" + +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 +msgid "_Quit" +msgstr "_Keluar" + +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 +msgid "_Add files" +msgstr "T_ambah berkas" + +#: ../src/pragha-menubar.c:211 +msgid "Open a media file" +msgstr "Buka berkas media" + +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 +msgid "Add _location" +msgstr "Tambah _lokasi" + +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 +msgid "_Add the library" +msgstr "T_ambah pustaka" + +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 +msgid "Remove selection from playlist" +msgstr "Buang yang dipilih dari daftar putar" + +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 +msgid "Crop playlist" +msgstr "Potong daftar putar" + +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 +msgid "Clear playlist" +msgstr "Kosongkan daftar putar" + +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 +msgid "Save playlist" +msgstr "Simpan daftar putar" + +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 +msgid "New playlist" +msgstr "Daftar putar baru" + +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Ekspor" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 +msgid "Save selection" +msgstr "Simpan yang dipilih" + +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 +msgid "_Search in playlist" +msgstr "_Cari di dalam daftar putar" + +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 +msgid "_Preferences" +msgstr "_Preferensi" + +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 +msgid "Jump to playing song" +msgstr "Lompat ke lagu yang diputar" + +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 +msgid "E_qualizer" +msgstr "E_kualiser" + +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 +msgid "_Rescan library" +msgstr "_Pindai ulang pustaka" + +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 +msgid "_Update library" +msgstr "Per_barui pustaka" + +#: ../src/pragha-menubar.c:244 +msgid "_Statistics" +msgstr "_Statistik" + +#: ../src/pragha-menubar.c:246 +msgid "Homepage" +msgstr "Halaman Beranda" + +#: ../src/pragha-menubar.c:248 +msgid "Community" +msgstr "Komunitas" + +#: ../src/pragha-menubar.c:250 +msgid "Wiki" +msgstr "Wiki" + +#: ../src/pragha-menubar.c:252 +msgid "Translate Pragha" +msgstr "Terjemahkan Pragha" + +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 +msgid "About" +msgstr "Tentang" + +#: ../src/pragha-menubar.c:259 +msgid "_Shuffle" +msgstr "_Karau" + +#: ../src/pragha-menubar.c:262 +msgid "_Repeat" +msgstr "_Ulangi" + +#: ../src/pragha-menubar.c:265 +msgid "_Fullscreen" +msgstr "_Layar Penuh" + +#: ../src/pragha-menubar.c:268 +msgid "Lateral _panel" +msgstr "_Panel lateral" + +#: ../src/pragha-menubar.c:271 +msgid "Secondary lateral panel" +msgstr "Panel lateral sekunder" + +#: ../src/pragha-menubar.c:274 +msgid "Playback controls below" +msgstr "Pengendali pemutaran di bawah" + +#: ../src/pragha-menubar.c:277 +msgid "Menubar" +msgstr "Bilah menu" + +#: ../src/pragha-menubar.c:638 +msgid "Total Tracks:" +msgstr "Total Trek:" + +#: ../src/pragha-menubar.c:640 +msgid "Total Artists:" +msgstr "Total Artis:" + +#: ../src/pragha-menubar.c:642 +msgid "Total Albums:" +msgstr "Total Album:" + +#: ../src/pragha-menubar.c:645 +msgid "Statistics" +msgstr "Statistik" + +#. Create labels +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 +msgid "Title" +msgstr "Judul" + +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 +msgid "Bitrate" +msgstr "Lajubit" + +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 +msgid "Year" +msgstr "Tahun" + +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 +msgid "Comment" +msgstr "Komentar" + +#. Create labels +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 +msgid "Length" +msgstr "Durasi" + +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 +msgid "Filename" +msgstr "Nama berkas" + +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 +msgid "Mimetype" +msgstr "Tipe mime" + +#: ../src/pragha-playlist.c:212 +msgid "Remove from playback queue" +msgstr "Buang dari antrean daftar putar" + +#: ../src/pragha-playlist.c:214 +msgid "Remove from playlist" +msgstr "Buang dari daftar putar" + +#: ../src/pragha-playlist.c:222 +msgid "_Send to" +msgstr "_Kirim ke" + +#: ../src/pragha-playlist.c:2535 +#, c-format +msgid "Copy \"%i\" to selected track numbers" +msgstr "Salin \"%i\" ke nomor trek yang dipilih" + +#: ../src/pragha-playlist.c:2541 +#, c-format +msgid "Copy \"%s\" to selected titles" +msgstr "Salin \"%s\" ke judul yang dipilih" + +#: ../src/pragha-playlist.c:2547 +#, c-format +msgid "Copy \"%s\" to selected artists" +msgstr "Salin \"%s\" ke artis yang dipilih" + +#: ../src/pragha-playlist.c:2553 +#, c-format +msgid "Copy \"%s\" to selected albums" +msgstr "Salin \"%s\" ke album yang dipilih" + +#: ../src/pragha-playlist.c:2559 +#, c-format +msgid "Copy \"%s\" to selected genres" +msgstr "Salin \"%s\" ke genre yang dipilih" + +#: ../src/pragha-playlist.c:2565 +#, c-format +msgid "Copy \"%i\" to selected years" +msgstr "Salin \"%i\" ke tahun yang dipilih" + +#: ../src/pragha-playlist.c:2571 +#, c-format +msgid "Copy \"%s\" to selected comments" +msgstr "Salin \"%s\" ke komentar yang dipilih" + +#. Create the checkmenu items +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 +msgid "Track" +msgid_plural "Tracks" +msgstr[0] "Trek" + +#: ../src/pragha-playlist.c:3514 +msgid "Clear sort" +msgstr "Hilangkan pengurutan" + +#: ../src/pragha-playlists-mgmt.c:74 +msgid "Playlist" +msgstr "Daftar Putar" + +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 +msgid "_Ok" +msgstr "_Ok" + +#: ../src/pragha-playlists-mgmt.c:130 +msgid "con_playlist is a reserved playlist name" +msgstr "con_playlist adalah nama daftar putar bawaan sistem" + +#: ../src/pragha-playlists-mgmt.c:154 +#, c-format +msgid "Do you want to overwrite the playlist: %s ?" +msgstr "Apakah Anda ingin menimpa daftar putar: %s ?" + +#: ../src/pragha-playlists-mgmt.c:508 +msgid "Choose a new name" +msgstr "Pilih nama baru" + +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Ubah nama" + +#: ../src/pragha-playlists-mgmt.c:557 +#, c-format +msgid "Do you want to delete the item: %s ?" +msgstr "Apakah Anda ingin menghapus item: %s ?" + +#: ../src/pragha-playlists-mgmt.c:587 +msgid "Export playlist to file" +msgstr "Ekspor daftar putar ke berkas" + +#: ../src/pragha-playlists-mgmt.c:591 +msgid "_Save" +msgstr "_Simpan" + +#: ../src/pragha-playlists-mgmt.c:1036 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 +#, c-format +msgid "Added %d songs from %d of the imported playlist." +msgstr "Menambahkan %d lagu dari %d daftar putar yang diimpor." + +#: ../src/pragha-playlists-mgmt.c:1255 +msgid "What do you want to do?" +msgstr "Apa yang ingin Anda lakukan?" + +#: ../src/pragha-playlists-mgmt.c:1257 +#, c-format +msgid "Replace the playlist \"%s\"" +msgstr "Ganti daftar putar \"%s\"" + +#: ../src/pragha-playlists-mgmt.c:1262 +#, c-format +msgid "Add to playlist \"%s\"" +msgstr "Tambahkan ke daftar putar \"%s\"" + +#: ../src/pragha-preferences-dialog.c:204 +msgid "" +"Patterns should be of the form:;;....\n" +"A maximum of six patterns are allowed.\n" +"Wildcards are not accepted as of now ( patches welcome :-) )." +msgstr "" +"Pola harus dalam bentuk:;;....\n" +"Maksimal enam pola yang diizinkan.\n" +"Untuk sekarang belum bisa menggunakan wildcard ( mengharapkan patch :-) )." + +#: ../src/pragha-preferences-dialog.c:227 +msgid "Album art pattern" +msgstr "Pola gambar album" + +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 +msgid "Start normal" +msgstr "Mulai normal" + +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 +msgid "Start fullscreen" +msgstr "Mulai layar penuh" + +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 +msgid "Start in system tray" +msgstr "Mulai di dalam baki sistem" + +#. Create a folder chooser dialog +#: ../src/pragha-preferences-dialog.c:700 +msgid "Select a folder to add to library" +msgstr "Pilih folder untuk ditambahkan ke pustaka" + +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 +msgid "_Open" +msgstr "_Buka" + +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 +msgid "Audio" +msgstr "Audio" + +#: ../src/pragha-preferences-dialog.c:931 +msgid "Audio sink" +msgstr "Keluaran audio" + +#: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 +msgid "Restart Required" +msgstr "Butuh Memulai Ulang" + +#: ../src/pragha-preferences-dialog.c:950 +msgid "Audio Device" +msgstr "Perangkat Audio" + +#: ../src/pragha-preferences-dialog.c:960 +msgid "Use software mixer" +msgstr "Gunakan pengadon perangkat lunak" + +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Pustaka" + +#: ../src/pragha-preferences-dialog.c:998 +msgid "Can not change directories while they are analyzing." +msgstr "Tidak bisa mengubah direktori ketika sedang dianalisa." + +#: ../src/pragha-preferences-dialog.c:1018 +msgid "Folders" +msgstr "Folder" + +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 +msgid "_Add" +msgstr "_Tambah" + +#: ../src/pragha-preferences-dialog.c:1053 +msgid "_Remove" +msgstr "_Buang" + +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 +msgid "Sort albums by release year" +msgstr "Urutkan album berdasarkan tahun rilis" + +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + +#. Labels +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 +msgid "Appearance" +msgstr "Penampilan" + +#: ../src/pragha-preferences-dialog.c:1132 +msgid "Use system title bar and borders" +msgstr "Gunakan bilah judul dan batas tepi sistem" + +#: ../src/pragha-preferences-dialog.c:1138 +msgid "Use small icons on the toolbars" +msgstr "Gunakan ikon kecil pada bilah alat" + +#: ../src/pragha-preferences-dialog.c:1141 +msgid "Controls" +msgstr "Pengendali" + +#: ../src/pragha-preferences-dialog.c:1143 +msgid "Show Album art in Panel" +msgstr "Tampilkan gambar Album di Panel" + +#: ../src/pragha-preferences-dialog.c:1146 +msgid "Size of Album art" +msgstr "Ukuran gambar Album" + +#: ../src/pragha-preferences-dialog.c:1151 +msgid "Album art file pattern" +msgstr "Pola berkas gambar Album" + +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 +msgid "Search" +msgstr "Cari" + +#. Instant search. +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 +msgid "Search while typing" +msgstr "Cari saat mengetik" + +#. Aproximate search. +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 +msgid "Search similar words" +msgstr "Cari kata serupa" + +#: ../src/pragha-preferences-dialog.c:1201 +msgid "When starting pragha" +msgstr "Ketika memulai pragha" + +#: ../src/pragha-preferences-dialog.c:1204 +msgid "Remember last window state" +msgstr "Ingat keadaan terakhir jendela" + +#: ../src/pragha-preferences-dialog.c:1210 +msgid "Restore last playlist" +msgstr "Pulihkan daftar putar terakhir" + +#: ../src/pragha-preferences-dialog.c:1213 +msgid "When adding folders" +msgstr "Ketika menambahkan folder" + +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 +msgid "Add files recursively" +msgstr "Tambah berkas secara rekursif" + +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 +msgid "Desktop" +msgstr "Desktop" + +#: ../src/pragha-preferences-dialog.c:1240 +msgid "Show Pragha icon in the notification area" +msgstr "Tampilkan ikon Pragha di area notifikasi" + +#: ../src/pragha-preferences-dialog.c:1243 +msgid "Minimize Pragha when closing window" +msgstr "Minimalkan Pragha ketika menutup jendela" + +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 +msgid "Plugins" +msgstr "Plugin" + +#. The main preferences dialog +#: ../src/pragha-preferences-dialog.c:1351 +msgid "Preferences" +msgstr "Preferensi" + +#: ../src/pragha-preferences-dialog.c:1363 +msgid "General" +msgstr "Umum" + +#: ../src/pragha-preferences-dialog.c:1410 +msgid "Services" +msgstr "Layanan" + +#: ../src/pragha-preferences-dialog.c:1424 +msgid "Preferences of Pragha" +msgstr "Preferensi Pragha" + +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 +#, c-format +msgid "%i files analyzed of %i detected" +msgstr "%i berkas dianalisa dari %i yang terdeteksi" + +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 +msgid "Searching files to analyze" +msgstr "Mencari berkas untuk dianalisa" + +#: ../src/pragha-scanner.c:257 +msgid "Library scan complete" +msgstr "Pemindaian berkas selesai" + +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 +msgid "Not playing" +msgstr "Tidak memutar" + +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Sunting tag" + +#: ../src/pragha-tags-dialog.c:171 +msgid "Track No" +msgstr "No Trek" + +#: ../src/pragha-tags-dialog.c:174 +msgid "File" +msgstr "Berkas" + +#. The main edit dialog +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 +msgid "Details" +msgstr "Detail" + +#: ../src/pragha-tags-dialog.c:672 +msgid "channel" +msgid_plural "channels" +msgstr[0] "saluran" + +#: ../src/pragha-tags-dialog.c:691 +msgid "Channels" +msgstr "Saluran" + +#: ../src/pragha-tags-dialog.c:692 +msgid "Samplerate" +msgstr "Lajusampel" + +#: ../src/pragha-tags-dialog.c:693 +msgid "Folder" +msgstr "Folder" + +#: ../src/pragha-tags-dialog.c:1092 +msgid "Selection to" +msgstr "Pilihan ke" + +#: ../src/pragha-tags-dialog.c:1130 +msgid "Open folder" +msgstr "Buka folder" + +#: ../src/pragha-tags-mgmt.c:197 +#, c-format +msgid "" +"Do you want to set the track number of ALL of the selected tracks to: %d ?" +msgstr "" +"Apakah Anda ingin menetapkan nomor trek dari SEMUA trek terpilih ke: %d ?" + +#: ../src/pragha-tags-mgmt.c:215 +#, c-format +msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" +msgstr "" +"Apakah Anda ingin menetapkan tag judul dari SEMUA trek terpilih ke: %s ?" + +#: ../src/pragha-toolbar.c:147 +#, c-format +msgid "" +"%s by %s in %s" +msgstr "" +"%s oleh %s di dalam %s" + +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 +#, c-format +msgid "%s by %s" +msgstr "%s oleh %s" + +#: ../src/pragha-toolbar.c:156 +#, c-format +msgid "%s in %s" +msgstr "%s di dalam %s" + +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 +msgid "Previous Track" +msgstr "Trek Sebelumnya" + +#: ../src/pragha-toolbar.c:859 +msgid "Play / Pause Track" +msgstr "Putar / Jeda Trek" + +#: ../src/pragha-toolbar.c:863 +msgid "Stop playback" +msgstr "Setop Pemutaran" + +#: ../src/pragha-toolbar.c:867 +msgid "Next Track" +msgstr "Trek Selanjutnya" + +#: ../src/pragha-toolbar.c:878 +msgid "Leave Fullscreen" +msgstr "Tinggalkan Layar Penuh" + +#: ../src/pragha-toolbar.c:885 +msgid "Play songs in a random order" +msgstr "Putar lagu dengan acak" + +#: ../src/pragha-toolbar.c:888 +msgid "Repeat playback list at the end" +msgstr "Ulangi daftar pemutaran saat selesai" + +#: ../src/pragha-utils.c:493 +msgid "day" +msgid_plural "days" +msgstr[0] "hari" + +#: ../src/pragha-utils.c:796 +msgid "Unable to open the browser" +msgstr "Tidak bisa membuka peramban" + +#: ../src/pragha-window.c:133 +#, c-format +msgid "" +"Error playing current track.\n" +"(%s)\n" +"Reason: %s" +msgstr "" +"Galat memutar trek ini.\n" +"(%s)\n" +"Alasan: %s" + +#: ../src/pragha-window.c:140 +msgid "_Stop" +msgstr "_Setop" + +#: ../src/pragha-window.c:141 +msgid "_Next" +msgstr "Sela_njutnya" + +#: ../src/pragha.c:175 +msgid "Select a file to play" +msgstr "Pilih berkas untuk diputar" + +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 +msgid "Supported media" +msgstr "Media yang didukung" + +#: ../src/pragha.c:308 +msgid "All files" +msgstr "Semua berkas" + +#: ../src/pragha.c:384 +msgid "Enter the URL of an internet radio stream" +msgstr "Masukkan URL strim radio internet" + +#: ../src/pragha.c:391 +msgid "Give it a name to save" +msgstr "Beri nama untuk menyimpan" + +#: ../src/pragha.c:404 +msgid "Add a location" +msgstr "Tambah lokasi" + +#. Setup application name and pulseaudio role +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 +msgid "Pragha Music Player" +msgstr "Pragha Pemutar Musik" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "Per_luas pustaka" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "Per_kecil pustaka" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "T_ambah ke daftar putar saat ini" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Ganti daftar putar saat ini" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Ganti dan _putar" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Hapus" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "_Hapus pustaka" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Pindah ke _tempat sampah" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Hapus dari pustaka" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + +#: ../data/pragha.desktop.in.h:1 +msgid "Music Player" +msgstr "Pemutar Musik" + +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 +msgid "Search tags on AcoustID" +msgstr "Cari tag di AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Terjadi kesalahan saat mencari tag di AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 +msgid "AcoustID not found any similar song" +msgstr "AcoustID tidak menemukan lagu serupa" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Mencari tag di AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Segarkan pustaka Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Server" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Nama pengguna" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Sandi" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "CD Audio" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "CD Audio/Data" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "Sebuah CD audio telah dimasukkan" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 +msgid "Add Audio _CD" +msgstr "Tambah _CD Audio" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 +msgid "Audio CD Device" +msgstr "Perangkat CD Audio" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 +msgid "Connect to CDDB server" +msgstr "Sambung ke server CDDB" + +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 +msgid "Search music on DLNA server" +msgstr "Cari musik di server DLNA" + +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 +#, c-format +msgid "Music of the %s server was added." +msgstr "Musik dari server %s telah ditambahkan." + +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +msgid "Could not find any DLNA server." +msgstr "Tidak menemukan server DLNA." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 +msgid "_Lastfm" +msgstr "_Lastfm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 +msgid "Import a XSPF playlist" +msgstr "Impor daftar putar XSPF" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 +msgid "Add favorites" +msgstr "Tambah favorit" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 +msgid "Add similar" +msgstr "Tambah serupa" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 +msgid "Unable to establish conection with Last.fm" +msgstr "Tidak bisa membuat koneksi dengan Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 +msgid "Last.fm suggested a tag correction" +msgstr "Last.fm menyarankan perbaikan tag" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 +msgid "Love song on Last.fm failed." +msgstr "Gagal menyukai lagu di Last.fm." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 +msgid "Unlove song on Last.fm failed." +msgstr "Gagal batal suka lagu di Last.fm." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 +#, c-format +msgid "Added %d tracks of %d suggested from Last.fm" +msgstr "Menambahkan %d trek dari %d yang disarankan dari Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 +#, c-format +msgid "Last.fm doesn't suggest any similar track" +msgstr "Last.fm tidak menyarankan trek serupa" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 +#, c-format +msgid "Added %d songs of the last %d loved on Last.fm." +msgstr "Menambahkan %d lagu dari %d yang disukai di Last.fm." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 +#, c-format +msgid "You don't have favorite tracks on Last.fm" +msgstr "Anda tidak memiliki trek favorit di Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 +msgid "Last.fm submission failed" +msgstr "Kiriman untuk Last.fm gagal" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 +msgid "Track scrobbled on Last.fm" +msgstr "Trek di skrobel di Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 +msgid "Update current song on Last.fm failed." +msgstr "Pembaruan lagu saat ini di Last.fm gagal." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 +msgid "Scrobble on Last.fm" +msgstr "Skrobel pada Last.fm" + +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" + +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Trek" + +#: ../plugins/notify/pragha-notify-plugin.c:165 +#, c-format +msgid "by %s in %s (%s)" +msgstr "oleh %s dalam %s (%s)" + +#: ../plugins/notify/pragha-notify-plugin.c:267 +msgid "Notifications" +msgstr "Notifikasi" + +#: ../plugins/notify/pragha-notify-plugin.c:269 +msgid "Show Album art in notifications" +msgstr "Tampilkan gambar Album di notifikasi" + +#: ../plugins/notify/pragha-notify-plugin.c:274 +msgid "Add actions to change track in notifications" +msgstr "Tambah tindakan untuk mengubah trek di notifikasi" + +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Segarkan pustaka Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Favorit di Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 +#, c-format +msgid "Unable to accesss to “%s” device" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 +msgid "Removable Device" +msgstr "Perangkat Yang Dapat Dilepas" + +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "Info artis" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "Cari _lirik" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 +msgid "Search _artist info" +msgstr "Cari info _artis" + +#: ../plugins/song-info/pragha-song-info-plugin.c:558 +msgid "Song Information" +msgstr "Informasi Lagu" + +#: ../plugins/song-info/pragha-song-info-plugin.c:560 +msgid "Download the album art while playing their songs." +msgstr "Unduh gambar album ketika memutar lagu." + +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#, c-format +msgid "Lyrics thanks to %s" +msgstr "Lirik, terima kasih kepada %s" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 +#, c-format +msgid "%s thanks to %s" +msgstr "%s terima kasih kepada %s" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 +msgid "Lyrics not found." +msgstr "Lirik tidak ditemukan." + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 +msgid "Artist information not found." +msgstr "Informasi artis tidak ditemukan." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Tidak ada lagu yang direkomendasikan." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 +msgid "Searching..." +msgstr "Mencari..." + +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 +msgid "Search radio on TuneIn" +msgstr "Cari radio di TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Terjadi kesalahan saat mencari radio di TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Mencari radio di TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 +msgid "Search in TuneIn" +msgstr "Cari di TuneIn" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/it.po pragha-1.3.992/po/it.po --- pragha-1.3.3/po/it.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/it.po 2019-08-13 23:06:57.000000000 +0000 @@ -3,48 +3,64 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# Diego Principe , 2013 +# ShadowK98 , 2016 +# Carmine Diego Principe , 2013 # Edoardo Maria Elidoro , 2013 # Giuseppe D. B. , 2012 -# matias , 2011 +# Matias De lellis , 2011 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 17:03+0000\n" -"Last-Translator: matias \n" -"Language-Team: Italian (http://www.transifex.com/p/Pragha/language/it/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Italian (http://www.transifex.com/matias/Pragha/language/" +"it/)\n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" -msgstr "" +msgstr "_No" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" -msgstr "" +msgstr "_Si" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" -msgstr "Vuoi importare %s nella collezione?" +msgstr "Vuoi importare %s nella libreria?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" -msgstr "" +msgstr "Vorresti aggiornare la tua libreria musicale?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." +msgstr "Alcuni cambiamenti hanno bisogno di riavviare pragha." + +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" msgstr "" +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Ignora" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "" @@ -52,6 +68,8 @@ #: ../src/pragha-cmdline.c:251 msgid "Use --help to see a full list of available command line options." msgstr "" +"Usa --help per vedere una lista completa delle opzioni disponibili dei " +"comandi." #: ../src/pragha-equalizer-dialog.c:50 msgid "Disabled" @@ -87,7 +105,7 @@ #: ../src/pragha-equalizer-dialog.c:58 msgid "Large Hall" -msgstr "" +msgstr "Sala Ampia" #: ../src/pragha-equalizer-dialog.c:59 msgid "Live" @@ -133,194 +151,150 @@ msgid "Custom" msgstr "Personalizzato" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Equalizzatore" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Artista sconosciuto" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Album sconosciuto" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" -msgstr "" +msgstr "Cerca nella playlist" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" -msgstr "" +msgstr "_Chiudi" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Aggiungi alla coda di riproduzione" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" -msgstr "" +msgstr "_Vai a" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "_Salta" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "S_alta tutti" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "Elimina _tutti" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "_Espande collezione" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Sconosciuto" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "_Collassa collezione" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Genere sconosciuto" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "Il file non può essere cestinato. Cancellarlo permanentemente?" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Il file \"%s\" non si può spostare nel cestino. Dettagli: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Annulla" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Elimina" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Albero delle cartelle" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Artista" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Album" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Genere" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Artista / Album" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Genere / Album" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Genere / Artista" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Genere / Album" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Genere / Artista / Album" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Aggiungi alla playlist attuale" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "_Sostituisci la playlist attuale" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Sostituisci e ri_produci " - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Rinominare" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Eliminare" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Esportare" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Modifica tags" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Sposta nel ces_tino" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Elimina dala collezione" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Sconosciuto" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Genere sconosciuto" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "Il file \"%s\" non si può spostare nel cestino. Dettagli: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Playlists" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Radio" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Collezione" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Sicuro di voler cestinare i file?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" -msgstr "" +msgstr "Elimina permanentemente invece di cestinare" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -330,179 +304,183 @@ "\n" "Attenzione: Per recuperarlo occorre una nuova scansione completa. " -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Riproduzione" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "Play_list" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Vista" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Strumenti" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Aiuto" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Play / Pausa" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Stop" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Brano succesivo" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "Edita informazioni del brano" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Esci" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Aggiungere file" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Apri un file multimediale" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "Aggiungi _indirizzo" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "_Aggiungi la collezione" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "Rimuovere la selezione dalla playlist" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "Taglia playlist" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Pulisci playlist" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Salva playlist" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Nuova playlist" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Esportare" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Salva selezione" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "_Cerca nella playlist" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Preferenze" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Passa al brano attuale" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "E_qualizzatore" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "_Riesplora la collezione" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "_Aggiorna collezione" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Statistiche" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Homepage" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Community" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Traduci Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Info" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Casuale" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Ripeti" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Schermo intero" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "_Panello laterale" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "Controlli di riproduzione in basso" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Barra di stato" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" msgstr "Total Tracks:" @@ -520,163 +498,164 @@ msgstr "Statistics" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Titolo" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Bitrate" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Anno" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Commento" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Durata" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Nome file" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" -msgstr "" +msgstr "Rimuovi dalla coda di riproduzione" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Rimuovi dalla playlist" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" -msgstr "" +msgstr "_Invia a" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" -msgstr "" +msgstr "Copia \"%i\" nei numeri di traccia selezionati" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" -msgstr "" +msgstr "Copia \"%s\" nei titoli selezionati" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" -msgstr "" +msgstr "Copia \"%s\" negli articoli selezionati" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" -msgstr "" +msgstr "Copia \"%s\" negli album selezionati" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" -msgstr "" +msgstr "Copia \"%s\" nei generi selezionati" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" -msgstr "" +msgstr "Copia \"%i\" negli anni selezionati" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" -msgstr "" +msgstr "Copia \"%s\" nei commenti selezionati" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "" msgstr[1] "Brano" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Pulisci ordine" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "Playlist" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" -msgstr "" +msgstr "_Ok" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist è un nome playlist riservato " -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "Vuoi sovrascrivere la playlist: %s ?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Scegliere un nuovo nome" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Rinominare" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "Vuoi eliminare questo item: %s ?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Esporta playlist in un file" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" -msgstr "" +msgstr "_Salva" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "Aggiunti %d brani dei %d nella playlist importata." -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "Cosa vuoi fare?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "Sostituisci la playlist \"%s\"" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "Aggiungi alla playlist \"%s\"" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -686,240 +665,256 @@ "A maximum of six patterns are allowed.\n" "Wildcards are not accepted as of now ( patches welcome :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Album art pattern" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Avvio normale" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Avvio a schermo intero" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Avvio nella system tray" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Selezionare una cartella da aggiungere alla collezione" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Audio" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Audio sink" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Richiesto Riavvio" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Dispositivo audio" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Usa software mixer" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Collezione" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "" -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Cartelle" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Unire le cartelle nella vista ad àlbero" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Ordina gli album per anno d'incissione" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Aspetto" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" msgstr "" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" msgstr "" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Highlight rows on current playlist" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Controlli" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Mostra Copertina Album nel Panello" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Dimensioni della copertina del album" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Album art file pattern" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "Cerca" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" -msgstr "" +msgstr "Cerca durante la digitazione" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" -msgstr "" +msgstr "Cerca le parole simili" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "Quando Pragha viene avviato" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Ricorda l'ultima posizione della finestra" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Ripristina l'ultima playlist" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "Quando vengono aggiunte cartelle" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Aggiungere i file in modo ricorsivo" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Scrivania" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "Mostra l'icona di Pragha nell'area di notifica" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" -msgstr "" +msgstr "Minimizza Pragha quando la finestra viene chiusa" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" -msgstr "" +msgstr "Plugins" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" -msgstr "" +msgstr "Preferenze" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Generale" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Servizi" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Preferenze di Pragha" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "%i file analizzati su %i identificati" +msgid "%i files analyzed of %i detected" +msgstr "" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "Sto cercando i file da analizzare" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Esplorazione collezione completata" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Nessun brano in riproduzione" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Modifica tags" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Track No" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "File" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Dettagli" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "" msgstr[1] "" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Canali" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Samplerate" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Cartella" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Selezione a" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Apri cartella" @@ -928,13 +923,14 @@ msgid "" "Do you want to set the track number of ALL of the selected tracks to: %d ?" msgstr "" +"Vuoi impostare il numero di traccia a tutte le tracce selezionate a: %d ?" #: ../src/pragha-tags-mgmt.c:215 #, c-format msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s per %s in %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s per %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s in %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Brano Precedente" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Play / Pausa Brano" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Ferma riproduzione" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Brano Successivo" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Esci dallo schermo Intero" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Riproduci i brani in ordine casuale" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Ripetere la playlist al termine" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "" msgstr[1] "giorno" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Impossibile aprire il browser" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" "(%s)\n" "Reason: %s" msgstr "" +"Errore durante la riproduzione della traccia corrente.\n" +"(%s)\n" +"Causa: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" -msgstr "" +msgstr "_Ferma" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" -msgstr "" +msgstr "_Prossima" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Selezionare un file da riprodurre" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Tipi di file supportati" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Tutti i file" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "Introdurre URL di una internet radio stream" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "Nome con il quale la vuoi salvare " -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Aggiungi un indirizzo" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "" -"Grazie a tutti i Traduttori:\n" -"\tCzech: Thanks alois.nespor\n" -"\tJapanes:Thanks Masato hashimoto.\n" -"\tPortuguese-Brazil: Tanks Lyceuhns.\n" -"\tRussian: Thanks to Evgen.\n" -"\tUkrainian: Thanks to Evgen.\n" -"\tSpain: Thank to msdelos.\n" -"\tGerman: Thanks to PhotonX.\n" -"\tFrench: Thanks to Alois Halel.\n" -"\tItalian: Thanks to Bersil." - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" +msgstr "Lettore Musicale Pragha" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "_Espande collezione" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "_Collassa collezione" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Aggiungi alla playlist attuale" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Sostituisci la playlist attuale" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Sostituisci e ri_produci " + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Eliminare" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Sposta nel ces_tino" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Elimina dala collezione" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" msgstr "" #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "Riproduttore Musicale" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Gestisci e ascolta la musica" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" +msgstr "Cerca i tag su AcoustigID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" +msgstr "AcousticID non ha trovato nessuna canzone simile" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 -msgid "Audio/Data CD" +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 -msgid "An audio CD was inserted" +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 -msgid "Add Audio _CD" -msgstr "Aggiungere CD Audio" +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Utente" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Password" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 msgid "Audio CD" msgstr "Audio CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "CD Audio/Dati" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "Un CD audio è stato inserito" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 +msgid "Add Audio _CD" +msgstr "Aggiungere CD Audio" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Dispositivo CD audio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Connetti con server CDDB" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" -msgstr "" +msgstr "Cerca la musica sul server DLNA" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." -msgstr "" +msgstr "La musica del server %s è stata aggiunta." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." -msgstr "" +msgstr "Non è stato possibile trovare nessun server DLNA." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Lastfm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Brano preferito" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Togli brano da i miei preferiti" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "Importa un file XSPF della playlist" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Aggiungi a preferiti" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Aggiungi simili" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" -msgstr "" +msgstr "Impossibile stabilire una connessione con Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm suggerisce una correzione a un tag" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "Impossibile aggiungere a i tuoi preferiti." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "Impossibile rimuovere il brano dai preferiti su Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" -msgstr "" +msgstr "Aggiunte %d tracce di %d suggerite da Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" -msgstr "" +msgstr "Last.fm non suggerisce nessuna traccia simile" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "Aggiunti %d brani degli ultimi %d preferiti in Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" -msgstr "" +msgstr "Non hai canzoni favorite su Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" -msgstr "" +msgstr "Richiesta di Last.fm fallita" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "impossibile aggiornare il brano attuale in Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Utente" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Password" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1216,73 +1352,162 @@ msgid "Add actions to change track in notifications" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" +msgid "Unable to accesss to “%s” device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Do you want to manage the “%s” device with Pragha?" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" +msgid "Lyrics thanks to %s" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/ja.po pragha-1.3.992/po/ja.po --- pragha-1.3.3/po/ja.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/ja.po 2019-08-13 23:06:57.000000000 +0000 @@ -8,40 +8,55 @@ msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 17:03+0000\n" -"Last-Translator: matias \n" -"Language-Team: Japanese (http://www.transifex.com/p/Pragha/language/ja/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Japanese (http://www.transifex.com/matias/Pragha/language/" +"ja/)\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "" +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "" @@ -130,373 +145,333 @@ msgid "Custom" msgstr "" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "アーティスト不明" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "アルバム不明" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "ライブラリを展開(_E)" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "ライブラリを折り畳む(_C)" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "ジャンル不明" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "アーティスト" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "アルバム" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "ジャンル" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "アーティスト / アルバム" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "ジャンル / アルバム" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "ジャンル / アーティスト" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "ジャンル / アルバム" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "ジャンル / アーティスト / アルバム" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "削除" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "エクスポート" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "タグの編集" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "ライブラリから削除" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "ジャンル不明" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "プレイリスト" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "ライブラリ" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" "Warning: To recover we must rescan the entire library." msgstr "" -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "表示(_V)" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "ツール(_T)" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "ヘルプ(_H)" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "再生/一時停止" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "停止" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "次のトラック" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "終了(_Q)" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "ファイルの追加(_A)" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "メディアファイルを開きます" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "プレイリストのクリア" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "プレイリストの保存" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "エクスポート" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "選択した楽曲の保存" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "設定(_P)" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "再生中の曲へ" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "ライブラリの再スキャン(_R)" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "ライブラリの更新(_U)" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "統計(_S)" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "ホームページ" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "コミュニティ" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "情報" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "シャッフル(_S)" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "繰り返し(_R)" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "全画面化(_F)" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "垂直パネル(_P)" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "ステータスバー" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" msgstr "総トラック数:" @@ -514,162 +489,163 @@ msgstr "統計情報" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "タイトル" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "ビットレート" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "年" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "時間" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "ファイル名" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "トラック" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "ソートの解除" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist は予約されたプレイリスト名です" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "プレイリストのファイルへのエクスポート" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "" -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -679,239 +655,255 @@ "最大6個まで設定できます。\n" "ワイルドカードは現在使用できません (パッチ歓迎)。" -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "アルバムアートのパターン" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "ライブラリに追加するフォルダを選択してください" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "オーディオ" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "オーディオシンク" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "再起動が必要です" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "オーディオデバイス" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "ソフトウェアミキサーを使用する" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "ライブラリ" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "" -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "フォルダ" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 +msgid "Sort albums by release year" msgstr "" -#: ../src/pragha-preferences-dialog.c:1021 -msgid "Sort albums by release year" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" msgstr "" #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" msgstr "" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" msgstr "" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "パネルにアルバムアートを表示する" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "アルバムアートのサイズ" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "アルバムアートのファイルパターン" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "一般" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" +msgid "%i files analyzed of %i detected" msgstr "" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "ライブラリのスキャンが完了しました" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "再生していません" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "タグの編集" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "トラック番号" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "チャンネル" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "サンプルレート" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "" @@ -926,7 +918,7 @@ msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s by %s in %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s by %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s in %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "前のトラック" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "トラックの再生/一時停止" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "停止" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "次のトラック" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "日" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "ブラウザを表示できません" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -991,194 +991,333 @@ "Reason: %s" msgstr "" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "再生するファイルを選択してください" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "サポートメディア" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "全てのファイル" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "Masato Hashimoto , 2009." - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "ライブラリを展開(_E)" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "ライブラリを折り畳む(_C)" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "削除" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "ライブラリから削除" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 -msgid "Audio/Data CD" +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 -msgid "An audio CD was inserted" +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 -msgid "Add Audio _CD" +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "ユーザ名" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "パスワード" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 msgid "Audio CD" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 +msgid "Add Audio _CD" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "オーディオ CD デバイス" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "CDDB サーバに接続する" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 -msgid "_Lastfm" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "" - #: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 +msgid "_Lastfm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "ユーザ名" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "パスワード" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1197,73 +1336,162 @@ msgid "Add actions to change track in notifications" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" +msgid "Unable to accesss to “%s” device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Do you want to manage the “%s” device with Pragha?" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" +msgid "Lyrics thanks to %s" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/ko_KR.po pragha-1.3.992/po/ko_KR.po --- pragha-1.3.3/po/ko_KR.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/ko_KR.po 2019-08-13 23:06:58.000000000 +0000 @@ -3,46 +3,61 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# woosuk park , 2013-2015 +# Woosuk Park, 2013-2015,2017 +# Woosuk Park, 2019 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2015-02-21 16:06+0000\n" -"Last-Translator: woosuk park \n" -"Language-Team: Korean (Korea) (http://www.transifex.com/p/Pragha/language/" -"ko_KR/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Korean (Korea) (http://www.transifex.com/matias/Pragha/" +"language/ko_KR/)\n" "Language: ko_KR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "로컬 음악" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "아니요 (_N)" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "예 (_Y)" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "%s을 라이브러리로 가져 오시겠습니까?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "음악 라이브러리를 업데이트 하시겠습니까?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "몇몇 변경사항을 적용하시려면 Pragha를 재시작하여야 됩니다." +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "백그라운드 작업이 실행중입니다" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "무시" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "파일 명" @@ -133,194 +148,150 @@ msgid "Custom" msgstr "사용자 정의" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "이퀄라이저" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "즐겨찾기" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "알려지지 않은 아티스트" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "알려지지 않은 앨범" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "플레이리스트내 검색" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "닫기 (_C)" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "되감기 큐 추가" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "이동 (_J)" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "넘기기 (_S)" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "모두 넘기기 (_K)" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "전체 삭제 (_A)" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "라이브러리 펼치기 (_E)" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "알수 없음" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "라이브러리 접기 (_C)" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "알수없는 장르" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "파일을 휴지통으로 이동할수 없습니다. 파일을 영구 삭제하시겠습니까?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "\"%s\" 파일을 휴지통으로 이동할수 없습니다. 이유는 다음과 같습니다: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_취소" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_삭제" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "폴더 구조" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "아티스트" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "앨범" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "장르" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "아티스트 / 앨범" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "장르 / 앨범" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "장르 / 아티스트" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "장르 / 앨범" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "장르 / 아티스트 / 앨범" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "현재 플레이리스트에 추가(_A)" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "현재 플레이리스트 대체(_R)" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "대체하고 재생하기(_p)" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "이름 변경" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "삭제" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "내보내기" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "태그 수정" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "휴지통으로 이동(_T)" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "라이브러리에서 삭제" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "알수 없음" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "알수없는 장르" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "파일을 휴지통으로 이동할수 없습니다. 파일을 영구 삭제하시겠습니까?" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "\"%s\" 파일을 휴지통으로 이동할수 없습니다. 이유는 다음과 같습니다: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "_취소" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "_삭제" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "플레이리스트" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "라디오" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "라이브러리" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "이 파일을 휴지통에 버리시겠습니까?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "휴지통으로 보내는 대신 바로 삭제" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -330,179 +301,183 @@ "\n" "경고: 복구하실려면 전체 라이브러리를 다시 스캔해야 합니다." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "되감기 (_P)" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "플레이리스트 (_l)" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "보기 (_V)" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "도구 (_T)" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "도움말 (_H)" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "이전 트랙" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "재생 / 일시정지" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "정지" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "다음 트랙" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "트랙 정보 수정" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "종료 (_Q)" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "파일 추가 (_A)" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "미디어 파일 열기" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "주소 추가 (_l)" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "라이브러리 추가하기 (_A)" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "플레이리스트에서 선택한 항목 삭제" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "플레이리스트 자르기" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "플레이리스트 취소" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "플레이리스트 저장" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "새 플레이리스트" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "내보내기" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "선택한 곡 리스트 저장" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "플레이리스트내 검색 (_S)" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "설정 (_P)" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "재생중인 음악으로 이동" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "이퀄라이저 (_Q)" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "라이브러리 다시 스캔 (_R)" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "라이브러리 업데이트 (_U)" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "통계 (_S)" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "홈페이지" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "커뮤니티" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "위키" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Pragha 번역하기" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "대하여" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "무작위 재생 (_S)" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "반복 (_R)" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "전체화면 (_F)" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "옆 패널 (_P)" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "추가적인 옆 패널" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "재생 컨트롤 아래로 보내기" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "메뉴바" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "상태 바" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" msgstr "총 트랙수:" @@ -520,162 +495,163 @@ msgstr "통계" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "음악 제목" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "비트레이트" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "년" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "주석" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "길이" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "파일명" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "MIME 유형" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "플레이백 큐에서 제거" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "플레이리스트에서 삭제" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "보내기 (_S)" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "선택된 \"%i\" 트랙 번호 복사" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "선택된 제목 \"%s\"을 복사" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "선택된 아티스트 \"%s\"를 복사" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "선택된 앨범 \"%s\"을 복사" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "선택된 장르 \"%s\" 을(를) 복사" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "선택된 \"%i\" 년을 복사" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "선택된 주석 \"%s\" 을(를) 복사" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "트랙" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "선택 취소" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "플레이리스트" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "확인 (_O)" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist는 예약된 플레이리스트 이름입니다" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "%s 플레이리스트를 겹쳐쓰시겠습니까?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "새로운 이름 선택" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "이름 변경" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "%s 항목을 삭제하시겠습니까?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "파일로 플레이리스트 내보내기" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "저장 (_S)" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "가져온 플레이리스트에서 %d / %d개의 곡이 추가되었습니다" -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "무엇을 원하시는지요?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "\"%s\" 플레이리스트 대체" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "\"%s\" 플레이리스트에 추가" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -685,239 +661,255 @@ "최대 패턴 갯수는 6개입니다.\n" "와일드 카드는 현재 지원하지 않습니다 ( 패치 부탁드려요 :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "앨범 아트 패턴" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "일반적으로 시작" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "전체화면으로 시작" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "시스템 트레이에서 시작" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "라이브러리에 추가할 폴더 선택" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "열기 (_O)" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "오디오" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "오디오 싱크" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "재시작 필요" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "오디오 장치" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "소프트웨어 믹서 사용" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "라이브러리" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "분석 도중에 디렉터리를 변경할 수 없습니다" -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "폴더" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "추가 (_A)" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "삭제 (_R)" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "폴더 구조 보기에서 폴더 병합" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "발매 년도대로 앨범 정렬" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "모양" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "시스템의 제목 바와 테두리 사용" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "현재 플레이리스트 줄에서 강조하기" +msgstr "툴바에서 작은 아이콘 사용" -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "제어" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "패널에 앨범 아트 보이기" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "앨범 아트 크기" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "앨범 아트 파일 패턴" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "검색" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "작성하는 동안 검색" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "유사한 단어 검색" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "Pragha 시작시" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "마지막 창 상태 기억" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "마지막 플레이리스트 복원" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "폴더 추가시" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "하위 파일들을 추가" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "데스크탑" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "Pragha 아이콘을 알림 항목에 보이기" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "창을 닫을때 Pragha 최소화 하기" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "플러그인" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "설정" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "일반" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "서비스" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Pragha 설정" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "%i / %i 파일 분석됨" +msgid "%i files analyzed of %i detected" +msgstr "찾은 파일 %i / %i 개가 분석되었습니다." -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "분석을 위해 파일 검색중" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "라이브러리 스캔 완료" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "재생중인 음악이 없습니다" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "태그 수정" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "트랙 번호" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "파일" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "상세사항" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "채널" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "채널" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "샘플레이트" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "폴더" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "로 선택" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "폴더 열기" @@ -932,7 +924,7 @@ msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "선택된 트랙의 제목 태그를 모두 %s로 바꾸시겠습니까?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s , %s 곡, %s 앨범" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s , %s가 작곡" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s , %s 앨범수록곡" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "이전 트랙" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "트랙 재생 / 일시정지" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "되감기 멈추기" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "다음 트랙" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "전체화면에서 나가기" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "임의 순서로 음악 재생" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "플레이 리스트 마지막에 갔을시 반복" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "일" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "브라우저를 열 수 없습니다" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -1000,194 +1000,333 @@ "(%s)\n" "원인: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "멈춤 (_S)" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "다음 (_N)" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "선택한 파일 재생" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "지원하는 미디어" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "전체 파일" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "인터넷 라디오 스트림의 URL을 입력해주세요" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "저장할 이름을 입력해주세요" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "주소 추가" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "번역자 크레딧" - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "Pragha 음악 플레이어" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "라이브러리 펼치기 (_E)" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "라이브러리 접기 (_C)" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "현재 플레이리스트에 추가(_A)" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "현재 플레이리스트 대체(_R)" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "대체하고 재생하기(_p)" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "삭제" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "라이브러리에서 _삭제" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "휴지통으로 이동(_T)" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "라이브러리에서 삭제" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "음악 플레이어" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "음악을 관리하고 들으세요" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "AcoustID에서 태그 검색" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "AcoustID 태그를 검색하는 도중 오류가 발생했습니다" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "AcoustID 에서 유사한 곡을 찾지 못했습니다" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "AcoustID 태그 검색하기" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Ampache 라이브러리 새로고침" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "서버" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "사용자명" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "비밀번호" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "오디오 CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "음악 / 데이터 CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" msgstr "오디오 CD가 삽입되었습니다" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "오디오 CD 추가(_C)" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "오디오 CD" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "오디오 CD 장치" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "CDDB 서버에 접속" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "DNLA 서버에서 음악 검색" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "%s 서버의 음악이 추가되었습니다." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "DLNA 서버를 찾을 수 없습니다" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Last.fm (_L)" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "특히 좋아하는 곡 설정" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "특히 좋아하는 곡 해제" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "XSPF 플레이리스트 가져오기" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "좋아하는 노래 추가" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "유사한 노래 추가" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "Last.fm 에 접속할수 없습니다" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm 이 태그 수정을 제안했습니다" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "Last.fm에 특히 좋아하는 곡으로 지정 실패함" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "Last.fm에 특히 좋아하는 곡 해제 실패함" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "Last.fm에서 추천한 %d / %d개의 곡이 추가되었습니다" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "Last.fm이 비슷한 노래를 제안하지 않았습니다." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "%d 곡들을 Last.fm의 특히 좋아하는 곡 %d 에 추가했습니다" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "Last.fm 에 좋아하는 곡이 없습니다." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "Last.fm에 제출 실패함" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "Last.fm 트랙 스크로블하기" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "현 음악을 Last.fm에 업데이트 하는데 실패했습니다." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "Last.fm 스크로블하기" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "사용자명" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "비밀번호" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "트랙" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1206,81 +1345,164 @@ msgid "Add actions to change track in notifications" msgstr "트랙 변경시 알림 영역에 액션 추가하기" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Koel 라이브러리 새로고침" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Koel 의 즐겨찾기" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" -msgstr "\"%s\"에 접근할수 없음" +msgid "Unable to accesss to “%s” device" +msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "제거가능한 장비" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" -msgstr "\"%s\" 볼륨을 관리하시겠습니까?" +msgid "Artist info" +msgstr "아티스트 정보" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:90 msgid "Search _lyric" msgstr "가사 검색 (_L)" -#: ../plugins/song-info/pragha-song-info-plugin.c:90 +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "아티스트 정보 검색 (_A)" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "곡 정보" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "음악을 재생하는 동안 앨범 아트를 다운로드." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format msgid "Lyrics thanks to %s" msgstr "%s 님이 가사를 제공 하셨습니다" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 -#, c-format -msgid "Artist info" -msgstr "아티스트 정보" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "" "%s 이 사용자분에게 감사를 보냅니다: %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "가사를 찾을수 없습니다" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "아티스트 정보를 찾을수 없습니다" -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "추천할 곡이 없습니다" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "검색중..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "TuneIn 라디오 검색하기" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Tunein 에서 라디오를 검색하던 도중 오류가 발생했습니다" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "TuneIn 에서 라디오 검색하기" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "TuneIn 검색" -#~ msgid "Ignore" -#~ msgstr "무시" +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" -#~ msgid "Use Gnome 3 HIG" -#~ msgstr "Gnome 3 HIG 사용" +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/lt.po pragha-1.3.992/po/lt.po --- pragha-1.3.3/po/lt.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/lt.po 2019-08-13 23:06:58.000000000 +0000 @@ -3,46 +3,62 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# Moo, 2015 +# Moo, 2015-2018 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2015-07-11 19:32+0000\n" -"Last-Translator: Moo\n" -"Language-Team: Lithuanian (http://www.transifex.com/p/Pragha/language/lt/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Lithuanian (http://www.transifex.com/matias/Pragha/language/" +"lt/)\n" "Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" -"%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < " +"11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? " +"1 : n % 1 != 0 ? 2: 3);\n" + +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Vietinė muzika" #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "_Ne" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "_Taip" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "Ar norėtumėte importuoti %s į fonoteką?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "Ar norėtumėte atnaujinti savo muzikinę fonoteką?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "Kai kuriems pakeitimams reikia iš naujo paleisti Pragha." +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Yra veikiančių foninių užduočių" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Nepaisyti" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "FAILO PAVADINIMAS" @@ -71,23 +87,23 @@ #: ../src/pragha-equalizer-dialog.c:54 msgid "Full Bass" -msgstr "Pilni Žemi Tonai" +msgstr "Pilni žemi tonai" #: ../src/pragha-equalizer-dialog.c:55 msgid "Full Bass and Treble" -msgstr "Pilni Žemi ir Aukšti Tonai" +msgstr "Pilni žemi ir aukšti tonai" #: ../src/pragha-equalizer-dialog.c:56 msgid "Full Treble" -msgstr "Pilni Aukšti Tonai" +msgstr "Pilni aukšti tonai" #: ../src/pragha-equalizer-dialog.c:57 msgid "Laptop Speakers and Headphones" -msgstr "Nešiojamojo Kompiuterio Garsiakalbiai ir Ausinės" +msgstr "Nešiojamojo kompiuterio garsiakalbiai ir ausinės" #: ../src/pragha-equalizer-dialog.c:58 msgid "Large Hall" -msgstr "Didelė Salė" +msgstr "Didelė salė" #: ../src/pragha-equalizer-dialog.c:59 msgid "Live" @@ -115,7 +131,7 @@ #: ../src/pragha-equalizer-dialog.c:65 msgid "Smiley Face Curve" -msgstr "Šypsenėlės Linija" +msgstr "Šypsenėlės linija" #: ../src/pragha-equalizer-dialog.c:66 msgid "Soft" @@ -123,7 +139,7 @@ #: ../src/pragha-equalizer-dialog.c:67 msgid "Soft Rock" -msgstr "Lengvasis Rokas" +msgstr "Lengvasis rokas" #: ../src/pragha-equalizer-dialog.c:68 msgid "Techno" @@ -133,194 +149,150 @@ msgid "Custom" msgstr "Pasirinktinis" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Glodintuvas" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Mėgstami" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" -msgstr "Nežinomas Atlikėjas" +msgstr "Nežinomas atlikėjas" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" -msgstr "Nežinomas Albumas" +msgstr "Nežinomas albumas" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "Ieškoti grojaraštyje" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "_Užverti" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Pridėti į grojimo eilę" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" -msgstr "_Peršokti į" +msgstr "_Pereiti prie" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "Pralei_sti" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" -msgstr "" +msgstr "Pra_leisti visus" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" -msgstr "" +msgstr "Iš_trinti visus" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "_Išskleisti fonoteką" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Nežinoma" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "_Suskleisti fonoteką" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Nežinomas žanras" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "Failas negali būti perkeltas į šiukšlinę. Ištrinti negrįžtamai?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Failas \"%s\" negali būti perkeltas į šiukšlinę. Išsamiau: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Atsisakyti" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Ištrinti" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Aplankų struktūra" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Atlikėjas" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Albumas" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Žanras" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Atlikėjas / Albumas" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Žanras / Albumas" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Žanras / Atlikėjas" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Žanras / Albumas" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Žanras / Atlikėjas / Albumas" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Pridėti prie esamo grojaraščio" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "P_akeisti esamą grojaraštį" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Pakeisti ir _groti" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Pervadinti" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Ištrinti" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Eksportuoti" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Keisti žymes" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Perkelti į š_iukšlinę" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Ištrinti iš fonotekos" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Nežinomas Žanras" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "Failas negali būti perkeltas į šiukšlinę. Ištrinti negrįžtamai?" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "Failas \"%s\" negali būti perkeltas į šiukšlinę. Išsamiau: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "_Atsisakyti" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Grojaraščiai" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Radijai" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Fonoteka" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Tikrai norite perkelti failus į šiukšlinę?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "Vietoj perkelimo į šiukšlinę, ištrinti negrįžtamai" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -330,354 +302,360 @@ "\n" "Įspėjimas: Norint atkurti, reikės iš naujo skenuoti visą fonoteką." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Grojimas" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "Gr_ojaraštis" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Rodinys" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "Įr_ankiai" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Pagalba" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "Ankstesnis takelis" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Groti / Pristabdyti" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Stabdyti" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Kitas takelis" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "Keisti takelio informaciją" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Baigti" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Pridėti failus" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Atverti medija failą" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "Pridėti _vietą" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "Pridėti _fonoteką" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "Šalinti pasirinktus iš grojaraščio" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "Apkirpti grojaraštį" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Išvalyti grojaraštį" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Įrašyti grojaraštį" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Naujas grojaraštis" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Eksportuoti" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Įrašyti pasirinktus" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "_Ieškoti grojaraštyje" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Nuostatos" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" -msgstr "Peršokti į šiuo metu grojamą dainą" +msgstr "Pereiti prie šiuo metu grojamos dainos" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "_Glodintuvas" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "_Iš naujo skenuoti fonoteką" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "_Atnaujinti fonoteką" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Statistika" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Interneto svetainė" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Bendruomenė" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Versti Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Apie" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Maišyti" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Kartoti" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Visas ekranas" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "Šoninis _skydelis" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "Antrinis šoninis skydelis" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "Grojimo valdikliai apačioje" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "Meniu juosta" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Būsenos juosta" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" -msgstr "Viso Takelių:" +msgstr "Viso takelių:" #: ../src/pragha-menubar.c:640 msgid "Total Artists:" -msgstr "Viso Atlikėjų:" +msgstr "Viso atlikėjų:" #: ../src/pragha-menubar.c:642 msgid "Total Albums:" -msgstr "Viso Albumų:" +msgstr "Viso albumų:" #: ../src/pragha-menubar.c:645 msgid "Statistics" msgstr "Statistika" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Pavadinimas" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Pralaidumas" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Metai" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Komentaras" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Trukmė" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Failo pavadinimas" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "MIME tipas" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "Šalinti iš grojimo eilės" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Šalinti iš grojaraščio" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" -msgstr "" +msgstr "_Siųsti į" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" -msgstr "" +msgstr "Kopijuoti \"%i\" į pasirinktų takelių numerius" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" -msgstr "" +msgstr "Kopijuoti \"%s\" į pasirinktų pavadinimus" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" -msgstr "" +msgstr "Kopijuoti \"%s\" į pasirinktų atlikėjus" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" -msgstr "" +msgstr "Kopijuoti \"%s\" į pasirinktų albumus" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" -msgstr "" +msgstr "Kopijuoti \"%s\" į pasirinktų žanrus" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" -msgstr "" +msgstr "Kopijuoti \"%i\" į pasirinktų metus" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" -msgstr "" +msgstr "Kopijuoti \"%s\" į pasirinktų komentarus" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "Takelis" msgstr[1] "Takeliai" msgstr[2] "Takelių" +msgstr[3] "Takelių" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Išvalyti rikiavimą" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "Grojaraštis" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "_Gerai" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" -msgstr "" +msgstr "con_playlist yra rezervuotas grojaraščio pavadinimas" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "Ar norite perrašyti grojaraštį: %s ?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Pasirinkite naują pavadinimą" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Pervadinti" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "Ar norite ištrinti elementą: %s ?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Eksportuoti grojaraštį į failą" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" -msgstr "" +msgstr "Į_rašyti" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." -msgstr "" +msgstr "Iš importuoto grojaraščio pridėta %d dainų iš %d." -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "Ką norite daryti?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "Pakeisti grojaraštį \"%s\"" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "Pridėti į grojaraštį \"%s\"" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -689,241 +667,258 @@ "Pakaitos simboliai kol kas nėra priimami ( programos taisiniai yra " "sveikintini :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Albumo viršelio šablonas" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Paleisti įprastai" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Paleisti visame ekrane" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Paleisti sistemos dėkle" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Pasirinkite aplanką, kurį pridėsite į fonoteką" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "_Atverti" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Garsas" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Garso posistemė" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" -msgstr "Reikalingas Paleidimas iš Naujo" +msgstr "Reikalingas paleidimas iš naujo" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" -msgstr "Garso Įrenginys" +msgstr "Garso įrenginys" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Naudoti programinės įrangos maišiklį" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Fonoteka" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." -msgstr "" +msgstr "Negalima keisti katalogus, kol jie yra analizuojami." -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Aplankai" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "_Pridėti" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "Ša_linti" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Sulieti aplankus į aplankų struktūros rodinį" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Rikiuoti albumus pagal laidos metus" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Išvaizda" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Naudoti sistemos antraštės juostą ir kraštus" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" +msgstr "Įrankių juostose naudoti mažas piktogramas" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Paryškinti eilutes esamame grojaraštyje" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Valdikliai" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" -msgstr "Rodyti Skydelyje Albumo viršelį" +msgstr "Rodyti skydelyje albumo viršelį" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" -msgstr "Albumo viršelio Dydis" +msgstr "Albumo viršelio dydis" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Albumo viršelio failo šablonas" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "Paieška" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "Ieškoti, renkant tekstą" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "Ieškoti panašių žodžių" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "Paleidžiant Pragha" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Prisiminti paskutinę lango būseną" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Atkurti paskutinį grojaraštį" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "Pridedant aplankus" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Pridėti failus su pakatalogiais" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Darbalaukis" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "Rodyti Pragha piktogramą pranešimų srityje" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "Suskleisti Pragha, užveriant langą" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "Įskiepiai" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "Nuostatos" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Bendra" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Tarnybos" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" -msgstr "Pragha Nuostatos" +msgstr "Pragha nuostatos" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "" +msgid "%i files analyzed of %i detected" +msgstr "%i failų išanalizuota iš %i aptiktų" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" -msgstr "" +msgstr "Ieškoma failų, kuriuos analizuoti" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Fonotekos skenavimas užbaigtas" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Negrojama" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Keisti žymes" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" -msgstr "Takelio Nr" +msgstr "Takelio Nr." -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Failas" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Išsamiau" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "kanalas" msgstr[1] "kanalai" msgstr[2] "kanalų" +msgstr[3] "kanalų" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Kanalai" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Skaitmeninimo dažnis" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Aplankas" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" -msgstr "" +msgstr "Žymėjimą į" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Atverti aplanką" @@ -938,7 +933,7 @@ msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "Ar norite nustatyti VISŲ pasirinktų takelių pavadinimo žymę į: %s ?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s atlieka %s albume %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s atlieka %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s albume %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" -msgstr "Ankstesnis Takelis" +msgstr "Ankstesnis takelis" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" -msgstr "Groti / Pristabdyti Takelį" +msgstr "Groti / Pristabdyti takelį" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Stabdyti grojimą" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" -msgstr "Kitas Takelis" +msgstr "Kitas takelis" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" -msgstr "Išeiti iš Viso Ekrano" +msgstr "Išeiti iš viso ekrano" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Groti dainas atsitiktine tvarka" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Pabaigoje kartoti grojimo sąrašą" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "diena" msgstr[1] "dienos" msgstr[2] "dienų" +msgstr[3] "dienų" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Nepavyko atverti naršyklę" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -1008,194 +1012,333 @@ "(%s)\n" "Priežastis: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "_Stabdyti" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "_Kitas" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Pasirinkite norimą groti failą" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Palaikoma medija" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Visi failai" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "Įveskite internetinio radijo srauto URL" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "Suteikite jam vardą, siekiant įrašyti" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Pridėkite vietą" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "Moo" - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" -msgstr "Pragha Muzikos Grotuvas" +msgstr "Pragha muzikos grotuvas" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "_Išskleisti fonoteką" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "_Suskleisti fonoteką" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Pridėti į esamą grojaraštį" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "P_akeisti esamą grojaraštį" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Pakeisti ir _groti" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Ištrinti" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "Š_alinti fonoteką" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Perkelti į š_iukšlinę" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Ištrinti iš fonotekos" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" #: ../data/pragha.desktop.in.h:1 msgid "Music Player" -msgstr "Muzikos Grotuvas" +msgstr "Muzikos grotuvas" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Tvarkyti ir klausytis muzikos" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "Ieškoti žymių per AcoustID" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Ieškant žymių per AcoustID, įvyko klaida" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "AcoustID nerado jokios panašios dainos" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Ieškomos žymės per AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Iš naujo įkelti Ampache fonoteką" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Serveris" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Naudotojo vardas" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Slaptažodis" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Garso CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "Garso/Duomenų CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" msgstr "Buvo įdėtas garso CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" -msgstr "Pridėti Garso _CD" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "Garso CD" +msgstr "Pridėti garso _CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" -msgstr "Garso CD Įrenginys" +msgstr "Garso CD įrenginys" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" -msgstr "" +msgstr "Jungtis prie CDDB serverio" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "Ieškoti muzikos DLNA serveryje" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "Buvo pridėta %s serverio muzika." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "Nepavyko rasti jokio DLNA serverio." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Lastfm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Patinka takelis" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Nepatinka takelis" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "Importuoti XSPF grojaraštį" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Pridėti mėgstamus" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Pridėti panašius" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "Nepavyko užmegzti ryšio su Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm pasiūlė žymės pataisymą" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." -msgstr "" +msgstr "Pamėgti dainą sistemoje Last.fm nepavyko." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." -msgstr "" +msgstr "Pažymėti dainą sistemoje Last.fm kaip nepatinkančią nepavyko." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" -msgstr "" +msgstr "Pridėta %d takelių iš %d siūlytų iš Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "Last.fm nesiūlo jokių panašių takelių" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." -msgstr "" +msgstr "Pridėtos %d iš %d Last.fm sistemoje vėliausiai pamėgtų dainų." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "Jūs neturite mėgstamų takelių tarnyboje Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "Last.fm pateikimas nepavyko" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" -msgstr "" +msgstr "Takelis naudojamas \"Scrobble\" paslaugai ties Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "Esamos dainos atnaujinimas sistemoje Last.fm nepavyko." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" +msgstr "Naudoti \"Scrobble\" ties Last.fm" + +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Naudotojo vardas" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Slaptažodis" +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Takeliai" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1212,81 +1355,164 @@ #: ../plugins/notify/pragha-notify-plugin.c:274 msgid "Add actions to change track in notifications" -msgstr "Pridėti į pranešimus veiksmus keisti takelį" +msgstr "Pridėti į pranešimus veiksmus, skirtus keisti takelį" + +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Iš naujo įkelti Koel biblioteką" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Mėgstami ties Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" -msgstr "Nepavyksta pasiekti \"%s\"" +msgid "Unable to accesss to “%s” device" +msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" +msgstr "Keičiamasis įrenginys" + +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Artist info" +msgstr "Atlikėjo informacija" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "Iešk_oti dainos žodžių" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" -msgstr "" +msgstr "Ieškoti _atlikėjo informacijos" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" -msgstr "Dainos Informacija" +msgstr "Dainos informacija" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "Grojant dainą per tarnybas, atsisiųsti albumo viršelį." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" -msgstr "Atlikėjo informacija" +msgid "Lyrics thanks to %s" +msgstr "Dainos žodžiai %s dėka" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" -msgstr "" +msgstr "%s pagal %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "Dainos žodžių nerasta." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "Atlikėjo informacijos nerasta." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Nėra rekomenduojamų dainų." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "Ieškoma..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "Ieškoti radijo per TuneIn" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Ieškant radijo per TuneIn, įvyko klaida" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Ieškoma radijo per TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "Ieškoti sistemoje TuneIn" -#~ msgid "Ignore" -#~ msgstr "Nepaisyti" +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" -#~ msgid "Use Gnome 3 HIG" -#~ msgstr "Naudoti Gnome 3 HIG" +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/Makefile.in.in pragha-1.3.992/po/Makefile.in.in --- pragha-1.3.3/po/Makefile.in.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/po/Makefile.in.in 2019-08-13 12:52:07.000000000 +0000 @@ -0,0 +1,222 @@ +# Makefile for program source directory in GNU NLS utilities package. +# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper +# Copyright (C) 2004-2008 Rodney Dawes +# +# This file may be copied and used freely without restrictions. It may +# be used in projects which are not available under a GNU Public License, +# but which still want to provide support for the GNU gettext functionality. +# +# - Modified by Owen Taylor to use GETTEXT_PACKAGE +# instead of PACKAGE and to look for po2tbl in ./ not in intl/ +# +# - Modified by jacob berkman to install +# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize +# +# - Modified by Rodney Dawes for use with intltool +# +# We have the following line for use by intltoolize: +# INTLTOOL_MAKEFILE + +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ +VPATH = @srcdir@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +datadir = @datadir@ +datarootdir = @datarootdir@ +libdir = @libdir@ +localedir = @localedir@ +subdir = po +install_sh = @install_sh@ +# Automake >= 1.8 provides @mkdir_p@. +# Until it can be supposed, use the safe fallback: +mkdir_p = $(install_sh) -d + +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ + +GMSGFMT = @GMSGFMT@ +MSGFMT = @MSGFMT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +XGETTEXT = @XGETTEXT@ $(XGETTEXT_ARGS) +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +MSGMERGE = XGETTEXT_ARGS="$(XGETTEXT_ARGS)" INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist +GENPOT = XGETTEXT_ARGS="$(XGETTEXT_ARGS)" INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot + +ALL_LINGUAS = @ALL_LINGUAS@ + +PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) + +USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) + +USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) + +POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) + +DISTFILES = Makefile.in.in POTFILES.in $(POFILES) +EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS + +POTFILES = \ +# This comment gets stripped out + +CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) + +.SUFFIXES: +.SUFFIXES: .po .pox .gmo .mo .msg .cat + +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V)) +INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) +INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@; + +.po.pox: + $(MAKE) $(GETTEXT_PACKAGE).pot + $(MSGMERGE) $* $(GETTEXT_PACKAGE).pot -o $*.pox + +.po.mo: + $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $< + +.po.gmo: + $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \ + && rm -f $$file && $(GMSGFMT) -o $$file $< + +.po.cat: + sed -f ../intl/po2msg.sed < $< > $*.msg \ + && rm -f $@ && gencat $@ $*.msg + + +all: all-@USE_NLS@ + +all-yes: $(CATALOGS) +all-no: + +$(GETTEXT_PACKAGE).pot: $(POTFILES) + $(GENPOT) + +install: install-data +install-data: install-data-@USE_NLS@ +install-data-no: all +install-data-yes: all + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $$dir; \ + if test -r $$lang.gmo; then \ + $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ + echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ + else \ + $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ + echo "installing $(srcdir)/$$lang.gmo as" \ + "$$dir/$(GETTEXT_PACKAGE).mo"; \ + fi; \ + if test -r $$lang.gmo.m; then \ + $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ + echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ + else \ + if test -r $(srcdir)/$$lang.gmo.m ; then \ + $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ + $$dir/$(GETTEXT_PACKAGE).mo.m; \ + echo "installing $(srcdir)/$$lang.gmo.m as" \ + "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ + else \ + true; \ + fi; \ + fi; \ + done + +# Empty stubs to satisfy archaic automake needs +dvi info ctags tags CTAGS TAGS ID: + +# Define this as empty until I found a useful application. +install-exec installcheck: + +uninstall: + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ + rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ + done + +check: all $(GETTEXT_PACKAGE).pot + rm -f missing notexist + srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m + if [ -r missing -o -r notexist ]; then \ + exit 1; \ + fi + +mostlyclean: + rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp + rm -f .intltool-merge-cache + +clean: mostlyclean + +distclean: clean + rm -f Makefile Makefile.in POTFILES stamp-it + rm -f *.mo *.msg *.cat *.cat.m *.gmo + +maintainer-clean: distclean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + rm -f Makefile.in.in + +distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: $(DISTFILES) + dists="$(DISTFILES)"; \ + extra_dists="$(EXTRA_DISTFILES)"; \ + for file in $$extra_dists; do \ + test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ + done; \ + for file in $$dists; do \ + test -f $$file || file="$(srcdir)/$$file"; \ + ln $$file $(distdir) 2> /dev/null \ + || cp -p $$file $(distdir); \ + done + +update-po: Makefile + $(MAKE) $(GETTEXT_PACKAGE).pot + tmpdir=`pwd`; \ + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + echo "$$lang:"; \ + result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ + if $$result; then \ + if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.gmo failed!"; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi; \ + done + +Makefile POTFILES: stamp-it + @if test ! -f $@; then \ + rm -f stamp-it; \ + $(MAKE) stamp-it; \ + fi + +stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ + $(SHELL) ./config.status + +# Tell versions [3.59,3.63) of GNU make not to export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/po/nl.po pragha-1.3.992/po/nl.po --- pragha-1.3.3/po/nl.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/nl.po 2019-08-13 23:06:58.000000000 +0000 @@ -4,45 +4,60 @@ # # Translators: # Heimen Stoffels , 2012 +# Heimen Stoffels , 2018 # Johan Bakker , 2014 # tuxmachine , 2011 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 17:03+0000\n" -"Last-Translator: matias \n" -"Language-Team: Dutch (http://www.transifex.com/p/Pragha/language/nl/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Dutch (http://www.transifex.com/matias/Pragha/language/nl/)\n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Lokale muziek" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "_Nee" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "_Ja" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" -msgstr "Wilt u %s importeren naar de bibliotheek?" +msgstr "Wil je %s importeren naar de bibliotheek?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" -msgstr "Wilt u uw muziek bibliotheek actualiseren?" +msgstr "Wil je je muziekbibliotheek bijwerken?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." -msgstr "" +msgstr "Pragha moet worden herstart om sommige wijzigingen toe te passen." + +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Er draaien achtergrondtaken" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Negeren" #: ../src/pragha-cmdline.c:192 msgid "FILENAME" @@ -70,19 +85,19 @@ #: ../src/pragha-equalizer-dialog.c:54 msgid "Full Bass" -msgstr "Maximale Bas" +msgstr "Maximale bas" #: ../src/pragha-equalizer-dialog.c:55 msgid "Full Bass and Treble" -msgstr "Maximale Bas en Hoge tonen" +msgstr "Maximale bas en hoge tonen" #: ../src/pragha-equalizer-dialog.c:56 msgid "Full Treble" -msgstr "Maximale Hoge tonen" +msgstr "Maximale hoge tonen" #: ../src/pragha-equalizer-dialog.c:57 msgid "Laptop Speakers and Headphones" -msgstr "Laptop Luidsprekers en Koptelefoon" +msgstr "Laptop-luidsprekers en koptelefoon" #: ../src/pragha-equalizer-dialog.c:58 msgid "Large Hall" @@ -94,7 +109,7 @@ #: ../src/pragha-equalizer-dialog.c:60 msgid "Party" -msgstr "Party" +msgstr "Feest" #: ../src/pragha-equalizer-dialog.c:61 msgid "Pop" @@ -132,377 +147,340 @@ msgid "Custom" msgstr "Aangepast" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Equalizer" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Favorieten" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Onbekende artiest" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Onbekend album" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" -msgstr "Zoek in de Afspeellijst" +msgstr "Afspeellijst doorzoeken" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "_Sluiten" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Toevoegen aan wachtrij" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" -msgstr "_Spring naar" +msgstr "_Spoelen naar" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" -msgstr "_Overslaan" +msgstr "Over_slaan" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" -msgstr "Alles O_verslaan" +msgstr "Alles o_verslaan" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "_Alles verwijderen" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "_Maximaliseer de bibliotheek" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Onbekend" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "_Minimaliseer de bibliotheek" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Onbekend genre" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "" +"De bestanden kunnen niet worden verplaatst naar de prullenbak. Permanent " +"verwijderen?" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "" +"Het bestand \"%s\" kan niet worden verplaatst naar de prullenbak. Details: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Annuleren" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Verwijderen" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" -msgstr "Mappenstructuur" +msgstr "Mapstructuur" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Artiest" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Album" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Genre" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Artiest / Album" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Genre / Album" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Genre / Artiest" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Genre / Album" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Genre / Artiest / Album" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Voeg toe aan huidige afspeellijst" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "_Vervang huidige afspeellijst" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Vervang en _speel af" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Hernoem" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Verwijder" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Exporteer" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Tags bewerken" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Verplaats naar prullenbak" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Verwijder uit de bibliotheek" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Onbekend" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Onbekend genre" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "" -"Het bestand \"%s\" kon niet naar de prullenbak verplaatst worden. Details: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "_Annuleren" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "_Verwijderen" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Afspeellijsten" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Radio's" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Bibliotheek" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" -msgstr "Weet u zeker dat u het bestand naar de prullenbak wilt verplaatsen?" +msgstr "Weet je zeker dat je het bestand wilt verplaatsen naar de prullenbak?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" -msgstr "Permanent verwijderen in plaats van naar de prullenbak verplaatsen." +msgstr "Permanent verwijderen i.p.v. verplaatsen naar prullenbak" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" "Warning: To recover we must rescan the entire library." msgstr "" -"Bent U zeker dat U het huidige nummer wilt verwijderen uit de bibliotheek?\n" +"Weet je zeker dat je het huidige nummer wilt verwijderen uit de " +"bibliotheek?\n" "\n" -"Opgelet: om dit ongedaan te maken, moet de volledige bibliotheek opnieuw " -"gescand worden." +"Let op: om dit ongedaan te maken, moet de volledige bibliotheek opnieuw " +"worden gescand." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Afspelen" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "Afspeel_lijst" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Beeld" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Hulpmiddelen" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Hulp" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "Vorig nummer" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" -msgstr "Afspelen / Pauze" +msgstr "Afspelen / Pauzeren" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" -msgstr "Stop" +msgstr "Stoppen" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Volgend nummer" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" -msgstr "Bewerk nummerinformatie" +msgstr "Nummerinformatie bewerken" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Afsluiten" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Bestanden toevoegen" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Open een mediabestand" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" -msgstr "Voeg _locatie toe" +msgstr "_Locatie toevoegen" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" -msgstr "_Voeg de bibliotheek toe" +msgstr "De bibliotheek _toevoegen" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" -msgstr "Verwijder selectie van afspeellijst" +msgstr "Selectie verwijderen uit afspeellijst" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" -msgstr "Snijd afspeellijst bij" +msgstr "Afspeellijst verkleinen" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Afspeellijst leegmaken" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" -msgstr "Afspeellijst bewaren" +msgstr "Afspeellijst opslaan" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Nieuwe afspeellijst" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Exporteren" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" -msgstr "Selectie bewaren" +msgstr "Selectie opslaan" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" -msgstr "_Zoek in afspeellijst" +msgstr "Afspeellijst _doorzoeken" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Voorkeuren" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Ga naar huidig nummer" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "E_qualizer" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" -msgstr "_Herscan bibliotheek" +msgstr "Bibliotheek opnieuw _scannen" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" -msgstr "_Werk bibliotheek bij" +msgstr "Bibliotheek _bijwerken" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Statistieken" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" -msgstr "Homepage" +msgstr "Website" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Gemeenschap" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Pragha vertalen" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Over Pragha" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" -msgstr "_Willekeurige volgorde" +msgstr "_Willekeurig" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Herhalen" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Volledig scherm" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "Zij_paneel" -#: ../src/pragha-menubar.c:268 -msgid "Secondary lateral panel" -msgstr "Secundaire zij paneel" - #: ../src/pragha-menubar.c:271 -msgid "Playback controls below" -msgstr "Afspeelknoppen beneden" +msgid "Secondary lateral panel" +msgstr "Secundair zijpaneel" #: ../src/pragha-menubar.c:274 -msgid "Menubar" -msgstr "" +msgid "Playback controls below" +msgstr "Afspeelknoppen onderaan" #: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Statusbalk" +msgid "Menubar" +msgstr "Menubalk" #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" @@ -521,421 +499,440 @@ msgstr "Statistieken" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Titel" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Bitsnelheid" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Jaar" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" -msgstr "Commentaar" +msgstr "Opmerking" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" -msgstr "Lengte" +msgstr "Duur" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Bestandsnaam" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" -msgstr "" +msgstr "Mimetype" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" -msgstr "Verwijder uit afspeel wachtrij" +msgstr "Verwijderen uit afspeelwachtrij" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" -msgstr "Verwijder uit afspeellijst" +msgstr "Verwijderen uit afspeellijst" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" -msgstr "_Stuur naar" +msgstr "Ver_sturen naar" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" -msgstr "Kopieer \"%i\" naar geselecteerde nummers" +msgstr "\"%i\" kopiëren naar geselecteerde nummers" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" -msgstr "Kopieer \"%s\" naar geselecteerde titels" +msgstr "\"%s\" kopiëren naar geselecteerde titels" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" -msgstr "Kopieer \"%s\" naar geselecteerde artiesten" +msgstr "\"%s\" kopiëren naar geselecteerde artiesten" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" -msgstr "Kopieer \"%s\" naar geselecteerde albums" +msgstr "\"%s\" kopiëren naar geselecteerde albums" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" -msgstr "Kopieer \"%s\" naar geselecteerde genres" +msgstr "\"%s\" kopiëren naar geselecteerde genres" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" -msgstr "Kopieer \"%i\" naar geselecteerde jaren" +msgstr "\"%i\" kopiëren naar geselecteerde jaren" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" -msgstr "Kopieer \"%s\" naar geselecteerde commentaren" +msgstr "\"%s\" kopiëren naar geselecteerde opmerkingen" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "" msgstr[1] "Nummer" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" -msgstr "Verwijder volgorde" +msgstr "Sortering verwijderen" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "Afspeellijst" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" -msgstr "_Ok" +msgstr "_Oké" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist is een gereserveerde naam" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" -msgstr "Wilt u de afspeellijst %s overschrijven?" +msgstr "Wil je de afspeellijst '%s' overschrijven?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Kies een nieuwe naam" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Naam wijzigen" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" -msgstr "Wilt u het item %s verwijderen?" +msgstr "Wil je het item '%s' verwijderen?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" -msgstr "Afspeellijst naar bestand exporteren" +msgstr "Afspeellijst exporteren naar bestand" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" -msgstr "_Opslaan" +msgstr "Op_slaan" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." -msgstr "Voegde %d nummers van %d toe uit de geïmporteerde afspeellijst" +msgstr "%d nummers van %d toegevoegd uit de geïmporteerde afspeellijst" -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" -msgstr "Wat wilt u doen?" +msgstr "Wat wil je doen?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" -msgstr "De afspeellijst vervangen? \"%s\"" +msgstr "Afspeellijst \"%s\" vervangen" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" -msgstr "Toevoegen aan de afspeellijst \"%s\"" +msgstr "Toevoegen aan afspeellijst \"%s\"" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" "Wildcards are not accepted as of now ( patches welcome :-) )." msgstr "" "Patronen dienen deze vorm aan te nemen:;;....\n" -"Maximum zes patronen zijn toegelaten.\n" -"Wildcards zijn voorlopig niet toegelaten ( patches welkom :-) )." +"Maximaal zes patronen zijn toegelaten.\n" +"Wildcards zijn voorlopig niet toegelaten ( patches zijn welkom :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Patroon voor albumhoes" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" -msgstr "Start normaal op" +msgstr "Normaal opstarten" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" -msgstr "Start in volledig scherm op" +msgstr "In volledige scherm-modus opstarten" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" -msgstr "Start geminimaliseerd op" +msgstr "Geminimaliseerd opstarten" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" -msgstr "Selecteer een map om aan de bibliotheek toe te voegen" +msgstr "Kies een aan de bibliotheek toe te voegen map" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "_Openen" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Geluid" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" -msgstr "Geluids systeem" +msgstr "Geluidssysteem" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" -msgstr "Herstart noodzakelijk" +msgstr "Herstart vereist" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" -msgstr "Audio apparaat" +msgstr "Audio-apparaat" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" -msgstr "Gebruik software mixer" +msgstr "Softwaremixer gebruiken" + +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Bibliotheek" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." -msgstr "" +msgstr "Kan niet schakelen tussen mappen terwijl ze worden geanalyseerd." -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Mappen" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "_Toevoegen" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" -msgstr "_Verwijder" - -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Mappen samenvoegen in de 'estructure' weergave" +msgstr "_Verwijderen" -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" -msgstr "Sorteer albums op uitgavejaar" +msgstr "Albums sorteren op verschijningsjaar" + +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Uiterlijk" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Titelbalk en -randen van systeem gebruiken" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" +msgstr "Kleine pictogrammen gebruiken op werkbalken" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Markeer rijen in huidige afspeellijst" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Bedieningselementen" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" -msgstr "Toon albumhoes in het zijpaneel" +msgstr "Albumhoes tonen in zijpaneel" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Grootte van albumhoes" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" -msgstr "Albumhoes patroon bestand" +msgstr "Albumhoes-patroonbestand" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" -msgstr "Zoek" +msgstr "Zoeken" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" -msgstr "Zoek tijdens het typen" +msgstr "Zoeken tijdens het typen" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" -msgstr "Zoek soortgelijke woorden" +msgstr "Soortgelijke woorden zoeken" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" -msgstr "Bij het starten van pragha" +msgstr "Bij het opstarten van Pragha:" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" -msgstr "Onthoud de laatst gebruikte scherminstelling" +msgstr "Vorige sessie herstellen" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" -msgstr "Zet de laatste afspeellijst terug" +msgstr "Vorige afspeellijst herstellen" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" -msgstr "Bij het toevoegen van mappen" +msgstr "Bij het toevoegen van mappen:" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" -msgstr "Voeg bestanden recursief toe" +msgstr "Bestanden recursief toevoegen" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Bureaublad" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" -msgstr "Toon pragha icoon in systeemvak" +msgstr "Pragha-pictogram tonen in systeemvak" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" -msgstr "Minimaliseer Pragha bij het sluiten van venster" +msgstr "Pragha minimaliseren bij sluiten van venster" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" -msgstr "Plugins" +msgstr "Plug-ins" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "Voorkeuren" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Algemeen" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Diensten" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" -msgstr "Pragha voorkeuren" +msgstr "Pragha-voorkeuren" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "%i bestanden geanalyseerd van de %i gedetecteerd" +msgid "%i files analyzed of %i detected" +msgstr " %i bestanden geanalyseerd van %i aangetroffen" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" -msgstr "Zoeken naar bestanden om te analyseren" +msgstr "Bezig met zoeken naar te analyseren bestanden" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" -msgstr "Afzoeken van bibliotheek gereed" +msgstr "Bibliotheek-doorzoeking voltooid" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" -msgstr "Speelt niet" +msgstr "Wordt niet afgespeeld" + +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Labels bewerken" -#: ../src/pragha-tags-dialog.c:119 +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Nummer" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Bestand" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Details" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" -msgstr[0] "" -msgstr[1] "" +msgstr[0] "kanaal" +msgstr[1] "kanalen" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Kanalen" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Samplefrequentie" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Map" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Selectie naar" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" -msgstr "Open map" +msgstr "Map openen" #: ../src/pragha-tags-mgmt.c:197 #, c-format msgid "" "Do you want to set the track number of ALL of the selected tracks to: %d ?" -msgstr "Wilt u het liednummer van ALLE geselecteerde nummers zetten op: %d ?" +msgstr "" +"Wil je het liednummer van ALLE geselecteerde nummers instellen op: %d ?" #: ../src/pragha-tags-mgmt.c:215 #, c-format msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" -msgstr "Wilt u de titeltag van ALLE geselecteerde nummers zetten op: %s ?" +msgstr "" +"Wil je het titellabel van ALLE geselecteerde nummers instellen op: %s ?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s door %s in %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s door %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s in %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Vorig nummer" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" -msgstr "Speel / Pauzeer nummer" +msgstr "Nummer afspelen / pauzeren" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" -msgstr "Stop met afspelen" +msgstr "Stoppen met afspelen" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Volgend nummer" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" -msgstr "Verlaat volledig scherm" +msgstr "Volledig scherm verlaten" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" -msgstr "Speel nummers in willekeurige volgorde" +msgstr "Nummers afspelen in willekeurige volgorde" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" -msgstr "Herhaal de afspeellijst aan het einde" +msgstr "Afspeellijst na einde herhalen" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" -msgstr[0] "" -msgstr[1] "dag" +msgstr[0] "dag" +msgstr[1] "dagen" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Kan de browser niet openen" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" "(%s)\n" "Reason: %s" msgstr "" -"Fout bij afspelen huidig nummer\n" +"Fout bij afspelen van huidig nummer.\n" "(%s)\n" "Reden: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" -msgstr "_Stop" +msgstr "_Stoppen" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "_Volgende" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" -msgstr "Selecteer een bestand om af te spelen" +msgstr "Kies een af te spelen bestand" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Ondersteunde formaten" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Alle bestanden" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" -msgstr "Vul de URL in van internetradio-stream" +msgstr "Voer de URL in van de internetradio-stream" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" -msgstr "Geef het een naam om op te slaan" +msgstr "Voer een naam in om op te slaan" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" -msgstr "Voeg een locatie toe" - -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "vertaling-met dank aan" +msgstr "Locatie toevoegen" #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" -msgstr "Pragha Muziekspeler" +msgstr "Pragha-muziekspeler" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "Bibliotheek _uitvouwen" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "Bibliotheek _inklappen" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "Toevoegen _aan huidige afspeellijst" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "Huidige afspeellijst ve_rvangen" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Vervangen en afs_pelen" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Verwijderen" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "Bibliotheek ve_rwijderen" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Verplaa_tsen naar prullenbak" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Verwijderen uit bibliotheek" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "Muziekspeler" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Beheer en luister naar muziek" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" -msgstr "" +msgstr "Labels zoeken op AcoustID" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Er is een fout opgetreden tijdens het zoeken naar labels op AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" +msgstr "AcoustID heeft geen vergelijkbaar nummer gevonden" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Bezig met zoeken naar labels op AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Ampache-bibliotheek verversen" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Server" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Gebruikersnaam" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Wachtwoord" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Audio-CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" -msgstr "Audio/Data CD" +msgstr "Audio-/gegevens-CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" -msgstr "" +msgstr "Er is een audio-CD ingevoerd" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" -msgstr "Voeg Audio-_CD toe" +msgstr "Audio-_CD toevoegen" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "Audio CD" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" -msgstr "Audio CD apparaat" +msgstr "Audio-CD-apparaat" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" -msgstr "Verbind met CDDB server" +msgstr "Verbinden met CDDB-server" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" -msgstr "" +msgstr "Muziek zoeken op DLNA-server" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." -msgstr "" +msgstr "Muziek toegevoegd van de server %s." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." -msgstr "" +msgstr "Geen DLNA-server aangetroffen." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_LastFM" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Houd van nummer" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Houdt niet meer van nummer" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "Importeer een XSPF-afspeellijst" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" -msgstr "Voeg favorieten toe" +msgstr "Favorieten toevoegen" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" -msgstr "Voeg vergelijkbare toe" +msgstr "Vergelijkbare toevoegen" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" -msgstr "Kan geen verbinding tot stand bregen met Last.fm" +msgstr "Kan geen verbinding maken met Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" -msgstr "Last.FM suggereerde een tag-correctie" +msgstr "Last.FM heeft een labelcorrectie voorgesteld" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." -msgstr "Favoriet nummer toevoegen op Last.FM mislukt." +msgstr "Toevoegen van favoriet nummer op Last.FM mislukt." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." -msgstr "Favoriet nummer verwijderen op Last.FM mislukt." +msgstr "Verwijderen van favoriet nummer op Last.FM mislukt." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "%d van %d toegevoegde suggesties van Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" -msgstr "" +msgstr "Last.FM heeft geen vergelijkbaar nummer voorgesteld" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." -msgstr "%d nummers van de laatst %d geliefde toegevoegd op Last.fm." +msgstr "%d nummers van de %d laatste favorieten toegevoegd op Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" -msgstr "" +msgstr "Je hebt geen favoriete nummers op Last.FM" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" -msgstr "Toevoeging aan Last.fm mislukt" +msgstr "Toevoegen aan Last.fm mislukt" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" -msgstr "Nummer scrobbled op Last.fm" +msgstr "Nummer gescrobbled op Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "Bijwerken van huidig nummer op Last.FM mislukt." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" +msgstr "Scrobbelen op Last.FM" + +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Gebruikersnaam" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Wachtwoord" +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Nummers" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1200,83 +1344,173 @@ #: ../plugins/notify/pragha-notify-plugin.c:267 msgid "Notifications" -msgstr "Notificaties" +msgstr "Meldingen" #: ../plugins/notify/pragha-notify-plugin.c:269 msgid "Show Album art in notifications" -msgstr "Toon albumhoes in notificaties" +msgstr "Albumhoes tonen op meldingen" #: ../plugins/notify/pragha-notify-plugin.c:274 msgid "Add actions to change track in notifications" -msgstr "Toon actieknoppen in notificaties" +msgstr "Actieknoppen tonen op meldingen" + +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Koel-bibliotheek verversen" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Favorieten op Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" +msgid "Unable to accesss to “%s” device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" +msgstr "Verwijderbaar apparaat" + +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Artist info" +msgstr "Artiestinformatie" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "Zoeken naar _songtekst" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" -msgstr "" +msgstr "Zoeken naar _artiestinformatie" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" -msgstr "" +msgstr "Nummerinformatie" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." -msgstr "" +msgstr "Albumhoezen downloaden tijdens afspelen van nummers." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" -msgstr "" +msgid "Lyrics thanks to %s" +msgstr "Songtekst met dank aan %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" -msgstr "" +msgstr "%smet dank aan%s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." -msgstr "" +msgstr "Geen songtekst gevonden." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." -msgstr "" +msgstr "Geen artiestinformatie gevonden." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Geen aanbevolen nummers." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." -msgstr "" +msgstr "Bezig met zoeken..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" +msgstr "Radiostation zoeken op TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" msgstr "" +"Er is een fout opgetreden tijdens het zoeken naar radiostations op TuneIn" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Bezig met zoeken naar radiostation op TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" +msgstr "TuneIn doorzoeken" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" msgstr "" diff -Nru pragha-1.3.3/po/no.po pragha-1.3.992/po/no.po --- pragha-1.3.3/po/no.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/no.po 2019-08-13 23:06:58.000000000 +0000 @@ -7,40 +7,55 @@ msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 17:03+0000\n" -"Last-Translator: matias \n" -"Language-Team: Norwegian (http://www.transifex.com/p/Pragha/language/no/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Norwegian (http://www.transifex.com/matias/Pragha/language/" +"no/)\n" "Language: no\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "" +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "" @@ -129,371 +144,331 @@ msgid "Custom" msgstr "" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Ukjent Artist" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Ukjent Album" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Ukjente" + +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Ukjent Genre" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" msgstr "" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" msgstr "" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Artist" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Album" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Genre" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Artist / Album" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Genre / Album" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Genre / Artist" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Genre / Album" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Genre / Artist / Album" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Slett" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Eksporter" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Rediger tagger" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Ukjente" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Ukjent Genre" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Spillelister" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Samling" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" "Warning: To recover we must rescan the entire library." msgstr "" -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Verktøy" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Hjelp" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Stopp" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Avslutt" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Åpne en mediafil" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Lagre Spilleliste" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Eksporter" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Innstillinger" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Statistikker" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Hjemmeside" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Fellesskap" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Om" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Tilfeldig" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Gjenta" -#: ../src/pragha-menubar.c:262 -msgid "_Fullscreen" -msgstr "" - #: ../src/pragha-menubar.c:265 -msgid "Lateral _panel" +msgid "_Fullscreen" msgstr "" #: ../src/pragha-menubar.c:268 -msgid "Secondary lateral panel" +msgid "Lateral _panel" msgstr "" #: ../src/pragha-menubar.c:271 -msgid "Playback controls below" +msgid "Secondary lateral panel" msgstr "" #: ../src/pragha-menubar.c:274 -msgid "Menubar" +msgid "Playback controls below" msgstr "" #: ../src/pragha-menubar.c:277 -msgid "Status bar" +msgid "Menubar" msgstr "" #: ../src/pragha-menubar.c:638 @@ -513,163 +488,164 @@ msgstr "Statistikker" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Tittel" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Bithastighet" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "År" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Lengde" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Filnavn" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "" msgstr[1] "Spor" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlister et navn som allerede er brukt" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Eksporter spilleliste til fil" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "" -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -679,240 +655,256 @@ "Maksimalt seks mønstre er tillatt.\n" "Wildcards godtas ikke fra nå av (patcher velkommen :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Albumcover mønster" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Velg en mappe for å legge til samling" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Audio" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Audio synk" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Krever Omstart" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Lydenhet" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Bruk mykvare mikser" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Samling" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "" -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Mappe" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 +msgid "Sort albums by release year" msgstr "" -#: ../src/pragha-preferences-dialog.c:1021 -msgid "Sort albums by release year" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" msgstr "" #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" msgstr "" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" msgstr "" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Vis Albumcover i Panel" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Størrelse på Albumcover" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Albumcover filmønster" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Generell" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" +msgid "%i files analyzed of %i detected" msgstr "" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Skanning av samling ferdig" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Spiller ikke" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Rediger tagger" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Tittel" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Fil" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "" msgstr[1] "" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Kanaler" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Samplingsfrekvens" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "" @@ -927,7 +919,7 @@ msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s av %s i %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s av %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s i %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Forrige Spor" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Spill / Pause Spor" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Stopp Spilling" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Neste Spor" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "" msgstr[1] "dag" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -993,194 +993,333 @@ "Reason: %s" msgstr "" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Velg fil for avspilling" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Støttet media" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Alle filer" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "" - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Slett" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 -msgid "Audio/Data CD" +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 -msgid "An audio CD was inserted" +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 -msgid "Add Audio _CD" +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Brukernavn" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Passord" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 msgid "Audio CD" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 +msgid "Add Audio _CD" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Audio CD Enhet" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Koble til CDDB server" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 -msgid "_Lastfm" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "" - #: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 +msgid "_Lastfm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Brukernavn" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Passord" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1199,73 +1338,162 @@ msgid "Add actions to change track in notifications" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" +msgid "Unable to accesss to “%s” device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Do you want to manage the “%s” device with Pragha?" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" +msgid "Lyrics thanks to %s" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/pl.po pragha-1.3.992/po/pl.po --- pragha-1.3.3/po/pl.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/pl.po 2019-08-13 23:06:58.000000000 +0000 @@ -3,321 +3,297 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: +# Eryk Andrzejewski , 2017 +# Maciej Karpiński , 2019 +# Marcin Szymczak , 2015 +# nunoho emailsy , 2018 +# Szymon Scholz , 2019 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 17:03+0000\n" -"Last-Translator: matias \n" -"Language-Team: Polish (http://www.transifex.com/p/Pragha/language/pl/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Polish (http://www.transifex.com/matias/Pragha/language/pl/)\n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " -"|| n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n" +"%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n" +"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Lokalna Muzyka" #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" -msgstr "" +msgstr "_Nie" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" -msgstr "" +msgstr "_Tak" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" -msgstr "" +msgstr "Czy chcesz zaimportować %s do biblioteki?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" -msgstr "" +msgstr "Zaktualizować bibliotekę?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." -msgstr "" +msgstr "Niektóre zmiany wymagają zrestartowania Pragha." + +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "W tle nadal prowadzone są działania" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Ignoruj" #: ../src/pragha-cmdline.c:192 msgid "FILENAME" -msgstr "" +msgstr "NAZWA PLIKU" #: ../src/pragha-cmdline.c:251 msgid "Use --help to see a full list of available command line options." -msgstr "" +msgstr "Użyj --help aby poznać wszystkie dostępne polecenia i opcje." #: ../src/pragha-equalizer-dialog.c:50 msgid "Disabled" -msgstr "" +msgstr "Nieaktywne" #: ../src/pragha-equalizer-dialog.c:51 msgid "Classical" -msgstr "" +msgstr "Klasyczna" #: ../src/pragha-equalizer-dialog.c:52 msgid "Club" -msgstr "" +msgstr "Klubowa" #: ../src/pragha-equalizer-dialog.c:53 msgid "Dance" -msgstr "" +msgstr "Dance" #: ../src/pragha-equalizer-dialog.c:54 msgid "Full Bass" -msgstr "" +msgstr "Pełen bas" #: ../src/pragha-equalizer-dialog.c:55 msgid "Full Bass and Treble" -msgstr "" +msgstr "Pełen bas i wysokie tony" #: ../src/pragha-equalizer-dialog.c:56 msgid "Full Treble" -msgstr "" +msgstr "Tylko wysokie tony" #: ../src/pragha-equalizer-dialog.c:57 msgid "Laptop Speakers and Headphones" -msgstr "" +msgstr "Głośniki w laptopie i słuchawki" #: ../src/pragha-equalizer-dialog.c:58 msgid "Large Hall" -msgstr "" +msgstr "Wielki hol" #: ../src/pragha-equalizer-dialog.c:59 msgid "Live" -msgstr "" +msgstr "Na żywo" #: ../src/pragha-equalizer-dialog.c:60 msgid "Party" -msgstr "" +msgstr "Impreza" #: ../src/pragha-equalizer-dialog.c:61 msgid "Pop" -msgstr "" +msgstr "Pop" #: ../src/pragha-equalizer-dialog.c:62 msgid "Reggae" -msgstr "" +msgstr "Reggae" #: ../src/pragha-equalizer-dialog.c:63 msgid "Rock" -msgstr "" +msgstr "Rock" #: ../src/pragha-equalizer-dialog.c:64 msgid "Ska" -msgstr "" +msgstr "Ska" #: ../src/pragha-equalizer-dialog.c:65 msgid "Smiley Face Curve" -msgstr "" +msgstr "Smiley Face Curve" #: ../src/pragha-equalizer-dialog.c:66 msgid "Soft" -msgstr "" +msgstr "Soft" #: ../src/pragha-equalizer-dialog.c:67 msgid "Soft Rock" -msgstr "" +msgstr "Soft Rock" #: ../src/pragha-equalizer-dialog.c:68 msgid "Techno" -msgstr "" +msgstr "Techno" #: ../src/pragha-equalizer-dialog.c:69 msgid "Custom" -msgstr "" +msgstr "Niestandardowe" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" -msgstr "" +msgstr "Korektor" + +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Ulubione" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Nieznany wykonawca" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Nieznany album" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" -msgstr "" +msgstr "Szukaj w playliscie" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" -msgstr "" +msgstr "_Zamknij" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Dodaj do kolejki odtwarzania" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" -msgstr "" +msgstr "_Skocz do" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" -msgstr "" +msgstr "_Pomiń" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" -msgstr "" +msgstr "Pomiń wszyst_ko" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" -msgstr "" +msgstr "Usuń wszystko" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "_Rozwiń bibliotekę" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Nieznane" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "_Zwiń bibliotekę" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Nieznany gatunek" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "Plik nie może zostać przeniesiony do kosza. Usunąć trwale?" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Plik \"%s\" nie może zostać przeniesiony do kosza. %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Anuluj" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Usuń" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" -msgstr "" +msgstr "Struktura folderów" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Wykonawca" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Album" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Gatunek" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Wykonawca / Album" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Gatunek / Album" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Gatunek / Wykonawca" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Gatunek / Album" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Gatunek / Wykonawca/ Album" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Usuń" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Eksportuj" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Edytuj tagi" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Usuń z biblioteki" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Nieznane" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Nieznany gatunek" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Listy odtwarzania" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" -msgstr "" - -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Biblioteka" +msgstr "Radia" -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" -msgstr "" +msgstr "Czy napewno chcesz przenieść pliki do kosza?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" -msgstr "" +msgstr "Usuń trwale zamiast przenosić do kosza" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -328,178 +304,182 @@ "Ostrzeżenie: Aby przywrócić wymagane jest ponowne skanowanie całej " "biblioteki." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" -msgstr "" +msgstr "_Odtwarzanie" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" -msgstr "" +msgstr "Playlista" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Widok" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Narzędzia" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" -msgstr "P_omoc" +msgstr "_Pomoc" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" -msgstr "" +msgstr "Poprzedni utwór" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Odtwarzaj / Pauza" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Stop" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Następny utwór" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" -msgstr "" +msgstr "Edytuj informacje o utworze" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Wyjście" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Dodaj pliki" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Otwórz" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" -msgstr "" +msgstr "Dodaj _lokalizację" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" -msgstr "" +msgstr "_Dodaj do biblioteki" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" -msgstr "" +msgstr "Usuń zaznaczenie z playlisty" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" -msgstr "" +msgstr "Skróć playlistę" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Wyczyść listę odtwarzania" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Zapisz listę odtwarzania" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" -msgstr "" +msgstr "Nowa playlista" + +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Eksportuj" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Zapisz zaznaczone" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "_Szukaj na liście odtwarzania" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "Preferencje" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Przejdź do odtwarzanego utworu" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" -msgstr "" +msgstr "Korektor" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "_Przeskanuj bibliotekę" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "_Aktualizuj bibliotekę" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Statystyki" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Strona projektu" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Społeczność" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" -msgstr "" +msgstr "Przetłumacz Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "O..." -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Losowe odtwarzanie" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Powtarzaj" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "Pełny _ekran" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "Panel boczny" -#: ../src/pragha-menubar.c:268 -msgid "Secondary lateral panel" -msgstr "" - #: ../src/pragha-menubar.c:271 -msgid "Playback controls below" -msgstr "" +msgid "Secondary lateral panel" +msgstr "Drugi panel boczny" #: ../src/pragha-menubar.c:274 -msgid "Menubar" -msgstr "" +msgid "Playback controls below" +msgstr "Sterowanie odtwarzaniem poniżej" #: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Pasek stanu" +msgid "Menubar" +msgstr "Pasek menu" #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" @@ -518,164 +498,166 @@ msgstr "Statystyki" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Tytuł" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Bitrate" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Rok" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" -msgstr "" +msgstr "Komentarz" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Długość" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Nazwa pliku" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" -msgstr "" +msgstr "Typ MIME" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" -msgstr "" +msgstr "Usuń z kolejki odtwarzania" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" -msgstr "" +msgstr "Usuń z playlisty" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" -msgstr "" +msgstr "Wyślij do" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" -msgstr "" +msgstr "Kopiuj %i do wybranych numerów ścieżek" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" -msgstr "" +msgstr "Kopiuj %s do wybranych tytułów" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" -msgstr "" +msgstr "Kopiuj %s do wybranych artystów" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" -msgstr "" +msgstr "Kopiuj %sdo wybranych albumów" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" -msgstr "" +msgstr "Kopiuj %s do wybranych gatunków" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" -msgstr "" +msgstr "Kopiuj %i do wybranych lat" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" -msgstr "" +msgstr "Kopiuj %s do wybranych komentarzy" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "" msgstr[1] "" msgstr[2] "Ścieżka" +msgstr[3] "Ścieżka" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Wyczyść sortowanie" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" -msgstr "" +msgstr "Playlista" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" -msgstr "" +msgstr "_Ok" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist jest zarezerwowaną nazwą listy odtwarzania" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" -msgstr "" +msgstr "Czy nadpisać playlistę %s?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" -msgstr "" +msgstr "Wybierz nową nazwę" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Zmień nazwę" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" -msgstr "" +msgstr "Czy chcesz usunąć %s ?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Eksportuj listę odtwarzania do ppliku" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" -msgstr "" +msgstr "Zapi_sz" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." -msgstr "" +msgstr "Dodano %d piosenek z %d importowanych playlist" -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" -msgstr "" +msgstr "Co chcesz zrobić?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" -msgstr "" +msgstr "Zastąp playlistę %s" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" -msgstr "" +msgstr "Dodaj do playlisty \"%s\"" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -685,256 +667,274 @@ "Dostępnych jest maksymalnie sześć wzorców.\n" "Używanie wyrażeń nie jest akceptowalne ( mile widziany patch :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Okładka albumu" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Uruchom normalnie" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Włącz _tryb pełnoekranowy" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Uruchom w trayu" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Wybierz folder do dodania do biblioteki" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" -msgstr "" +msgstr "_Otwórz" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Audio" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Sterownik dźwięku" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Wymagane ponowne uruchomienie" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Urządzenie" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Użyj programowego miksera" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Biblioteka" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." -msgstr "" +msgstr "Nie można zmieniać folderu, kiedy jest analizowany." -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" -msgstr "" +msgstr "Foldery" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" -msgstr "" +msgstr "Dod_aj" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" -msgstr "" +msgstr "Usuń" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 +msgid "Sort albums by release year" +msgstr "Posortuj albumy według roku wydania" + +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" msgstr "" -#: ../src/pragha-preferences-dialog.c:1021 -msgid "Sort albums by release year" +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" msgstr "" #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" -msgstr "" +msgstr "Wygląd" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Użyj systemowego paska tytułowego i krawędzi" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "" +msgstr "Użyj małych ikon" -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" -msgstr "" +msgstr "Kontrola" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Pokaż okładkę albumu w panelu" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Rozmiar okładki" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Wzorzec pliku z okładką" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" -msgstr "" +msgstr "Wyszukaj" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" -msgstr "" +msgstr "Szukaj podczas pisania" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" -msgstr "" +msgstr "Szukaj podobnych wyrazów" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" -msgstr "" +msgstr "Podczas uruchamiania pragha" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Zapamiętaj ostatnie położenie okna" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Przywróć ostatnią listę odtwarzania" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" -msgstr "" +msgstr "Podczas dodawania folderów" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" -msgstr "" +msgstr "Dodaj pliki rekursywnie" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" -msgstr "" +msgstr "Pulpit" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" -msgstr "" +msgstr "Pokaż ikonę Pragha w panelu notyfikacji" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" -msgstr "" +msgstr "Zminimalizuj Pragha podczas zamykania okna" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" -msgstr "" +msgstr "Wtyczki" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" -msgstr "" +msgstr "Ustawienia" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Ogólne" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" -msgstr "" +msgstr "Usługi" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" -msgstr "" +msgstr "Ustawienia Pragha" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "" +msgid "%i files analyzed of %i detected" +msgstr "Przeanalizowano %iplików z %i wykrytych" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" -msgstr "" +msgstr "Szukam plików do przeanalizowania" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Zakończono skanowanie biblioteki" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "[Nie odtwarza]" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Edytuj tagi" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Numer ścieżki" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Plik" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" -msgstr "" +msgstr "Szczegóły" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "kanał" +msgstr[1] "kanały" +msgstr[2] "kanały" +msgstr[3] "kanały" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Kanały" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Częstotliwość próbkowania" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" -msgstr "" +msgstr "Folder" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" -msgstr "" +msgstr "Zaznaczenie do" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" -msgstr "" +msgstr "Otwórz folder" #: ../src/pragha-tags-mgmt.c:197 #, c-format msgid "" "Do you want to set the track number of ALL of the selected tracks to: %d ?" msgstr "" +"Czy chcesz ustawić numer utworu WSZYSTKICH zaznaczonych utworów na %d ?" #: ../src/pragha-tags-mgmt.c:215 #, c-format msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" -msgstr "" +msgstr "Czy chcesz ustawić tag tytułu dla WSZYSTKICH zaznaczonych ścieżek: %s?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s by %s in %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s by %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s in %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Poprzedni utwór" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Odtwarzaj / Zatrzymaj utwór" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Zatrzymaj odtwarzanie" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Następny utwór" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Opuść tryb _pełnoekranowy" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Odtwarzaj piosenki w losowej kolejności" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Powtarzaj listę odtwarzania" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "" msgstr[1] "" msgstr[2] "dzień" +msgstr[3] "dzień" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Nie można otworzyć przeglądarki" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" "(%s)\n" "Reason: %s" msgstr "" +"Błąd odtwarzania aktualnej śceżki.\n" +"%s\n" +"Powód:%s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" -msgstr "" +msgstr "_Stop" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" -msgstr "" +msgstr "_Następny" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Wybierz plik do odtworzenia" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Obsługiwane formaty" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Wszystkie pliki" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" -msgstr "" +msgstr "Wprowadź adres URL radia internetowego" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" -msgstr "" +msgstr "Nadaj nazwę" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" +msgstr "Dodaj lokalizację" + +#. Setup application name and pulseaudio role +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 +msgid "Pragha Music Player" +msgstr "Odtwarzacz muzyki Pragha" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" msgstr "" -#: ../src/pragha.c:534 -msgid "translator-credits" +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" msgstr "" -"Sid\n" -"http://sid.iglu.cz/\n" -"translations@sidowo.uni.cc" -#. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 -msgid "Pragha Music Player" +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" msgstr "" -#: ../data/pragha.desktop.in.h:1 -msgid "Music Player" +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "_Rozwiń bibliotekę" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "_Zwiń bibliotekę" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Dodaj do aktualnej playlisty" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Podmień aktualną playlistę" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Podmień i odtwórz" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" msgstr "" +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Usuń" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "_Usuń bibliotekę" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Przenieś do kosza" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Usuń z biblioteki" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 #: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" +msgid "Manage and listen your music" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 -msgid "Search tags on AcoustID" +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 -msgid "AcoustID not found any similar song" +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 -msgid "Audio/Data CD" +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 -msgid "An audio CD was inserted" +#: ../data/pragha.desktop.in.h:1 +msgid "Music Player" +msgstr "Odtwarzacz muzyki" + +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 -msgid "Add Audio _CD" +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 +msgid "Search tags on AcoustID" +msgstr "Szukaj tagów w AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Wystąpił błąd przy wyszukiwaniu tagów w AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 +msgid "AcoustID not found any similar song" +msgstr "Nie znaleziono żadnych podobnych piosenek w AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Szukam tagów w AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Aktualizuj bibliotekę Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Serwer" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Nazwa użytkownika" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Hasło" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Płyta Audio" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "Płyta Audio lub z danymi" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "Płyta audio została włożona" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 +msgid "Add Audio _CD" +msgstr "Dodaj płytę Audio" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Napęd CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Połącz z serwerem CDDB" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" -msgstr "" +msgstr "Szukaj muzyki na serwerze DLNA" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." -msgstr "" +msgstr "Muzyka z serwera %s została dodana." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 -msgid "_Lastfm" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "" +msgstr "Nie można znaleźć żadnego serwera DLNA." #: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "" +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 +msgid "_Lastfm" +msgstr "_Lastfm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" -msgstr "" +msgstr "Import listy odtwarzania XSPF" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" -msgstr "" +msgstr "Dodaj ulubione" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" -msgstr "" +msgstr "Dodaj podobne" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" -msgstr "" +msgstr "Nie udało się nawiązać połączenia z Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" -msgstr "" +msgstr "Sugerowana korekta tagu z Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." -msgstr "" +msgstr "Polubienie piosenki na Last.fm nieudane." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" -msgstr "" +msgstr "Dodano %dutworów z %dsugerowanych w Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" -msgstr "" +msgstr "Last.fm nie sugeruje żadnego podobnego utworu" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" -msgstr "" +msgstr "Nie posiadasz ulubionych utworów w Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" -msgstr "" +msgstr "Zgłoszenie do Last.fm nie powiodło się" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" -msgstr "" +msgstr "Utwór zascrobblowany na Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." -msgstr "" +msgstr "Aktualizacja bieżącej piosenki w Last.fm nie powiodła się" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" +msgstr "Scrobbluj na Last.fm" + +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Nazwa użytkownika" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Hasło" +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Utwory" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format msgid "by %s in %s (%s)" -msgstr "" +msgstr "o %s w %s %s" #: ../plugins/notify/pragha-notify-plugin.c:267 msgid "Notifications" -msgstr "" +msgstr "Powiadomienia" #: ../plugins/notify/pragha-notify-plugin.c:269 msgid "Show Album art in notifications" -msgstr "" +msgstr "Pokaż obraz albumu w obszarze powiadomień" #: ../plugins/notify/pragha-notify-plugin.c:274 msgid "Add actions to change track in notifications" +msgstr "Dodaj akcję aby zmienić utwór w powiadomieniach" + +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Odśwież bibliotekę Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Ulubione w Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" +msgid "Unable to accesss to “%s” device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" +msgstr "Urządzenia Przenośne" + +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Artist info" +msgstr "Informacje o artyście" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "Szukaj słów" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" -msgstr "" +msgstr "Szukaj informacji o _artyście" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" -msgstr "" +msgstr "Informacje o piosence" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." -msgstr "" +msgstr "Pobierz okładkę albumu podczas słuchania utworów." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" -msgstr "" +msgid "Lyrics thanks to %s" +msgstr "Słowa dzięki %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" -msgstr "" +msgstr "%s dzięki %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." -msgstr "" +msgstr "Nie znaleziono słów." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." -msgstr "" +msgstr "Nie znaleziono informacji o artyście." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Brak rekomendowanych piosenek." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." -msgstr "" +msgstr "Szukam..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" +msgstr "Wyszukaj radia na TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Wystąpił błąd podczas wyszukiwania radia w TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Wyszukiwanie radia w TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" +msgstr "Szukaj na TuneIn" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" msgstr "" diff -Nru pragha-1.3.3/po/POTFILES.in pragha-1.3.992/po/POTFILES.in --- pragha-1.3.3/po/POTFILES.in 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/POTFILES.in 2019-08-13 11:42:44.000000000 +0000 @@ -1,6 +1,12 @@ +# +# Sources +# src/info-bar-import-music.c +src/pragha-background-task-bar.c +src/pragha-device-client.c src/pragha-cmdline.c src/pragha-equalizer-dialog.c +src/pragha-favorites.c src/pragha-filter-dialog.c src/pragha-library-pane.c src/pragha-menubar.c @@ -16,19 +22,44 @@ src/pragha-utils.c src/pragha-window.c src/pragha.c +src/main.c +# +# Builder Files +# +[type: gettext/glade]src/pragha-window.ui + + +# +# Appdata +# +data/io.github.pragha_music_player.metainfo.xml.in + +# +# Desktop Files +# data/pragha.desktop.in + +# +# Plugins +# plugins/acoustid/pragha-acoustid-plugin.c +plugins/ampache/pragha-ampache-plugin.c plugins/cdrom/pragha-cdrom-plugin.c -plugins/devices/pragha-device-client.c -plugins/devices/pragha-devices-plugin.c plugins/dlna/pragha-dlna-plugin.c plugins/dlna-renderer/pragha-dlna-renderer-plugin.c plugins/lastfm/pragha-lastfm-plugin.c +plugins/mtp/pragha-mtp-thread.c plugins/mpris2/pragha-mpris2-plugin.c plugins/notify/pragha-notify-plugin.c +plugins/koel/pragha-koel-plugin.c plugins/removable-media/pragha-devices-removable.c plugins/song-info/pragha-song-info-dialog.c +plugins/song-info/pragha-song-info-pane.c plugins/song-info/pragha-song-info-plugin.c plugins/song-info/pragha-song-info-thread-dialog.c plugins/song-info/pragha-song-info-thread-pane.c plugins/tunein/pragha-tunein-plugin.c +plugins/visualizer/pragha-visualizer-plugin.c + +[type: gettext/glade]plugins/lastfm/pragha-lastfm-menu.ui +[type: gettext/glade]plugins/song-info/pragha-song-info.ui diff -Nru pragha-1.3.3/po/pragha.pot pragha-1.3.992/po/pragha.pot --- pragha-1.3.3/po/pragha.pot 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/pragha.pot 1970-01-01 00:00:00.000000000 +0000 @@ -1,1267 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" - -#. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 -msgid "_No" -msgstr "" - -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 -msgid "_Yes" -msgstr "" - -#: ../src/info-bar-import-music.c:83 -#, c-format -msgid "Would you like to import %s to library?" -msgstr "" - -#: ../src/info-bar-import-music.c:130 -msgid "Would you like to update your music library?" -msgstr "" - -#: ../src/info-bar-import-music.c:173 -msgid "Some changes need restart pragha." -msgstr "" - -#: ../src/pragha-cmdline.c:192 -msgid "FILENAME" -msgstr "" - -#: ../src/pragha-cmdline.c:251 -msgid "Use --help to see a full list of available command line options." -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:50 -msgid "Disabled" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:51 -msgid "Classical" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:52 -msgid "Club" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:53 -msgid "Dance" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:54 -msgid "Full Bass" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:55 -msgid "Full Bass and Treble" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:56 -msgid "Full Treble" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:57 -msgid "Laptop Speakers and Headphones" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:58 -msgid "Large Hall" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:59 -msgid "Live" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:60 -msgid "Party" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:61 -msgid "Pop" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:62 -msgid "Reggae" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:63 -msgid "Rock" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:64 -msgid "Ska" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:65 -msgid "Smiley Face Curve" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:66 -msgid "Soft" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:67 -msgid "Soft Rock" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:68 -msgid "Techno" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:69 -msgid "Custom" -msgstr "" - -#: ../src/pragha-equalizer-dialog.c:418 -msgid "Equalizer" -msgstr "" - -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 -#: ../plugins/notify/pragha-notify-plugin.c:166 -msgid "Unknown Artist" -msgstr "" - -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 -#: ../plugins/notify/pragha-notify-plugin.c:167 -msgid "Unknown Album" -msgstr "" - -#. The search dialog -#: ../src/pragha-filter-dialog.c:369 -msgid "Search in playlist" -msgstr "" - -#: ../src/pragha-filter-dialog.c:372 -msgid "_Close" -msgstr "" - -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 -msgid "Add to playback queue" -msgstr "" - -#: ../src/pragha-filter-dialog.c:376 -msgid "_Jump to" -msgstr "" - -#: ../src/pragha-library-pane.c:132 -msgid "_Skip" -msgstr "" - -#: ../src/pragha-library-pane.c:133 -msgid "S_kip All" -msgstr "" - -#: ../src/pragha-library-pane.c:134 -msgid "Delete _All" -msgstr "" - -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "" - -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "" - -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 -msgid "Folders structure" -msgstr "" - -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 -msgid "Artist" -msgstr "" - -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 -msgid "Album" -msgstr "" - -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 -msgid "Genre" -msgstr "" - -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 -msgid "Artist / Album" -msgstr "" - -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 -msgid "Genre / Artist" -msgstr "" - -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 -msgid "Genre / Artist / Album" -msgstr "" - -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 -msgid "Playlists" -msgstr "" - -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 -msgid "Radios" -msgstr "" - -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "" - -#: ../src/pragha-library-pane.c:2482 -msgid "Really want to move the files to trash?" -msgstr "" - -#: ../src/pragha-library-pane.c:2484 -msgid "Delete permanently instead of moving to trash" -msgstr "" - -#: ../src/pragha-library-pane.c:2534 -msgid "" -"Are you sure you want to delete current file from library?\n" -"\n" -"Warning: To recover we must rescan the entire library." -msgstr "" - -#: ../src/pragha-menubar.c:190 -msgid "_Playback" -msgstr "" - -#: ../src/pragha-menubar.c:191 -msgid "Play_list" -msgstr "" - -#: ../src/pragha-menubar.c:192 -msgid "_View" -msgstr "" - -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 -msgid "_Tools" -msgstr "" - -#: ../src/pragha-menubar.c:194 -msgid "_Help" -msgstr "" - -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 -#: ../plugins/notify/pragha-notify-plugin.c:177 -msgid "Previous track" -msgstr "" - -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 -msgid "Play / Pause" -msgstr "" - -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 -msgid "Stop" -msgstr "" - -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 -#: ../plugins/notify/pragha-notify-plugin.c:181 -msgid "Next track" -msgstr "" - -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 -msgid "Edit track information" -msgstr "" - -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 -msgid "_Quit" -msgstr "" - -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 -msgid "_Add files" -msgstr "" - -#: ../src/pragha-menubar.c:208 -msgid "Open a media file" -msgstr "" - -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 -msgid "Add _location" -msgstr "" - -#: ../src/pragha-menubar.c:211 -msgid "_Add the library" -msgstr "" - -#: ../src/pragha-menubar.c:213 -msgid "Remove selection from playlist" -msgstr "" - -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 -msgid "Crop playlist" -msgstr "" - -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 -msgid "Clear playlist" -msgstr "" - -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 -msgid "Save playlist" -msgstr "" - -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 -msgid "New playlist" -msgstr "" - -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 -msgid "Save selection" -msgstr "" - -#: ../src/pragha-menubar.c:229 -msgid "_Search in playlist" -msgstr "" - -#: ../src/pragha-menubar.c:231 -msgid "_Preferences" -msgstr "" - -#: ../src/pragha-menubar.c:233 -msgid "Jump to playing song" -msgstr "" - -#: ../src/pragha-menubar.c:235 -msgid "E_qualizer" -msgstr "" - -#: ../src/pragha-menubar.c:237 -msgid "_Rescan library" -msgstr "" - -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 -msgid "_Update library" -msgstr "" - -#: ../src/pragha-menubar.c:241 -msgid "_Statistics" -msgstr "" - -#: ../src/pragha-menubar.c:243 -msgid "Homepage" -msgstr "" - -#: ../src/pragha-menubar.c:245 -msgid "Community" -msgstr "" - -#: ../src/pragha-menubar.c:247 -msgid "Wiki" -msgstr "" - -#: ../src/pragha-menubar.c:249 -msgid "Translate Pragha" -msgstr "" - -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 -msgid "About" -msgstr "" - -#: ../src/pragha-menubar.c:256 -msgid "_Shuffle" -msgstr "" - -#: ../src/pragha-menubar.c:259 -msgid "_Repeat" -msgstr "" - -#: ../src/pragha-menubar.c:262 -msgid "_Fullscreen" -msgstr "" - -#: ../src/pragha-menubar.c:265 -msgid "Lateral _panel" -msgstr "" - -#: ../src/pragha-menubar.c:268 -msgid "Secondary lateral panel" -msgstr "" - -#: ../src/pragha-menubar.c:271 -msgid "Playback controls below" -msgstr "" - -#: ../src/pragha-menubar.c:274 -msgid "Menubar" -msgstr "" - -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "" - -#: ../src/pragha-menubar.c:638 -msgid "Total Tracks:" -msgstr "" - -#: ../src/pragha-menubar.c:640 -msgid "Total Artists:" -msgstr "" - -#: ../src/pragha-menubar.c:642 -msgid "Total Albums:" -msgstr "" - -#: ../src/pragha-menubar.c:645 -msgid "Statistics" -msgstr "" - -#. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 -msgid "Title" -msgstr "" - -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 -msgid "Bitrate" -msgstr "" - -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 -msgid "Year" -msgstr "" - -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 -msgid "Comment" -msgstr "" - -#. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 -msgid "Length" -msgstr "" - -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 -msgid "Filename" -msgstr "" - -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 -msgid "Mimetype" -msgstr "" - -#: ../src/pragha-playlist.c:211 -msgid "Remove from playback queue" -msgstr "" - -#: ../src/pragha-playlist.c:213 -msgid "Remove from playlist" -msgstr "" - -#: ../src/pragha-playlist.c:221 -msgid "_Send to" -msgstr "" - -#: ../src/pragha-playlist.c:2498 -#, c-format -msgid "Copy \"%i\" to selected track numbers" -msgstr "" - -#: ../src/pragha-playlist.c:2504 -#, c-format -msgid "Copy \"%s\" to selected titles" -msgstr "" - -#: ../src/pragha-playlist.c:2510 -#, c-format -msgid "Copy \"%s\" to selected artists" -msgstr "" - -#: ../src/pragha-playlist.c:2516 -#, c-format -msgid "Copy \"%s\" to selected albums" -msgstr "" - -#: ../src/pragha-playlist.c:2522 -#, c-format -msgid "Copy \"%s\" to selected genres" -msgstr "" - -#: ../src/pragha-playlist.c:2528 -#, c-format -msgid "Copy \"%i\" to selected years" -msgstr "" - -#: ../src/pragha-playlist.c:2534 -#, c-format -msgid "Copy \"%s\" to selected comments" -msgstr "" - -#. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 -msgid "Track" -msgid_plural "Tracks" -msgstr[0] "" -msgstr[1] "" - -#: ../src/pragha-playlist.c:3379 -msgid "Clear sort" -msgstr "" - -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 -msgid "Playlist" -msgstr "" - -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 -msgid "_Ok" -msgstr "" - -#: ../src/pragha-playlists-mgmt.c:129 -msgid "con_playlist is a reserved playlist name" -msgstr "" - -#: ../src/pragha-playlists-mgmt.c:153 -#, c-format -msgid "Do you want to overwrite the playlist: %s ?" -msgstr "" - -#: ../src/pragha-playlists-mgmt.c:507 -msgid "Choose a new name" -msgstr "" - -#: ../src/pragha-playlists-mgmt.c:556 -#, c-format -msgid "Do you want to delete the item: %s ?" -msgstr "" - -#: ../src/pragha-playlists-mgmt.c:586 -msgid "Export playlist to file" -msgstr "" - -#: ../src/pragha-playlists-mgmt.c:590 -msgid "_Save" -msgstr "" - -#: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 -#, c-format -msgid "Added %d songs from %d of the imported playlist." -msgstr "" - -#: ../src/pragha-playlists-mgmt.c:1224 -msgid "What do you want to do?" -msgstr "" - -#: ../src/pragha-playlists-mgmt.c:1226 -#, c-format -msgid "Replace the playlist \"%s\"" -msgstr "" - -#: ../src/pragha-playlists-mgmt.c:1231 -#, c-format -msgid "Add to playlist \"%s\"" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:193 -msgid "" -"Patterns should be of the form:;;....\n" -"A maximum of six patterns are allowed.\n" -"Wildcards are not accepted as of now ( patches welcome :-) )." -msgstr "" - -#: ../src/pragha-preferences-dialog.c:216 -msgid "Album art pattern" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 -msgid "Start normal" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 -msgid "Start fullscreen" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 -msgid "Start in system tray" -msgstr "" - -#. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 -msgid "Select a folder to add to library" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 -msgid "_Open" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 -msgid "Audio" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:906 -msgid "Audio sink" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 -#: ../src/pragha-preferences-dialog.c:935 -msgid "Restart Required" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:925 -msgid "Audio Device" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:934 -msgid "Use software mixer" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:972 -msgid "Can not change directories while they are analyzing." -msgstr "" - -#: ../src/pragha-preferences-dialog.c:982 -msgid "Folders" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 -msgid "_Add" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1002 -msgid "_Remove" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1021 -msgid "Sort albums by release year" -msgstr "" - -#. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 -msgid "Appearance" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1066 -msgid "Use system title bar and borders" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1073 -msgid "Use small icons on the toolbars" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1081 -msgid "Controls" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1083 -msgid "Show Album art in Panel" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1086 -msgid "Size of Album art" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1091 -msgid "Album art file pattern" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1135 -msgid "Search" -msgstr "" - -#. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 -msgid "Search while typing" -msgstr "" - -#. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 -msgid "Search similar words" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1143 -msgid "When starting pragha" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1146 -msgid "Remember last window state" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1152 -msgid "Restore last playlist" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1155 -msgid "When adding folders" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 -msgid "Add files recursively" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 -msgid "Desktop" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1182 -msgid "Show Pragha icon in the notification area" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1185 -msgid "Minimize Pragha when closing window" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 -msgid "Plugins" -msgstr "" - -#. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 -msgid "Preferences" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1299 -msgid "General" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1336 -msgid "Services" -msgstr "" - -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 -msgid "Preferences of Pragha" -msgstr "" - -#: ../src/pragha-scanner.c:93 -#, c-format -msgid "%i files analized of %i detected" -msgstr "" - -#: ../src/pragha-scanner.c:99 -msgid "Searching files to analyze" -msgstr "" - -#: ../src/pragha-scanner.c:250 -msgid "Library scan complete" -msgstr "" - -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 -msgid "Not playing" -msgstr "" - -#: ../src/pragha-tags-dialog.c:119 -msgid "Track No" -msgstr "" - -#: ../src/pragha-tags-dialog.c:122 -msgid "File" -msgstr "" - -#. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 -msgid "Details" -msgstr "" - -#: ../src/pragha-tags-dialog.c:559 -msgid "channel" -msgid_plural "channels" -msgstr[0] "" -msgstr[1] "" - -#: ../src/pragha-tags-dialog.c:578 -msgid "Channels" -msgstr "" - -#: ../src/pragha-tags-dialog.c:579 -msgid "Samplerate" -msgstr "" - -#: ../src/pragha-tags-dialog.c:580 -msgid "Folder" -msgstr "" - -#: ../src/pragha-tags-dialog.c:829 -msgid "Selection to" -msgstr "" - -#: ../src/pragha-tags-dialog.c:867 -msgid "Open folder" -msgstr "" - -#: ../src/pragha-tags-mgmt.c:197 -#, c-format -msgid "" -"Do you want to set the track number of ALL of the selected tracks to: %d ?" -msgstr "" - -#: ../src/pragha-tags-mgmt.c:215 -#, c-format -msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" -msgstr "" - -#: ../src/pragha-toolbar.c:150 -#, c-format -msgid "" -"%s by %s in %s" -msgstr "" - -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 -#, c-format -msgid "%s by %s" -msgstr "" - -#: ../src/pragha-toolbar.c:159 -#, c-format -msgid "%s in %s" -msgstr "" - -#: ../src/pragha-toolbar.c:809 -msgid "Previous Track" -msgstr "" - -#: ../src/pragha-toolbar.c:813 -msgid "Play / Pause Track" -msgstr "" - -#: ../src/pragha-toolbar.c:817 -msgid "Stop playback" -msgstr "" - -#: ../src/pragha-toolbar.c:821 -msgid "Next Track" -msgstr "" - -#: ../src/pragha-toolbar.c:853 -msgid "Leave Fullscreen" -msgstr "" - -#: ../src/pragha-toolbar.c:857 -msgid "Play songs in a random order" -msgstr "" - -#: ../src/pragha-toolbar.c:860 -msgid "Repeat playback list at the end" -msgstr "" - -#: ../src/pragha-utils.c:239 -msgid "day" -msgid_plural "days" -msgstr[0] "" -msgstr[1] "" - -#: ../src/pragha-utils.c:486 -msgid "Unable to open the browser" -msgstr "" - -#: ../src/pragha-window.c:115 -#, c-format -msgid "" -"Error playing current track.\n" -"(%s)\n" -"Reason: %s" -msgstr "" - -#: ../src/pragha-window.c:118 -msgid "_Stop" -msgstr "" - -#: ../src/pragha-window.c:119 -msgid "_Next" -msgstr "" - -#: ../src/pragha.c:176 -msgid "Select a file to play" -msgstr "" - -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 -msgid "Supported media" -msgstr "" - -#: ../src/pragha.c:306 -msgid "All files" -msgstr "" - -#: ../src/pragha.c:382 -msgid "Enter the URL of an internet radio stream" -msgstr "" - -#: ../src/pragha.c:389 -msgid "Give it a name to save" -msgstr "" - -#: ../src/pragha.c:402 -msgid "Add a location" -msgstr "" - -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "" - -#. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 -msgid "Pragha Music Player" -msgstr "" - -#: ../data/pragha.desktop.in.h:1 -msgid "Music Player" -msgstr "" - -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "" - -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 -msgid "Search tags on AcoustID" -msgstr "" - -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 -msgid "AcoustID not found any similar song" -msgstr "" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 -msgid "Audio/Data CD" -msgstr "" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 -msgid "An audio CD was inserted" -msgstr "" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 -msgid "Add Audio _CD" -msgstr "" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 -msgid "Audio CD Device" -msgstr "" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 -msgid "Connect to CDDB server" -msgstr "" - -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 -msgid "Search music on DLNA server" -msgstr "" - -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 -#, c-format -msgid "Music of the %s server was added." -msgstr "" - -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 -msgid "Could not find any DLNA server." -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 -msgid "_Lastfm" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 -msgid "Import a XSPF playlist" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 -msgid "Add favorites" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 -msgid "Add similar" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 -msgid "Unable to establish conection with Last.fm" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 -msgid "Last.fm suggested a tag correction" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 -msgid "Love song on Last.fm failed." -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 -msgid "Unlove song on Last.fm failed." -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 -#, c-format -msgid "Added %d tracks of %d suggested from Last.fm" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 -#, c-format -msgid "Last.fm doesn't suggest any similar track" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 -#, c-format -msgid "Added %d songs of the last %d loved on Last.fm." -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 -#, c-format -msgid "You don't have favorite tracks on Last.fm" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 -msgid "Last.fm submission failed" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 -msgid "Track scrobbled on Last.fm" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 -msgid "Update current song on Last.fm failed." -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 -msgid "Scrobble on Last.fm" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "" - -#: ../plugins/notify/pragha-notify-plugin.c:165 -#, c-format -msgid "by %s in %s (%s)" -msgstr "" - -#: ../plugins/notify/pragha-notify-plugin.c:267 -msgid "Notifications" -msgstr "" - -#: ../plugins/notify/pragha-notify-plugin.c:269 -msgid "Show Album art in notifications" -msgstr "" - -#: ../plugins/notify/pragha-notify-plugin.c:274 -msgid "Add actions to change track in notifications" -msgstr "" - -#: ../plugins/removable-media/pragha-devices-removable.c:211 -#, c-format -msgid "Unable to access \"%s\"" -msgstr "" - -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 -msgid "Removable Device" -msgstr "" - -#: ../plugins/removable-media/pragha-devices-removable.c:297 -#, c-format -msgid "Want to manage \"%s\" volume?" -msgstr "" - -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" -msgstr "" - -#: ../plugins/song-info/pragha-song-info-plugin.c:90 -msgid "Search _artist info" -msgstr "" - -#: ../plugins/song-info/pragha-song-info-plugin.c:377 -msgid "Song Information" -msgstr "" - -#: ../plugins/song-info/pragha-song-info-plugin.c:379 -msgid "Download the album art while playing their songs." -msgstr "" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" -msgstr "" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 -#, c-format -msgid "Artist info" -msgstr "" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 -#, c-format -msgid "%s thanks to %s" -msgstr "" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 -msgid "Lyrics not found." -msgstr "" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 -msgid "Artist information not found." -msgstr "" - -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 -msgid "Searching..." -msgstr "" - -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 -msgid "Search radio on TuneIn" -msgstr "" - -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 -msgid "Search in TuneIn" -msgstr "" diff -Nru pragha-1.3.3/po/pt_BR.po pragha-1.3.992/po/pt_BR.po --- pragha-1.3.3/po/pt_BR.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/pt_BR.po 2019-08-13 23:06:58.000000000 +0000 @@ -3,15 +3,18 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: +# carlo giusepe tadei valente sasaki , 2018 # Rafael Fontenelle , 2012 +# Rafael Fontenelle , 2012 +# Rui , 2019 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 17:03+0000\n" -"Last-Translator: matias \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/p/Pragha/" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/matias/Pragha/" "language/pt_BR/)\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" @@ -19,37 +22,53 @@ "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Música local" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" -msgstr "" +msgstr "_Não" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" -msgstr "" +msgstr "_Sim" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "Você deseja importar %s para a biblioteca?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" -msgstr "" +msgstr "Você deseja atualizar sua biblioteca de música?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." -msgstr "" +msgstr "Algumas mudanças necessitam reiniciar Pragha." + +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Existem tarefas trabalhando em segundo plano" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Ignorar" #: ../src/pragha-cmdline.c:192 msgid "FILENAME" -msgstr "" +msgstr "NOMEDOARQUIVO" #: ../src/pragha-cmdline.c:251 msgid "Use --help to see a full list of available command line options." msgstr "" +"Use --help para ver a lista completa das opções disponíveis para a linha de " +"comando" #: ../src/pragha-equalizer-dialog.c:50 msgid "Disabled" @@ -85,7 +104,7 @@ #: ../src/pragha-equalizer-dialog.c:58 msgid "Large Hall" -msgstr "" +msgstr "Salão" #: ../src/pragha-equalizer-dialog.c:59 msgid "Live" @@ -113,7 +132,7 @@ #: ../src/pragha-equalizer-dialog.c:65 msgid "Smiley Face Curve" -msgstr "" +msgstr "Curva sorriso" #: ../src/pragha-equalizer-dialog.c:66 msgid "Soft" @@ -129,196 +148,154 @@ #: ../src/pragha-equalizer-dialog.c:69 msgid "Custom" -msgstr "" +msgstr "Personalizado" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" -msgstr "" +msgstr "Equalizador" + +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Favoritos" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Artista Desconhecido" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Álbum Desconhecido" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" -msgstr "" +msgstr "Procurar na lista de reprodução" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" -msgstr "" +msgstr "_Fechar" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Adicionar à fila de reprodução" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" -msgstr "" +msgstr "_Ir para" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "_Pular" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "Pu_lar Todas" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "Deletar _Todas" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "E_xpandir biblioteca" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Desconhecido" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "E_sconder biblioteca" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Gênero Desconhecido" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "" +"O arquivo não pode ser movido para a lixeira. Deseja apagá-lo " +"permanentemente?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "O arquivo \"%s\" não pode ser movido para a lixeira. Detalhes: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Cancelar" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Apagar" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Estrutura de pastas" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Artista" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Álbum" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Gênero" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Artista / Álbum" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Gênero / Álbum" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Gênero / Artista" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Gênero / Álbum" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Gênero / Artista / Álbum" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Adicionar para a lista de reprodução atual" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "_Substituir lista de reprodução atual" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Substituir e _reproduzir" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Renomear" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Apagar" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Exportar" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Editar tags" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Mover para a _lixeira" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Apagar da biblioteca" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Desconhecido" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Gênero Desconhecido" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "O arquivo \"%s\" não pode ser movido para a lixeira. Detalhes: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Listas de reprodução" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Rádios" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Biblioteca" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Você realmente deseja mover os arquivos para a lixeira?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" -msgstr "" +msgstr "Apagar permanentemente ao invés de mover para a lixeira" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -328,178 +305,182 @@ "\n" "Atenção: para recuperar é preciso re-escanear a biblioteca inteira." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Reprodução" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "_Lista de reprodução" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Visualização" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Ferramentas" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "A_juda" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" -msgstr "" +msgstr "Faixa anterior" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Reproduzir / Pausar" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Parar" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Próxima faixa" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "Editar informações da faixa" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Sair" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Adicionar arquivos" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Abrir um arquivo de mídia" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "Adicionar _localização" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "_Adicionar à biblioteca" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "Remover seleção da lista de reprodução" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "Cortar lista de reprodução" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Limpar lista de reprodução" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Salvar lista de reprodução" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Nova lista de reprodução" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Exportar" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Salvar seleção" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "_Procurar na lista de reprodução" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Preferências" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Ir para a música atual" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "E_qualizador" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "_Varrer biblioteca" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "_Atualizar biblioteca" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Estatísticas" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Página Inicial" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Comunidade" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Traduzir o Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Sobre" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Aleatório" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Repetir" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Tela cheia" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "_Painel lateral" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" -msgstr "" +msgstr "Painel lateral secundário" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "Controles de reprodução abaixo" -#: ../src/pragha-menubar.c:274 -msgid "Menubar" -msgstr "" - #: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Barra de status" +msgid "Menubar" +msgstr "Barra de menu" #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" @@ -518,408 +499,426 @@ msgstr "Estatísticas" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Título" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Taxa de bits" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Ano" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Comentário" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Tempo" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Nome do Arquivo" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" -msgstr "" +msgstr "Tipo de arquivo" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" -msgstr "" +msgstr "Remover da fila de reprodução" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Remover da lista de reprodução" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" -msgstr "" +msgstr "_Enviar para" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "Copiar \"%i\" para os números de faixas selecionadas" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "Copiar \"%s\" para arquivos selecionados" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "Copiar \"%s\" para artistas selecionados" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "Copiar \"%s\" para álbuns selecionados" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "Copiar \"%s\" para gêneros selecionados" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "Copiar \"%i\" para anos selecionados" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "Copiar \"%s\" para comentários selecionados" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "Faixa" msgstr[1] "Faixas" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" -msgstr "Limpar ordem" +msgstr "Limpar ordenamento" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" -msgstr "" +msgstr "Lista de reprodução" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" -msgstr "" +msgstr "_Ok" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist é um nome reservado" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "Você deseja sobrescrever a lista de reprodução: %s?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Escolha um novo nome" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Renomear" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "Você deseja excluir o item: %s?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Exportar lista de reprodução para arquivo" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" -msgstr "" +msgstr "_Salvar" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "Adicionadas %d de %d faixas da lista de reprodução importada" -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" -msgstr "" +msgstr "O que você deseja fazer?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" -msgstr "" +msgstr "Substituir a lista de reprodução \"%s\"" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" -msgstr "" +msgstr "Adicionar à lista de reprodução \"%s\"" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" "Wildcards are not accepted as of now ( patches welcome :-) )." msgstr "" -"Os padrões devem ser na forma:;;....\n" -"É permitido um máximo de 6 padrões.\n" -"Por enquanto curingas não são aceitos (mas correções são bem vindas :-) )." +"Os padrões devem ser na forma:;;....\n" +"É permitido um máximo de seis padrões.\n" +"Por enquanto curingas não são aceitos (correções são bem vindas :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Nome da arte do álbum" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Iniciar normal" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" -msgstr "Abrir tela cheia" +msgstr "Iniciar em tela cheia" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" -msgstr "Iniciar na bandeja" +msgstr "Iniciar na bandeja do sistema" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Selecione uma pasta para adicionar à biblioteca" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" -msgstr "" +msgstr "_Abrir" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Áudio" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" -msgstr "Sistema de Som" +msgstr "Canal de áudio" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" -msgstr "Necessário Reiniciar" +msgstr "Reinicialização necessária" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Dispositivo de Som" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" -msgstr "Usar controle do programa" +msgstr "Usar controle de volume por software" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Biblioteca" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "" +"Não é possível mudar de diretórios enquanto eles estão sendo analisados" -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" -msgstr "Pasta" +msgstr "Diretórios" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" -msgstr "" +msgstr "_Adicionar" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" -msgstr "" +msgstr "_Remover" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Mesclar pastas na visão de estrutura de pastas" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Mostrar álbuns por ano de lançamento" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Aparência" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Usar barra de título e bordas do sistema" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" +msgstr "Usar ícones pequenos nas barras de ferramentas" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Destacar linhas na lista de reprodução atual" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" -msgstr "" +msgstr "Controles" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Mostrar arte do álbum no painel" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Tamanho da arte do álbum" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Nome da arte do álbum" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" -msgstr "" +msgstr "Pesquisar" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" -msgstr "" +msgstr "Pesquisar enquanto digita" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" -msgstr "" +msgstr "Pesquisar palavras parecidas" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" -msgstr "" +msgstr "Na inicialização do Pragha" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Lembrar do estado da última janela" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Restaurar a última lista de reprodução" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" -msgstr "" +msgstr "Ao adicionar diretórios" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Adicionar arquivos recursivamente" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" -msgstr "" +msgstr "Área de trabalho" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" -msgstr "" +msgstr "Mostrar ícone do Pragha na área de notificação" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" -msgstr "" +msgstr "Minimizar Pragha ao fechar a janela" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" -msgstr "" +msgstr "Plugins" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" -msgstr "" +msgstr "Preferências" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Geral" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" -msgstr "" +msgstr "Serviços" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Preferências do Pragha" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "" +msgid "%i files analyzed of %i detected" +msgstr "%i arquivos analisados de %i detectados" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" -msgstr "" +msgstr "Procurando arquivos para analisar" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Varredura da biblioteca completa" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Parado" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Editar tags" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Faixa nº" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Arquivo" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Detalhes" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" -msgstr[0] "" -msgstr[1] "" +msgstr[0] "canal" +msgstr[1] "canais" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Canais" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Taxa de amostragem" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" -msgstr "Pasta" +msgstr "Diretório" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Selecionar para" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" -msgstr "Abrir pasta" +msgstr "Abrir diretório" #: ../src/pragha-tags-mgmt.c:197 #, c-format @@ -936,7 +935,7 @@ "Você deseja definir o tag do título de TODAS as faixas selecionadas para: " "%s ?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s por %s em %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s por %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s em %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Faixa anterior" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Reproduzir / Pausar faixa" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Parar reprodução" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Próxima faixa" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Sair da tela cheia" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Reproduzir em ordem aleatória" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Repetir lista de reprodução" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" -msgstr[0] "" -msgstr[1] "dia" +msgstr[0] "dia" +msgstr[1] "dias" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Não foi possível abrir o navegador" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -1005,194 +1012,333 @@ "(%s)\n" "Motivo: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" -msgstr "" +msgstr "_Parar" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" -msgstr "" +msgstr "_Próxima" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Selecione um arquivo para reproduzir" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Mídias suportados" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Todos os arquivos" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "Digite a URL de um fluxo de rádio de Internet" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "Dê um nome para salvar" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Adicionar uma localização" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "translator-credits" - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" +msgstr "Reprodutor de música Pragha" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" msgstr "" -#: ../data/pragha.desktop.in.h:1 -msgid "Music Player" +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "E_xpandir biblioteca" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "E_sconder biblioteca" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Adicionar para a lista de reprodução atual" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Substituir lista de reprodução atual" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Substituir e _reproduzir" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" msgstr "" +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Apagar" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "_Remover biblioteca" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Mover para a _lixeira" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Apagar da biblioteca" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 #: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" +msgid "Manage and listen your music" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 -msgid "Search tags on AcoustID" +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + +#: ../data/pragha.desktop.in.h:1 +msgid "Music Player" +msgstr "Reprodutor de música" + +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 +msgid "Search tags on AcoustID" +msgstr "Pesquisar as tags no AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Houve um erro ao buscar suas informações no AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" +msgstr "AcoustID não encontrou nenhuma música similar" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Pesquisando as informações no AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Recarregar a biblioteca Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 -msgid "Audio/Data CD" +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 -msgid "An audio CD was inserted" +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Servidor" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Usuário" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Senha" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Áudio CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "Áudio/CD de dados" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "Inseriu-se um CD de áudio" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "Adicionar _CD de áudio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Dispositivo do CD de Áudio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Conectar ao servidor CDDB" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" -msgstr "" +msgstr "Pesquisar música no servidor DLNA" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." -msgstr "" +msgstr "Música do servidor %s foi adicionada" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." -msgstr "" +msgstr "Não foi possível encontrar um servidor DLNA" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Música favorita" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Não é favorita" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "Importar uma lista XSPF" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" -msgstr "Adicionar favoritos" +msgstr "Adicionar aos favoritos" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Adicionar semelhante" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" -msgstr "" +msgstr "Não foi possível estabelecer conexão com Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm sugeriu uma correção de tag" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "Falha ao enviar dados para Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." -msgstr "" +msgstr "Falha ao desgostar de música no Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" -msgstr "" +msgstr "%d faixas adicionadas das %d sugeridas pelo Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" -msgstr "" +msgstr "Last.fm não sugere nenhuma faixa similar" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "Adicionadas %d últimas músicas %d favoritas no Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" -msgstr "" +msgstr "Você não tem faixas favoritas no Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" -msgstr "" +msgstr "Falha ao enviar dados para Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "Feito scrobble da faixa no Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "Falha ao atualizar faixa no Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" +msgstr "Scrobble em Last.fm" + +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Usuário" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Senha" +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Faixas" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1209,75 +1355,164 @@ #: ../plugins/notify/pragha-notify-plugin.c:274 msgid "Add actions to change track in notifications" +msgstr "Adicionar ações para modificar a faixa nas notificações" + +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Recarregar a biblioteca Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Favoritos no Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" +msgid "Unable to accesss to “%s” device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" +msgstr "Dispositivo removível" + +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Artist info" +msgstr "Informações sobre o artista" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "Pesquisar _música" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" -msgstr "" +msgstr "Pesquisar informações sobre o _artista" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" -msgstr "" +msgstr "Informações sobre a música" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." -msgstr "" +msgstr "Baixar arte do álbum do artista durante a reprodução" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" -msgstr "" +msgid "Lyrics thanks to %s" +msgstr "Letra cortesia de %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" -msgstr "" +msgstr "%s cortesia de %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." -msgstr "" +msgstr "Letra não encontrada." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." -msgstr "" +msgstr "Informações sobre o artista não encontradas." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Sem músicas recomendadas." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." -msgstr "" +msgstr "Pesquisando..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" +msgstr "Pesquise uma rádio no TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Houve um erro ao procurar rádio no TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Procurando rádio no TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" +msgstr "Pesquise no TuneIn" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" msgstr "" diff -Nru pragha-1.3.3/po/pt.po pragha-1.3.992/po/pt.po --- pragha-1.3.3/po/pt.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/pt.po 2019-08-13 23:06:58.000000000 +0000 @@ -3,45 +3,60 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# Sérgio Marques , 2011-2014 +# Sérgio Marques , 2011-2018 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 22:26+0000\n" -"Last-Translator: Sérgio Marques \n" -"Language-Team: Portuguese (http://www.transifex.com/p/Pragha/language/pt/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Portuguese (http://www.transifex.com/matias/Pragha/language/" +"pt/)\n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Música local" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "_Não" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "_Sim" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "Importar %s para a coleção de faixas?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "Gostaria de atualizar a sua coleção de músicas?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "Tem que reiniciar o Pragha para aplicar as alterações." +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Ainda existem tarefas secundárias" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Ignorar" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "Nome do ficheiro" @@ -131,194 +146,150 @@ msgid "Custom" msgstr "Personalizado" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Equalizador" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Favoritas" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Artista desconhecido" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Álbum desconhecido" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "Procurar na lista de reprodução" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "Fe_char" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Adicionar à fila de reprodução" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "_Ir para" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "Ig_norar" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "Ign_orar tudo" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "Elimin_ar tudo" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "_Expandir coleção" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Desconhecido" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "Recolher _coleção" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Género desconhecido" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "O ficheiro não pode ser movido para o lixo. Eliminar permanentemente?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "O ficheiro \"%s\" não pode ser movido para o lixo. Detalhes: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Cancelar" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Eliminar" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Estrutura de pastas" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Artista" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Álbum" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Género" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Artista/Álbum" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Género/Álbum" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Género/Artista" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Género/Álbum" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Género/Artista/Álbum" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Adicionar à lista de reprodução atual" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "Substituir lista de _reprodução atual" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Substituir e re_produzir" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Mudar nome" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Eliminar" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Exportar" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Editar detalhes" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Mover para o li_xo" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Eliminar da coleção" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Desconhecido" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Género desconhecido" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "O ficheiro não pode ser movido para o lixo. Eliminar permanentemente?" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "O ficheiro \"%s\" não pode ser movido para o lixo. Detalhes: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "_Cancelar" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "_Eliminar" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Listas de reprodução" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Rádios" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Coleção" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Pretende mover o(s) ficheiro(s) para o lixo?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "Eliminar permanentemente em vez de mover para o lixo" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -328,179 +299,183 @@ "\n" "Atenção: para o recuperar tem que reanalisar a coleção." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Reprodução" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "_Lista de reprodução" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Ver" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "Ferramen_tas" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "Aj_uda" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "Faixa anterior" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Reproduzir/Pausa" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Parar" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Faixa seguinte" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "Editar informações da faixa" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Sair" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Adicionar ficheiros" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Abrir ficheiro" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "Adicionar _localização" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "Adicionar à _coleção" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "Remover seleção da lista de reprodução" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "Recortar lista de reprodução" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Limpar lista de reprodução" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" -msgstr "Gravar lista de reprodução" +msgstr "Guardar lista de reprodução" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Nova lista de reprodução" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Exportar" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" -msgstr "Gravar seleção" +msgstr "Guardar seleção" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "Procurar na li_sta de reprodução" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Preferências" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Ir para a faixa atual" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "E_qualizador" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "_Reanalisar coleção" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "At_ualizar coleção" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "E_statísticas" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Página inicial" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Comunidade" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Traduzir o Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Sobre" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Aleatório" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Repetir" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Ecrã completo" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "_Painel lateral" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "Painel lateral secundário" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "Controlos de reprodução em baixo" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "Barra de menu" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Barra de estado" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" msgstr "Faixas:" @@ -518,163 +493,164 @@ msgstr "Estatísticas" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Título" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Taxa de dados" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Ano" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Comentário" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Duração" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Nome do ficheiro" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "Tipo MIME" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "Remover da fila de reprodução" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Remover da lista de reprodução" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "_Enviar para" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "Copiar \"%i\" para o número das faixas selecionadas" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "Copiar \"%s\" para os títulos selecionados" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "Copiar \"%s\" para os artistas selecionados" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "Copiar \"%s\" para os álbuns selecionados" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "Copiar \"%s\" para os géneros selecionados" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "Copiar \"%i\" para os anos selecionados" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "Copiar \"%s\" para os comentários selecionados" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "Faixa" msgstr[1] "Faixas" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Limpar ordenação" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "Lista de reprodução" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "_OK" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist é um nome reservado" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "Pretende substituir a lista de reprodução %s?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Escolha o novo nome" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Mudar nome" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "Pretende eliminar o item %s?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Exportar lista de reprodução para um ficheiro" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" -msgstr "_Gravar" +msgstr "_Guardar" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "Adicionadas %d de %d faixas da lista de reprodução importada" -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "O que pretende fazer?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "Substituir a lista %s" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "Adicionar à lista %s" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -684,240 +660,256 @@ "É permitido um máximo de 6 padrões.\n" "Por enquanto, as \"wildcards\" não são aceites (aceita-se \"patches\" :-) )" -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Padrão da capa de álbum" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Iniciar normal" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Iniciar em ecrã completo" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Iniciar na bandeja do sistema" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Selecione a pasta a adicionar" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "_Abrir" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Áudio" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Sistema de som" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Tem que reiniciar" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Dispositivo de som" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Utilizar gestor de som da aplicação" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Coleção" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "Não pode alterar os diretórios durante a análise." -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Pastas" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "_Adicionar" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "_Remover" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Unir pastas nas vista Estrutura de pastas" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Ordenar álbuns por ano" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Aparência" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Utilizar barra de título e contornos do sistema" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Realçar linhas da lista de reprodução atual" +msgstr "Utilizar ícones pequenos nas barras de ferramentas" -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Controlos" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Mostrar capa do álbum no painel" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Tamanho da imagem" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Padrão da capa do álbum" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "Procurar" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "Procurar ao escrever" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "Procurar palavras similares" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "Ao iniciar o Pragha" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Lembrar o último estado da janela" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Restaurar última lista de reprodução" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "Ao adicionar pastas" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Adicionar ficheiros recursivamente" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Área de trabalho" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "Mostrar ícone na área de notificação" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "Minimizar ao fechar a janela" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "Extras" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "Preferências" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Geral" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Serviços" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Preferências" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "%i ficheiros analisados em %i detetados" +msgid "%i files analyzed of %i detected" +msgstr "Analisados %i de %i ficheiros" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "A analisar ficheiros..." -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Terminou a análise da coleção" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Nada em reprodução" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Editar detalhes" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Faixa n.º" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Ficheiro" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Detalhes" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "canal" msgstr[1] "canais" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Canais" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Frequência" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Pasta" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Seleção para" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Abrir pasta" @@ -932,7 +924,7 @@ msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "Definir o título de todas as faixas selecionadas para: %s?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s de %s em %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s de %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s em %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Faixa anterior" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Reproduzir/Pausar faixa" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Parar reprodução" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Faixa seguinte" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Sair de ecrã completo" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Reproduzir aleatoriamente" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Repetir lista de reprodução" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "dia" msgstr[1] "dias" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Não foi possível abrir o navegador" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -1001,194 +1001,333 @@ "(%s)\n" "Motivo: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "_Parar" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "Segui_nte" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Selecione o ficherio a reproduzir" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Ficheiros suportados" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Todos os ficheiros" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "Introduza o URL de uma emissão web" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" -msgstr "Associar um nome e gravar" +msgstr "Associar um nome e guardar" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Adicionar localização" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "Sérgio Marques " - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "Pragha - Reprodutor de músicas" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "_Expandir coleção" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "Recolher _coleção" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Adicionar à lista de reprodução atual" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "Substituir lista de _reprodução atual" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Substituir e re_produzir" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Eliminar" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "_Remover coleção" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Mover para o li_xo" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Eliminar da coleção" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "Reprodutor de músicas" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Gestão e reprodução de músicas" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "Procurar detalhes em AcoustID" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Ocorreu um erro durante a procura na base de dados AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "Não foram encontradas faixas similares no AcoustID" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "A procurar detalhes em AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Recarregar coleção Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Servidor" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Utilizador" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Senha" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "CD áudio" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "CD áudio/dados" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" msgstr "Foi inserido um CD áudio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "Adicionar _CD de áudio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "CD áudio" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Dispositivo do CD de áudio" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Ligar ao servidor CDDB" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "Procurar músicas no servidor DLNA" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "Foram adicionadas as faixas do servidor %s." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "Servidor DLNA não encontrado." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Gosto desta faixa" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Não gosto desta faixa" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "Importar uma lista XSPF" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Adicionar favoritas" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Adicionar similares" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "Não foi possível estabelecer ligação à Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "A Last.fm sugeriu uma correção" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "Falha ao indicar \"Gosto desta faixa\" na Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "Falha ao indicar \"Não gosto desta faixa\" na Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "Adicionadas %d faixas de %d sugeridas pela Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "A Last.fm não sugere quaisquer faixas similares" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "Adicionadas %d faixas das últimas %d na Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "Não possui quaisquer faixas favoritas na Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "Ocorreu um erro ao enviar para a Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "Faixa enviada para a Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "Falha ao atualizar faixa na Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "Enviar para a Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Utilizador" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Senha" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Faixas" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1207,79 +1346,162 @@ msgid "Add actions to change track in notifications" msgstr "Adicionar ações para alterar faixas na notificação" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Recarregar coleção Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Favoritas em Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" -msgstr "Não foi possível aceder a %s" +msgid "Unable to accesss to “%s” device" +msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "Dispositivo amovível" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" -msgstr "Pretende gerir o dispositivo %s?" +msgid "Artist info" +msgstr "Informações do artista" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:90 msgid "Search _lyric" msgstr "Procurar _letra da faixa" -#: ../plugins/song-info/pragha-song-info-plugin.c:90 +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "Procurar informações do _artista" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "Informações da faixa" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." -msgstr "Transferir a capa do álbum ao reproduzir as faixas." +msgstr "Descarregar capa do álbum ao reproduzir as faixas." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format msgid "Lyrics thanks to %s" msgstr "Letras das faixas graças a %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 -#, c-format -msgid "Artist info" -msgstr "Informações do artista" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "%s obrigado a %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "Letras não encontradas." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "Informações do artista não encontradas." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Não existem recomendações." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "Procura..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "Procurar rádio no TuneIn" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Ocorreu um erro ao procurar as estações de rádio em TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "A procurar estações de rádio em TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "Procurar no TuneIn" -#~ msgid "Ignore" -#~ msgstr "Ignorar" +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" -#~ msgid "Use Gnome 3 HIG" -#~ msgstr "Utilizar Gnome 3 HIG" +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/ru.po pragha-1.3.992/po/ru.po --- pragha-1.3.3/po/ru.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/ru.po 2019-08-13 23:06:58.000000000 +0000 @@ -4,15 +4,17 @@ # # Translators: # Dmitri Bogomolov <4glitch@gmail.com>, 2013 -# Kyrill Detinov , 2012-2013,2015 +# Kyrill Detinov , 2012-2013,2015,2018 +# Kyrill Detinov , 2015,2018 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2015-02-12 19:02+0000\n" -"Last-Translator: Kyrill Detinov \n" -"Language-Team: Russian (http://www.transifex.com/p/Pragha/language/ru/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Russian (http://www.transifex.com/matias/Pragha/language/" +"ru/)\n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -21,30 +23,44 @@ "%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" "%100>=11 && n%100<=14)? 2 : 3);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Локальная музыка" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "_Нет" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "_Да" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "Вы хотели бы импортировать %s в коллекцию?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "Вы хотели бы обновить свою музыкальную коллекцию?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "Некоторые изменения требуют перезапуска Pragha." +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Выполняются фоновые задачи" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Игнорировать" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "ИМЯ_ФАЙЛА" @@ -133,194 +149,150 @@ msgid "Custom" msgstr "Пользовательский" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Эквалайзер" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Избранное" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Неизвестный исполнитель" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Неизвестный альбом" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "Искать в плейлисте" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "_Закрыть" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Добавить в очередь воспроизведения" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "П_ерейти к" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "_Пропустить" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "Пр_опустить всё" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "Удалить _всё" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "_Развернуть все" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Неизвестные" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "_Свернуть все" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Неизвестный жанр" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "Не удалось поместить файл в корзину. Удалить совсем?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Файл «%s» не удалось поместить в корзину. Подробности: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Отмена" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Удалить" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Дерево каталогов" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Исполнитель" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Альбом" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Жанр" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Исполнитель / Альбом" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Жанр / Альбом" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Жанр / Исполнитель" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Жанр / Альбом" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Жанр / Исполнитель / Альбом" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Добавить в текущий плейлист" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "_Заменить текущий плейлист" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Заменить и _воспроизвести" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Переименовать" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Удалить" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Экспорт" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Редактировать теги" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Переместить в _корзину" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Удалить из коллекции" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Неизвестные" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Неизвестный жанр" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "Не удалось поместить файл в корзину. Удалить совсем?" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "Файл «%s» не удалось поместить в корзину. Подробности: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "_Отмена" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "_Удалить" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Плейлисты" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Радиостанции" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Коллекция" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Вы действительно хотите переместить файлы в корзину?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "Удалить вместо перемещения в корзину" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -330,179 +302,183 @@ "\n" "Внимание: Для его восстановления потребуется просканировать коллекцию заново." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "В_оспроизведение" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "_Плейлист" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Вид" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Инструменты" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Справка" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "Предыдущий трек" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Воспроизведение / Пауза" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Остановить" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Следующий трек" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "Редактировать теги" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Выход" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Добавить файлы" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Открыть медиа-файл" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "Добавить _расположение" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "_Добавить коллекцию" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "Удалить выбранное из плейлиста" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "Исключить из списка остальные" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Очистить плейлист" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Сохранить плейлист" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Создать плейлист" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Экспорт" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Сохранить выделенное" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "_Поиск в плейлисте" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Настройки" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Перейти к проигрываемому треку" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "_Эквалайзер" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "_Повторное сканирование коллекции" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "_Обновить коллекцию" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Статистика" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Домашняя страница" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Сообщество" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Вики" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Перевести Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "О программе" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "В _случайном порядке" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Повторять" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "Во весь _экран" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "_Боковая панель" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "Вторая боковая панель" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "Управление проигрывателем снизу" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "Строка меню" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Статусная строка" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" msgstr "Количество треков:" @@ -520,95 +496,92 @@ msgstr "Статистика" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Название" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Битрейт" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Год" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Примечания" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Продолжительность" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Имя файла" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "Тип mime" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "Удалить из очереди воспроизведения" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Удалить из плейлиста" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "Отправит_ь" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "Копировать \"%i\" в выбранные номера треков" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "Копировать \"%s\" в выбранные названия" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "Копировать \"%s\" в выбранные исполнители" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "Копировать \"%s\" в выбранные альбомы" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "Копировать \"%s\" в выбранные жанры" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "Копировать \"%i\" в выбранные годы" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "Копировать \"%s\" в выбранные комментарии" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "Трек" @@ -616,69 +589,73 @@ msgstr[2] "Треков" msgstr[3] "Треков" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Без сортировки" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "Плейлист" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "_Ok" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist это зарезервированное название плейлиста" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "Вы хотите перезаписать плейлист: %s?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Выберите имя" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Переименовать" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "Вы хотите удалить этот элемент: %s?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Экспортировать плейлист в файл" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "_Сохранить" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "Добавлено %d композиций из %d импортированных плейлистов." -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "Что вы хотите сделать?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "Заменить плейлист \"%s\"" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "Добавить в плейлист \"%s\"" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -688,218 +665,234 @@ "файла>;....\n" "Максимум можно использовать шесть шаблонов." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Обложка альбома" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Обычный размер" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Во весь экран" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Запуск в области уведомлений" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Выберите каталог для добавления в коллекцию" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "_Открыть" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Аудио" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Звуковая подсистема" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Требуется перезапуск" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Audio устройство" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Использовать программный микшер" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Коллекция" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "Невозможно менять директории во время анализа" -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Каталоги" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "_Добавить" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "_Удалить" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Объединить каталоги в структуре коллекции" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Сортировать альбомы по году выпуска" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Внешний вид" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Использовать системный заголовок окна и рамки" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" +msgstr "Использовать маленькие значки на панелях" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Подсветка строк в плейлисте" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Переключатели" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Показывать обложку альбома на панели" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Размер изображения обложки альбома" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Шаблон имени файла обложки альбома" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "Поиск" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "Поиск по мере набора" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "Искать похожие слова" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "При запуске Pragha" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Запоминать состояние окна" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Восстанавливать последний плейлист" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "При добавлении каталога" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Добавлять содержимое вложенных папок" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Рабочий стол" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "Показывать значок Pragha в системном лотке" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "Сворачивать при закрытии окна" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "Модули" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "Настройки" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Основное" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Службы в Интернете" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Настройки" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "проанализировано %i из %i найденных" +msgid "%i files analyzed of %i detected" +msgstr "%i файлов проанализировано из %i найденных" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "Поиск файлов для анализа" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Коллекция просканирована." -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Не воспроизводится" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Редактировать теги" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Трек №" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Файл" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Подробности" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "канал" @@ -907,23 +900,23 @@ msgstr[2] "каналы" msgstr[3] "каналы" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Каналы" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" -msgstr "Рейтинг" +msgstr "Частота дискретизации" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Каталог" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Сохранить выделенное" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Открыть каталог" @@ -938,7 +931,7 @@ msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "Вы хотите установить название для ВСЕХ выбранных треков: %s?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s исполняет %s из %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s исполняет %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s из %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Предыдущий трек" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Воспроизвести / Пауза " -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Остановить воспроизведение" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Следующий трек" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Выход из полноэкранного режима" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Воспроизведение в случайном порядке" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Циклическое воспроизведение списка" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "день" @@ -994,11 +995,11 @@ msgstr[2] "дней" msgstr[3] "дней" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Невозможно открыть браузер." -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -1009,194 +1010,333 @@ "(%s)\n" "Причина: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "_Остановить" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "_Следующий" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Воспроизвести выделенный файл" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Поддерживаемые типы" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Все файлы" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "Введите URL интернет радио-потока" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "Введите имя для сохранения" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Добавить расположение" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "Kyrill Detinov " - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "Музыкальный проигрыватель Pragha" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "_Развернуть все" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "_Свернуть все" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Добавить в текущий плейлист" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Заменить текущий плейлист" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Заменить и _воспроизвести" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Удалить" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "_Удалить коллекцию" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Переместить в _корзину" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Удалить из коллекции" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "Музыкальный проигрыватель" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Слушайте и управляйте музыкой" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "Искать теги на AcoustID" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Произошла ошибка при поиске тегов на AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "AcoustID не нашёл похожие композиции" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Поиск тегов на AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Обновить коллекцию Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Сервер" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Имя учётной записи" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Пароль" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Audio CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "Audio/Data CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" msgstr "Вставлен Audio CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "Добавить Audio _CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "Audio CD" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Устройство Audio CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Соединиться с CDDB сервером" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "Искать музыку на сервере DLNA" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "Добавлена музыка с сервера %s" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "Невозможно найти DLNA серверы" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Добавить в «любимые»" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Удалить из «любимых»" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "Импортировать плейлист XSPF" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Добавить «любимые»" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Добавить похожие" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "Невозможно установить соединение с Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm предлагает исправить тег." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "Ошибка добавления композиции в «любимые» на Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "Ошибка удаления композиции из «любимых» на Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "Добавлено %d композиций из %d рекомендованных Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "Last.fm не может посоветовать похожие композиции." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "Добавлено %d композиций из %d последних «любимых» на Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "У вас нет «любимых» композиций на Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "Отправка данных на Last.fm не удалась" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "Трек заскробблен на Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "Ошибка отправки композиции на Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "Скробблинг на Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Имя учётной записи" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Пароль" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Треки" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1215,79 +1355,162 @@ msgid "Add actions to change track in notifications" msgstr "Добавить действия в сообщении о смене трека" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Обновить коллекцию Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Избранное в Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" -msgstr "Невозможно получить доступ к \"%s\"" +msgid "Unable to accesss to “%s” device" +msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "Съёмное устройство" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Artist info" +msgstr "Информация об исполнителе" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:90 msgid "Search _lyric" msgstr "Искать _текст песни" -#: ../plugins/song-info/pragha-song-info-plugin.c:90 +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "Искать _информацию об исполнителе" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "Информация о композиции" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "Загружать обложки альбомов во время воспроизведения" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format msgid "Lyrics thanks to %s" msgstr "Спасибо за текст %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 -#, c-format -msgid "Artist info" -msgstr "Информация об исполнителе" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "%s спасибо %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "Текст песни не найден." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "Информация об исполнителе не найдена" -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Нет рекомендованных песен." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "Поиск…" -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "Искать радио на TuneIn" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Произошла ошибка при поиске радио на TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Поиск радио на TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "Искать на TuneIn" -#~ msgid "Ignore" -#~ msgstr "Игнорировать" +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" -#~ msgid "Use Gnome 3 HIG" -#~ msgstr "Использовать GNOME 3 HIG" +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/sk.po pragha-1.3.992/po/sk.po --- pragha-1.3.3/po/sk.po 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/po/sk.po 2019-08-13 23:06:58.000000000 +0000 @@ -0,0 +1,1515 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Dušan Kazik , 2017 +# itachi17 , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Pragha\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Slovak (http://www.transifex.com/matias/Pragha/language/sk/)\n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n " +">= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" + +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Miestna hudba" + +#. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 +msgid "_No" +msgstr "_Nie" + +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 +msgid "_Yes" +msgstr "Án_o" + +#: ../src/info-bar-import-music.c:80 +#, c-format +msgid "Would you like to import %s to library?" +msgstr "Chcete importovať priečinok %s do zbierky?" + +#: ../src/info-bar-import-music.c:127 +msgid "Would you like to update your music library?" +msgstr "Chcete aktualizovať vašu hudobnú zbierku?" + +#: ../src/info-bar-import-music.c:170 +msgid "Some changes need restart pragha." +msgstr "Niektoré zmeny vyžadujú reštart prehrávača Pragha." + +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Na pozadí sú aktívne úlohy" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Ignorovať" + +#: ../src/pragha-cmdline.c:192 +msgid "FILENAME" +msgstr "NÁZOV_SÚBORU" + +#: ../src/pragha-cmdline.c:251 +msgid "Use --help to see a full list of available command line options." +msgstr "" +"Použite voľbu --help na zobrazenie celého zoznamu dostupných volieb " +"príkazového riadku." + +#: ../src/pragha-equalizer-dialog.c:50 +msgid "Disabled" +msgstr "Zakázaný" + +#: ../src/pragha-equalizer-dialog.c:51 +msgid "Classical" +msgstr "Klasický" + +#: ../src/pragha-equalizer-dialog.c:52 +msgid "Club" +msgstr "Klub" + +#: ../src/pragha-equalizer-dialog.c:53 +msgid "Dance" +msgstr "Tanec" + +#: ../src/pragha-equalizer-dialog.c:54 +msgid "Full Bass" +msgstr "Plné hĺbky" + +#: ../src/pragha-equalizer-dialog.c:55 +msgid "Full Bass and Treble" +msgstr "Plné hĺbky a výšky" + +#: ../src/pragha-equalizer-dialog.c:56 +msgid "Full Treble" +msgstr "Plné výšky" + +#: ../src/pragha-equalizer-dialog.c:57 +msgid "Laptop Speakers and Headphones" +msgstr "Reproduktory notebooku a slúchadlá" + +#: ../src/pragha-equalizer-dialog.c:58 +msgid "Large Hall" +msgstr "Veľký sála" + +#: ../src/pragha-equalizer-dialog.c:59 +msgid "Live" +msgstr "Na živo" + +#: ../src/pragha-equalizer-dialog.c:60 +msgid "Party" +msgstr "Večierok" + +#: ../src/pragha-equalizer-dialog.c:61 +msgid "Pop" +msgstr "Pop" + +#: ../src/pragha-equalizer-dialog.c:62 +msgid "Reggae" +msgstr "Reggae" + +#: ../src/pragha-equalizer-dialog.c:63 +msgid "Rock" +msgstr "Rock" + +#: ../src/pragha-equalizer-dialog.c:64 +msgid "Ska" +msgstr "Ska" + +#: ../src/pragha-equalizer-dialog.c:65 +msgid "Smiley Face Curve" +msgstr "Krivka v tvare úsmevu" + +#: ../src/pragha-equalizer-dialog.c:66 +msgid "Soft" +msgstr "Jemný" + +#: ../src/pragha-equalizer-dialog.c:67 +msgid "Soft Rock" +msgstr "Jemný Rock" + +#: ../src/pragha-equalizer-dialog.c:68 +msgid "Techno" +msgstr "Techno" + +#: ../src/pragha-equalizer-dialog.c:69 +msgid "Custom" +msgstr "Vlastný" + +#: ../src/pragha-equalizer-dialog.c:423 +msgid "Equalizer" +msgstr "Ekvalizér" + +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 +#: ../plugins/notify/pragha-notify-plugin.c:166 +msgid "Unknown Artist" +msgstr "Neznámy interpret" + +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 +#: ../plugins/notify/pragha-notify-plugin.c:167 +msgid "Unknown Album" +msgstr "Neznámy album" + +#. The search dialog +#: ../src/pragha-filter-dialog.c:368 +msgid "Search in playlist" +msgstr "Vyhľadanie v zozname skladieb" + +#: ../src/pragha-filter-dialog.c:371 +msgid "_Close" +msgstr "_Zavrieť" + +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 +msgid "Add to playback queue" +msgstr "Pridať do fronty prehrávania" + +#: ../src/pragha-filter-dialog.c:375 +msgid "_Jump to" +msgstr "Pre_jsť na" + +#: ../src/pragha-library-pane.c:141 +msgid "_Skip" +msgstr "_Preskočiť" + +#: ../src/pragha-library-pane.c:142 +msgid "S_kip All" +msgstr "Pre_skočiť všetko" + +#: ../src/pragha-library-pane.c:143 +msgid "Delete _All" +msgstr "O_dstrániť všetko" + +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Neznáme" + +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Neznámy žáner" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "Súbor sa nedá presunúť do koša. Má sa odstrániť natrvalo?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Súbor „%s“ sa nedá presunúť do koša. Podrobnosti: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Zrušiť" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "O_dstrániť" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 +msgid "Folders structure" +msgstr "Štruktúra priečinkov" + +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 +msgid "Artist" +msgstr "Interpret" + +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 +msgid "Album" +msgstr "Album" + +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 +msgid "Genre" +msgstr "Žáner" + +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 +msgid "Artist / Album" +msgstr "Interpret / album" + +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 +msgid "Genre / Artist" +msgstr "Žáner / interpret" + +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Žáner / album" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 +msgid "Genre / Artist / Album" +msgstr "Žáner / interpret / album" + +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 +msgid "Playlists" +msgstr "Zoznamy skladieb" + +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 +msgid "Radios" +msgstr "Rádiá" + +#: ../src/pragha-library-pane.c:2678 +msgid "Really want to move the files to trash?" +msgstr "Skutočne chcete presunúť súbory do koša?" + +#: ../src/pragha-library-pane.c:2680 +msgid "Delete permanently instead of moving to trash" +msgstr "Odstrániť natrvalo namiesto presunutia do koša" + +#: ../src/pragha-library-pane.c:2734 +msgid "" +"Are you sure you want to delete current file from library?\n" +"\n" +"Warning: To recover we must rescan the entire library." +msgstr "" +"Naozaj chcete odstrániť aktuálny súbor zo zbierky?\n" +"\n" +"Upozornenie: Na obnovenie sa bude musieť znovu prehľadať celá zbierka." + +#: ../src/pragha-menubar.c:193 +msgid "_Playback" +msgstr "P_rehrávanie" + +#: ../src/pragha-menubar.c:194 +msgid "Play_list" +msgstr "Zoznam _skladieb" + +#: ../src/pragha-menubar.c:195 +msgid "_View" +msgstr "_Zobrazenie" + +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 +msgid "_Tools" +msgstr "_Nástroje" + +#: ../src/pragha-menubar.c:197 +msgid "_Help" +msgstr "_Pomocník" + +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 +#: ../plugins/notify/pragha-notify-plugin.c:177 +msgid "Previous track" +msgstr "Predošlá skladba" + +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 +msgid "Play / Pause" +msgstr "Prehrať / pozastaviť" + +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 +msgid "Stop" +msgstr "Zastaviť" + +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 +#: ../plugins/notify/pragha-notify-plugin.c:181 +msgid "Next track" +msgstr "Ďalšia skladba" + +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 +msgid "Edit track information" +msgstr "Upraviť informácie o skladbe" + +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 +msgid "_Quit" +msgstr "_Ukončiť" + +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 +msgid "_Add files" +msgstr "Pr_idať súbory" + +#: ../src/pragha-menubar.c:211 +msgid "Open a media file" +msgstr "Otvoriť mediálny súbor" + +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 +msgid "Add _location" +msgstr "Pridať _umiestnenie" + +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 +msgid "_Add the library" +msgstr "Prid_ať zbierku" + +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 +msgid "Remove selection from playlist" +msgstr "Odstrániť výber zo zoznamu skladieb" + +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 +msgid "Crop playlist" +msgstr "Orezať zoznam skladieb" + +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 +msgid "Clear playlist" +msgstr "Vymazať zoznam skladieb" + +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 +msgid "Save playlist" +msgstr "Uložiť zoznam skladieb" + +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 +msgid "New playlist" +msgstr "Nový zoznam skladieb" + +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Exportovať" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 +msgid "Save selection" +msgstr "Uložiť výber" + +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 +msgid "_Search in playlist" +msgstr "_Vyhľadať v zozname skladieb" + +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 +msgid "_Preferences" +msgstr "_Nastavenia" + +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 +msgid "Jump to playing song" +msgstr "Prejsť na hranú skladbu" + +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 +msgid "E_qualizer" +msgstr "E_kvalizér" + +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 +msgid "_Rescan library" +msgstr "Znovu p_rehľadať zbierku" + +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 +msgid "_Update library" +msgstr "_Aktualizovať zbierku" + +#: ../src/pragha-menubar.c:244 +msgid "_Statistics" +msgstr "Š_tatistika" + +#: ../src/pragha-menubar.c:246 +msgid "Homepage" +msgstr "Domovská stránka" + +#: ../src/pragha-menubar.c:248 +msgid "Community" +msgstr "Komunita" + +#: ../src/pragha-menubar.c:250 +msgid "Wiki" +msgstr "Wiki" + +#: ../src/pragha-menubar.c:252 +msgid "Translate Pragha" +msgstr "Preložte prehrávač Pragha" + +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 +msgid "About" +msgstr "O programe" + +#: ../src/pragha-menubar.c:259 +msgid "_Shuffle" +msgstr "_Zamiešať" + +#: ../src/pragha-menubar.c:262 +msgid "_Repeat" +msgstr "_Opakovať" + +#: ../src/pragha-menubar.c:265 +msgid "_Fullscreen" +msgstr "_Režim na celú obrazovku" + +#: ../src/pragha-menubar.c:268 +msgid "Lateral _panel" +msgstr "Bočný _panel" + +#: ../src/pragha-menubar.c:271 +msgid "Secondary lateral panel" +msgstr "Druhý bočný panel" + +#: ../src/pragha-menubar.c:274 +msgid "Playback controls below" +msgstr "Ovládače prehrávania dolu" + +#: ../src/pragha-menubar.c:277 +msgid "Menubar" +msgstr "Lišta ponuky" + +#: ../src/pragha-menubar.c:638 +msgid "Total Tracks:" +msgstr "Skladieb celkom:" + +#: ../src/pragha-menubar.c:640 +msgid "Total Artists:" +msgstr "Interpretov celkom:" + +#: ../src/pragha-menubar.c:642 +msgid "Total Albums:" +msgstr "Albumov celkom:" + +#: ../src/pragha-menubar.c:645 +msgid "Statistics" +msgstr "Štatistika" + +#. Create labels +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 +msgid "Title" +msgstr "Názov" + +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 +msgid "Bitrate" +msgstr "Dátový tok" + +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 +msgid "Year" +msgstr "Rok" + +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 +msgid "Comment" +msgstr "Komentár" + +#. Create labels +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 +msgid "Length" +msgstr "Dĺžka" + +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 +msgid "Filename" +msgstr "Názov súboru" + +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 +msgid "Mimetype" +msgstr "Typ MIME" + +#: ../src/pragha-playlist.c:212 +msgid "Remove from playback queue" +msgstr "Odstrániť z fronty prehrávania" + +#: ../src/pragha-playlist.c:214 +msgid "Remove from playlist" +msgstr "Odstrániť zo zoznamu skladieb" + +#: ../src/pragha-playlist.c:222 +msgid "_Send to" +msgstr "Odoslať _do" + +#: ../src/pragha-playlist.c:2535 +#, c-format +msgid "Copy \"%i\" to selected track numbers" +msgstr "Kopírovať „%i“ do vybratých čísiel skladieb" + +#: ../src/pragha-playlist.c:2541 +#, c-format +msgid "Copy \"%s\" to selected titles" +msgstr "Kopírovať „%s“ do vybratých názvov" + +#: ../src/pragha-playlist.c:2547 +#, c-format +msgid "Copy \"%s\" to selected artists" +msgstr "Kopírovať „%s“ do vybratých interpretov" + +#: ../src/pragha-playlist.c:2553 +#, c-format +msgid "Copy \"%s\" to selected albums" +msgstr "Kopírovať „%s“ do vybratých albumov" + +#: ../src/pragha-playlist.c:2559 +#, c-format +msgid "Copy \"%s\" to selected genres" +msgstr "Kopírovať „%s“ do vybratých žánrov" + +#: ../src/pragha-playlist.c:2565 +#, c-format +msgid "Copy \"%i\" to selected years" +msgstr "Kopírovať „%i“ do vybratých rokov" + +#: ../src/pragha-playlist.c:2571 +#, c-format +msgid "Copy \"%s\" to selected comments" +msgstr "Kopírovať „%s“ do vybratých komentárov" + +#. Create the checkmenu items +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 +msgid "Track" +msgid_plural "Tracks" +msgstr[0] "skladba" +msgstr[1] "skladby" +msgstr[2] "skladieb" +msgstr[3] "skladieb" + +#: ../src/pragha-playlist.c:3514 +msgid "Clear sort" +msgstr "Vymazať usporiadanie" + +#: ../src/pragha-playlists-mgmt.c:74 +msgid "Playlist" +msgstr "Zoznam skladieb" + +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 +msgid "_Ok" +msgstr "_Ok" + +#: ../src/pragha-playlists-mgmt.c:130 +msgid "con_playlist is a reserved playlist name" +msgstr "con_playlist je rezervovaným názvom zoznamu skladieb" + +#: ../src/pragha-playlists-mgmt.c:154 +#, c-format +msgid "Do you want to overwrite the playlist: %s ?" +msgstr "Chcete prepísať zoznam skladieb: %s ?" + +#: ../src/pragha-playlists-mgmt.c:508 +msgid "Choose a new name" +msgstr "Voľba nového názvu" + +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Premenovať" + +#: ../src/pragha-playlists-mgmt.c:557 +#, c-format +msgid "Do you want to delete the item: %s ?" +msgstr "Chcete odstrániť položku: %s ?" + +#: ../src/pragha-playlists-mgmt.c:587 +msgid "Export playlist to file" +msgstr "Export zoznamu skladieb do súboru" + +#: ../src/pragha-playlists-mgmt.c:591 +msgid "_Save" +msgstr "_Uložiť" + +#: ../src/pragha-playlists-mgmt.c:1036 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 +#, c-format +msgid "Added %d songs from %d of the imported playlist." +msgstr "Pridaných %d skladieb z %d importovaných zoznamov skladieb." + +#: ../src/pragha-playlists-mgmt.c:1255 +msgid "What do you want to do?" +msgstr "Čo chcete urobiť?" + +#: ../src/pragha-playlists-mgmt.c:1257 +#, c-format +msgid "Replace the playlist \"%s\"" +msgstr "Nahradiť zoznam skladieb „%s“" + +#: ../src/pragha-playlists-mgmt.c:1262 +#, c-format +msgid "Add to playlist \"%s\"" +msgstr "Pridať do zoznamu skladieb „%s“" + +#: ../src/pragha-preferences-dialog.c:204 +msgid "" +"Patterns should be of the form:;;....\n" +"A maximum of six patterns are allowed.\n" +"Wildcards are not accepted as of now ( patches welcome :-) )." +msgstr "" +"Vzory by mali byť v tvare:;;....\n" +"Povolené maximum je šesť vzorov.\n" +"Zástupné znaky zatiaľ nie sú prijateľné ( záplaty sú vítané :-) )." + +#: ../src/pragha-preferences-dialog.c:227 +msgid "Album art pattern" +msgstr "Vzor obrázku albumu" + +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 +msgid "Start normal" +msgstr "Spustiť normálne" + +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 +msgid "Start fullscreen" +msgstr "Spustiť v režime na celú obrazovku" + +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 +msgid "Start in system tray" +msgstr "Spustiť v systémovej lište" + +#. Create a folder chooser dialog +#: ../src/pragha-preferences-dialog.c:700 +msgid "Select a folder to add to library" +msgstr "Výber priečinku na pridanie do zbierky" + +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 +msgid "_Open" +msgstr "_Otvoriť" + +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 +msgid "Audio" +msgstr "Zvuk" + +#: ../src/pragha-preferences-dialog.c:931 +msgid "Audio sink" +msgstr "Systém zvuku" + +#: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 +msgid "Restart Required" +msgstr "Vyžadovaný reštart" + +#: ../src/pragha-preferences-dialog.c:950 +msgid "Audio Device" +msgstr "Zvukové zariadenie" + +#: ../src/pragha-preferences-dialog.c:960 +msgid "Use software mixer" +msgstr "Použiť softvérový zmiešavač" + +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Zbierka" + +#: ../src/pragha-preferences-dialog.c:998 +msgid "Can not change directories while they are analyzing." +msgstr "Nedajú sa zmeniť adresáre, pokiaľ prebieha ich analýza." + +#: ../src/pragha-preferences-dialog.c:1018 +msgid "Folders" +msgstr "Priečinky" + +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 +msgid "_Add" +msgstr "_Pridať" + +#: ../src/pragha-preferences-dialog.c:1053 +msgid "_Remove" +msgstr "O_dstrániť" + +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 +msgid "Sort albums by release year" +msgstr "Usporiadať albumy podľa roku vydania" + +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + +#. Labels +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 +msgid "Appearance" +msgstr "Vzhľad" + +#: ../src/pragha-preferences-dialog.c:1132 +msgid "Use system title bar and borders" +msgstr "Použiť systémové záhlavia a okraje" + +#: ../src/pragha-preferences-dialog.c:1138 +msgid "Use small icons on the toolbars" +msgstr "Použiť malé ikony v paneloch nástrojov" + +#: ../src/pragha-preferences-dialog.c:1141 +msgid "Controls" +msgstr "Ovládanie" + +#: ../src/pragha-preferences-dialog.c:1143 +msgid "Show Album art in Panel" +msgstr "Zobraziť obrázok albumu v paneli" + +#: ../src/pragha-preferences-dialog.c:1146 +msgid "Size of Album art" +msgstr "Veľkosť obrázku albumu" + +#: ../src/pragha-preferences-dialog.c:1151 +msgid "Album art file pattern" +msgstr "Vzor súboru obrázku albumu" + +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 +msgid "Search" +msgstr "Vyhľadávanie" + +#. Instant search. +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 +msgid "Search while typing" +msgstr "Vyhľadávať počas písania" + +#. Aproximate search. +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 +msgid "Search similar words" +msgstr "Vyhľadávať podobné slová" + +#: ../src/pragha-preferences-dialog.c:1201 +msgid "When starting pragha" +msgstr "Pri spustení prehrávača Pragha" + +#: ../src/pragha-preferences-dialog.c:1204 +msgid "Remember last window state" +msgstr "Zapamätať posledný stav okna" + +#: ../src/pragha-preferences-dialog.c:1210 +msgid "Restore last playlist" +msgstr "Obnoviť posledný zoznam skladieb" + +#: ../src/pragha-preferences-dialog.c:1213 +msgid "When adding folders" +msgstr "Pri pridaní priečinkov" + +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 +msgid "Add files recursively" +msgstr "Pridať súbory rekurzívne" + +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 +msgid "Desktop" +msgstr "Pracovná plocha" + +#: ../src/pragha-preferences-dialog.c:1240 +msgid "Show Pragha icon in the notification area" +msgstr "Zobraziť ikonu prehrávača Pragha v oznamovacej oblasti" + +#: ../src/pragha-preferences-dialog.c:1243 +msgid "Minimize Pragha when closing window" +msgstr "Minimalizovať prehrávač Pragha pri zatvorení okna" + +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 +msgid "Plugins" +msgstr "Zásuvné moduly" + +#. The main preferences dialog +#: ../src/pragha-preferences-dialog.c:1351 +msgid "Preferences" +msgstr "Nastavenia" + +#: ../src/pragha-preferences-dialog.c:1363 +msgid "General" +msgstr "Všeobecné" + +#: ../src/pragha-preferences-dialog.c:1410 +msgid "Services" +msgstr "Služby" + +#: ../src/pragha-preferences-dialog.c:1424 +msgid "Preferences of Pragha" +msgstr "Nastavenia prehrávača Pragha" + +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 +#, c-format +msgid "%i files analyzed of %i detected" +msgstr "%i súborov analyzovaných z %i rozpoznaných" + +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 +msgid "Searching files to analyze" +msgstr "Vyhľadávajú sa súbory na analýzu" + +#: ../src/pragha-scanner.c:257 +msgid "Library scan complete" +msgstr "Prehľadávanie zbierky bolo dokončené" + +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 +msgid "Not playing" +msgstr "Neprehráva sa" + +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Upraviť značky" + +#: ../src/pragha-tags-dialog.c:171 +msgid "Track No" +msgstr "Č. skladby" + +#: ../src/pragha-tags-dialog.c:174 +msgid "File" +msgstr "Súbor" + +#. The main edit dialog +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 +msgid "Details" +msgstr "Podrobnosti" + +#: ../src/pragha-tags-dialog.c:672 +msgid "channel" +msgid_plural "channels" +msgstr[0] "kanál" +msgstr[1] "kanály" +msgstr[2] "kanálov" +msgstr[3] "kanálov" + +#: ../src/pragha-tags-dialog.c:691 +msgid "Channels" +msgstr "Kanály" + +#: ../src/pragha-tags-dialog.c:692 +msgid "Samplerate" +msgstr "Vzorkovacia frekvencia" + +#: ../src/pragha-tags-dialog.c:693 +msgid "Folder" +msgstr "Priečinok" + +#: ../src/pragha-tags-dialog.c:1092 +msgid "Selection to" +msgstr "Výber k" + +#: ../src/pragha-tags-dialog.c:1130 +msgid "Open folder" +msgstr "Otvoriť priečinok" + +#: ../src/pragha-tags-mgmt.c:197 +#, c-format +msgid "" +"Do you want to set the track number of ALL of the selected tracks to: %d ?" +msgstr "Chcete nastaviť číslo skladby pre VŠETKY vybraté skladby na: %d ?" + +#: ../src/pragha-tags-mgmt.c:215 +#, c-format +msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" +msgstr "Chcete nastaviť značku názvu pre VŠETKY vybraté skladby na: %s ?" + +#: ../src/pragha-toolbar.c:147 +#, c-format +msgid "" +"%s by %s in %s" +msgstr "" +"%s od interpreta %s " +"z albumu %s" + +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 +#, c-format +msgid "%s by %s" +msgstr "%s od interpreta %s" + +#: ../src/pragha-toolbar.c:156 +#, c-format +msgid "%s in %s" +msgstr "%s z albumu %s" + +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 +msgid "Previous Track" +msgstr "Predošlá skladba" + +#: ../src/pragha-toolbar.c:859 +msgid "Play / Pause Track" +msgstr "Prehrať / pozastaviť skladbu" + +#: ../src/pragha-toolbar.c:863 +msgid "Stop playback" +msgstr "Zastaviť prehrávanie" + +#: ../src/pragha-toolbar.c:867 +msgid "Next Track" +msgstr "Ďalšia skladba" + +#: ../src/pragha-toolbar.c:878 +msgid "Leave Fullscreen" +msgstr "Opustiť režim na celú obrazovku" + +#: ../src/pragha-toolbar.c:885 +msgid "Play songs in a random order" +msgstr "Prehrať skladby v náhodnom poradí" + +#: ../src/pragha-toolbar.c:888 +msgid "Repeat playback list at the end" +msgstr "Opakovať zoznam prehrávania na konci" + +#: ../src/pragha-utils.c:493 +msgid "day" +msgid_plural "days" +msgstr[0] "deň" +msgstr[1] "dni" +msgstr[2] "dní" +msgstr[3] "dní" + +#: ../src/pragha-utils.c:796 +msgid "Unable to open the browser" +msgstr "Nie je možné otvoriť prehliadač" + +#: ../src/pragha-window.c:133 +#, c-format +msgid "" +"Error playing current track.\n" +"(%s)\n" +"Reason: %s" +msgstr "" +"Chyba pri prehrávaní aktuálnej skladby.\n" +"(%s)\n" +"Príčina: %s" + +#: ../src/pragha-window.c:140 +msgid "_Stop" +msgstr "_Zastaviť" + +#: ../src/pragha-window.c:141 +msgid "_Next" +msgstr "Ďale_j" + +#: ../src/pragha.c:175 +msgid "Select a file to play" +msgstr "Výber súboru na prehranie" + +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 +msgid "Supported media" +msgstr "Podporované médiá" + +#: ../src/pragha.c:308 +msgid "All files" +msgstr "Všetky súbory" + +#: ../src/pragha.c:384 +msgid "Enter the URL of an internet radio stream" +msgstr "Zadajte URL prúdu internetového rádia" + +#: ../src/pragha.c:391 +msgid "Give it a name to save" +msgstr "Zadajte názov pre uloženie" + +#: ../src/pragha.c:404 +msgid "Add a location" +msgstr "Pridanie umiestnenia" + +#. Setup application name and pulseaudio role +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 +msgid "Pragha Music Player" +msgstr "Hudobný prehrávač Pragha" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "_Rozbaliť zbierku" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "_Zbaliť zbierku" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Pridať do aktuálneho zoznamu skladieb" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Nahradiť aktuálny zoznam skladieb" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Nahradiť a p_rehrať" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Odstrániť" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "O_dstrániť zbierku" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Presunúť do _koša" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Odstrániť zo zbierky" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + +#: ../data/pragha.desktop.in.h:1 +msgid "Music Player" +msgstr "Hudobný prehrávač" + +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 +msgid "Search tags on AcoustID" +msgstr "Vyhľadať značky v službe AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Vyskytla sa chyba počas hľadania vašich značiek v službe AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 +msgid "AcoustID not found any similar song" +msgstr "Služba AcoustID nenašla žiadne podobné skladby" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Vyhľadávajú sa značky v službe AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Obnoviť zbierku služby Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Server" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Používateľské meno" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Heslo" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Audio CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "Audio/dátové CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "Bolo vložené audio CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 +msgid "Add Audio _CD" +msgstr "Pridať audio _CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 +msgid "Audio CD Device" +msgstr "Zariadenie audio CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 +msgid "Connect to CDDB server" +msgstr "Pripojiť k serveru CDDB" + +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 +msgid "Search music on DLNA server" +msgstr "Vyhľadať hudbu na serveri DLNA" + +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 +#, c-format +msgid "Music of the %s server was added." +msgstr "Hudba zo servera %s bola pridaná." + +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +msgid "Could not find any DLNA server." +msgstr "Nepodarilo sa nájsť žiadny server DLNA." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 +msgid "_Lastfm" +msgstr "_Lastfm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 +msgid "Import a XSPF playlist" +msgstr "Importovať zoznam skladieb XSPF" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 +msgid "Add favorites" +msgstr "Pridať obľúbené" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 +msgid "Add similar" +msgstr "Pridať podobné" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 +msgid "Unable to establish conection with Last.fm" +msgstr "Nie je možné uskutočniť spojenie so službou Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 +msgid "Last.fm suggested a tag correction" +msgstr "Služba Last.fm navrhla korekciu značiek" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 +msgid "Love song on Last.fm failed." +msgstr "Obľúbenie skladby na službe Last.fm zlyhalo." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 +msgid "Unlove song on Last.fm failed." +msgstr "Zrušenie obľúbenia skladby na službe Last.fm zlyhalo." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 +#, c-format +msgid "Added %d tracks of %d suggested from Last.fm" +msgstr "Pridaných %d skladieb z %d navrhnutých zo služby Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 +#, c-format +msgid "Last.fm doesn't suggest any similar track" +msgstr "Služba Last.fm nenavrhla žiadnu podobnú skladbu" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 +#, c-format +msgid "Added %d songs of the last %d loved on Last.fm." +msgstr "Pridaných %d skladieb z posledných %d obľúbených na službe Last.fm." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 +#, c-format +msgid "You don't have favorite tracks on Last.fm" +msgstr "Nemáte obľúbené skladby na službe Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 +msgid "Last.fm submission failed" +msgstr "Podriadenie sa službe Last.fm zlyhalo" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 +msgid "Track scrobbled on Last.fm" +msgstr "Skladba je scrobblovaná na službe Last.fm" + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 +msgid "Update current song on Last.fm failed." +msgstr "Aktualizácia aktuálnej skladby na službe Last.fm zlyhala." + +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 +msgid "Scrobble on Last.fm" +msgstr "Scrobble na službe Last.fm" + +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" + +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "" + +#: ../plugins/notify/pragha-notify-plugin.c:165 +#, c-format +msgid "by %s in %s (%s)" +msgstr "od interpreta %s z albumu %s (%s)" + +#: ../plugins/notify/pragha-notify-plugin.c:267 +msgid "Notifications" +msgstr "Oznámenia" + +#: ../plugins/notify/pragha-notify-plugin.c:269 +msgid "Show Album art in notifications" +msgstr "Zobraziť obrázok albumu v oznámeniach" + +#: ../plugins/notify/pragha-notify-plugin.c:274 +msgid "Add actions to change track in notifications" +msgstr "Pridať akcie na zmenu skladby v oznámeniach" + +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 +#, c-format +msgid "Unable to accesss to “%s” device" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 +msgid "Removable Device" +msgstr "Vymeniteľné zariadenie" + +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "Informácie o interpretovi" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "Vyhľadať text _skladby " + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 +msgid "Search _artist info" +msgstr "Vyhľadať informácie o _interpretovi" + +#: ../plugins/song-info/pragha-song-info-plugin.c:558 +msgid "Song Information" +msgstr "Informácie o skladbe" + +#: ../plugins/song-info/pragha-song-info-plugin.c:560 +msgid "Download the album art while playing their songs." +msgstr "Preberie obrázok albumu počas prehrávania skladieb." + +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#, c-format +msgid "Lyrics thanks to %s" +msgstr "Text skladby vďaka službe %s" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 +#, c-format +msgid "%s thanks to %s" +msgstr "%s vďaka službe %s" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 +msgid "Lyrics not found." +msgstr "Text skladby sa nenašiel." + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 +msgid "Artist information not found." +msgstr "Informácie o interpretovi sa nenašli." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 +msgid "Searching..." +msgstr "Vyhľadáva sa..." + +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 +msgid "Search radio on TuneIn" +msgstr "Vyhľadať rádio v službe TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Vyskytla sa chyba počas hľadania rádia v službe TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Vyhľadáva sa rádio v službe TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 +msgid "Search in TuneIn" +msgstr "Vyhľadanie v službe TuneIn" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/sv.po pragha-1.3.992/po/sv.po --- pragha-1.3.3/po/sv.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/sv.po 2019-08-13 23:06:58.000000000 +0000 @@ -3,44 +3,60 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: +# Mathias Andre , 2015 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 17:03+0000\n" -"Last-Translator: matias \n" -"Language-Team: Swedish (http://www.transifex.com/p/Pragha/language/sv/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Swedish (http://www.transifex.com/matias/Pragha/language/" +"sv/)\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "" +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "" @@ -129,194 +145,150 @@ msgid "Custom" msgstr "" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Okänd artist" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Okänt album" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Köa i spellistan" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "_Fäll ut bibliotek" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Okända" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "_Fäll ihop bibliotek" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Okänd genre" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Mappstruktur" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Artist" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Album" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Genre" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Artist / Album" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Genre / Album" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Genre / Artist" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Genre / Album" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Genre / Artist / Album" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Ta bort" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Exportera" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Redigera taggar" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Ta bort från bibliotek" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Okända" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Okänd genre" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Spellistor" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" -msgstr "" +msgstr "Radios" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Bibliotek" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" -msgstr "" +msgstr "Är du säker på att du vill flytta dessa filer till papperskorgen?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" -msgstr "" +msgstr "Ta bort permanent istället för att flytta till papperskorgen" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -326,179 +298,183 @@ "\n" "Varning: Hela biblioteket måste sökas av igen." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Visa" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Verktyg" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Hjälp" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" -msgstr "" +msgstr "Föregående spår" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Uppspelning / Paus" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Stopp" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Nästa spår" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Avsluta" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Lägg till filer" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Öppna en mediafil" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Rensa spellista" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Spara spellista" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" -msgstr "" +msgstr "Ny spellista" + +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Exportera" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Spara urval" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "_Sök i spellistan" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Inställningar" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Visa aktuellt spår" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "_Avsök biblioteket igen" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "_Uppdatera biblioteket" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_Statistik" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Hemsida" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Forum" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Skapa översättning för Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Om" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "_Blanda" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Upprepa" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Helskärmsläge" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "Sidopanel" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Statusfält" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" msgstr "Antal spår:" @@ -516,163 +492,164 @@ msgstr "Statistik" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Titel" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Bitrate" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "År" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Kommentar" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Längd" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Filnamn" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "" msgstr[1] "Spår" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Rensa sortering" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" -msgstr "" +msgstr "Spellista" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlistär ett reserverat spellistenamn" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Exportera spellista till fil" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "" -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -682,242 +659,258 @@ "Maximalt sex mönster är tillåtna.\n" "Jokertecken accepteras inte för tillfället ( patchar välkomnas :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Albumomslagsmönster" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Starta normalt" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "_Helskärmsläge" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Starta i aktivitetsfältet" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Välj en mapp att lägga till i biblioteket" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Ljud" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Ljudmotor" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Omstart krävs" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Portabel musikspelare" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Använd mjukvarumixer" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Bibliotek" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "" -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Mappar" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 +msgid "Sort albums by release year" msgstr "" -#: ../src/pragha-preferences-dialog.c:1021 -msgid "Sort albums by release year" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" msgstr "" #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" msgstr "" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" msgstr "" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Visa albumomslag i panelen" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Storlek för albumomslag" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Filmönster för albumomslag" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Kom ihåg föregående fönsterläge" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Återställ sista spellistan" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Lägg till filer rekursivt" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" -msgstr "" +msgstr "Inställningar" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Allmänt" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Inställningar" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" +msgid "%i files analyzed of %i detected" msgstr "" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Biblioteksavsökning färdig" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Spelar inte" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Redigera taggar" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Spårnummer" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Filnamn" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Egenskaper" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "" msgstr[1] "" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Kanaler" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Samplerate" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Sökväg" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" -msgstr "" +msgstr "Öppna mapp" #: ../src/pragha-tags-mgmt.c:197 #, c-format @@ -930,7 +923,7 @@ msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s med %s från %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s med %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s från %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Föregående Spår" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Spela upp / Pausa Spår" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Stoppa uppspelningen" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Nästa spår" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Lämna _helskärmsläge" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Spela upp i slumpmässig ordning" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Upprepa spellistan då den nått slutet" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "" msgstr[1] "dag" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Kunde inte öppna webbläsaren" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -996,194 +997,333 @@ "Reason: %s" msgstr "" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Välj fil att spela upp" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Tillgängliga mediaformat" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Alla filer" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "Översättare" - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "_Fäll ut bibliotek" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "_Fäll ihop bibliotek" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Ta bort" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Ta bort från bibliotek" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 -msgid "Audio/Data CD" +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 -msgid "An audio CD was inserted" +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 -msgid "Add Audio _CD" +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Användarnamn" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Lösenord" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 msgid "Audio CD" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 +msgid "Add Audio _CD" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "CD-enhet" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "Anslut till CDDB server" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 -msgid "_Lastfm" -msgstr "" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "" - #: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 +msgid "_Lastfm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Användarnamn" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Lösenord" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1202,73 +1342,162 @@ msgid "Add actions to change track in notifications" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" +msgid "Unable to accesss to “%s” device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" +msgstr "Flyttbar enhet" + +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Artist info" +msgstr "Artist information" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" -msgstr "" +msgstr "Låt information" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" +msgid "Lyrics thanks to %s" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." -msgstr "" +msgstr "Text okänd" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." +msgstr "Artist information okänd" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." -msgstr "" +msgstr "Söker..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" +msgstr "Sök efter radio på Tuneln" + +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" +msgstr "Sök i Tuneln" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" msgstr "" diff -Nru pragha-1.3.3/po/tr.po pragha-1.3.992/po/tr.po --- pragha-1.3.3/po/tr.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/tr.po 2019-08-13 23:06:58.000000000 +0000 @@ -6,51 +6,70 @@ # Emre FIRAT , 2013 # Fatih Malakçı <>, 2012 # Necdet Yücel , 2012 +# Ulaş Çakmak , 2018 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 17:03+0000\n" -"Last-Translator: matias \n" -"Language-Team: Turkish (http://www.transifex.com/p/Pragha/language/tr/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Turkish (http://www.transifex.com/matias/Pragha/language/" +"tr/)\n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Yerel Müzik" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" -msgstr "" +msgstr "_Hayır" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" -msgstr "" +msgstr "_Evet" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "%s 'ı kütüphaneye eklemek istermisiniz?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" -msgstr "" +msgstr "Müzik kitaplığınızı güncellemek ister misiniz?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "" +"Bazı değişiklikler sebebiyle pragha'nın yeniden başlatılması gerekiyor." + +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Çalışan arka plan görevleri var" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Görmezden gel" #: ../src/pragha-cmdline.c:192 msgid "FILENAME" -msgstr "" +msgstr "DOSYAADI" #: ../src/pragha-cmdline.c:251 msgid "Use --help to see a full list of available command line options." msgstr "" +"Kullanılabilir komut satırı seçeneklerinin tam listesini görmek için --" +"help'i kullanın." #: ../src/pragha-equalizer-dialog.c:50 msgid "Disabled" @@ -132,194 +151,150 @@ msgid "Custom" msgstr "Özel" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Ekolayzer" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Favoriler" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Bilinmeyen sanatçı" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Bilinmeyen albüm" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" -msgstr "" +msgstr "Oynatma listesinde ara" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" -msgstr "" +msgstr "_Kapat" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Oynatma sırasına ekle" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" -msgstr "" +msgstr "_Atla" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "_Atla" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "_Hepsini Atla" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "Hepsini Sil" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "Kütüphaneyi _yay" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Bilinmeyen" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "Kütüphaneyi _toparla" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Bilinmeyen tür" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "Dosya çöp kutusuna taşınamaz. Kalıcı olarak sil?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Dosya \"%s\" maalesef silinemedi. Detay: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_İptal et" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Sil" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Klasör görünümü" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Sanatçı" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Albüm" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Tür" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Sanatçı / Albüm" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Tür / Albüm" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Tür / Sanatçı" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Tür / Albüm" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Tür / Sanatçı / Albüm" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "Güncel _listeye ekle" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "_Güncel listeyi yenile" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Değiştir ve Çal" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Yeniden adlandır" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Sil" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Dışarı Aktar" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Etiketleri Düzenle" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Çöpe _Taşı" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Kütüphaneden kaldır" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Bilinmeyen" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Bilinmeyen tür" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "Dosya \"%s\" maalesef silinemedi. Detay: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "Oynatma Listeleri" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Radyolar" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Kütüphane" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Bu dosyaları gerçekten çöpe aktarmak istiyor musunuz?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" -msgstr "" +msgstr "Çöp kutusuna taşımak yerine kalıcı olarak sil" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -329,178 +304,182 @@ "\n" "Uyarı: Bu işlemin ardından bütün kütüphaneyi yenilemek zorundayız." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Çalma" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "Oynatma_listesi" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Görünüm" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Araçlar" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Yardım" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" -msgstr "" +msgstr "Önceki parça" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Oynat / Durakla" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Dur" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Sonraki parça" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "Parça bilgisini düzenle" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Çık" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "Dosya _ekle" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Müzik parçası aç" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "_Konum ekle" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "_Kütüphaneye ekle" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "Seçimi listeden çıkar" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "Parça listesini kırp" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Parça Listesini Temizle" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Oynatma Listesini Kaydet" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "Yeni liste" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Dışarı Aktar" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Seçimi kaydet" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "Oynatma listesinde _ara" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Tercihler" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Çalınan parçaya git" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "Ses _dengeleyicisi" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "Kütüphaneyi yenile" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "Kütüphaneyi güncelle" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "_İstatistikler" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Anasayfa" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Topluluk " -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Pragha'yı tercüme et" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Hakkında" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "Tesa_düfle" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "_Tekrarla" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_Tam ekran" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "Yan bölme" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" -msgstr "" +msgstr "İkincil yan panel" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "Tekrarlama seçenekleri" -#: ../src/pragha-menubar.c:274 -msgid "Menubar" -msgstr "" - #: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Durum çubuğu" +msgid "Menubar" +msgstr "Menü çubuğu" #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" @@ -519,163 +498,164 @@ msgstr "İstatistikler" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Başlık" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Bit oranı" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Yıl" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Açıklama" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Süre" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Dosya adı" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" -msgstr "" +msgstr "MIME türü" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" -msgstr "" +msgstr "Oynatma kuyruğundan çıkar" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Parça listesinden çıkar" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" -msgstr "" +msgstr "_Gönder" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "\"%i\" ı seçili şarkı numaralarına kopyala" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "\"%s\" ı seçili türlere kopyala" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "\"%s\" ı seçili artislere kopyala" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "\"%s\" ı seçili albümlere kopyala" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "\"%s\" ı seçili yaş gruplarına kopyala" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr " \"%i\" 'ı seçili yıllara kopyala" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "\"%s\" ı seçili yorumlara kopyala" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "Parça" msgstr[1] "Parça" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Sıralamayı boşver" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "Parça Listesi" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" -msgstr "" +msgstr "_Tamam" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist çalma listesinin adı muhafızdır" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "%s listesinin üzerine yazmak istiyor musunuz?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Yeni bir isim seç" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Yeniden adlandır" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "%s 'i silmek istiyor musunuz?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "Oynatma listesini dosyaya kaydet" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" -msgstr "" +msgstr "_Kaydet" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "İçe aktarılan parça listesinden %d parçanın %d'i eklendi." -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "Ne yapmak istiyorsun?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "\"%s\" parçasını değiştir" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "\"%s\" parçasını ekle" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -685,240 +665,256 @@ "En fazla altı örüntüye izin verilmektedir.\n" "Şimdilik meta karakterler kabul edilmemektedir (yama kabul ediyoruz :-))." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Kapak resmi türü" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Düzgün başla" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Tam ekran kipinde başla" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Sistem çekmecesinde başla" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Kütüphaneye eklemek için klasör seçiniz" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" -msgstr "" +msgstr "_Aç" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Ses" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Ses alıcı" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Yeniden başlatılması gerekiyor" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Ses aygıtı" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Yazılım mikseri kullan" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Kütüphane" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." -msgstr "" +msgstr "Analiz yaparken dizinleri değiştiremez." -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "_Klasörler" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" -msgstr "" +msgstr "_Ekle" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" -msgstr "" +msgstr "_Kaldır" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Dosyaları dosya ortamında birleştir" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Albümleri yayınlanma yılına göre sırala" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Görünüm" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Sistem başlık çubuğunu ve kenarlıklarını kullan" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Güncel parça listesinde satırları renklendir" +msgstr "Araç çubuklarında küçük simgeler kullan" -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Kontroller" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Yan bölmede kapak resmini göster" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Kapak resim bouyutu" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Kapak resmi dosya seçeneği" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "Ara" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" -msgstr "" +msgstr "Yazarken ara" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" -msgstr "" +msgstr "Benzer kelimeleri ara" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "Pragha başlatılırken" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Son kullanılan pencere kipini hatırla" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "Son çalma sırasını geri getir" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "Dizin eklerken" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Ortam dosyaları ekle" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Masaüstü" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "Uyarı alanında Pragha simgesini göster" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" -msgstr "" +msgstr "Pencereyi kapatırken Pragha'yı simge durumuna küçült" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" -msgstr "" +msgstr "Eklentiler" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" -msgstr "" +msgstr "Tercihler" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Genel" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Servisler" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Praghanın Tercihleri" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "%i dosyaları anazliz edildi %i tespit edildi" +msgid "%i files analyzed of %i detected" +msgstr "%i dosya analiz edildi %i algılandı" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "Analiz için dosyalar aranıyor" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Dosya güncelleşmesi tamamlandı" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Çalınmıyor" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Etiketleri Düzenle" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "İz numara" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Dosya" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Ayrıntılar" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" -msgstr[0] "" -msgstr[1] "" +msgstr[0] "kanal" +msgstr[1] "kanallar" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Ses Kanalları" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Örnekleme hızı" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Klasör" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Seçim" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Dizin aç" @@ -933,7 +929,7 @@ msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "Seçili tüm şarkıların türünü %s olarak ayarlamak istiyormusunuz ?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s by %s in %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s ile %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s içi %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Önceki parça" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Parçayı çal / durakla" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Oynatmayı durdur" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Sonraki Parça" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Tam ekrandan çık" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Oynatma sırasındaki dosyaları rastgele oynat" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Oynatma sırasının sonuna gelindiğinde tekrar başla" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "gün" msgstr[1] "gün" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Adres açılamadı" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -1002,194 +1006,333 @@ "(%s)\n" "Neden: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" -msgstr "" +msgstr "_Dur" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" -msgstr "" +msgstr "_Sonraki" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Oynatmak için dosya seç" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Desteklenen medya" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Tüm dosyalar" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "İnternet radyosu için URL girin" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "Kaydetmek için bir isim belirle" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Konum ekle" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "Almancı Türkçe çevirimi:Hakan Erduman " - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" +msgstr "Pragha Müzik Çalar" + +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "Kütüphaneyi _yay" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "Kütüphaneyi _toparla" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "Güncel _listeye ekle" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Güncel listeyi yenile" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Değiştir ve Çal" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Sil" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "_Kütüphaneyi kaldır" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Çöpe _Taşı" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Kütüphaneden kaldır" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" msgstr "" #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "Müzik Çalar" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Müziği yönetin ve dinleyin" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" -msgstr "" +msgstr "Akustik kimliğindeki etiketleri ara" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Etiketlerinizi Akustik kimliğinde ararken bir hata oluştu" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" -msgstr "" +msgstr "Akustik kimliği benzer bir şarkı bulunamadı" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 -msgid "Audio/Data CD" +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Akustik kimliğinde etiketler aranıyor" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Ampache kütüphanesini yenile" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 -msgid "An audio CD was inserted" +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 -msgid "Add Audio _CD" -msgstr "Müzik _CD'si ekle" +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Sunucu" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Kullanıcı Adı" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Parola" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 msgid "Audio CD" msgstr "Müzik CD'si" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 +msgid "Audio/Data CD" +msgstr "Ses / Veri CD'si" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 +msgid "An audio CD was inserted" +msgstr "Bir ses CD'si takıldı" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 +msgid "Add Audio _CD" +msgstr "Müzik _CD'si ekle" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "CD Okuyucu aygıtı" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "CDDB Sunucusuna bağlan" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" -msgstr "" +msgstr "DLNA sunucusunda müzik ara" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." -msgstr "" +msgstr "%s sunucusunun müziği eklendi." -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." -msgstr "" +msgstr "DLNA sunucusu bulunamadı." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Lastfm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Parçayı sev" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Parçayı sevme" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "XSPF listesini içeri aktar" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Favorilere ekle" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Benzer ekle" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" -msgstr "" +msgstr "Last.fm ile bağlantı kurulamıyor" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm etikette bir düzeltme önerdi" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "Last.fm'de parçayı sevme başarısız oldu" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "Last.fm üzerinde Unlove şarkısı başarısız oldu" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" -msgstr "" +msgstr "Last.fm'in önerdiği %d parçaları %d'den eklendi" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" -msgstr "" +msgstr "Last.fm benzer bir parça önermiyor" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "Last.fm'de sevdiğiniz son %d parçanın %d'i eklendi." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" -msgstr "" +msgstr "Last.fm'de favori parçanız yok" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "Last.fm gönderimi başarısız oldu" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "Parça Last.fm'e skroplandı" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "Bu parçayı Last.fm'de güncelleme başarısız oldu." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" +msgstr "Parça Last.fm'e skroplandı" + +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Kullanıcı Adı" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Parola" +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Parçalar" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1206,75 +1349,164 @@ #: ../plugins/notify/pragha-notify-plugin.c:274 msgid "Add actions to change track in notifications" +msgstr "Bildirimlerde parça değiştirmek için eylemler ekle" + +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Koel kütüphanesini yenileyin" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Koel'de Sık Kullanılanlar" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" +msgid "Unable to accesss to “%s” device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" +msgstr "Çıkarılabilir Aygıt" + +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Artist info" +msgstr "Sanatçı bilgisi" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "Ara _beste" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" -msgstr "" +msgstr "Ara _sanatçı bilgisi" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" -msgstr "" +msgstr "Şarkı Bilgisi" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." -msgstr "" +msgstr "Şarkılarını çalarken albüm resmini indirin." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" -msgstr "" +msgid "Lyrics thanks to %s" +msgstr "Şarkı sözleri %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" -msgstr "" +msgstr "%s teşekkürler %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." -msgstr "" +msgstr "Parçanın sözleri bulunamadı." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." -msgstr "" +msgstr "Sanatçı bilgisi bulunamadı." -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Önerilen şarkı yok." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." -msgstr "" +msgstr "Aranıyor..." -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" +msgstr "TuneIn'da radyo ara" + +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "TuneIn'da radyo ararken bir hata oluştu" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "TuneIn'da radyo aranıyor" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" +msgstr "TuneIn'da ara" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" msgstr "" diff -Nru pragha-1.3.3/po/uk.po pragha-1.3.992/po/uk.po --- pragha-1.3.3/po/uk.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/uk.po 2019-08-13 23:06:58.000000000 +0000 @@ -6,47 +6,65 @@ # Paul Rufous <>, 2012 # Pavlo Rudyj <>, 2012 # siyanie_over_ip , 2014 -# Микола Ткач , 2015 +# Микола Ткач , 2015 +# Микола Ткач , 2018 # Сергій Гаврилов , 2011 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2015-04-02 16:04+0000\n" -"Last-Translator: Микола Ткач \n" -"Language-Team: Ukrainian (http://www.transifex.com/p/Pragha/language/uk/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Ukrainian (http://www.transifex.com/matias/Pragha/language/" +"uk/)\n" "Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != " +"11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % " +"100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || " +"(n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" + +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "Локальна музика" #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "_Ні" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "_Так" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "Ви бажали-б імпортувати %s у колекцію?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "Ви бажали-б оновити свою музичну колекцію?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "Деякі зміни потребують перезапуску Pragha." +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "Виконуються тлові задачі" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "Нехтувати" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "ІМ’Я_ФАЙЛУ" @@ -61,11 +79,11 @@ #: ../src/pragha-equalizer-dialog.c:51 msgid "Classical" -msgstr "Класична музика" +msgstr "Клясична музика" #: ../src/pragha-equalizer-dialog.c:52 msgid "Club" -msgstr "Клубна музика" +msgstr "Клюбна музика" #: ../src/pragha-equalizer-dialog.c:53 msgid "Dance" @@ -89,7 +107,7 @@ #: ../src/pragha-equalizer-dialog.c:58 msgid "Large Hall" -msgstr "Великий зал" +msgstr "Велика зала" #: ../src/pragha-equalizer-dialog.c:59 msgid "Live" @@ -105,7 +123,7 @@ #: ../src/pragha-equalizer-dialog.c:62 msgid "Reggae" -msgstr "Регі" +msgstr "Реґі" #: ../src/pragha-equalizer-dialog.c:63 msgid "Rock" @@ -135,194 +153,150 @@ msgid "Custom" msgstr "Користувацький" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Еквалайзер" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "Вибране" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "Невідомий виконавець" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "Невідомий альбом" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" -msgstr "Шукати у списку відтворення" +msgstr "Шукати у переліку відтворення" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "_Закрити" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Додати до черги відтворення" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "П_ерейти до" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "_Пропустити" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "Пр_опустити усе" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "_Вилучити усе" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "Р_озширити фонотеку" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "Невідомо" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "З_меншити фонотеку" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "Невідомий жанр" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "Не вдалося помістити файл у смітник. Вилучити повністю?" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "Не вдалося перемістити файл «%s» у смітник. Деталі: %s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "_Скасувати" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "_Вилучити" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "Структура тек" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Виконавець" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Альбом" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Жанр" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "Виконавець / Альбом" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "Жанр / Альбом" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "Жанр / Виконавець" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "Жанр / Альбом" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "Жанр / Виконавець / Альбом" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "_Додати до поточного списку програвання" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "_Замінити поточний список програвання" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "Повторити _програвання" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "Перейменувати" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "Вилучити" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "Експорт" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Змінити теґи" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "Перем_істити у смітник" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "Вилучити з фонотеки" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "Невідомо" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "Невідомий жанр" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "Не вдалося помістити файл у смітник. Вилучити повністю?" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "Не вдалося перемістити файл «%s» у смітник. Деталі: %s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "_Скасувати" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "_Вилучити" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" -msgstr "Списки композицій" +msgstr "Переліки композицій" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "Радіо" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Фонотека" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "Справді перемістити усі ці файли у смітник?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "Вилучити замість переміщення у смітник" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -332,179 +306,183 @@ "\n" "Заувага: Щоб його відновити, потрібно пересканувати усю фонотеку." -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "_Відтворення" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" -msgstr "_Список відтворення" +msgstr "_Перелік відтворення" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "_Перегляд" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "З_асоби" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "_Довідка" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "Попередня доріжка" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Відтворити / Призупинити" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Зупинити" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "Наступна доріжка" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "Редагувати теги доріжки" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "Ви_йти" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "Д_одати файли" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Відкрити файл" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "Додати _шлях до музики" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "_Додати колекцію" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" -msgstr "Вилучити вибране із списку відтворення" +msgstr "Вилучити вибране із переліку відтворення" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" -msgstr "Обрізати список відтворення" +msgstr "Обрізати перелік відтворення" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" -msgstr "Очистити список відтворення" +msgstr "Очистити перелік відтворення" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" -msgstr "Зберегти список композицій" +msgstr "Зберегти перелік композицій" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" -msgstr "Новий список відтворення" +msgstr "Новий перелік відтворення" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "Експорт" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Зберегти вибране" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" -msgstr "_Пошук у списку композицій" +msgstr "_Пошук у переліку композицій" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "_Налаштування" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "Перейти до відтворюваної композиції" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "Е_квалайзер" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "П_ересканувати фонотеку" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "_Оновити фонотеку" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "С_татистика" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "Домашня сторінка" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "Спільнота" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Вікі" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "Перекласти Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Про проґраму" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "Перемі_шати" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "Повтор_ювати" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "_На повний екран" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "Бічна _панель" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" msgstr "Друга бічна панель" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "Автоконтроль відтворення" -#: ../src/pragha-menubar.c:274 +#: ../src/pragha-menubar.c:277 msgid "Menubar" msgstr "Рядок меню" -#: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "Рядок стану" - #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" msgstr "Загалом доріжок:" @@ -522,164 +500,166 @@ msgstr "Статистика" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Назва" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Бітрейт" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Рік" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Коментар" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Тривалість" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Назва файлу" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "Тип mime" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "Вилучити з черги відтворення" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" -msgstr "Вилучити із списку відтворення" +msgstr "Вилучити із переліку відтворення" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "Відправи_ти" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "Копіювати \"%i\" до вибраних композицій" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "Копіювати \"%s\" до вибраних назв композицій" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "Копіювати \"%s\" до вибраних виконавців" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "Копіювати \"%s\" до вибраних альбомів" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "Копіювати \"%s\" до вибраних жанрів" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "Копіювати \"%i\" до вибраних років виходу альбомів" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "Копіювати \"%s\" до вибраних коментарів" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "Доріжка" msgstr[1] "Доріжки" msgstr[2] "Доріжок" +msgstr[3] "Доріжок" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Очистити сортування" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" -msgstr "Список відтворення" +msgstr "Перелік відтворення" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "_Так" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" -msgstr "con_playlist — резервна назва списку композицій" +msgstr "con_playlist — резервна назва переліку композицій" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" -msgstr "Ви справді бажаєте переписати список відтворення %s ?" +msgstr "Ви справді бажаєте переписати перелік відтворення %s ?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "Створити нову назву" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "Перейменувати" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "Ви справді бажаєте вилучити %s ?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" -msgstr "Експорт списку композицій у файл" +msgstr "Експорт переліку композицій у файл" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "_Зберегти" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." -msgstr "Додано %d пісень %d з імпортованого списку відтворення." +msgstr "Додано %d пісень %d з імпортованого переліку відтворення." -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "Що ви бажаєте зробити?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" -msgstr "Замінити список відтворення \"%s\"" +msgstr "Замінити перелік відтворення \"%s\"" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" -msgstr "Додати до списку відтворення \"%s\"" +msgstr "Додати до переліку відтворення \"%s\"" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -689,241 +669,258 @@ "Дозволено максимум шість шаблонів.\n" "На цей час шаблони ще не прийняті ( латки вітаються :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Шаблон обкладинки альбому" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Звичайний запуск" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Запуск на повний екран" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Запуск у системний лоток" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Вибрати теку для додавання у фонотеку" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "_Відкрити" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" -msgstr "Аудіо" +msgstr "Звук" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" -msgstr "Аудіо підсистема" +msgstr "Звукова підсистема" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Потрібен перезапуск" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" -msgstr "Audio пристрій" +msgstr "Звуковий пристрій" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Використовувати проґрамний мікшер" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Фонотека" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "Неможливо змінювати директорії під час аналізу" -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Теки" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "_Додати" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "_Вилучити" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "Об'єднати теки у дерево каталогів" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "Сортування альбомів за датою випуску" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "Зовнішній вигляд" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "Використовувати системний заголовок вікна та рамки" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" +msgstr "Використовувати маленькі піктограми на панелях" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "Виділення рядків у поточному списку відтворення" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Перемикачі" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "Показувати обкладинку на панелі" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "Розмір обкладинки" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "Шаблон файлу обкладинки альбому" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "Пошук" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "Пошук під час набору" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "Шукати схожі слова" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "При запуску Pragha" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "Пам'ятати останнє розташування вікна" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" -msgstr "Відновити останній список композицій" +msgstr "Відновити останній перелік композицій" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "При додаванні теки" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "Додати файли рекурсивно" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "Стільниця" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "Показувати піктограму Pragha у системному лотку" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "Згортати при закритті вікна" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" -msgstr "Втулки" +msgstr "Втулоки" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "Налаштування" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "Загальне" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "Інтернет-служби" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Налаштування Pragha" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "проаналізовано %i зі %i знайдених" +msgid "%i files analyzed of %i detected" +msgstr "%i файлів проаналізовано із%i знайдених" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "Пошук файлів для аналізу" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "Сканування завершено" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Не відтворюється" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Змінити теґи" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "№ доріжки" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Файл" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Деталі" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "канал" msgstr[1] "канали" msgstr[2] "каналів" +msgstr[3] "каналів" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Канали" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Рейтинг" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Тека" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Вибрати" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Відкрити теку" @@ -938,7 +935,7 @@ msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" msgstr "Ви бажаєте встановити назву для УСІХ вибраних доріжок: %s?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s виконує %s з альбому %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s виконує %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s з альбому %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Попередня доріжка" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Відтворити / Призупинити доріжку" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Зупинити відтворення" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Наступна доріжка" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Вийти з повноекранного режиму" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "У випадковому порядку" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" -msgstr "Повторювати список безкінечно" +msgstr "Повторювати перелік нескінченно" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "день" msgstr[1] "дні" msgstr[2] "днів" +msgstr[3] "днів" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "Не вдалося відкрити переглядач" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -1008,196 +1014,333 @@ "(%s)\n" "Причина: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "_Зупинити" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "_Наступний" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "Вибрати файл для відтворення" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "Підтримувані файли" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "Усі файли" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "Уведіть URL або адресу інтернет-радіо" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "Для збереження потрібна назва" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "Додати веб-адресу" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "" -"Sergiy Gavrylov , 2011.\n" -"Микола Ткач , 2015." - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "Музичний програвач Pragha" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "Р_озширити фонотеку" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "З_меншити фонотеку" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "_Додати до поточного переліку програвання" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "_Замінити поточний перелік програвання" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "Повторити _програвання" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "Вилучити" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "_Вилучити колекцію" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "Перем_істити у смітник" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "Вилучити з фонотеки" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "Музичний програвач" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "Слухайте та керуйте музикою" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "Шукати теги на AcoustID" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "Сталася помилка при пошуку теґів на AcoustID" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "AcoustID не знайшов схожі композиції" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "Пошук теґів на AcoustID" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "Оновити колекцію Ampache" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "Сервер" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "Ім'я користувача" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "Пароль" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Audio CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "Audio/Data CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" msgstr "Вставлений Audio CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "Додати Audio _CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "Audio CD" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Аудіо CD-пристрій" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "З'єднатися із сервером CDDB" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "Шукати музику на сервері DLNA" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "Додана музика з сервера %s" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "Неможливо знайти DLNA сервери" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Lastfm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Улюблені доріжки" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Зняти позначення улюбленої доріжки" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" -msgstr "Імпорт списку відтворення XSPF" +msgstr "Імпорт переліку відтворення XSPF" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "Додати до вибраного" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Додати аналогічний" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "Неможливо встановити з’єднання з Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm запропонував скоригувати теги" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "Отримання улюблених доріжок з Last.fm не вдалося." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "Помилка вилучення композиції з «улюблених» на Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "Додано %d композицій з %d рекомендованих Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "Last.fm не може порадити схожі композиції." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." -msgstr "Додати %d трек зі списку останніх %d улюблених на Last.fm." +msgstr "Додати %d трек із переліку останніх %d улюблених на Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "В вас немає «улюблених» композицій на Last.fm." -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "Відсилання даних на Last.fm не вдалося" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "Доріжку заскроблено на Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "Оновлення цієї пісні через last.fm невдале" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "Скроблінг на Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "Ім'я користувача" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "Пароль" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "Доріжки" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1216,79 +1359,162 @@ msgid "Add actions to change track in notifications" msgstr "Додати дії у повідомленні про зміну доріжки" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "Оновити колекцію Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Вибране в Koel" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" -msgstr "Неможливо отримати доступ до \"%s\"" +msgid "Unable to accesss to “%s” device" +msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "Знімний пристрій" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 #, c-format -msgid "Want to manage \"%s\" volume?" -msgstr "Бажаєте керувати \"%s\" значенням?" +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "Інформація про виконавця" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:90 msgid "Search _lyric" msgstr "Шукати _текст пісні" -#: ../plugins/song-info/pragha-song-info-plugin.c:90 +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "Шукати _інформацію про виконавця" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "Інформація про композицію" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "Завантажувати обкладинки альбомів під час відтворення" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format msgid "Lyrics thanks to %s" msgstr "Дякуємо за текст %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 -#, c-format -msgid "Artist info" -msgstr "Інформація про виконавця" - -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "%s дякуємо %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "Текст пісні не знайдений." -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "Інформація про виконавця не знайдена" -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "Немає раджених пісень." + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "Пошук…" -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "Шукати радіо на TuneIn" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "Сталася помилка при пошуку радіо на TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "Пошук радіо на TuneIn" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "Шукати на TuneIn" -#~ msgid "Ignore" -#~ msgstr "Ігнорувати" +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" -#~ msgid "Use Gnome 3 HIG" -#~ msgstr "Використовувати GNOME 3 HIG" +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/vi.po pragha-1.3.992/po/vi.po --- pragha-1.3.3/po/vi.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/vi.po 2019-08-13 23:06:59.000000000 +0000 @@ -8,40 +8,55 @@ msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 17:03+0000\n" -"Last-Translator: matias \n" -"Language-Team: Vietnamese (http://www.transifex.com/p/Pragha/language/vi/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Vietnamese (http://www.transifex.com/matias/Pragha/language/" +"vi/)\n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" msgstr "" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" msgstr "" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" msgstr "" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" msgstr "" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." msgstr "" +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "" + #: ../src/pragha-cmdline.c:192 msgid "FILENAME" msgstr "" @@ -130,371 +145,331 @@ msgid "Custom" msgstr "Tự chọn" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" msgstr "Bộ cân chỉnh tần số" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" msgstr "" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" msgstr "" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "Thêm vào hàng đợi để phát" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" msgstr "" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "_Bỏ qua" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "Bỏ _qua tất cả" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "Xoá _tất cả" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" msgstr "" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" msgstr "" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "" + +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "Nghệ sĩ" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "Album" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "Thể loại" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 -msgid "Genre / Artist / Album" -msgstr "" - -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "Chỉnh sửa thẻ đánh dấu" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" msgstr "" -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 +msgid "Genre / Artist / Album" msgstr "" -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "Thư viện" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" "Warning: To recover we must rescan the entire library." msgstr "" -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "_Công cụ" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "Phát / Tạm dừng" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "Dừng lại" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "_Chỉnh sửa thông tin bài nhạc" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "_Thoát" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "_Thêm tập tin" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "Mở tập tin media" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "Thêm _địa điểm" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "_Thêm vào thư viện" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "Cắt bỏ danh sách phát" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "Dọn trống danh sách phát" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "Lưu lại danh sách phát" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "Lưu lại vùng lựa chọn" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "Dịch bởi Vietnamesel10n" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "_Khung điều khiển phía bên" -#: ../src/pragha-menubar.c:268 -msgid "Secondary lateral panel" -msgstr "" - #: ../src/pragha-menubar.c:271 -msgid "Playback controls below" +msgid "Secondary lateral panel" msgstr "" #: ../src/pragha-menubar.c:274 -msgid "Menubar" +msgid "Playback controls below" msgstr "" #: ../src/pragha-menubar.c:277 -msgid "Status bar" +msgid "Menubar" msgstr "" #: ../src/pragha-menubar.c:638 @@ -514,162 +489,163 @@ msgstr "" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "Tiêu đề" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "Tốc độ bit" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "Năm" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "Bình luận" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "Độ dài" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "Tên tập tin" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" msgstr "" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "Loại bỏ khỏi danh sách phát" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" msgstr "Sao chép \"%i\" đến số track được chọn" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" msgstr "Sao chép \"%s\" vào các tiêu đề được chọn" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" msgstr "Sao chép \"%s\" vào các nghệ sĩ được chọn" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" msgstr "Sao chép \"%s\" vào các album được chọn" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" msgstr "Sao chép \"%s\" vào loại nhạc được chọn" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" msgstr "Sao chép \"%i\" vào năm được chọn" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" msgstr "Sao chép \"%s\" vào bình luận được chọn" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "Track" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "Dọn trống phần sắp xếp" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" msgstr "" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." msgstr "" -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" msgstr "" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" msgstr "" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -680,239 +656,255 @@ "Không chấp nhận các ký tự đặc biệt ( sẽ được cập nhật ở phiên bản " "sau :-) )." -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "Mẫu đặt tên dành cho Album art" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "Khởi chạy theo kiểu thông thường" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "Khởi chạy ở chế độ toàn màn hình" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "Khởi chạy và thu nhỏ ở khay hệ thống" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "Chọn một thư mục để thêm vào thư viện" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "Âm Thanh" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "Audio sink" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "Cần khởi động lại" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "Thiết bị âm thanh" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "Sử dụng phần mềm phối nhạc" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "Thư viện" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." msgstr "" -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "Thư mục" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 +msgid "Sort albums by release year" msgstr "" -#: ../src/pragha-preferences-dialog.c:1021 -msgid "Sort albums by release year" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" msgstr "" #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" msgstr "" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" msgstr "" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" +msgid "%i files analyzed of %i detected" msgstr "" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" msgstr "" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "Hiện không phát bài nào" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "Chỉnh sửa thẻ đánh dấu" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "Số hiệu track" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "Tập tin" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "Chi tiết" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "Kênh" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "Tỉ lệ mẫu" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "Thư mục" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "Chọn đến" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "Mở thư mục" @@ -931,7 +923,7 @@ "Bạn có muốn thiết lập thẻ đánh dấu dữ liệu của tiêu đề đối với toàn bộ các " "track được chọn thành: %s hay không?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s bởi %s trong %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s bởi %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s trong %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "Track trước đó" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "Phát / Tạm dừng track" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "Dừng chế độ phát lại" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "Track tiếp theo" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "Thoát khỏi toàn màn hình" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "Phát nhạc theo thứ tự ngẫu nhiên" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "Lặp lại danh sách ở phần cuối" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -999,193 +999,332 @@ "(%s)\n" "Nguyên nhân : %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "" - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Đĩa CD âm thanh" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "Thêm Audio _CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "Đĩa CD âm thanh" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "Thiết bị Audio CD " -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" msgstr "" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." msgstr "" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Lastfm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "Track bạn thích" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "Track bạn không thích" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "Thêm vào phần tương tự" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" msgstr "Last.fm đề nghị sự chỉnh sửa thẻ đánh dấu dữ liệu" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" + +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" msgstr "" #: ../plugins/notify/pragha-notify-plugin.c:165 @@ -1205,73 +1344,162 @@ msgid "Add actions to change track in notifications" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" +msgid "Unable to accesss to “%s” device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/removable-media/pragha-devices-removable.c:311 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Do you want to manage the “%s” device with Pragha?" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 +#, c-format +msgid "Artist info" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" +msgid "Lyrics thanks to %s" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" +msgstr "" diff -Nru pragha-1.3.3/po/zh_CN.po pragha-1.3.992/po/zh_CN.po --- pragha-1.3.3/po/zh_CN.po 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/po/zh_CN.po 2019-08-13 23:06:59.000000000 +0000 @@ -3,323 +3,297 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: +# liushuyu011 , 2016 +# liushuyu011 , 2016 +# Mingcong Bai , 2016-2018 # Chunyang xu , 2014 # 乐群 陈 , 2012 +# Mingcong Bai , 2016 msgid "" msgstr "" "Project-Id-Version: Pragha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 20:11-0300\n" -"PO-Revision-Date: 2014-12-21 17:03+0000\n" -"Last-Translator: matias \n" -"Language-Team: Chinese (China) (http://www.transifex.com/p/Pragha/language/" -"zh_CN/)\n" +"POT-Creation-Date: 2019-08-13 19:32-0300\n" +"PO-Revision-Date: 2019-08-13 22:39+0000\n" +"Last-Translator: Matias De lellis \n" +"Language-Team: Chinese (China) (http://www.transifex.com/matias/Pragha/" +"language/zh_CN/)\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +#. Create root container +#: ../src/info-bar-import-music.c:55 ../plugins/dlna/pragha-dlna-plugin.c:235 +msgid "Local Music" +msgstr "本地音乐" + #. GtkInfoBar has undocumented behavior for GTK_RESPONSE_CANCEL -#: ../src/info-bar-import-music.c:80 ../src/info-bar-import-music.c:127 -#: ../src/info-bar-import-music.c:170 +#: ../src/info-bar-import-music.c:77 ../src/info-bar-import-music.c:124 +#: ../src/info-bar-import-music.c:167 msgid "_No" -msgstr "_No" +msgstr "否 (_N)" -#: ../src/info-bar-import-music.c:81 ../src/info-bar-import-music.c:128 -#: ../src/info-bar-import-music.c:171 +#: ../src/info-bar-import-music.c:78 ../src/info-bar-import-music.c:125 +#: ../src/info-bar-import-music.c:168 msgid "_Yes" -msgstr "_Yes" +msgstr "是 (_Y)" -#: ../src/info-bar-import-music.c:83 +#: ../src/info-bar-import-music.c:80 #, c-format msgid "Would you like to import %s to library?" -msgstr "" +msgstr "要将 %s 导入到音乐库吗?" -#: ../src/info-bar-import-music.c:130 +#: ../src/info-bar-import-music.c:127 msgid "Would you like to update your music library?" -msgstr "" +msgstr "要更新音乐库吗?" -#: ../src/info-bar-import-music.c:173 +#: ../src/info-bar-import-music.c:170 msgid "Some changes need restart pragha." -msgstr "" +msgstr "一些更改需要重启 Pragha 才能生效。" + +#: ../src/pragha-background-task-bar.c:82 +#: ../src/pragha-background-task-bar.c:125 +msgid "There are background tasks working" +msgstr "有正在运行的后台任务" + +#: ../src/pragha-device-client.c:113 +msgid "Ignore" +msgstr "忽略" #: ../src/pragha-cmdline.c:192 msgid "FILENAME" -msgstr "" +msgstr "文件名" #: ../src/pragha-cmdline.c:251 msgid "Use --help to see a full list of available command line options." -msgstr "" +msgstr "使用 --help 来查看所有可用的命令行选项。" #: ../src/pragha-equalizer-dialog.c:50 msgid "Disabled" -msgstr "" +msgstr "已禁用" #: ../src/pragha-equalizer-dialog.c:51 msgid "Classical" -msgstr "" +msgstr "古典" #: ../src/pragha-equalizer-dialog.c:52 msgid "Club" -msgstr "" +msgstr "俱乐部" #: ../src/pragha-equalizer-dialog.c:53 msgid "Dance" -msgstr "" +msgstr "舞曲" #: ../src/pragha-equalizer-dialog.c:54 msgid "Full Bass" -msgstr "" +msgstr "最大低音" #: ../src/pragha-equalizer-dialog.c:55 msgid "Full Bass and Treble" -msgstr "" +msgstr "最大高低音" #: ../src/pragha-equalizer-dialog.c:56 msgid "Full Treble" -msgstr "" +msgstr "最大高音" #: ../src/pragha-equalizer-dialog.c:57 msgid "Laptop Speakers and Headphones" -msgstr "" +msgstr "笔记本音箱和耳机" #: ../src/pragha-equalizer-dialog.c:58 msgid "Large Hall" -msgstr "" +msgstr "大音乐厅" #: ../src/pragha-equalizer-dialog.c:59 msgid "Live" -msgstr "" +msgstr "现场" #: ../src/pragha-equalizer-dialog.c:60 msgid "Party" -msgstr "" +msgstr "派对" #: ../src/pragha-equalizer-dialog.c:61 msgid "Pop" -msgstr "" +msgstr "流行乐" #: ../src/pragha-equalizer-dialog.c:62 msgid "Reggae" -msgstr "" +msgstr "雷吉乐" #: ../src/pragha-equalizer-dialog.c:63 msgid "Rock" -msgstr "" +msgstr "摇滚乐" #: ../src/pragha-equalizer-dialog.c:64 msgid "Ska" -msgstr "" +msgstr "斯卡乐" #: ../src/pragha-equalizer-dialog.c:65 msgid "Smiley Face Curve" -msgstr "" +msgstr "笑脸曲线" #: ../src/pragha-equalizer-dialog.c:66 msgid "Soft" -msgstr "" +msgstr "软曲风" #: ../src/pragha-equalizer-dialog.c:67 msgid "Soft Rock" -msgstr "" +msgstr "软摇滚" #: ../src/pragha-equalizer-dialog.c:68 msgid "Techno" -msgstr "" +msgstr "高科技舞曲" #: ../src/pragha-equalizer-dialog.c:69 msgid "Custom" -msgstr "" +msgstr "自定义" -#: ../src/pragha-equalizer-dialog.c:418 +#: ../src/pragha-equalizer-dialog.c:423 msgid "Equalizer" -msgstr "" +msgstr "均衡器" -#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:506 +#: ../src/pragha-favorites.c:110 ../src/pragha-favorites.c:120 +#: ../src/pragha-favorites.c:130 ../src/pragha-favorites.c:132 +#: ../src/pragha-library-pane.c:1197 ../src/pragha-playlists-mgmt.c:1378 +#: ../src/pragha-playlists-mgmt.c:1415 ../src/pragha.c:1106 +#: ../src/pragha.c:1108 ../plugins/koel/pragha-koel-plugin.c:535 +msgid "Favorites" +msgstr "收藏夹" + +#: ../src/pragha-filter-dialog.c:218 ../src/pragha-library-pane.c:626 +#: ../src/pragha-tags-dialog.c:114 ../plugins/mtp/pragha-mtp-thread.c:471 #: ../plugins/notify/pragha-notify-plugin.c:166 msgid "Unknown Artist" msgstr "未知歌手" -#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:513 -#: ../src/pragha-library-pane.c:518 +#: ../src/pragha-filter-dialog.c:219 ../src/pragha-library-pane.c:633 +#: ../src/pragha-library-pane.c:638 ../src/pragha-tags-dialog.c:115 +#: ../plugins/mtp/pragha-mtp-thread.c:480 #: ../plugins/notify/pragha-notify-plugin.c:167 msgid "Unknown Album" msgstr "未知专辑" #. The search dialog -#: ../src/pragha-filter-dialog.c:369 +#: ../src/pragha-filter-dialog.c:368 msgid "Search in playlist" -msgstr "" +msgstr "在播放列表中搜索" -#: ../src/pragha-filter-dialog.c:372 +#: ../src/pragha-filter-dialog.c:371 msgid "_Close" -msgstr "" +msgstr "关闭 (_C)" -#: ../src/pragha-filter-dialog.c:375 ../src/pragha-playlist.c:209 +#: ../src/pragha-filter-dialog.c:374 ../src/pragha-playlist.c:210 msgid "Add to playback queue" msgstr "添加到播放队列" -#: ../src/pragha-filter-dialog.c:376 +#: ../src/pragha-filter-dialog.c:375 msgid "_Jump to" -msgstr "" +msgstr "跳至 (_J)" -#: ../src/pragha-library-pane.c:132 +#: ../src/pragha-library-pane.c:141 msgid "_Skip" msgstr "跳过(_S)" -#: ../src/pragha-library-pane.c:133 +#: ../src/pragha-library-pane.c:142 msgid "S_kip All" msgstr "跳过全部(_k)" -#: ../src/pragha-library-pane.c:134 +#: ../src/pragha-library-pane.c:143 msgid "Delete _All" msgstr "删除全部(_A)" -#: ../src/pragha-library-pane.c:188 -msgid "_Expand library" -msgstr "扩展“库”(_E)" +#: ../src/pragha-library-pane.c:631 ../src/pragha-tags-dialog.c:105 +msgid "Unknown" +msgstr "未知" -#: ../src/pragha-library-pane.c:190 -msgid "_Collapse library" -msgstr "折叠”库“(_C)" +#: ../src/pragha-library-pane.c:643 +msgid "Unknown Genre" +msgstr "未知类别" + +#: ../src/pragha-library-pane.c:971 +msgid "File can't be moved to trash. Delete permanently?" +msgstr "文件无法移到回收站。是否彻底删除?" + +#: ../src/pragha-library-pane.c:972 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash. Details: %s" +msgstr "文件 \"%s\"无法移到回收站。详细:%s" + +#: ../src/pragha-library-pane.c:980 ../src/pragha-playlists-mgmt.c:86 +#: ../src/pragha-playlists-mgmt.c:518 ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:1270 ../src/pragha-preferences-dialog.c:703 +#: ../src/pragha-preferences-dialog.c:1354 ../src/pragha-tags-dialog.c:149 +#: ../src/pragha.c:208 ../src/pragha.c:407 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:845 +#: ../plugins/tunein/pragha-tunein-plugin.c:268 +msgid "_Cancel" +msgstr "取消" -#: ../src/pragha-library-pane.c:192 ../src/pragha-library-pane.c:1585 +#: ../src/pragha-library-pane.c:986 +msgid "_Delete" +msgstr "删除" + +#: ../src/pragha-library-pane.c:1817 ../src/pragha-window.ui.h:30 msgid "Folders structure" msgstr "目录结构" -#: ../src/pragha-library-pane.c:194 ../src/pragha-library-pane.c:1594 -#: ../src/pragha-playlist.c:115 ../src/pragha-playlist.c:3368 -#: ../src/pragha-playlist.c:3544 ../src/pragha-statusicon.c:180 -#: ../src/pragha-tags-dialog.c:116 ../src/pragha-tags-dialog.c:841 +#: ../src/pragha-library-pane.c:1826 ../src/pragha-playlist.c:115 +#: ../src/pragha-playlist.c:3503 ../src/pragha-statusicon.c:222 +#: ../src/pragha-tags-dialog.c:168 ../src/pragha-tags-dialog.c:1104 +#: ../src/pragha-window.ui.h:31 msgid "Artist" msgstr "歌手" -#: ../src/pragha-library-pane.c:196 ../src/pragha-library-pane.c:1603 -#: ../src/pragha-playlist.c:116 ../src/pragha-playlist.c:3369 -#: ../src/pragha-playlist.c:3545 ../src/pragha-statusicon.c:181 -#: ../src/pragha-tags-dialog.c:117 ../src/pragha-tags-dialog.c:846 +#: ../src/pragha-library-pane.c:1835 ../src/pragha-playlist.c:116 +#: ../src/pragha-playlist.c:3504 ../src/pragha-statusicon.c:223 +#: ../src/pragha-tags-dialog.c:169 ../src/pragha-tags-dialog.c:1109 +#: ../src/pragha-window.ui.h:32 msgid "Album" msgstr "专辑" -#: ../src/pragha-library-pane.c:198 ../src/pragha-library-pane.c:1612 -#: ../src/pragha-playlist.c:117 ../src/pragha-playlist.c:3370 -#: ../src/pragha-playlist.c:3546 ../src/pragha-tags-dialog.c:118 -#: ../src/pragha-tags-dialog.c:851 +#: ../src/pragha-library-pane.c:1844 ../src/pragha-playlist.c:117 +#: ../src/pragha-playlist.c:3505 ../src/pragha-tags-dialog.c:170 +#: ../src/pragha-tags-dialog.c:1114 ../src/pragha-window.ui.h:33 msgid "Genre" msgstr "类型" -#: ../src/pragha-library-pane.c:200 ../src/pragha-library-pane.c:1624 +#: ../src/pragha-library-pane.c:1856 ../src/pragha-window.ui.h:34 msgid "Artist / Album" msgstr "歌手/专辑" -#: ../src/pragha-library-pane.c:202 ../src/pragha-library-pane.c:1648 -msgid "Genre / Album" -msgstr "类别/专辑" - -#: ../src/pragha-library-pane.c:204 ../src/pragha-library-pane.c:1636 +#: ../src/pragha-library-pane.c:1868 ../src/pragha-window.ui.h:36 msgid "Genre / Artist" msgstr "类别/歌手" -#: ../src/pragha-library-pane.c:206 ../src/pragha-library-pane.c:1663 +#: ../src/pragha-library-pane.c:1880 ../src/pragha-window.ui.h:35 +msgid "Genre / Album" +msgstr "类别/专辑" + +#: ../src/pragha-library-pane.c:1895 ../src/pragha-window.ui.h:37 msgid "Genre / Artist / Album" msgstr "类别/歌手/专辑" -#. Playlist and Radio tree -#: ../src/pragha-library-pane.c:242 -msgid "_Add to current playlist" -msgstr "添加到播放列表(_A)" - -#: ../src/pragha-library-pane.c:244 -msgid "_Replace current playlist" -msgstr "替换当前播放列表(_R)" - -#: ../src/pragha-library-pane.c:246 -msgid "Replace and _play" -msgstr "替换并播放(_p)" - -#: ../src/pragha-library-pane.c:248 ../src/pragha-playlists-mgmt.c:514 -msgid "Rename" -msgstr "重命名" - -#: ../src/pragha-library-pane.c:250 -msgid "Delete" -msgstr "删除" - -#: ../src/pragha-library-pane.c:252 ../src/pragha-menubar.c:222 -#: ../src/pragha-menubar.c:227 ../src/pragha-playlists-mgmt.c:1337 -#: ../src/pragha-playlists-mgmt.c:1373 -msgid "Export" -msgstr "导出" - -#. Set dialog properties -#: ../src/pragha-library-pane.c:254 ../src/pragha-tags-dialog.c:98 -msgid "Edit tags" -msgstr "编辑tags" - -#: ../src/pragha-library-pane.c:256 -msgid "Move to _trash" -msgstr "移到回收站(_t)" - -#: ../src/pragha-library-pane.c:258 -msgid "Delete from library" -msgstr "从“库”中删除" - -#: ../src/pragha-library-pane.c:511 -msgid "Unknown" -msgstr "" - -#: ../src/pragha-library-pane.c:523 -msgid "Unknown Genre" -msgstr "未知类别" - -#: ../src/pragha-library-pane.c:843 -msgid "File can't be moved to trash. Delete permanently?" -msgstr "" - -#: ../src/pragha-library-pane.c:844 -#, c-format -msgid "The file \"%s\" cannot be moved to the trash. Details: %s" -msgstr "文件 \"%s\"无法移到回收站。详细:%s" - -#: ../src/pragha-library-pane.c:852 ../src/pragha-playlists-mgmt.c:85 -#: ../src/pragha-playlists-mgmt.c:517 ../src/pragha-playlists-mgmt.c:589 -#: ../src/pragha-playlists-mgmt.c:1239 ../src/pragha-preferences-dialog.c:678 -#: ../src/pragha-preferences-dialog.c:1291 ../src/pragha-tags-dialog.c:100 -#: ../src/pragha.c:206 ../src/pragha.c:405 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:975 -#: ../plugins/tunein/pragha-tunein-plugin.c:223 -msgid "_Cancel" -msgstr "取消" - -#: ../src/pragha-library-pane.c:858 -msgid "_Delete" -msgstr "删除" - -#: ../src/pragha-library-pane.c:1895 ../src/pragha-library-pane.c:1977 -#: ../src/pragha-playlists-mgmt.c:618 ../src/pragha-playlists-mgmt.c:645 -#: ../src/pragha.c:303 ../plugins/mpris2/pragha-mpris2-plugin.c:853 +#: ../src/pragha-library-pane.c:2123 ../src/pragha-library-pane.c:2237 +#: ../src/pragha-playlists-mgmt.c:619 ../src/pragha-playlists-mgmt.c:646 +#: ../src/pragha.c:305 msgid "Playlists" msgstr "播放列表" -#: ../src/pragha-library-pane.c:1911 ../src/pragha-library-pane.c:1986 +#: ../src/pragha-library-pane.c:2139 ../src/pragha-library-pane.c:2246 msgid "Radios" msgstr "电台" -#: ../src/pragha-library-pane.c:1927 ../src/pragha-preferences-dialog.c:968 -#: ../src/pragha-preferences-dialog.c:1298 -msgid "Library" -msgstr "“库”" - -#: ../src/pragha-library-pane.c:2482 +#: ../src/pragha-library-pane.c:2678 msgid "Really want to move the files to trash?" msgstr "确定移动这些文件到回收站么?" -#: ../src/pragha-library-pane.c:2484 +#: ../src/pragha-library-pane.c:2680 msgid "Delete permanently instead of moving to trash" msgstr "不移到回收站,直接删除" -#: ../src/pragha-library-pane.c:2534 +#: ../src/pragha-library-pane.c:2734 msgid "" "Are you sure you want to delete current file from library?\n" "\n" @@ -329,178 +303,182 @@ "\n" "警告:必须重新扫描才能恢复" -#: ../src/pragha-menubar.c:190 +#: ../src/pragha-menubar.c:193 msgid "_Playback" msgstr "播放" -#: ../src/pragha-menubar.c:191 +#: ../src/pragha-menubar.c:194 msgid "Play_list" msgstr "播放列表" -#: ../src/pragha-menubar.c:192 +#: ../src/pragha-menubar.c:195 msgid "_View" msgstr "视图(_V)" -#: ../src/pragha-menubar.c:193 ../src/pragha-playlist.c:222 +#: ../src/pragha-menubar.c:196 ../src/pragha-playlist.c:223 msgid "_Tools" msgstr "工具(_T)" -#: ../src/pragha-menubar.c:194 +#: ../src/pragha-menubar.c:197 msgid "_Help" msgstr "帮助(_H)" -#: ../src/pragha-menubar.c:195 ../src/pragha-statusicon.c:83 +#: ../src/pragha-menubar.c:198 ../src/pragha-window.ui.h:24 #: ../plugins/notify/pragha-notify-plugin.c:177 msgid "Previous track" msgstr "上一首歌曲" -#: ../src/pragha-menubar.c:197 ../src/pragha-statusicon.c:85 +#: ../src/pragha-menubar.c:200 ../src/pragha-window.ui.h:25 msgid "Play / Pause" msgstr "播放/暂停" -#: ../src/pragha-menubar.c:199 ../src/pragha-statusicon.c:87 +#: ../src/pragha-menubar.c:202 ../src/pragha-window.ui.h:26 msgid "Stop" msgstr "停止" -#: ../src/pragha-menubar.c:201 ../src/pragha-statusicon.c:89 +#: ../src/pragha-menubar.c:204 ../src/pragha-window.ui.h:27 #: ../plugins/notify/pragha-notify-plugin.c:181 msgid "Next track" msgstr "下一首" -#: ../src/pragha-menubar.c:203 ../src/pragha-playlist.c:225 -#: ../src/pragha-statusicon.c:91 +#: ../src/pragha-menubar.c:206 ../src/pragha-playlist.c:226 +#: ../src/pragha-window.ui.h:4 msgid "Edit track information" msgstr "修改音轨信息" -#: ../src/pragha-menubar.c:205 ../src/pragha-statusicon.c:93 +#: ../src/pragha-menubar.c:208 ../src/pragha-window.ui.h:23 msgid "_Quit" msgstr "退出(_Q)" -#: ../src/pragha-menubar.c:207 ../src/pragha-statusicon.c:79 +#: ../src/pragha-menubar.c:210 ../src/pragha-window.ui.h:1 msgid "_Add files" msgstr "添加(_A)" -#: ../src/pragha-menubar.c:208 +#: ../src/pragha-menubar.c:211 msgid "Open a media file" msgstr "打开媒体文件" -#: ../src/pragha-menubar.c:209 ../src/pragha-statusicon.c:81 +#: ../src/pragha-menubar.c:212 ../src/pragha-window.ui.h:2 msgid "Add _location" msgstr "添加网络地址(_l)" -#: ../src/pragha-menubar.c:211 +#: ../src/pragha-menubar.c:214 ../src/pragha-window.ui.h:3 msgid "_Add the library" msgstr "添加“库”(_A)" -#: ../src/pragha-menubar.c:213 +#: ../src/pragha-menubar.c:216 ../src/pragha-window.ui.h:6 msgid "Remove selection from playlist" msgstr "从播放列表中删除" -#: ../src/pragha-menubar.c:215 ../src/pragha-playlist.c:215 +#: ../src/pragha-menubar.c:218 ../src/pragha-playlist.c:216 +#: ../src/pragha-window.ui.h:7 msgid "Crop playlist" msgstr "清空播放列表" -#: ../src/pragha-menubar.c:217 ../src/pragha-playlist.c:217 +#: ../src/pragha-menubar.c:220 ../src/pragha-playlist.c:218 +#: ../src/pragha-window.ui.h:8 msgid "Clear playlist" msgstr "清空播放列表" -#: ../src/pragha-menubar.c:219 ../src/pragha-playlist.c:219 -#: ../src/pragha-playlists-mgmt.c:69 ../src/pragha-playlists-mgmt.c:92 -#: ../src/pragha-playlists-mgmt.c:1244 +#: ../src/pragha-menubar.c:222 ../src/pragha-playlist.c:220 +#: ../src/pragha-playlists-mgmt.c:70 ../src/pragha-playlists-mgmt.c:93 +#: ../src/pragha-playlists-mgmt.c:1275 ../src/pragha-window.ui.h:9 msgid "Save playlist" msgstr "保存播放列表" -#: ../src/pragha-menubar.c:220 ../src/pragha-menubar.c:225 -#: ../src/pragha-playlists-mgmt.c:1333 ../src/pragha-playlists-mgmt.c:1369 +#: ../src/pragha-menubar.c:223 ../src/pragha-menubar.c:228 +#: ../src/pragha-playlists-mgmt.c:1364 ../src/pragha-playlists-mgmt.c:1401 +#: ../src/pragha-window.ui.h:10 msgid "New playlist" msgstr "新建播放列表" -#: ../src/pragha-menubar.c:224 ../src/pragha-playlist.c:220 -#: ../src/pragha-playlists-mgmt.c:71 ../src/pragha-playlists-mgmt.c:94 -#: ../src/pragha-playlists-mgmt.c:1246 +#: ../src/pragha-menubar.c:225 ../src/pragha-menubar.c:230 +#: ../src/pragha-playlists-mgmt.c:1368 ../src/pragha-playlists-mgmt.c:1405 +#: ../src/pragha-window.ui.h:11 +msgid "Export" +msgstr "导出" + +#: ../src/pragha-menubar.c:227 ../src/pragha-playlist.c:221 +#: ../src/pragha-playlists-mgmt.c:72 ../src/pragha-playlists-mgmt.c:95 +#: ../src/pragha-playlists-mgmt.c:1277 ../src/pragha-window.ui.h:12 msgid "Save selection" msgstr "保存所选" -#: ../src/pragha-menubar.c:229 +#: ../src/pragha-menubar.c:232 ../src/pragha-window.ui.h:13 msgid "_Search in playlist" msgstr "在列表中搜索(_S)" -#: ../src/pragha-menubar.c:231 +#: ../src/pragha-menubar.c:234 ../src/pragha-window.ui.h:21 msgid "_Preferences" msgstr "首选项(_P)" -#: ../src/pragha-menubar.c:233 +#: ../src/pragha-menubar.c:236 ../src/pragha-window.ui.h:14 msgid "Jump to playing song" msgstr "跳到正播放歌曲" -#: ../src/pragha-menubar.c:235 +#: ../src/pragha-menubar.c:238 ../src/pragha-window.ui.h:5 msgid "E_qualizer" msgstr "均衡器(_q)" -#: ../src/pragha-menubar.c:237 +#: ../src/pragha-menubar.c:240 ../src/pragha-window.ui.h:19 msgid "_Rescan library" msgstr "重新扫描“库”(_R)" -#: ../src/pragha-menubar.c:239 -#: ../plugins/removable-media/pragha-devices-removable.c:302 +#: ../src/pragha-menubar.c:242 ../src/pragha-window.ui.h:20 msgid "_Update library" msgstr "更新“库”(_U)" -#: ../src/pragha-menubar.c:241 +#: ../src/pragha-menubar.c:244 msgid "_Statistics" msgstr "状态(_S)" -#: ../src/pragha-menubar.c:243 +#: ../src/pragha-menubar.c:246 msgid "Homepage" msgstr "主页" -#: ../src/pragha-menubar.c:245 +#: ../src/pragha-menubar.c:248 msgid "Community" msgstr "社区" -#: ../src/pragha-menubar.c:247 +#: ../src/pragha-menubar.c:250 msgid "Wiki" msgstr "Wiki" -#: ../src/pragha-menubar.c:249 +#: ../src/pragha-menubar.c:252 msgid "Translate Pragha" msgstr "翻译Pragha" -#: ../src/pragha-menubar.c:251 ../src/pragha-statusicon.c:77 +#: ../src/pragha-menubar.c:254 ../src/pragha-window.ui.h:22 msgid "About" msgstr "关于" -#: ../src/pragha-menubar.c:256 +#: ../src/pragha-menubar.c:259 msgid "_Shuffle" msgstr "随机(_S)" -#: ../src/pragha-menubar.c:259 +#: ../src/pragha-menubar.c:262 msgid "_Repeat" msgstr "重复(_R)" -#: ../src/pragha-menubar.c:262 +#: ../src/pragha-menubar.c:265 msgid "_Fullscreen" msgstr "全屏(_F)" -#: ../src/pragha-menubar.c:265 +#: ../src/pragha-menubar.c:268 msgid "Lateral _panel" msgstr "表盘(_p)" -#: ../src/pragha-menubar.c:268 +#: ../src/pragha-menubar.c:271 msgid "Secondary lateral panel" -msgstr "" +msgstr "二级横向面板" -#: ../src/pragha-menubar.c:271 +#: ../src/pragha-menubar.c:274 msgid "Playback controls below" msgstr "播放控制" -#: ../src/pragha-menubar.c:274 -msgid "Menubar" -msgstr "" - #: ../src/pragha-menubar.c:277 -msgid "Status bar" -msgstr "状态栏" +msgid "Menubar" +msgstr "菜单栏" #: ../src/pragha-menubar.c:638 msgid "Total Tracks:" @@ -519,162 +497,163 @@ msgstr "状态" #. Create labels -#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3367 -#: ../src/pragha-playlist.c:3543 ../src/pragha-statusicon.c:179 -#: ../src/pragha-tags-dialog.c:115 ../src/pragha-tags-dialog.c:836 +#: ../src/pragha-playlist.c:114 ../src/pragha-playlist.c:3502 +#: ../src/pragha-statusicon.c:221 ../src/pragha-tags-dialog.c:167 +#: ../src/pragha-tags-dialog.c:1099 msgid "Title" msgstr "标题" -#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3371 -#: ../src/pragha-playlist.c:3547 ../src/pragha-tags-dialog.c:577 +#: ../src/pragha-playlist.c:118 ../src/pragha-playlist.c:3506 +#: ../src/pragha-tags-dialog.c:690 msgid "Bitrate" msgstr "比特率" -#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3372 -#: ../src/pragha-playlist.c:3548 ../src/pragha-tags-dialog.c:120 +#: ../src/pragha-playlist.c:119 ../src/pragha-playlist.c:3507 +#: ../src/pragha-tags-dialog.c:172 msgid "Year" msgstr "年份" -#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3373 -#: ../src/pragha-playlist.c:3549 ../src/pragha-tags-dialog.c:121 -#: ../src/pragha-tags-dialog.c:856 +#: ../src/pragha-playlist.c:120 ../src/pragha-playlist.c:3508 +#: ../src/pragha-tags-dialog.c:173 ../src/pragha-tags-dialog.c:1119 msgid "Comment" msgstr "注释" #. Create labels -#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3374 -#: ../src/pragha-playlist.c:3550 ../src/pragha-statusicon.c:182 -#: ../src/pragha-tags-dialog.c:576 +#: ../src/pragha-playlist.c:121 ../src/pragha-playlist.c:3509 +#: ../src/pragha-statusicon.c:224 ../src/pragha-tags-dialog.c:689 msgid "Length" msgstr "长度" -#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3375 -#: ../src/pragha-playlist.c:3551 ../src/pragha-tags-dialog.c:581 +#: ../src/pragha-playlist.c:122 ../src/pragha-playlist.c:3510 +#: ../src/pragha-tags-dialog.c:694 msgid "Filename" msgstr "文件名" -#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3376 -#: ../src/pragha-playlist.c:3552 ../src/pragha-tags-dialog.c:582 +#: ../src/pragha-playlist.c:123 ../src/pragha-playlist.c:3511 +#: ../src/pragha-tags-dialog.c:695 msgid "Mimetype" -msgstr "" +msgstr "MIME 类型" -#: ../src/pragha-playlist.c:211 +#: ../src/pragha-playlist.c:212 msgid "Remove from playback queue" msgstr "从播放队列中移除" -#: ../src/pragha-playlist.c:213 +#: ../src/pragha-playlist.c:214 msgid "Remove from playlist" msgstr "从播放列表中删除" -#: ../src/pragha-playlist.c:221 +#: ../src/pragha-playlist.c:222 msgid "_Send to" msgstr "发送到" -#: ../src/pragha-playlist.c:2498 +#: ../src/pragha-playlist.c:2535 #, c-format msgid "Copy \"%i\" to selected track numbers" -msgstr "" +msgstr "复制 \"%i\" 到选定选定轨道号" -#: ../src/pragha-playlist.c:2504 +#: ../src/pragha-playlist.c:2541 #, c-format msgid "Copy \"%s\" to selected titles" -msgstr "" +msgstr "复制 \"%s\" 到选定标题" -#: ../src/pragha-playlist.c:2510 +#: ../src/pragha-playlist.c:2547 #, c-format msgid "Copy \"%s\" to selected artists" -msgstr "" +msgstr "复制 \"%s\" 到选定艺术家" -#: ../src/pragha-playlist.c:2516 +#: ../src/pragha-playlist.c:2553 #, c-format msgid "Copy \"%s\" to selected albums" -msgstr "" +msgstr "复制 \"%s\" 到选定专辑" -#: ../src/pragha-playlist.c:2522 +#: ../src/pragha-playlist.c:2559 #, c-format msgid "Copy \"%s\" to selected genres" -msgstr "" +msgstr "复制 \"%s\" 到选定流派" -#: ../src/pragha-playlist.c:2528 +#: ../src/pragha-playlist.c:2565 #, c-format msgid "Copy \"%i\" to selected years" -msgstr "" +msgstr "复制 \"%i\" 到选定年代" -#: ../src/pragha-playlist.c:2534 +#: ../src/pragha-playlist.c:2571 #, c-format msgid "Copy \"%s\" to selected comments" -msgstr "" +msgstr "复制 \"%s\" 到选定注释" #. Create the checkmenu items -#: ../src/pragha-playlist.c:3366 ../src/pragha-playlist.c:3542 -#: ../src/pragha.c:623 +#: ../src/pragha-playlist.c:3501 ../src/pragha.c:637 msgid "Track" msgid_plural "Tracks" msgstr[0] "曲目标号" -#: ../src/pragha-playlist.c:3379 +#: ../src/pragha-playlist.c:3514 msgid "Clear sort" msgstr "清晰排序" -#: ../src/pragha-playlists-mgmt.c:73 ../src/pragha-preferences-dialog.c:1076 +#: ../src/pragha-playlists-mgmt.c:74 msgid "Playlist" msgstr "播放列表" -#: ../src/pragha-playlists-mgmt.c:86 ../src/pragha-playlists-mgmt.c:518 -#: ../src/pragha-playlists-mgmt.c:1240 ../src/pragha-preferences-dialog.c:1292 -#: ../src/pragha-tags-dialog.c:101 ../src/pragha-tags-dialog.c:662 -#: ../src/pragha.c:406 ../plugins/song-info/pragha-song-info-dialog.c:83 -#: ../plugins/tunein/pragha-tunein-plugin.c:224 +#: ../src/pragha-playlists-mgmt.c:87 ../src/pragha-playlists-mgmt.c:519 +#: ../src/pragha-playlists-mgmt.c:1271 ../src/pragha-preferences-dialog.c:1355 +#: ../src/pragha-tags-dialog.c:150 ../src/pragha-tags-dialog.c:789 +#: ../src/pragha.c:408 ../plugins/song-info/pragha-song-info-dialog.c:84 +#: ../plugins/tunein/pragha-tunein-plugin.c:269 msgid "_Ok" -msgstr "" +msgstr "好 (_O)" -#: ../src/pragha-playlists-mgmt.c:129 +#: ../src/pragha-playlists-mgmt.c:130 msgid "con_playlist is a reserved playlist name" msgstr "con_playlist 是一个反转后的播放列表名" -#: ../src/pragha-playlists-mgmt.c:153 +#: ../src/pragha-playlists-mgmt.c:154 #, c-format msgid "Do you want to overwrite the playlist: %s ?" msgstr "确认覆盖播放列表 %s ?" -#: ../src/pragha-playlists-mgmt.c:507 +#: ../src/pragha-playlists-mgmt.c:508 msgid "Choose a new name" msgstr "选择一个新的名字" -#: ../src/pragha-playlists-mgmt.c:556 +#: ../src/pragha-playlists-mgmt.c:515 ../src/pragha-window.ui.h:42 +msgid "Rename" +msgstr "重命名" + +#: ../src/pragha-playlists-mgmt.c:557 #, c-format msgid "Do you want to delete the item: %s ?" msgstr "确认删除 %s ?" -#: ../src/pragha-playlists-mgmt.c:586 +#: ../src/pragha-playlists-mgmt.c:587 msgid "Export playlist to file" msgstr "导出播放列表到文件中" -#: ../src/pragha-playlists-mgmt.c:590 +#: ../src/pragha-playlists-mgmt.c:591 msgid "_Save" msgstr "保存" #: ../src/pragha-playlists-mgmt.c:1036 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:948 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:818 #, c-format msgid "Added %d songs from %d of the imported playlist." -msgstr "" +msgstr "从 %d 个已导入的播放列表添加了 %d 首歌" -#: ../src/pragha-playlists-mgmt.c:1224 +#: ../src/pragha-playlists-mgmt.c:1255 msgid "What do you want to do?" msgstr "你想要做什么?" -#: ../src/pragha-playlists-mgmt.c:1226 +#: ../src/pragha-playlists-mgmt.c:1257 #, c-format msgid "Replace the playlist \"%s\"" -msgstr "" +msgstr "替换播放列表“%s”" -#: ../src/pragha-playlists-mgmt.c:1231 +#: ../src/pragha-playlists-mgmt.c:1262 #, c-format msgid "Add to playlist \"%s\"" -msgstr "" +msgstr "添加到播放列表“%s”" -#: ../src/pragha-preferences-dialog.c:193 +#: ../src/pragha-preferences-dialog.c:204 msgid "" "Patterns should be of the form:;;....\n" "A maximum of six patterns are allowed.\n" @@ -684,239 +663,255 @@ "最多支持6个。\n" "通配符目前不支持(欢迎patchs ^_^)" -#: ../src/pragha-preferences-dialog.c:216 +#: ../src/pragha-preferences-dialog.c:227 msgid "Album art pattern" msgstr "歌手匹配式" -#: ../src/pragha-preferences-dialog.c:527 -#: ../src/pragha-preferences-dialog.c:1147 +#: ../src/pragha-preferences-dialog.c:545 +#: ../src/pragha-preferences-dialog.c:1205 msgid "Start normal" msgstr "正常启动" -#: ../src/pragha-preferences-dialog.c:531 -#: ../src/pragha-preferences-dialog.c:1148 +#: ../src/pragha-preferences-dialog.c:549 +#: ../src/pragha-preferences-dialog.c:1206 msgid "Start fullscreen" msgstr "全屏启动" -#: ../src/pragha-preferences-dialog.c:535 -#: ../src/pragha-preferences-dialog.c:1149 +#: ../src/pragha-preferences-dialog.c:553 +#: ../src/pragha-preferences-dialog.c:1207 msgid "Start in system tray" msgstr "最小化到托盘启动" #. Create a folder chooser dialog -#: ../src/pragha-preferences-dialog.c:675 +#: ../src/pragha-preferences-dialog.c:700 msgid "Select a folder to add to library" msgstr "选择一个目录加入到“库”中" -#: ../src/pragha-preferences-dialog.c:679 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:976 +#: ../src/pragha-preferences-dialog.c:704 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:846 msgid "_Open" msgstr "打开" -#: ../src/pragha-preferences-dialog.c:904 -#: ../src/pragha-preferences-dialog.c:1317 +#. Audio +#: ../src/pragha-preferences-dialog.c:929 +#: ../src/pragha-preferences-dialog.c:1391 msgid "Audio" msgstr "音频" -#: ../src/pragha-preferences-dialog.c:906 +#: ../src/pragha-preferences-dialog.c:931 msgid "Audio sink" msgstr "音频输出" -#: ../src/pragha-preferences-dialog.c:910 -#: ../src/pragha-preferences-dialog.c:929 #: ../src/pragha-preferences-dialog.c:935 +#: ../src/pragha-preferences-dialog.c:955 +#: ../src/pragha-preferences-dialog.c:961 msgid "Restart Required" msgstr "需要重启" -#: ../src/pragha-preferences-dialog.c:925 +#: ../src/pragha-preferences-dialog.c:950 msgid "Audio Device" msgstr "音频设备" -#: ../src/pragha-preferences-dialog.c:934 +#: ../src/pragha-preferences-dialog.c:960 msgid "Use software mixer" msgstr "使用软件混合器" -#: ../src/pragha-preferences-dialog.c:972 +#: ../src/pragha-preferences-dialog.c:994 +#: ../src/pragha-preferences-dialog.c:1362 +msgid "Library" +msgstr "“库”" + +#: ../src/pragha-preferences-dialog.c:998 msgid "Can not change directories while they are analyzing." -msgstr "" +msgstr "在分析时不能更改目录。" -#: ../src/pragha-preferences-dialog.c:982 +#: ../src/pragha-preferences-dialog.c:1018 msgid "Folders" msgstr "文件夹" -#: ../src/pragha-preferences-dialog.c:1001 ../src/pragha.c:207 +#: ../src/pragha-preferences-dialog.c:1052 ../src/pragha.c:209 msgid "_Add" msgstr "添加" -#: ../src/pragha-preferences-dialog.c:1002 +#: ../src/pragha-preferences-dialog.c:1053 msgid "_Remove" msgstr "删除" -#: ../src/pragha-preferences-dialog.c:1018 -msgid "Merge folders in the folders estructure view" -msgstr "在目录结构视图中合并目录" - -#: ../src/pragha-preferences-dialog.c:1021 +#. Sort by year option. +#: ../src/pragha-preferences-dialog.c:1069 msgid "Sort albums by release year" msgstr "按发行年份排序" +#: ../src/pragha-preferences-dialog.c:1106 +#: ../src/pragha-preferences-dialog.c:1361 +msgid "Playback" +msgstr "" + +#: ../src/pragha-preferences-dialog.c:1108 ../src/pragha-window.c:136 +msgid "Ignore errors and continue playback" +msgstr "" + #. Labels -#: ../src/pragha-preferences-dialog.c:1064 -#: ../src/pragha-preferences-dialog.c:1297 +#: ../src/pragha-preferences-dialog.c:1130 +#: ../src/pragha-preferences-dialog.c:1360 msgid "Appearance" msgstr "外观" -#: ../src/pragha-preferences-dialog.c:1066 +#: ../src/pragha-preferences-dialog.c:1132 msgid "Use system title bar and borders" -msgstr "" +msgstr "使用系统标题栏和边框" -#: ../src/pragha-preferences-dialog.c:1073 +#: ../src/pragha-preferences-dialog.c:1138 msgid "Use small icons on the toolbars" -msgstr "" +msgstr "在工具栏中显示小图标" -#: ../src/pragha-preferences-dialog.c:1078 -msgid "Highlight rows on current playlist" -msgstr "为播放列表交替染色" - -#: ../src/pragha-preferences-dialog.c:1081 +#: ../src/pragha-preferences-dialog.c:1141 msgid "Controls" msgstr "Controls" -#: ../src/pragha-preferences-dialog.c:1083 +#: ../src/pragha-preferences-dialog.c:1143 msgid "Show Album art in Panel" msgstr "在表盘中显示专辑" -#: ../src/pragha-preferences-dialog.c:1086 +#: ../src/pragha-preferences-dialog.c:1146 msgid "Size of Album art" msgstr "专辑大小" -#: ../src/pragha-preferences-dialog.c:1091 +#: ../src/pragha-preferences-dialog.c:1151 msgid "Album art file pattern" msgstr "专辑匹配式" -#: ../src/pragha-preferences-dialog.c:1135 +#: ../src/pragha-preferences-dialog.c:1193 ../src/pragha-search-entry.c:116 msgid "Search" msgstr "搜索" #. Instant search. -#: ../src/pragha-preferences-dialog.c:1137 ../src/pragha-search-entry.c:41 +#: ../src/pragha-preferences-dialog.c:1195 ../src/pragha-search-entry.c:41 msgid "Search while typing" msgstr "搜索时即时显示结果" #. Aproximate search. -#: ../src/pragha-preferences-dialog.c:1140 ../src/pragha-search-entry.c:48 +#: ../src/pragha-preferences-dialog.c:1198 ../src/pragha-search-entry.c:48 msgid "Search similar words" msgstr "搜索相似的词" -#: ../src/pragha-preferences-dialog.c:1143 +#: ../src/pragha-preferences-dialog.c:1201 msgid "When starting pragha" msgstr "打开 pragha 时" -#: ../src/pragha-preferences-dialog.c:1146 +#: ../src/pragha-preferences-dialog.c:1204 msgid "Remember last window state" msgstr "记住最后的窗口状态" -#: ../src/pragha-preferences-dialog.c:1152 +#: ../src/pragha-preferences-dialog.c:1210 msgid "Restore last playlist" msgstr "恢复最后的播放列表" -#: ../src/pragha-preferences-dialog.c:1155 +#: ../src/pragha-preferences-dialog.c:1213 msgid "When adding folders" msgstr "在添加文件夹时" -#: ../src/pragha-preferences-dialog.c:1156 ../src/pragha.c:198 +#: ../src/pragha-preferences-dialog.c:1214 ../src/pragha.c:200 msgid "Add files recursively" msgstr "递归添加文件" -#: ../src/pragha-preferences-dialog.c:1180 -#: ../src/pragha-preferences-dialog.c:1332 +#: ../src/pragha-preferences-dialog.c:1238 +#: ../src/pragha-preferences-dialog.c:1406 msgid "Desktop" msgstr "桌面" -#: ../src/pragha-preferences-dialog.c:1182 +#: ../src/pragha-preferences-dialog.c:1240 msgid "Show Pragha icon in the notification area" msgstr "在通知栏中显示 Pragha" -#: ../src/pragha-preferences-dialog.c:1185 +#: ../src/pragha-preferences-dialog.c:1243 msgid "Minimize Pragha when closing window" msgstr "当点击关闭按钮时最小化Pragha" -#: ../src/pragha-preferences-dialog.c:1206 -#: ../src/pragha-preferences-dialog.c:1301 +#: ../src/pragha-preferences-dialog.c:1264 +#: ../src/pragha-preferences-dialog.c:1365 msgid "Plugins" msgstr "插件" #. The main preferences dialog -#: ../src/pragha-preferences-dialog.c:1288 +#: ../src/pragha-preferences-dialog.c:1351 msgid "Preferences" msgstr "Pragha首选项" -#: ../src/pragha-preferences-dialog.c:1299 +#: ../src/pragha-preferences-dialog.c:1363 msgid "General" msgstr "通用" -#: ../src/pragha-preferences-dialog.c:1336 +#: ../src/pragha-preferences-dialog.c:1410 msgid "Services" msgstr "网络服务" -#. Add to dialog -#: ../src/pragha-preferences-dialog.c:1349 +#: ../src/pragha-preferences-dialog.c:1424 msgid "Preferences of Pragha" msgstr "Pragha首选项" -#: ../src/pragha-scanner.c:93 +#: ../src/pragha-scanner.c:96 ../plugins/ampache/pragha-ampache-plugin.c:677 #, c-format -msgid "%i files analized of %i detected" -msgstr "" +msgid "%i files analyzed of %i detected" +msgstr "已完成分析探测到的 %i 个文件中的 %i 个" -#: ../src/pragha-scanner.c:99 +#. Create background task widget +#. New Task widget +#: ../src/pragha-scanner.c:102 ../src/pragha-scanner.c:341 +#: ../src/pragha-scanner.c:730 ../plugins/ampache/pragha-ampache-plugin.c:1424 +#: ../plugins/koel/pragha-koel-plugin.c:1252 msgid "Searching files to analyze" -msgstr "" +msgstr "正在搜索文件以进行分析" -#: ../src/pragha-scanner.c:250 +#: ../src/pragha-scanner.c:257 msgid "Library scan complete" msgstr "“库”扫描完毕" -#: ../src/pragha-statusicon.c:174 ../src/pragha-toolbar.c:174 -#: ../src/pragha-toolbar.c:524 +#: ../src/pragha-statusicon.c:216 ../src/pragha-toolbar.c:171 +#: ../src/pragha-toolbar.c:550 msgid "Not playing" msgstr "未播放" -#: ../src/pragha-tags-dialog.c:119 +#. Set dialog properties +#: ../src/pragha-tags-dialog.c:147 ../src/pragha-window.ui.h:45 +msgid "Edit tags" +msgstr "编辑tags" + +#: ../src/pragha-tags-dialog.c:171 msgid "Track No" msgstr "曲目标号" -#: ../src/pragha-tags-dialog.c:122 +#: ../src/pragha-tags-dialog.c:174 msgid "File" msgstr "文件" #. The main edit dialog -#: ../src/pragha-tags-dialog.c:457 ../src/pragha-tags-dialog.c:659 +#: ../src/pragha-tags-dialog.c:570 ../src/pragha-tags-dialog.c:786 msgid "Details" msgstr "详细" -#: ../src/pragha-tags-dialog.c:559 +#: ../src/pragha-tags-dialog.c:672 msgid "channel" msgid_plural "channels" msgstr[0] "声道" -#: ../src/pragha-tags-dialog.c:578 +#: ../src/pragha-tags-dialog.c:691 msgid "Channels" msgstr "声道" -#: ../src/pragha-tags-dialog.c:579 +#: ../src/pragha-tags-dialog.c:692 msgid "Samplerate" msgstr "采样率" -#: ../src/pragha-tags-dialog.c:580 +#: ../src/pragha-tags-dialog.c:693 msgid "Folder" msgstr "文件夹" -#: ../src/pragha-tags-dialog.c:829 +#: ../src/pragha-tags-dialog.c:1092 msgid "Selection to" msgstr "保存所选" -#: ../src/pragha-tags-dialog.c:867 +#: ../src/pragha-tags-dialog.c:1130 msgid "Open folder" msgstr "打开文件夹" @@ -924,14 +919,14 @@ #, c-format msgid "" "Do you want to set the track number of ALL of the selected tracks to: %d ?" -msgstr "" +msgstr "要将所有选中的曲目的编号设置为 %d 吗?" #: ../src/pragha-tags-mgmt.c:215 #, c-format msgid "Do you want to set the title tag of ALL of the selected tracks to: %s ?" -msgstr "" +msgstr "要将所有选中的曲目的标题标签设置为 %s 吗?" -#: ../src/pragha-toolbar.c:150 +#: ../src/pragha-toolbar.c:147 #, c-format msgid "" "%s by %s %s 位于 %s" -#: ../src/pragha-toolbar.c:155 -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 +#: ../src/pragha-toolbar.c:152 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:53 #, c-format msgid "%s by %s" msgstr "%s %s" -#: ../src/pragha-toolbar.c:159 +#: ../src/pragha-toolbar.c:156 #, c-format msgid "%s in %s" msgstr "%s %s" -#: ../src/pragha-toolbar.c:809 +#: ../src/pragha-toolbar.c:218 +msgid "Remove from Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:218 +msgid "Add to Favorites" +msgstr "" + +#: ../src/pragha-toolbar.c:855 msgid "Previous Track" msgstr "上一首歌曲" -#: ../src/pragha-toolbar.c:813 +#: ../src/pragha-toolbar.c:859 msgid "Play / Pause Track" msgstr "播放/暂停歌曲" -#: ../src/pragha-toolbar.c:817 +#: ../src/pragha-toolbar.c:863 msgid "Stop playback" msgstr "停止播放" -#: ../src/pragha-toolbar.c:821 +#: ../src/pragha-toolbar.c:867 msgid "Next Track" msgstr "下一首" -#: ../src/pragha-toolbar.c:853 +#: ../src/pragha-toolbar.c:878 msgid "Leave Fullscreen" msgstr "离开全屏" -#: ../src/pragha-toolbar.c:857 +#: ../src/pragha-toolbar.c:885 msgid "Play songs in a random order" msgstr "乱序播放" -#: ../src/pragha-toolbar.c:860 +#: ../src/pragha-toolbar.c:888 msgid "Repeat playback list at the end" msgstr "重复播放" -#: ../src/pragha-utils.c:239 +#: ../src/pragha-utils.c:493 msgid "day" msgid_plural "days" msgstr[0] "天" -#: ../src/pragha-utils.c:486 +#: ../src/pragha-utils.c:796 msgid "Unable to open the browser" msgstr "无法打开浏览器" -#: ../src/pragha-window.c:115 +#: ../src/pragha-window.c:133 #, c-format msgid "" "Error playing current track.\n" @@ -999,194 +1002,333 @@ "(%s)\n" "原因是: %s" -#: ../src/pragha-window.c:118 +#: ../src/pragha-window.c:140 msgid "_Stop" msgstr "停止" -#: ../src/pragha-window.c:119 +#: ../src/pragha-window.c:141 msgid "_Next" msgstr "下一首" -#: ../src/pragha.c:176 +#: ../src/pragha.c:175 msgid "Select a file to play" msgstr "选择一个文件来播放" -#: ../src/pragha.c:220 ../plugins/lastfm/pragha-lastfm-plugin.c:980 +#: ../src/pragha.c:222 ../plugins/lastfm/pragha-lastfm-plugin.c:850 msgid "Supported media" msgstr "所有支持的媒体" -#: ../src/pragha.c:306 +#: ../src/pragha.c:308 msgid "All files" msgstr "所有文件" -#: ../src/pragha.c:382 +#: ../src/pragha.c:384 msgid "Enter the URL of an internet radio stream" msgstr "输入感兴趣的电台地址" -#: ../src/pragha.c:389 +#: ../src/pragha.c:391 msgid "Give it a name to save" msgstr "保存为" -#: ../src/pragha.c:402 +#: ../src/pragha.c:404 msgid "Add a location" msgstr "添加网络地址" -#: ../src/pragha.c:534 -msgid "translator-credits" -msgstr "翻译者" - #. Setup application name and pulseaudio role -#: ../src/pragha.c:702 ../src/pragha.c:934 ../src/pragha.c:1311 -#: ../plugins/dlna/pragha-dlna-plugin.c:220 -#: ../plugins/dlna/pragha-dlna-plugin.c:222 +#. Launch server +#: ../src/pragha.c:767 ../src/pragha.c:1012 ../src/main.c:61 +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:1 +#: ../plugins/dlna/pragha-dlna-plugin.c:246 msgid "Pragha Music Player" msgstr "Pragha音乐播放器" +#: ../src/pragha-window.ui.h:15 +msgid "Show lateral _panel" +msgstr "" + +#: ../src/pragha-window.ui.h:16 +msgid "Show secondary lateral panel" +msgstr "" + +#: ../src/pragha-window.ui.h:17 +msgid "Show menubar" +msgstr "" + +#: ../src/pragha-window.ui.h:18 +msgid "Show status bar" +msgstr "" + +#: ../src/pragha-window.ui.h:28 +msgid "_Expand library" +msgstr "扩展“库”(_E)" + +#: ../src/pragha-window.ui.h:29 +msgid "_Collapse library" +msgstr "折叠”库“(_C)" + +#: ../src/pragha-window.ui.h:38 +#: ../plugins/song-info/pragha-song-info-pane.c:471 +msgid "_Add to current playlist" +msgstr "添加到播放列表(_A)" + +#: ../src/pragha-window.ui.h:39 +msgid "_Replace current playlist" +msgstr "替换当前播放列表(_R)" + +#: ../src/pragha-window.ui.h:40 +msgid "Replace and _play" +msgstr "替换并播放(_p)" + +#: ../src/pragha-window.ui.h:41 +msgid "Add and play" +msgstr "" + +#: ../src/pragha-window.ui.h:43 +msgid "Delete" +msgstr "删除" + +#: ../src/pragha-window.ui.h:44 +msgid "_Remove library" +msgstr "移除合集(_R)" + +#: ../src/pragha-window.ui.h:46 +msgid "Move to _trash" +msgstr "移到回收站(_t)" + +#: ../src/pragha-window.ui.h:47 +msgid "Delete from library" +msgstr "从“库”中删除" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:2 +#: ../data/pragha.desktop.in.h:2 +msgid "Manage and listen your music" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:3 +msgid "" +"

    Pragha is a Lightweight Music Player for GNU/Linux, based on GTK3, " +"SQLite, and completely written in C, constructed to be fast, light, and " +"simultaneously tries to be complete without obstructing the daily work. " +"Although it was especifically designed for the Xfce desktop, it integrates " +"very well in other desktop environments.

    Features:

    • Full " +"integration with GTK3 support, but always completely independent of gnome or " +"xfce
    • Two panel desing inspired on Amarok 1.4. Library and current " +"playlist
    • Library with multiple views, according tags or folder " +"structure
    • Search, filtering and queue songs on current playlist
    • Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape " +"files. Of course you need codecs
    • Playlist management. Exporting M3U " +"and read M3U, PLS, XSPF and WAX playlists
    • Play audio CDs and " +"identifies this with CDDB
    • Playback control with command line and " +"MPRIS2
    • Native desktop notifications with libnotify
    " +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:4 +msgid "audio" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:5 +msgid "multimedia" +msgstr "" + +#: ../data/io.github.pragha_music_player.metainfo.xml.in.h:6 +msgid "player" +msgstr "" + #: ../data/pragha.desktop.in.h:1 msgid "Music Player" msgstr "音乐播放器" -#: ../data/pragha.desktop.in.h:2 -msgid "Manage and listen to music" -msgstr "管理和听音乐" +#: ../data/pragha.desktop.in.h:3 +msgid "audio;multimedia;player;" +msgstr "" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:99 -#: ../plugins/acoustid/pragha-acoustid-plugin.c:426 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:104 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:451 msgid "Search tags on AcoustID" -msgstr "" +msgstr "在 AcoustID 中搜索标签" -#: ../plugins/acoustid/pragha-acoustid-plugin.c:259 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:212 +#: ../plugins/acoustid/pragha-acoustid-plugin.c:391 +msgid "There was an error when searching your tags on AcoustID" +msgstr "在 AcoustID 中搜索标签时出错" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:269 msgid "AcoustID not found any similar song" +msgstr "AcoustID 中未找到任何相似歌曲" + +#: ../plugins/acoustid/pragha-acoustid-plugin.c:373 +msgid "Searching tags on AcoustID" +msgstr "从 AcoustID 搜索标签" + +#: ../plugins/ampache/pragha-ampache-plugin.c:166 +#: ../plugins/ampache/pragha-ampache-plugin.c:1449 +msgid "Refresh the Ampache library" +msgstr "刷新 Ampache 合集" + +#: ../plugins/ampache/pragha-ampache-plugin.c:238 +#: ../plugins/ampache/pragha-ampache-plugin.c:240 +#: ../plugins/ampache/pragha-ampache-plugin.c:1039 +#: ../plugins/ampache/pragha-ampache-plugin.c:1041 +#: ../plugins/ampache/pragha-ampache-plugin.c:1062 +msgid "Favorites on Ampache" +msgstr "" + +#: ../plugins/ampache/pragha-ampache-plugin.c:708 +msgid "The server has no songs to play" msgstr "" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:477 +#: ../plugins/ampache/pragha-ampache-plugin.c:886 +#: ../plugins/koel/pragha-koel-plugin.c:911 +msgid "Server" +msgstr "服务器" + +#: ../plugins/ampache/pragha-ampache-plugin.c:898 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1710 +#: ../plugins/koel/pragha-koel-plugin.c:922 +msgid "Username" +msgstr "用户名" + +#: ../plugins/ampache/pragha-ampache-plugin.c:910 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1717 +#: ../plugins/koel/pragha-koel-plugin.c:934 +msgid "Password" +msgstr "密码" + +#: ../plugins/ampache/pragha-ampache-plugin.c:1147 +msgid "Unable to establish conection with Ampache" +msgstr "" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:412 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:701 +msgid "Audio CD" +msgstr "Audio CD" + +#: ../plugins/cdrom/pragha-cdrom-plugin.c:535 msgid "Audio/Data CD" msgstr "Audio/Data CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:478 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:536 msgid "An audio CD was inserted" -msgstr "" +msgstr "插入了一张音频 CD" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:479 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:519 -#: ../plugins/cdrom/pragha-cdrom-plugin.c:730 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:537 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:606 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:802 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:807 msgid "Add Audio _CD" msgstr "添加整张CD(_C)" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:622 -msgid "Audio CD" -msgstr "Audio CD" - -#: ../plugins/cdrom/pragha-cdrom-plugin.c:624 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:703 msgid "Audio CD Device" msgstr "音频CD设备" -#: ../plugins/cdrom/pragha-cdrom-plugin.c:644 +#: ../plugins/cdrom/pragha-cdrom-plugin.c:724 msgid "Connect to CDDB server" msgstr "连接到CDDB服务器" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:89 -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:262 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:90 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:220 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:289 msgid "Search music on DLNA server" -msgstr "" +msgstr "在 DLNA 服务器中搜索音乐" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:205 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:219 #, c-format msgid "Music of the %s server was added." -msgstr "" +msgstr "已添加服务器 %s 上的音乐。" -#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:210 +#: ../plugins/dlna-renderer/pragha-dlna-renderer-plugin.c:225 msgid "Could not find any DLNA server." -msgstr "" +msgstr "找不到任何 DLNA 服务器。" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:174 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1568 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1470 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:1 msgid "_Lastfm" msgstr "_Last.FM" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:175 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:215 -msgid "Love track" -msgstr "设为喜爱曲目" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:177 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:217 -msgid "Unlove track" -msgstr "从喜爱曲目中删除" - -#: ../plugins/lastfm/pragha-lastfm-plugin.c:179 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:972 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:178 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:842 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:4 msgid "Import a XSPF playlist" msgstr "导入XSPF播放列表" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:181 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:180 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:5 msgid "Add favorites" msgstr "添加到我最喜爱的" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:183 -#: ../plugins/lastfm/pragha-lastfm-plugin.c:219 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:182 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:209 +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:6 msgid "Add similar" msgstr "添加相似歌曲" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:432 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:389 msgid "Unable to establish conection with Last.fm" msgstr "无法连接 Last.fm" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:636 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:578 msgid "Last.fm suggested a tag correction" -msgstr "" +msgstr "Last.fm 建议了一个标签订正" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:662 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:605 msgid "Love song on Last.fm failed." msgstr "在Last.FM上设置喜爱曲目失败" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:680 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:624 msgid "Unlove song on Last.fm failed." msgstr "在Last.FM上取消喜爱曲目失败" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:787 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:658 #, c-format msgid "Added %d tracks of %d suggested from Last.fm" msgstr "从Last.FM上添加了%d首推荐(共%d首)" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:790 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:661 #, c-format msgid "Last.fm doesn't suggest any similar track" -msgstr "" +msgstr "Last.fm 没有推荐任何相似曲目" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:794 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:665 #, c-format msgid "Added %d songs of the last %d loved on Last.fm." msgstr "从Last.FM上添加了%d首喜爱曲目(共%d首)" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:797 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:668 #, c-format msgid "You don't have favorite tracks on Last.fm" -msgstr "" +msgstr "你在 Last.fm 上没有喜爱的曲目" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1267 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1099 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1136 msgid "Last.fm submission failed" -msgstr "" +msgstr "Last.fm 提交失败" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1269 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1138 msgid "Track scrobbled on Last.fm" -msgstr "" +msgstr "Last.fm 上收集的曲目" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1379 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1266 msgid "Update current song on Last.fm failed." msgstr "上传当前歌曲到Last.FM失败" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1806 +#: ../plugins/lastfm/pragha-lastfm-plugin.c:1707 msgid "Scrobble on Last.fm" +msgstr "在 Last.fm 上收集" + +#: ../plugins/mtp/pragha-mtp-thread.c:208 +msgid "Unknown MTP device" msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1809 -msgid "Username" -msgstr "用户名" +#: ../plugins/mtp/pragha-mtp-thread.c:461 +msgid "Music" +msgstr "" -#: ../plugins/lastfm/pragha-lastfm-plugin.c:1816 -msgid "Password" -msgstr "密码" +#: ../plugins/mpris2/pragha-mpris2-plugin.c:856 +msgid "Tracks" +msgstr "曲目" #: ../plugins/notify/pragha-notify-plugin.c:165 #, c-format @@ -1205,73 +1347,162 @@ msgid "Add actions to change track in notifications" msgstr "在通知中添加切换动作" -#: ../plugins/removable-media/pragha-devices-removable.c:211 +#: ../plugins/koel/pragha-koel-plugin.c:150 +#: ../plugins/koel/pragha-koel-plugin.c:1277 +msgid "Refresh the Koel library" +msgstr "刷新 Koel 库" + +#: ../plugins/koel/pragha-koel-plugin.c:534 +#: ../plugins/koel/pragha-koel-plugin.c:778 +#: ../plugins/koel/pragha-koel-plugin.c:798 +msgid "Favorites on Koel" +msgstr "Koel 收藏夹" + +#: ../plugins/koel/pragha-koel-plugin.c:551 +msgid "Koel" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:552 +msgid "Import finished" +msgstr "" + +#: ../plugins/koel/pragha-koel-plugin.c:1004 +msgid "Unable to establish conection with Koel" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:225 #, c-format -msgid "Unable to access \"%s\"" +msgid "Unable to accesss to “%s” device" msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:214 -#: ../plugins/removable-media/pragha-devices-removable.c:300 +#: ../plugins/removable-media/pragha-devices-removable.c:229 +#: ../plugins/removable-media/pragha-devices-removable.c:315 msgid "Removable Device" +msgstr "可移动设备" + +#: ../plugins/removable-media/pragha-devices-removable.c:311 +#, c-format +msgid "Do you want to manage the “%s” device with Pragha?" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:316 +msgid "An removable device was detected" +msgstr "" + +#: ../plugins/removable-media/pragha-devices-removable.c:317 +msgid "Manage device" +msgstr "" + +#: ../plugins/song-info/pragha-song-info-pane.c:175 +msgid "Thanks to " msgstr "" -#: ../plugins/removable-media/pragha-devices-removable.c:297 +#: ../plugins/song-info/pragha-song-info-pane.c:377 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info.ui.h:1 #, c-format -msgid "Want to manage \"%s\" volume?" +msgid "Artist info" +msgstr "艺人信息" + +#: ../plugins/song-info/pragha-song-info-pane.c:390 +#: ../plugins/song-info/pragha-song-info-pane.c:453 +#: ../plugins/song-info/pragha-song-info-pane.c:517 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info.ui.h:2 +msgid "Lyrics" msgstr "" -#: ../plugins/song-info/pragha-song-info-plugin.c:88 -msgid "Search _lyric" +#: ../plugins/song-info/pragha-song-info-pane.c:403 +#: ../plugins/song-info/pragha-song-info.ui.h:3 +msgid "Similar songs" msgstr "" #: ../plugins/song-info/pragha-song-info-plugin.c:90 +msgid "Search _lyric" +msgstr "搜索歌词(_L)" + +#: ../plugins/song-info/pragha-song-info-plugin.c:92 msgid "Search _artist info" -msgstr "" +msgstr "搜索艺术家信息(_A)" -#: ../plugins/song-info/pragha-song-info-plugin.c:377 +#: ../plugins/song-info/pragha-song-info-plugin.c:558 msgid "Song Information" -msgstr "" +msgstr "歌曲信息" -#: ../plugins/song-info/pragha-song-info-plugin.c:379 +#: ../plugins/song-info/pragha-song-info-plugin.c:560 msgid "Download the album art while playing their songs." -msgstr "" +msgstr "播放专辑中的歌曲时下载专辑封面。" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:51 -#, c-format -msgid "Lyrics thanks to %s" +#: ../plugins/song-info/pragha-song-info-plugin.c:564 +msgid "Proxy" msgstr "" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:58 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:52 #, c-format -msgid "Artist info" -msgstr "" +msgid "Lyrics thanks to %s" +msgstr "感谢 %s 提供的歌词" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:59 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:60 #, c-format msgid "%s thanks to %s" -msgstr "" +msgstr "%s 感谢 %s" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:81 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:100 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:82 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:178 msgid "Lyrics not found." -msgstr "" +msgstr "未找到歌词。" -#: ../plugins/song-info/pragha-song-info-thread-dialog.c:84 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:104 +#: ../plugins/song-info/pragha-song-info-thread-dialog.c:86 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:183 msgid "Artist information not found." -msgstr "" +msgstr "未找到艺人信息" -#: ../plugins/song-info/pragha-song-info-thread-pane.c:185 -#: ../plugins/song-info/pragha-song-info-thread-pane.c:193 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:188 +msgid "No recommended songs." +msgstr "无推荐歌曲。" + +#: ../plugins/song-info/pragha-song-info-thread-pane.c:272 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:281 +#: ../plugins/song-info/pragha-song-info-thread-pane.c:289 msgid "Searching..." -msgstr "" +msgstr "正在搜索…" -#: ../plugins/tunein/pragha-tunein-plugin.c:92 -#: ../plugins/tunein/pragha-tunein-plugin.c:291 +#: ../plugins/tunein/pragha-tunein-plugin.c:98 +#: ../plugins/tunein/pragha-tunein-plugin.c:327 msgid "Search radio on TuneIn" +msgstr "在 TuneIn 搜索电台" + +#: ../plugins/tunein/pragha-tunein-plugin.c:151 +#: ../plugins/tunein/pragha-tunein-plugin.c:175 +msgid "There was an error when searching radio on TuneIn" +msgstr "从 TuneIn 搜索互联网收音机时出错" + +#: ../plugins/tunein/pragha-tunein-plugin.c:165 +msgid "Radio was not found" msgstr "" -#: ../plugins/tunein/pragha-tunein-plugin.c:220 -#: ../plugins/tunein/pragha-tunein-plugin.c:231 +#: ../plugins/tunein/pragha-tunein-plugin.c:209 +msgid "Searching radio on TuneIn" +msgstr "从 TuneIn 搜索互联网收音机" + +#: ../plugins/tunein/pragha-tunein-plugin.c:265 +#: ../plugins/tunein/pragha-tunein-plugin.c:276 msgid "Search in TuneIn" +msgstr "在 TuneIn 搜索" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:78 +msgid "_Visualizer" +msgstr "" + +#: ../plugins/visualizer/pragha-visualizer-plugin.c:155 +msgid "Show Visualizer" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:2 +msgid "Love track" +msgstr "" + +#: ../plugins/lastfm/pragha-lastfm-menu.ui.h:3 +msgid "Unlove track" msgstr "" diff -Nru pragha-1.3.3/README pragha-1.3.992/README --- pragha-1.3.3/README 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/README 2018-06-21 11:24:11.000000000 +0000 @@ -1,6 +1,6 @@ -Pragha is a Lightweight Music Player for GNU/Linux, based on Gtk, sqlite, and -completely written in C, constructed to be fast, light, and simultaneously -tries to be complete without obstructing the daily work. ;) +Pragha is a Lightweight Music Player for GNU/Linux, based on Gtk and sqlite. +It is completely written in C, constructed to be fast, light, and +simultaneously tries to be complete without obstructing the daily work. ;) A tiny history of the project.? Consonance, An excellent player emerged in the archlinux forums, was @@ -15,29 +15,29 @@ Main features: * Full integration with GTK+3, but always completely independent of gnome or xfce. - * Two panel desing inspired on Amarok 1.4. Library and current playlist. - * Library with multiple views, according tags or folder structure. - * Search, filtering and queue songs on current playlist. - * Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape files. + * Two panel design inspired by Amarok 1.4. Library and current playlist. + * Library with multiple views, according to tags or folder structure. + * Search, filter and queue songs on current playlist. + * Play and edit tags of mp3, m4a, ogg, flac, asf, wma, and ape files. Limited only by codecs installed and taglib version used. - * Playlist management: Exporting M3U and read M3U, PLS, XSPF and WAX + * Playlist management: Export M3U and read M3U, PLS, XSPF and WAX playlists. * Playback control with command line. Extensible by plugins: - * AcoustID: Get metadata on AcoustID service. - * CD-ROM: Play audio CDs and identifies this with CDDB. + * AcoustID: Get metadata from AcoustID service. + * CD-ROM: Play audio CDs and identify them on CDDB. * DLNA Server: Share your playlist on a DLNA server. - * DLNA Renderer: Play music of a DLNA server. + * DLNA Renderer: Play music from a DLNA server. * Gnome-Media-Keys: Control pragha with gnome-media-keys daemon. * Global Hotkeys: Control pragha with multimedia keys. * Last.fm: Scrobbling, love, unlove song, and append similar song to get related playlists. * MPRIS2: Control pragha with mpris2 interface. * Mtp Devices: Basic Management of MTP devices. - * Notification: Show notification when change songs. + * Notification: Show a notification when changing songs. * Removable media: Detect removable media and scan it. - * Song-info: Get Artist info, Lyrics and Album arts of yours songs. + * Song-info: Get Artist info, Lyrics and Album art of your songs. * Get radios: Search radios on TuneIn service. Requirements: @@ -49,8 +49,8 @@ Optional: * libpeas-1.0 >= 1.0.0 and libpeas-gtk-1.0 >= 1.0.0: Required for all plugins. * libxfce4ui >= 4.11.0: Better session managament support. Save the current - playlist, last posicion when save session, etc. - * totem-plparser >= 2.26: Support to open many more format and internet radios - playlist. - * gstreamer-plugins-base-devel >= 1.0: Use cubic volume to a better control of - volume. + playlist, last position when saving session, etc. + * totem-plparser >= 2.26: Support to open many more formats and internet radio + playlists. + * gstreamer-plugins-base-devel >= 1.0: Use cubic volume for better volume + control. diff -Nru pragha-1.3.3/src/.gitignore pragha-1.3.992/src/.gitignore --- pragha-1.3.3/src/.gitignore 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -*.deps* -*.libs* -pragha -*.o -*~ diff -Nru pragha-1.3.3/src/gtkcellrendererbubble.c pragha-1.3.992/src/gtkcellrendererbubble.c --- pragha-1.3.3/src/gtkcellrendererbubble.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/gtkcellrendererbubble.c 2019-03-12 13:13:31.000000000 +0000 @@ -30,9 +30,28 @@ PROP_SHOW_BUBBLE, }; -G_DEFINE_TYPE (GtkCellRendererBubble, - gtk_cell_renderer_bubble, - GTK_TYPE_CELL_RENDERER_TEXT); +G_DEFINE_TYPE_WITH_PRIVATE (GtkCellRendererBubble, + gtk_cell_renderer_bubble, + GTK_TYPE_CELL_RENDERER_TEXT); + +static void +get_background_color (GtkStyleContext *context, + GtkStateFlags state, + GdkRGBA *color) +{ + GdkRGBA *c; + + g_return_if_fail (color != NULL); + g_return_if_fail (GTK_IS_STYLE_CONTEXT (context)); + + gtk_style_context_get (context, + state, + "background-color", &c, + NULL); + + *color = *c; + gdk_rgba_free (c); +} static void gtk_cell_renderer_bubble_finalize (GObject *object) @@ -148,9 +167,10 @@ if (priv->show_bubble) { cairo_save (cr); - + style = gtk_widget_get_style_context (widget); - gtk_style_context_get_background_color (style, GTK_STATE_FLAG_SELECTED, &selected); + + get_background_color (style, GTK_STATE_FLAG_SELECTED, &selected); pattern = cairo_pattern_create_linear (cell_area->x, cell_area->y, @@ -221,8 +241,6 @@ object_class->set_property = gtk_cell_renderer_bubble_set_property; object_class->get_property = gtk_cell_renderer_bubble_get_property; - g_type_class_add_private (object_class, sizeof(GtkCellRendererBubblePrivate)); - g_object_class_install_property (object_class, PROP_SHOW_BUBBLE, g_param_spec_boolean ("show-bubble", diff -Nru pragha-1.3.3/src/info-bar-import-music.c pragha-1.3.992/src/info-bar-import-music.c --- pragha-1.3.3/src/info-bar-import-music.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/info-bar-import-music.c 2018-06-21 11:24:11.000000000 +0000 @@ -25,6 +25,7 @@ #include #endif +#include "pragha-database-provider.h" #include "pragha-utils.h" #include "pragha.h" @@ -36,11 +37,11 @@ static void info_bar_response_cb(GtkInfoBar *info_bar, gint response_id, gpointer user_data) { - GSList *library_dir = NULL; - PraghaPreferences *preferences; + PraghaDatabaseProvider *provider; PraghaScanner *scanner; PraghaApplication *pragha = user_data; + const gchar *dir = g_get_user_special_dir(G_USER_DIRECTORY_MUSIC); gtk_widget_destroy(GTK_WIDGET(info_bar)); @@ -50,13 +51,9 @@ case GTK_RESPONSE_CANCEL: break; case GTK_RESPONSE_YES: - library_dir = g_slist_append(library_dir, g_strdup(dir)); - preferences = pragha_application_get_preferences (pragha); - pragha_preferences_set_filename_list (preferences, - GROUP_LIBRARY, - KEY_LIBRARY_DIR, - library_dir); - free_str_list(library_dir); + provider = pragha_database_provider_get (); + pragha_provider_add_new (provider, dir, "local", _("Local Music"), "drive-harddisk"); + g_object_unref (G_OBJECT (provider)); scanner = pragha_application_get_scanner (pragha); pragha_scanner_scan_library (scanner); diff -Nru pragha-1.3.3/src/libpragha.pc.in pragha-1.3.992/src/libpragha.pc.in --- pragha-1.3.3/src/libpragha.pc.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/libpragha.pc.in 2019-08-13 11:42:44.000000000 +0000 @@ -0,0 +1,10 @@ +prefix=@prefix@ +libdir=@libdir@/pragha +includedir=@includedir@/libpragha + +Name: libpragha +Description: Library to write Pragha plugins +Requires: gstreamer-1.0 gstreamer-base-1.0 gio-2.0 gtk+-3.0 gtk+-3.0 taglib_c libpeas-1.0 libpeas-gtk-1.0 +Version: @VERSION@ +Libs: -L${libdir} -lpragha +Cflags: -I${includedir} diff -Nru pragha-1.3.3/src/main.c pragha-1.3.992/src/main.c --- pragha-1.3.3/src/main.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/main.c 2019-08-13 11:42:44.000000000 +0000 @@ -0,0 +1,70 @@ +/*************************************************************************/ +/* Copyright (C) 2007-2009 sujith */ +/* Copyright (C) 2009-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#if HAVE_CONFIG_H +#include +#endif + +#include "pragha.h" + +#if defined(GETTEXT_PACKAGE) +#include +#else +#include +#endif + +#include +#include /* require LC_ALL */ +#include +#include + +#ifdef DEBUG +GThread *pragha_main_thread = NULL; +#endif + +gint main(gint argc, gchar *argv[]) +{ + PraghaApplication *pragha; + int status; +#ifdef DEBUG + g_print ("debug enabled\n"); + pragha_main_thread = g_thread_self (); +#endif + debug_level = 0; + + /* setup translation domain */ + setlocale (LC_ALL, ""); + bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + textdomain (GETTEXT_PACKAGE); + + /* Force unicode to taglib. */ + taglib_set_strings_unicode(TRUE); + taglib_set_string_management_enabled(FALSE); + + /* Setup application name and pulseaudio role */ + g_set_application_name(_("Pragha Music Player")); + g_setenv("PULSE_PROP_media.role", "audio", TRUE); + + pragha = pragha_application_new (); + status = g_application_run (G_APPLICATION (pragha), argc, argv); + g_object_run_dispose (G_OBJECT (pragha)); + g_object_unref (pragha); + + return status; +} \ No newline at end of file diff -Nru pragha-1.3.3/src/Makefile.am pragha-1.3.992/src/Makefile.am --- pragha-1.3.3/src/Makefile.am 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -1,4 +1,4 @@ -bin_PROGRAMS = pragha +SUBDIRS = win32 AM_CPPFLAGS = \ -DG_LOG_DOMAIN=\"pragha\" \ @@ -7,146 +7,215 @@ -DDESKTOPENTRY=\""$(datadir)/applications/pragha.desktop"\" \ -DLIBPLUGINDIR=\""$(libdir)/pragha/plugins/"\" \ -DUSRPLUGINDIR=\""$(prefix)/share/pragha/plugins"\" \ + -DUSRSTYLEDIR=\""$(datadir)/pragha/style"\" \ -I$(top_srcdir) -pragha_SOURCES = \ - gtkcellrendererbubble.c \ +EXTRA_DIST = +DISTCLEANFILES = + +# +# Pragha library +# +pkglib_LTLIBRARIES = libpragha.la + +libpraghadir = $(includedir)/libpragha +libpragha_HEADERS = \ gtkcellrendererbubble.h \ + pragha-album-art.h \ + pragha-app-notification.h \ + pragha-app-notification-container.h \ + pragha-art-cache.h \ + pragha-backend.h \ + pragha-background-task-bar.h \ + pragha-background-task-widget.h \ + pragha-database-provider.h \ + pragha-database.h \ + pragha-debug.h \ + pragha-dnd.h \ + pragha-equalizer-dialog.h \ + pragha-favorites.h \ + pragha-file-utils.h \ + pragha-filter-dialog.h \ + pragha-library-pane.h \ + pragha-hig.h \ + pragha-menubar.h \ + pragha-music-enum.h \ + pragha-musicobject.h \ + pragha-musicobject-mgmt.h \ + pragha-playback.h \ + pragha-playlist.h \ + pragha-playlists-mgmt.h \ + pragha-preferences.h \ + pragha-preferences-dialog.h \ + pragha-prepared-statement.h \ + pragha-prepared-statement-private.h \ + pragha-provider.h \ + pragha-scanner.h \ + pragha-search-entry.h \ + pragha-session.h \ + pragha-sidebar.h \ + pragha-simple-async.h \ + pragha-simple-widgets.h \ + pragha-song-cache.h \ + pragha-statusbar.h \ + pragha-statusicon.h \ + pragha-tagger.h \ + pragha-tags-dialog.h \ + pragha-tags-mgmt.h \ + pragha-temp-provider.h \ + pragha-toolbar.h \ + pragha-utils.h \ + pragha-window.h \ + pragha.h \ + xml_helper.h + +libpragha_la_SOURCES = \ + $(libpragha_HEADERS) \ + $(BUILT_SOURCES) \ + gtkcellrendererbubble.c \ info-bar-import-music.c \ pragha-album-art.c \ - pragha-album-art.h \ + pragha-app-notification.c \ + pragha-app-notification-container.c \ pragha-art-cache.c \ - pragha-art-cache.h \ pragha-backend.c \ - pragha-backend.h \ + pragha-background-task-bar.c \ + pragha-background-task-widget.c \ pragha-cmdline.c \ + pragha-database-provider.c \ pragha-database.c \ - pragha-database.h \ pragha-debug.c \ - pragha-debug.h \ pragha-dnd.c \ - pragha-dnd.h \ pragha-equalizer-dialog.c \ - pragha-equalizer-dialog.h \ + pragha-favorites.c \ pragha-file-utils.c \ - pragha-file-utils.h \ pragha-filter-dialog.c \ - pragha-filter-dialog.h \ pragha-hig.c \ - pragha-hig.h \ pragha-library-pane.c \ - pragha-library-pane.h \ pragha-menubar.c \ - pragha-menubar.h \ pragha-music-enum.c \ - pragha-music-enum.h \ pragha-musicobject.c \ - pragha-musicobject.h \ pragha-musicobject-mgmt.c \ - pragha-musicobject-mgmt.h \ pragha-playback.c \ - pragha-playback.h \ pragha-playlist.c \ - pragha-playlist.h \ pragha-playlists-mgmt.c \ - pragha-playlists-mgmt.h \ pragha-preferences.c \ - pragha-preferences.h \ pragha-preferences-dialog.c \ - pragha-preferences-dialog.h \ pragha-prepared-statement.c \ - pragha-prepared-statement.h \ - pragha-prepared-statement-private.h \ + pragha-provider.c \ pragha-scanner.c \ - pragha-scanner.h \ pragha-search-entry.c \ - pragha-search-entry.h \ pragha-session.c \ - pragha-session.h \ pragha-sidebar.c \ - pragha-sidebar.h \ pragha-simple-async.c \ - pragha-simple-async.h \ pragha-simple-widgets.c \ - pragha-simple-widgets.h \ + pragha-song-cache.c \ pragha-statusbar.c \ - pragha-statusbar.h \ pragha-statusicon.c \ - pragha-statusicon.h \ pragha-tagger.c \ - pragha-tagger.h \ pragha-tags-dialog.c \ - pragha-tags-dialog.h \ pragha-tags-mgmt.c \ - pragha-tags-mgmt.h \ + pragha-temp-provider.c \ pragha-toolbar.c \ - pragha-toolbar.h \ pragha-utils.c \ - pragha-utils.h \ pragha-window.c \ - pragha-window.h \ pragha.c \ - pragha.h \ - xml_helper.c \ - xml_helper.h + xml_helper.c -pragha_CFLAGS = $(GSTREAMER_CFLAGS) \ - $(GSTREAMER_BASE_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(SQLITE3_CFLAGS) \ - $(TAGLIB_C_CFLAGS) \ - -I$(top_srcdir)/src/include \ +libpragha_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + -I$(top_srcdir)/src/include \ -Wall -lm -pragha_LDADD = $(GSTREAMER_LIBS) \ - $(GLIB_LIBS) \ - $(GIO_LIBS) \ - $(GTK_LIBS) \ - $(SQLITE3_LIBS) \ - $(TAGLIB_C_LIBS) - -if HAVE_GSTREAMER_AUDIO -pragha_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS) -pragha_LDADD += $(GSTREAMER_AUDIO_LIBS) -endif - -if HAVE_LIBXFCE4UI -pragha_CFLAGS += $(LIBXFCE4UI_CFLAGS) -pragha_LDADD += $(LIBXFCE4UI_LIBS) -endif - -if HAVE_PLPARSER -pragha_CFLAGS += $(PLPARSER_CFLAGS) -pragha_LDADD += $(PLPARSER_LIBS) -endif +libpragha_la_LIBADD = \ + $(PRAGHA_LIBS) if HAVE_LIBPEAS -pragha_SOURCES += \ - pragha-plugins-engine.c \ +libpragha_la_SOURCES += \ + pragha-plugins-engine.c +libpragha_HEADERS += \ pragha-plugins-engine.h +endif -pragha_CFLAGS += $(LIBPEAS_CFLAGS) -pragha_LDADD += $(LIBPEAS_LIBS) - -pragha_CFLAGS += $(LIBPEAS_GTK_CFLAGS) -pragha_LDADD += $(LIBPEAS_GTK_LIBS) +if HAVE_GUDEV +libpragha_la_SOURCES += \ + pragha-device-client.c +libpragha_HEADERS += \ + pragha-device-client.h endif -if WIN32 -pragha_SOURCES += \ - $(top_srcdir)/win32/win32dep.c \ - $(top_srcdir)/win32/win32dep.h +# +# WIN32 +# +if WIN32 AM_CFLAGS = \ -mms-bitfields AM_LDFLAGS = \ -Wl,-subsystem,windows -pragha-res.o: $(top_srcdir)/win32/pragha.rc - $(WINDRES) -i $(top_srcdir)/win32/pragha.rc --input-format=rc -o pragha-res.o -O coff +libpragha_la_LIBADD += \ + win32/libwin32.la +endif + + +libpragha_la_LDFLAGS = \ + -avoid-version \ + -export-dynamic \ + -no-undefined \ + -export-symbols-regex "^[^_].*" + + +# +# pkgconfig +# +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_in_files = libpragha.pc.in +pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc) + +%.pc: %.pc.in + sed "s,\@VERSION\@,$(VERSION),g; s,\@prefix\@,$(prefix),g; s,\@libdir\@,$(libdir),g; s,\@includedir\@,$(includedir),g" < $< > $@ + +EXTRA_DIST += \ + $(pkgconfig_in_files) +DISTCLEANFILES += \ + $(pkgconfig_DATA) + + +# +# Build sources +# +pragha-window-ui.h: pragha-window.ui Makefile + $(AM_V_GEN) xdt-csource --strip-comments --strip-content --static --name=pragha_window_ui $< > $@ + +BUILT_SOURCES = \ + pragha-window-ui.h + +DISTCLEANFILES += \ + pragha-window-ui.h + + +# +# Pragha binary +# +bin_PROGRAMS = pragha + +pragha_SOURCES = \ + main.c + +pragha_CFLAGS = \ + $(libpragha_la_CFLAGS) + +pragha_LDADD = \ + libpragha.la + +if WIN32 +pragha-res.o: win32/pragha.rc + $(WINDRES) -i win32/pragha.rc --input-format=rc -o pragha-res.o -O coff pragha_LDADD += pragha-res.o endif + +EXTRA_DIST += \ + pragha-window.ui diff -Nru pragha-1.3.3/src/Makefile.in pragha-1.3.992/src/Makefile.in --- pragha-1.3.3/src/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,1820 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +@HAVE_LIBPEAS_TRUE@am__append_1 = \ +@HAVE_LIBPEAS_TRUE@ pragha-plugins-engine.c + +@HAVE_LIBPEAS_TRUE@am__append_2 = \ +@HAVE_LIBPEAS_TRUE@ pragha-plugins-engine.h + +@HAVE_GUDEV_TRUE@am__append_3 = \ +@HAVE_GUDEV_TRUE@ pragha-device-client.c + +@HAVE_GUDEV_TRUE@am__append_4 = \ +@HAVE_GUDEV_TRUE@ pragha-device-client.h + +@WIN32_TRUE@am__append_5 = \ +@WIN32_TRUE@ win32/libwin32.la + +bin_PROGRAMS = pragha$(EXEEXT) +@WIN32_TRUE@am__append_6 = pragha-res.o +subdir = src +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__libpragha_HEADERS_DIST) \ + $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" \ + "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(libpraghadir)" +PROGRAMS = $(bin_PROGRAMS) +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +LTLIBRARIES = $(pkglib_LTLIBRARIES) +am__DEPENDENCIES_1 = +libpragha_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__append_5) +am__libpragha_la_SOURCES_DIST = gtkcellrendererbubble.h \ + pragha-album-art.h pragha-app-notification.h \ + pragha-app-notification-container.h pragha-art-cache.h \ + pragha-backend.h pragha-background-task-bar.h \ + pragha-background-task-widget.h pragha-database-provider.h \ + pragha-database.h pragha-debug.h pragha-dnd.h \ + pragha-equalizer-dialog.h pragha-favorites.h \ + pragha-file-utils.h pragha-filter-dialog.h \ + pragha-library-pane.h pragha-hig.h pragha-menubar.h \ + pragha-music-enum.h pragha-musicobject.h \ + pragha-musicobject-mgmt.h pragha-playback.h pragha-playlist.h \ + pragha-playlists-mgmt.h pragha-preferences.h \ + pragha-preferences-dialog.h pragha-prepared-statement.h \ + pragha-prepared-statement-private.h pragha-provider.h \ + pragha-scanner.h pragha-search-entry.h pragha-session.h \ + pragha-sidebar.h pragha-simple-async.h pragha-simple-widgets.h \ + pragha-song-cache.h pragha-statusbar.h pragha-statusicon.h \ + pragha-tagger.h pragha-tags-dialog.h pragha-tags-mgmt.h \ + pragha-temp-provider.h pragha-toolbar.h pragha-utils.h \ + pragha-window.h pragha.h xml_helper.h pragha-plugins-engine.h \ + pragha-device-client.h pragha-window-ui.h \ + gtkcellrendererbubble.c info-bar-import-music.c \ + pragha-album-art.c pragha-app-notification.c \ + pragha-app-notification-container.c pragha-art-cache.c \ + pragha-backend.c pragha-background-task-bar.c \ + pragha-background-task-widget.c pragha-cmdline.c \ + pragha-database-provider.c pragha-database.c pragha-debug.c \ + pragha-dnd.c pragha-equalizer-dialog.c pragha-favorites.c \ + pragha-file-utils.c pragha-filter-dialog.c pragha-hig.c \ + pragha-library-pane.c pragha-menubar.c pragha-music-enum.c \ + pragha-musicobject.c pragha-musicobject-mgmt.c \ + pragha-playback.c pragha-playlist.c pragha-playlists-mgmt.c \ + pragha-preferences.c pragha-preferences-dialog.c \ + pragha-prepared-statement.c pragha-provider.c pragha-scanner.c \ + pragha-search-entry.c pragha-session.c pragha-sidebar.c \ + pragha-simple-async.c pragha-simple-widgets.c \ + pragha-song-cache.c pragha-statusbar.c pragha-statusicon.c \ + pragha-tagger.c pragha-tags-dialog.c pragha-tags-mgmt.c \ + pragha-temp-provider.c pragha-toolbar.c pragha-utils.c \ + pragha-window.c pragha.c xml_helper.c pragha-plugins-engine.c \ + pragha-device-client.c +am__objects_1 = +am__objects_2 = $(am__objects_1) $(am__objects_1) +@HAVE_LIBPEAS_TRUE@am__objects_3 = \ +@HAVE_LIBPEAS_TRUE@ libpragha_la-pragha-plugins-engine.lo +@HAVE_GUDEV_TRUE@am__objects_4 = libpragha_la-pragha-device-client.lo +am_libpragha_la_OBJECTS = $(am__objects_2) $(am__objects_1) \ + libpragha_la-gtkcellrendererbubble.lo \ + libpragha_la-info-bar-import-music.lo \ + libpragha_la-pragha-album-art.lo \ + libpragha_la-pragha-app-notification.lo \ + libpragha_la-pragha-app-notification-container.lo \ + libpragha_la-pragha-art-cache.lo \ + libpragha_la-pragha-backend.lo \ + libpragha_la-pragha-background-task-bar.lo \ + libpragha_la-pragha-background-task-widget.lo \ + libpragha_la-pragha-cmdline.lo \ + libpragha_la-pragha-database-provider.lo \ + libpragha_la-pragha-database.lo libpragha_la-pragha-debug.lo \ + libpragha_la-pragha-dnd.lo \ + libpragha_la-pragha-equalizer-dialog.lo \ + libpragha_la-pragha-favorites.lo \ + libpragha_la-pragha-file-utils.lo \ + libpragha_la-pragha-filter-dialog.lo \ + libpragha_la-pragha-hig.lo libpragha_la-pragha-library-pane.lo \ + libpragha_la-pragha-menubar.lo \ + libpragha_la-pragha-music-enum.lo \ + libpragha_la-pragha-musicobject.lo \ + libpragha_la-pragha-musicobject-mgmt.lo \ + libpragha_la-pragha-playback.lo \ + libpragha_la-pragha-playlist.lo \ + libpragha_la-pragha-playlists-mgmt.lo \ + libpragha_la-pragha-preferences.lo \ + libpragha_la-pragha-preferences-dialog.lo \ + libpragha_la-pragha-prepared-statement.lo \ + libpragha_la-pragha-provider.lo libpragha_la-pragha-scanner.lo \ + libpragha_la-pragha-search-entry.lo \ + libpragha_la-pragha-session.lo libpragha_la-pragha-sidebar.lo \ + libpragha_la-pragha-simple-async.lo \ + libpragha_la-pragha-simple-widgets.lo \ + libpragha_la-pragha-song-cache.lo \ + libpragha_la-pragha-statusbar.lo \ + libpragha_la-pragha-statusicon.lo \ + libpragha_la-pragha-tagger.lo \ + libpragha_la-pragha-tags-dialog.lo \ + libpragha_la-pragha-tags-mgmt.lo \ + libpragha_la-pragha-temp-provider.lo \ + libpragha_la-pragha-toolbar.lo libpragha_la-pragha-utils.lo \ + libpragha_la-pragha-window.lo libpragha_la-pragha.lo \ + libpragha_la-xml_helper.lo $(am__objects_3) $(am__objects_4) +libpragha_la_OBJECTS = $(am_libpragha_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libpragha_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libpragha_la_CFLAGS) \ + $(CFLAGS) $(libpragha_la_LDFLAGS) $(LDFLAGS) -o $@ +am_pragha_OBJECTS = pragha-main.$(OBJEXT) +pragha_OBJECTS = $(am_pragha_OBJECTS) +pragha_DEPENDENCIES = libpragha.la $(am__append_6) +pragha_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(pragha_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = \ + ./$(DEPDIR)/libpragha_la-gtkcellrendererbubble.Plo \ + ./$(DEPDIR)/libpragha_la-info-bar-import-music.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-album-art.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-app-notification-container.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-app-notification.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-art-cache.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-backend.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-background-task-bar.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-background-task-widget.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-cmdline.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-database-provider.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-database.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-debug.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-device-client.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-dnd.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-equalizer-dialog.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-favorites.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-file-utils.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-filter-dialog.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-hig.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-library-pane.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-menubar.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-music-enum.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-musicobject-mgmt.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-musicobject.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-playback.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-playlist.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-playlists-mgmt.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-plugins-engine.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-preferences-dialog.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-preferences.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-prepared-statement.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-provider.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-scanner.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-search-entry.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-session.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-sidebar.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-simple-async.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-simple-widgets.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-song-cache.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-statusbar.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-statusicon.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-tagger.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-tags-dialog.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-tags-mgmt.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-temp-provider.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-toolbar.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-utils.Plo \ + ./$(DEPDIR)/libpragha_la-pragha-window.Plo \ + ./$(DEPDIR)/libpragha_la-pragha.Plo \ + ./$(DEPDIR)/libpragha_la-xml_helper.Plo \ + ./$(DEPDIR)/pragha-main.Po +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libpragha_la_SOURCES) $(pragha_SOURCES) +DIST_SOURCES = $(am__libpragha_la_SOURCES_DIST) $(pragha_SOURCES) +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(pkgconfig_DATA) +am__libpragha_HEADERS_DIST = gtkcellrendererbubble.h \ + pragha-album-art.h pragha-app-notification.h \ + pragha-app-notification-container.h pragha-art-cache.h \ + pragha-backend.h pragha-background-task-bar.h \ + pragha-background-task-widget.h pragha-database-provider.h \ + pragha-database.h pragha-debug.h pragha-dnd.h \ + pragha-equalizer-dialog.h pragha-favorites.h \ + pragha-file-utils.h pragha-filter-dialog.h \ + pragha-library-pane.h pragha-hig.h pragha-menubar.h \ + pragha-music-enum.h pragha-musicobject.h \ + pragha-musicobject-mgmt.h pragha-playback.h pragha-playlist.h \ + pragha-playlists-mgmt.h pragha-preferences.h \ + pragha-preferences-dialog.h pragha-prepared-statement.h \ + pragha-prepared-statement-private.h pragha-provider.h \ + pragha-scanner.h pragha-search-entry.h pragha-session.h \ + pragha-sidebar.h pragha-simple-async.h pragha-simple-widgets.h \ + pragha-song-cache.h pragha-statusbar.h pragha-statusicon.h \ + pragha-tagger.h pragha-tags-dialog.h pragha-tags-mgmt.h \ + pragha-temp-provider.h pragha-toolbar.h pragha-utils.h \ + pragha-window.h pragha.h xml_helper.h pragha-plugins-engine.h \ + pragha-device-client.h +HEADERS = $(libpragha_HEADERS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + distdir distdir-am +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +SUBDIRS = win32 +AM_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"pragha\" \ + -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \ + -DPIXMAPDIR=\""$(datadir)/pixmaps/pragha"\" \ + -DDESKTOPENTRY=\""$(datadir)/applications/pragha.desktop"\" \ + -DLIBPLUGINDIR=\""$(libdir)/pragha/plugins/"\" \ + -DUSRPLUGINDIR=\""$(prefix)/share/pragha/plugins"\" \ + -DUSRSTYLEDIR=\""$(datadir)/pragha/style"\" \ + -I$(top_srcdir) + +EXTRA_DIST = $(pkgconfig_in_files) pragha-window.ui +DISTCLEANFILES = $(pkgconfig_DATA) pragha-window-ui.h + +# +# Pragha library +# +pkglib_LTLIBRARIES = libpragha.la +libpraghadir = $(includedir)/libpragha +libpragha_HEADERS = gtkcellrendererbubble.h pragha-album-art.h \ + pragha-app-notification.h pragha-app-notification-container.h \ + pragha-art-cache.h pragha-backend.h \ + pragha-background-task-bar.h pragha-background-task-widget.h \ + pragha-database-provider.h pragha-database.h pragha-debug.h \ + pragha-dnd.h pragha-equalizer-dialog.h pragha-favorites.h \ + pragha-file-utils.h pragha-filter-dialog.h \ + pragha-library-pane.h pragha-hig.h pragha-menubar.h \ + pragha-music-enum.h pragha-musicobject.h \ + pragha-musicobject-mgmt.h pragha-playback.h pragha-playlist.h \ + pragha-playlists-mgmt.h pragha-preferences.h \ + pragha-preferences-dialog.h pragha-prepared-statement.h \ + pragha-prepared-statement-private.h pragha-provider.h \ + pragha-scanner.h pragha-search-entry.h pragha-session.h \ + pragha-sidebar.h pragha-simple-async.h pragha-simple-widgets.h \ + pragha-song-cache.h pragha-statusbar.h pragha-statusicon.h \ + pragha-tagger.h pragha-tags-dialog.h pragha-tags-mgmt.h \ + pragha-temp-provider.h pragha-toolbar.h pragha-utils.h \ + pragha-window.h pragha.h xml_helper.h $(am__append_2) \ + $(am__append_4) +libpragha_la_SOURCES = $(libpragha_HEADERS) $(BUILT_SOURCES) \ + gtkcellrendererbubble.c info-bar-import-music.c \ + pragha-album-art.c pragha-app-notification.c \ + pragha-app-notification-container.c pragha-art-cache.c \ + pragha-backend.c pragha-background-task-bar.c \ + pragha-background-task-widget.c pragha-cmdline.c \ + pragha-database-provider.c pragha-database.c pragha-debug.c \ + pragha-dnd.c pragha-equalizer-dialog.c pragha-favorites.c \ + pragha-file-utils.c pragha-filter-dialog.c pragha-hig.c \ + pragha-library-pane.c pragha-menubar.c pragha-music-enum.c \ + pragha-musicobject.c pragha-musicobject-mgmt.c \ + pragha-playback.c pragha-playlist.c pragha-playlists-mgmt.c \ + pragha-preferences.c pragha-preferences-dialog.c \ + pragha-prepared-statement.c pragha-provider.c pragha-scanner.c \ + pragha-search-entry.c pragha-session.c pragha-sidebar.c \ + pragha-simple-async.c pragha-simple-widgets.c \ + pragha-song-cache.c pragha-statusbar.c pragha-statusicon.c \ + pragha-tagger.c pragha-tags-dialog.c pragha-tags-mgmt.c \ + pragha-temp-provider.c pragha-toolbar.c pragha-utils.c \ + pragha-window.c pragha.c xml_helper.c $(am__append_1) \ + $(am__append_3) +libpragha_la_CFLAGS = \ + $(PRAGHA_CFLAGS) \ + -I$(top_srcdir)/src/include \ + -Wall -lm + +libpragha_la_LIBADD = $(PRAGHA_LIBS) $(am__append_5) + +# +# WIN32 +# +@WIN32_TRUE@AM_CFLAGS = \ +@WIN32_TRUE@ -mms-bitfields + +@WIN32_TRUE@AM_LDFLAGS = \ +@WIN32_TRUE@ -Wl,-subsystem,windows + +libpragha_la_LDFLAGS = \ + -avoid-version \ + -export-dynamic \ + -no-undefined \ + -export-symbols-regex "^[^_].*" + + +# +# pkgconfig +# +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_in_files = libpragha.pc.in +pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc) +BUILT_SOURCES = \ + pragha-window-ui.h + +pragha_SOURCES = \ + main.c + +pragha_CFLAGS = \ + $(libpragha_la_CFLAGS) + +pragha_LDADD = libpragha.la $(am__append_6) +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu src/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' \ + `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +clean-binPROGRAMS: + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list + +install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ + } + +uninstall-pkglibLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ + done + +clean-pkglibLTLIBRARIES: + -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) + @list='$(pkglib_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libpragha.la: $(libpragha_la_OBJECTS) $(libpragha_la_DEPENDENCIES) $(EXTRA_libpragha_la_DEPENDENCIES) + $(AM_V_CCLD)$(libpragha_la_LINK) -rpath $(pkglibdir) $(libpragha_la_OBJECTS) $(libpragha_la_LIBADD) $(LIBS) + +pragha$(EXEEXT): $(pragha_OBJECTS) $(pragha_DEPENDENCIES) $(EXTRA_pragha_DEPENDENCIES) + @rm -f pragha$(EXEEXT) + $(AM_V_CCLD)$(pragha_LINK) $(pragha_OBJECTS) $(pragha_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-gtkcellrendererbubble.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-info-bar-import-music.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-album-art.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-app-notification-container.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-app-notification.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-art-cache.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-backend.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-background-task-bar.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-background-task-widget.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-cmdline.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-database-provider.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-database.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-debug.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-device-client.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-dnd.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-equalizer-dialog.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-favorites.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-file-utils.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-filter-dialog.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-hig.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-library-pane.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-menubar.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-music-enum.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-musicobject-mgmt.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-musicobject.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-playback.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-playlist.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-playlists-mgmt.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-plugins-engine.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-preferences-dialog.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-preferences.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-prepared-statement.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-provider.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-scanner.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-search-entry.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-session.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-sidebar.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-simple-async.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-simple-widgets.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-song-cache.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-statusbar.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-statusicon.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-tagger.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-tags-dialog.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-tags-mgmt.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-temp-provider.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-toolbar.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-utils.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha-window.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-pragha.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpragha_la-xml_helper.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pragha-main.Po@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libpragha_la-gtkcellrendererbubble.lo: gtkcellrendererbubble.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-gtkcellrendererbubble.lo -MD -MP -MF $(DEPDIR)/libpragha_la-gtkcellrendererbubble.Tpo -c -o libpragha_la-gtkcellrendererbubble.lo `test -f 'gtkcellrendererbubble.c' || echo '$(srcdir)/'`gtkcellrendererbubble.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-gtkcellrendererbubble.Tpo $(DEPDIR)/libpragha_la-gtkcellrendererbubble.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gtkcellrendererbubble.c' object='libpragha_la-gtkcellrendererbubble.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-gtkcellrendererbubble.lo `test -f 'gtkcellrendererbubble.c' || echo '$(srcdir)/'`gtkcellrendererbubble.c + +libpragha_la-info-bar-import-music.lo: info-bar-import-music.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-info-bar-import-music.lo -MD -MP -MF $(DEPDIR)/libpragha_la-info-bar-import-music.Tpo -c -o libpragha_la-info-bar-import-music.lo `test -f 'info-bar-import-music.c' || echo '$(srcdir)/'`info-bar-import-music.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-info-bar-import-music.Tpo $(DEPDIR)/libpragha_la-info-bar-import-music.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='info-bar-import-music.c' object='libpragha_la-info-bar-import-music.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-info-bar-import-music.lo `test -f 'info-bar-import-music.c' || echo '$(srcdir)/'`info-bar-import-music.c + +libpragha_la-pragha-album-art.lo: pragha-album-art.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-album-art.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-album-art.Tpo -c -o libpragha_la-pragha-album-art.lo `test -f 'pragha-album-art.c' || echo '$(srcdir)/'`pragha-album-art.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-album-art.Tpo $(DEPDIR)/libpragha_la-pragha-album-art.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-album-art.c' object='libpragha_la-pragha-album-art.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-album-art.lo `test -f 'pragha-album-art.c' || echo '$(srcdir)/'`pragha-album-art.c + +libpragha_la-pragha-app-notification.lo: pragha-app-notification.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-app-notification.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-app-notification.Tpo -c -o libpragha_la-pragha-app-notification.lo `test -f 'pragha-app-notification.c' || echo '$(srcdir)/'`pragha-app-notification.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-app-notification.Tpo $(DEPDIR)/libpragha_la-pragha-app-notification.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-app-notification.c' object='libpragha_la-pragha-app-notification.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-app-notification.lo `test -f 'pragha-app-notification.c' || echo '$(srcdir)/'`pragha-app-notification.c + +libpragha_la-pragha-app-notification-container.lo: pragha-app-notification-container.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-app-notification-container.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-app-notification-container.Tpo -c -o libpragha_la-pragha-app-notification-container.lo `test -f 'pragha-app-notification-container.c' || echo '$(srcdir)/'`pragha-app-notification-container.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-app-notification-container.Tpo $(DEPDIR)/libpragha_la-pragha-app-notification-container.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-app-notification-container.c' object='libpragha_la-pragha-app-notification-container.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-app-notification-container.lo `test -f 'pragha-app-notification-container.c' || echo '$(srcdir)/'`pragha-app-notification-container.c + +libpragha_la-pragha-art-cache.lo: pragha-art-cache.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-art-cache.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-art-cache.Tpo -c -o libpragha_la-pragha-art-cache.lo `test -f 'pragha-art-cache.c' || echo '$(srcdir)/'`pragha-art-cache.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-art-cache.Tpo $(DEPDIR)/libpragha_la-pragha-art-cache.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-art-cache.c' object='libpragha_la-pragha-art-cache.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-art-cache.lo `test -f 'pragha-art-cache.c' || echo '$(srcdir)/'`pragha-art-cache.c + +libpragha_la-pragha-backend.lo: pragha-backend.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-backend.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-backend.Tpo -c -o libpragha_la-pragha-backend.lo `test -f 'pragha-backend.c' || echo '$(srcdir)/'`pragha-backend.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-backend.Tpo $(DEPDIR)/libpragha_la-pragha-backend.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-backend.c' object='libpragha_la-pragha-backend.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-backend.lo `test -f 'pragha-backend.c' || echo '$(srcdir)/'`pragha-backend.c + +libpragha_la-pragha-background-task-bar.lo: pragha-background-task-bar.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-background-task-bar.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-background-task-bar.Tpo -c -o libpragha_la-pragha-background-task-bar.lo `test -f 'pragha-background-task-bar.c' || echo '$(srcdir)/'`pragha-background-task-bar.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-background-task-bar.Tpo $(DEPDIR)/libpragha_la-pragha-background-task-bar.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-background-task-bar.c' object='libpragha_la-pragha-background-task-bar.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-background-task-bar.lo `test -f 'pragha-background-task-bar.c' || echo '$(srcdir)/'`pragha-background-task-bar.c + +libpragha_la-pragha-background-task-widget.lo: pragha-background-task-widget.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-background-task-widget.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-background-task-widget.Tpo -c -o libpragha_la-pragha-background-task-widget.lo `test -f 'pragha-background-task-widget.c' || echo '$(srcdir)/'`pragha-background-task-widget.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-background-task-widget.Tpo $(DEPDIR)/libpragha_la-pragha-background-task-widget.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-background-task-widget.c' object='libpragha_la-pragha-background-task-widget.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-background-task-widget.lo `test -f 'pragha-background-task-widget.c' || echo '$(srcdir)/'`pragha-background-task-widget.c + +libpragha_la-pragha-cmdline.lo: pragha-cmdline.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-cmdline.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-cmdline.Tpo -c -o libpragha_la-pragha-cmdline.lo `test -f 'pragha-cmdline.c' || echo '$(srcdir)/'`pragha-cmdline.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-cmdline.Tpo $(DEPDIR)/libpragha_la-pragha-cmdline.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-cmdline.c' object='libpragha_la-pragha-cmdline.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-cmdline.lo `test -f 'pragha-cmdline.c' || echo '$(srcdir)/'`pragha-cmdline.c + +libpragha_la-pragha-database-provider.lo: pragha-database-provider.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-database-provider.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-database-provider.Tpo -c -o libpragha_la-pragha-database-provider.lo `test -f 'pragha-database-provider.c' || echo '$(srcdir)/'`pragha-database-provider.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-database-provider.Tpo $(DEPDIR)/libpragha_la-pragha-database-provider.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-database-provider.c' object='libpragha_la-pragha-database-provider.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-database-provider.lo `test -f 'pragha-database-provider.c' || echo '$(srcdir)/'`pragha-database-provider.c + +libpragha_la-pragha-database.lo: pragha-database.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-database.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-database.Tpo -c -o libpragha_la-pragha-database.lo `test -f 'pragha-database.c' || echo '$(srcdir)/'`pragha-database.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-database.Tpo $(DEPDIR)/libpragha_la-pragha-database.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-database.c' object='libpragha_la-pragha-database.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-database.lo `test -f 'pragha-database.c' || echo '$(srcdir)/'`pragha-database.c + +libpragha_la-pragha-debug.lo: pragha-debug.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-debug.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-debug.Tpo -c -o libpragha_la-pragha-debug.lo `test -f 'pragha-debug.c' || echo '$(srcdir)/'`pragha-debug.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-debug.Tpo $(DEPDIR)/libpragha_la-pragha-debug.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-debug.c' object='libpragha_la-pragha-debug.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-debug.lo `test -f 'pragha-debug.c' || echo '$(srcdir)/'`pragha-debug.c + +libpragha_la-pragha-dnd.lo: pragha-dnd.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-dnd.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-dnd.Tpo -c -o libpragha_la-pragha-dnd.lo `test -f 'pragha-dnd.c' || echo '$(srcdir)/'`pragha-dnd.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-dnd.Tpo $(DEPDIR)/libpragha_la-pragha-dnd.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-dnd.c' object='libpragha_la-pragha-dnd.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-dnd.lo `test -f 'pragha-dnd.c' || echo '$(srcdir)/'`pragha-dnd.c + +libpragha_la-pragha-equalizer-dialog.lo: pragha-equalizer-dialog.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-equalizer-dialog.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-equalizer-dialog.Tpo -c -o libpragha_la-pragha-equalizer-dialog.lo `test -f 'pragha-equalizer-dialog.c' || echo '$(srcdir)/'`pragha-equalizer-dialog.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-equalizer-dialog.Tpo $(DEPDIR)/libpragha_la-pragha-equalizer-dialog.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-equalizer-dialog.c' object='libpragha_la-pragha-equalizer-dialog.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-equalizer-dialog.lo `test -f 'pragha-equalizer-dialog.c' || echo '$(srcdir)/'`pragha-equalizer-dialog.c + +libpragha_la-pragha-favorites.lo: pragha-favorites.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-favorites.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-favorites.Tpo -c -o libpragha_la-pragha-favorites.lo `test -f 'pragha-favorites.c' || echo '$(srcdir)/'`pragha-favorites.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-favorites.Tpo $(DEPDIR)/libpragha_la-pragha-favorites.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-favorites.c' object='libpragha_la-pragha-favorites.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-favorites.lo `test -f 'pragha-favorites.c' || echo '$(srcdir)/'`pragha-favorites.c + +libpragha_la-pragha-file-utils.lo: pragha-file-utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-file-utils.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-file-utils.Tpo -c -o libpragha_la-pragha-file-utils.lo `test -f 'pragha-file-utils.c' || echo '$(srcdir)/'`pragha-file-utils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-file-utils.Tpo $(DEPDIR)/libpragha_la-pragha-file-utils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-file-utils.c' object='libpragha_la-pragha-file-utils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-file-utils.lo `test -f 'pragha-file-utils.c' || echo '$(srcdir)/'`pragha-file-utils.c + +libpragha_la-pragha-filter-dialog.lo: pragha-filter-dialog.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-filter-dialog.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-filter-dialog.Tpo -c -o libpragha_la-pragha-filter-dialog.lo `test -f 'pragha-filter-dialog.c' || echo '$(srcdir)/'`pragha-filter-dialog.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-filter-dialog.Tpo $(DEPDIR)/libpragha_la-pragha-filter-dialog.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-filter-dialog.c' object='libpragha_la-pragha-filter-dialog.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-filter-dialog.lo `test -f 'pragha-filter-dialog.c' || echo '$(srcdir)/'`pragha-filter-dialog.c + +libpragha_la-pragha-hig.lo: pragha-hig.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-hig.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-hig.Tpo -c -o libpragha_la-pragha-hig.lo `test -f 'pragha-hig.c' || echo '$(srcdir)/'`pragha-hig.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-hig.Tpo $(DEPDIR)/libpragha_la-pragha-hig.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-hig.c' object='libpragha_la-pragha-hig.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-hig.lo `test -f 'pragha-hig.c' || echo '$(srcdir)/'`pragha-hig.c + +libpragha_la-pragha-library-pane.lo: pragha-library-pane.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-library-pane.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-library-pane.Tpo -c -o libpragha_la-pragha-library-pane.lo `test -f 'pragha-library-pane.c' || echo '$(srcdir)/'`pragha-library-pane.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-library-pane.Tpo $(DEPDIR)/libpragha_la-pragha-library-pane.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-library-pane.c' object='libpragha_la-pragha-library-pane.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-library-pane.lo `test -f 'pragha-library-pane.c' || echo '$(srcdir)/'`pragha-library-pane.c + +libpragha_la-pragha-menubar.lo: pragha-menubar.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-menubar.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-menubar.Tpo -c -o libpragha_la-pragha-menubar.lo `test -f 'pragha-menubar.c' || echo '$(srcdir)/'`pragha-menubar.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-menubar.Tpo $(DEPDIR)/libpragha_la-pragha-menubar.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-menubar.c' object='libpragha_la-pragha-menubar.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-menubar.lo `test -f 'pragha-menubar.c' || echo '$(srcdir)/'`pragha-menubar.c + +libpragha_la-pragha-music-enum.lo: pragha-music-enum.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-music-enum.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-music-enum.Tpo -c -o libpragha_la-pragha-music-enum.lo `test -f 'pragha-music-enum.c' || echo '$(srcdir)/'`pragha-music-enum.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-music-enum.Tpo $(DEPDIR)/libpragha_la-pragha-music-enum.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-music-enum.c' object='libpragha_la-pragha-music-enum.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-music-enum.lo `test -f 'pragha-music-enum.c' || echo '$(srcdir)/'`pragha-music-enum.c + +libpragha_la-pragha-musicobject.lo: pragha-musicobject.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-musicobject.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-musicobject.Tpo -c -o libpragha_la-pragha-musicobject.lo `test -f 'pragha-musicobject.c' || echo '$(srcdir)/'`pragha-musicobject.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-musicobject.Tpo $(DEPDIR)/libpragha_la-pragha-musicobject.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-musicobject.c' object='libpragha_la-pragha-musicobject.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-musicobject.lo `test -f 'pragha-musicobject.c' || echo '$(srcdir)/'`pragha-musicobject.c + +libpragha_la-pragha-musicobject-mgmt.lo: pragha-musicobject-mgmt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-musicobject-mgmt.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-musicobject-mgmt.Tpo -c -o libpragha_la-pragha-musicobject-mgmt.lo `test -f 'pragha-musicobject-mgmt.c' || echo '$(srcdir)/'`pragha-musicobject-mgmt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-musicobject-mgmt.Tpo $(DEPDIR)/libpragha_la-pragha-musicobject-mgmt.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-musicobject-mgmt.c' object='libpragha_la-pragha-musicobject-mgmt.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-musicobject-mgmt.lo `test -f 'pragha-musicobject-mgmt.c' || echo '$(srcdir)/'`pragha-musicobject-mgmt.c + +libpragha_la-pragha-playback.lo: pragha-playback.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-playback.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-playback.Tpo -c -o libpragha_la-pragha-playback.lo `test -f 'pragha-playback.c' || echo '$(srcdir)/'`pragha-playback.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-playback.Tpo $(DEPDIR)/libpragha_la-pragha-playback.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-playback.c' object='libpragha_la-pragha-playback.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-playback.lo `test -f 'pragha-playback.c' || echo '$(srcdir)/'`pragha-playback.c + +libpragha_la-pragha-playlist.lo: pragha-playlist.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-playlist.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-playlist.Tpo -c -o libpragha_la-pragha-playlist.lo `test -f 'pragha-playlist.c' || echo '$(srcdir)/'`pragha-playlist.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-playlist.Tpo $(DEPDIR)/libpragha_la-pragha-playlist.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-playlist.c' object='libpragha_la-pragha-playlist.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-playlist.lo `test -f 'pragha-playlist.c' || echo '$(srcdir)/'`pragha-playlist.c + +libpragha_la-pragha-playlists-mgmt.lo: pragha-playlists-mgmt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-playlists-mgmt.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-playlists-mgmt.Tpo -c -o libpragha_la-pragha-playlists-mgmt.lo `test -f 'pragha-playlists-mgmt.c' || echo '$(srcdir)/'`pragha-playlists-mgmt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-playlists-mgmt.Tpo $(DEPDIR)/libpragha_la-pragha-playlists-mgmt.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-playlists-mgmt.c' object='libpragha_la-pragha-playlists-mgmt.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-playlists-mgmt.lo `test -f 'pragha-playlists-mgmt.c' || echo '$(srcdir)/'`pragha-playlists-mgmt.c + +libpragha_la-pragha-preferences.lo: pragha-preferences.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-preferences.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-preferences.Tpo -c -o libpragha_la-pragha-preferences.lo `test -f 'pragha-preferences.c' || echo '$(srcdir)/'`pragha-preferences.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-preferences.Tpo $(DEPDIR)/libpragha_la-pragha-preferences.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-preferences.c' object='libpragha_la-pragha-preferences.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-preferences.lo `test -f 'pragha-preferences.c' || echo '$(srcdir)/'`pragha-preferences.c + +libpragha_la-pragha-preferences-dialog.lo: pragha-preferences-dialog.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-preferences-dialog.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-preferences-dialog.Tpo -c -o libpragha_la-pragha-preferences-dialog.lo `test -f 'pragha-preferences-dialog.c' || echo '$(srcdir)/'`pragha-preferences-dialog.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-preferences-dialog.Tpo $(DEPDIR)/libpragha_la-pragha-preferences-dialog.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-preferences-dialog.c' object='libpragha_la-pragha-preferences-dialog.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-preferences-dialog.lo `test -f 'pragha-preferences-dialog.c' || echo '$(srcdir)/'`pragha-preferences-dialog.c + +libpragha_la-pragha-prepared-statement.lo: pragha-prepared-statement.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-prepared-statement.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-prepared-statement.Tpo -c -o libpragha_la-pragha-prepared-statement.lo `test -f 'pragha-prepared-statement.c' || echo '$(srcdir)/'`pragha-prepared-statement.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-prepared-statement.Tpo $(DEPDIR)/libpragha_la-pragha-prepared-statement.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-prepared-statement.c' object='libpragha_la-pragha-prepared-statement.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-prepared-statement.lo `test -f 'pragha-prepared-statement.c' || echo '$(srcdir)/'`pragha-prepared-statement.c + +libpragha_la-pragha-provider.lo: pragha-provider.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-provider.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-provider.Tpo -c -o libpragha_la-pragha-provider.lo `test -f 'pragha-provider.c' || echo '$(srcdir)/'`pragha-provider.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-provider.Tpo $(DEPDIR)/libpragha_la-pragha-provider.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-provider.c' object='libpragha_la-pragha-provider.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-provider.lo `test -f 'pragha-provider.c' || echo '$(srcdir)/'`pragha-provider.c + +libpragha_la-pragha-scanner.lo: pragha-scanner.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-scanner.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-scanner.Tpo -c -o libpragha_la-pragha-scanner.lo `test -f 'pragha-scanner.c' || echo '$(srcdir)/'`pragha-scanner.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-scanner.Tpo $(DEPDIR)/libpragha_la-pragha-scanner.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-scanner.c' object='libpragha_la-pragha-scanner.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-scanner.lo `test -f 'pragha-scanner.c' || echo '$(srcdir)/'`pragha-scanner.c + +libpragha_la-pragha-search-entry.lo: pragha-search-entry.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-search-entry.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-search-entry.Tpo -c -o libpragha_la-pragha-search-entry.lo `test -f 'pragha-search-entry.c' || echo '$(srcdir)/'`pragha-search-entry.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-search-entry.Tpo $(DEPDIR)/libpragha_la-pragha-search-entry.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-search-entry.c' object='libpragha_la-pragha-search-entry.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-search-entry.lo `test -f 'pragha-search-entry.c' || echo '$(srcdir)/'`pragha-search-entry.c + +libpragha_la-pragha-session.lo: pragha-session.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-session.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-session.Tpo -c -o libpragha_la-pragha-session.lo `test -f 'pragha-session.c' || echo '$(srcdir)/'`pragha-session.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-session.Tpo $(DEPDIR)/libpragha_la-pragha-session.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-session.c' object='libpragha_la-pragha-session.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-session.lo `test -f 'pragha-session.c' || echo '$(srcdir)/'`pragha-session.c + +libpragha_la-pragha-sidebar.lo: pragha-sidebar.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-sidebar.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-sidebar.Tpo -c -o libpragha_la-pragha-sidebar.lo `test -f 'pragha-sidebar.c' || echo '$(srcdir)/'`pragha-sidebar.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-sidebar.Tpo $(DEPDIR)/libpragha_la-pragha-sidebar.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-sidebar.c' object='libpragha_la-pragha-sidebar.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-sidebar.lo `test -f 'pragha-sidebar.c' || echo '$(srcdir)/'`pragha-sidebar.c + +libpragha_la-pragha-simple-async.lo: pragha-simple-async.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-simple-async.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-simple-async.Tpo -c -o libpragha_la-pragha-simple-async.lo `test -f 'pragha-simple-async.c' || echo '$(srcdir)/'`pragha-simple-async.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-simple-async.Tpo $(DEPDIR)/libpragha_la-pragha-simple-async.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-simple-async.c' object='libpragha_la-pragha-simple-async.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-simple-async.lo `test -f 'pragha-simple-async.c' || echo '$(srcdir)/'`pragha-simple-async.c + +libpragha_la-pragha-simple-widgets.lo: pragha-simple-widgets.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-simple-widgets.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-simple-widgets.Tpo -c -o libpragha_la-pragha-simple-widgets.lo `test -f 'pragha-simple-widgets.c' || echo '$(srcdir)/'`pragha-simple-widgets.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-simple-widgets.Tpo $(DEPDIR)/libpragha_la-pragha-simple-widgets.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-simple-widgets.c' object='libpragha_la-pragha-simple-widgets.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-simple-widgets.lo `test -f 'pragha-simple-widgets.c' || echo '$(srcdir)/'`pragha-simple-widgets.c + +libpragha_la-pragha-song-cache.lo: pragha-song-cache.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-song-cache.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-song-cache.Tpo -c -o libpragha_la-pragha-song-cache.lo `test -f 'pragha-song-cache.c' || echo '$(srcdir)/'`pragha-song-cache.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-song-cache.Tpo $(DEPDIR)/libpragha_la-pragha-song-cache.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-song-cache.c' object='libpragha_la-pragha-song-cache.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-song-cache.lo `test -f 'pragha-song-cache.c' || echo '$(srcdir)/'`pragha-song-cache.c + +libpragha_la-pragha-statusbar.lo: pragha-statusbar.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-statusbar.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-statusbar.Tpo -c -o libpragha_la-pragha-statusbar.lo `test -f 'pragha-statusbar.c' || echo '$(srcdir)/'`pragha-statusbar.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-statusbar.Tpo $(DEPDIR)/libpragha_la-pragha-statusbar.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-statusbar.c' object='libpragha_la-pragha-statusbar.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-statusbar.lo `test -f 'pragha-statusbar.c' || echo '$(srcdir)/'`pragha-statusbar.c + +libpragha_la-pragha-statusicon.lo: pragha-statusicon.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-statusicon.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-statusicon.Tpo -c -o libpragha_la-pragha-statusicon.lo `test -f 'pragha-statusicon.c' || echo '$(srcdir)/'`pragha-statusicon.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-statusicon.Tpo $(DEPDIR)/libpragha_la-pragha-statusicon.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-statusicon.c' object='libpragha_la-pragha-statusicon.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-statusicon.lo `test -f 'pragha-statusicon.c' || echo '$(srcdir)/'`pragha-statusicon.c + +libpragha_la-pragha-tagger.lo: pragha-tagger.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-tagger.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-tagger.Tpo -c -o libpragha_la-pragha-tagger.lo `test -f 'pragha-tagger.c' || echo '$(srcdir)/'`pragha-tagger.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-tagger.Tpo $(DEPDIR)/libpragha_la-pragha-tagger.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-tagger.c' object='libpragha_la-pragha-tagger.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-tagger.lo `test -f 'pragha-tagger.c' || echo '$(srcdir)/'`pragha-tagger.c + +libpragha_la-pragha-tags-dialog.lo: pragha-tags-dialog.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-tags-dialog.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-tags-dialog.Tpo -c -o libpragha_la-pragha-tags-dialog.lo `test -f 'pragha-tags-dialog.c' || echo '$(srcdir)/'`pragha-tags-dialog.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-tags-dialog.Tpo $(DEPDIR)/libpragha_la-pragha-tags-dialog.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-tags-dialog.c' object='libpragha_la-pragha-tags-dialog.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-tags-dialog.lo `test -f 'pragha-tags-dialog.c' || echo '$(srcdir)/'`pragha-tags-dialog.c + +libpragha_la-pragha-tags-mgmt.lo: pragha-tags-mgmt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-tags-mgmt.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-tags-mgmt.Tpo -c -o libpragha_la-pragha-tags-mgmt.lo `test -f 'pragha-tags-mgmt.c' || echo '$(srcdir)/'`pragha-tags-mgmt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-tags-mgmt.Tpo $(DEPDIR)/libpragha_la-pragha-tags-mgmt.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-tags-mgmt.c' object='libpragha_la-pragha-tags-mgmt.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-tags-mgmt.lo `test -f 'pragha-tags-mgmt.c' || echo '$(srcdir)/'`pragha-tags-mgmt.c + +libpragha_la-pragha-temp-provider.lo: pragha-temp-provider.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-temp-provider.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-temp-provider.Tpo -c -o libpragha_la-pragha-temp-provider.lo `test -f 'pragha-temp-provider.c' || echo '$(srcdir)/'`pragha-temp-provider.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-temp-provider.Tpo $(DEPDIR)/libpragha_la-pragha-temp-provider.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-temp-provider.c' object='libpragha_la-pragha-temp-provider.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-temp-provider.lo `test -f 'pragha-temp-provider.c' || echo '$(srcdir)/'`pragha-temp-provider.c + +libpragha_la-pragha-toolbar.lo: pragha-toolbar.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-toolbar.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-toolbar.Tpo -c -o libpragha_la-pragha-toolbar.lo `test -f 'pragha-toolbar.c' || echo '$(srcdir)/'`pragha-toolbar.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-toolbar.Tpo $(DEPDIR)/libpragha_la-pragha-toolbar.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-toolbar.c' object='libpragha_la-pragha-toolbar.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-toolbar.lo `test -f 'pragha-toolbar.c' || echo '$(srcdir)/'`pragha-toolbar.c + +libpragha_la-pragha-utils.lo: pragha-utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-utils.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-utils.Tpo -c -o libpragha_la-pragha-utils.lo `test -f 'pragha-utils.c' || echo '$(srcdir)/'`pragha-utils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-utils.Tpo $(DEPDIR)/libpragha_la-pragha-utils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-utils.c' object='libpragha_la-pragha-utils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-utils.lo `test -f 'pragha-utils.c' || echo '$(srcdir)/'`pragha-utils.c + +libpragha_la-pragha-window.lo: pragha-window.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-window.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-window.Tpo -c -o libpragha_la-pragha-window.lo `test -f 'pragha-window.c' || echo '$(srcdir)/'`pragha-window.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-window.Tpo $(DEPDIR)/libpragha_la-pragha-window.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-window.c' object='libpragha_la-pragha-window.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-window.lo `test -f 'pragha-window.c' || echo '$(srcdir)/'`pragha-window.c + +libpragha_la-pragha.lo: pragha.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha.Tpo -c -o libpragha_la-pragha.lo `test -f 'pragha.c' || echo '$(srcdir)/'`pragha.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha.Tpo $(DEPDIR)/libpragha_la-pragha.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha.c' object='libpragha_la-pragha.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha.lo `test -f 'pragha.c' || echo '$(srcdir)/'`pragha.c + +libpragha_la-xml_helper.lo: xml_helper.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-xml_helper.lo -MD -MP -MF $(DEPDIR)/libpragha_la-xml_helper.Tpo -c -o libpragha_la-xml_helper.lo `test -f 'xml_helper.c' || echo '$(srcdir)/'`xml_helper.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-xml_helper.Tpo $(DEPDIR)/libpragha_la-xml_helper.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='xml_helper.c' object='libpragha_la-xml_helper.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-xml_helper.lo `test -f 'xml_helper.c' || echo '$(srcdir)/'`xml_helper.c + +libpragha_la-pragha-plugins-engine.lo: pragha-plugins-engine.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-plugins-engine.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-plugins-engine.Tpo -c -o libpragha_la-pragha-plugins-engine.lo `test -f 'pragha-plugins-engine.c' || echo '$(srcdir)/'`pragha-plugins-engine.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-plugins-engine.Tpo $(DEPDIR)/libpragha_la-pragha-plugins-engine.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-plugins-engine.c' object='libpragha_la-pragha-plugins-engine.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-plugins-engine.lo `test -f 'pragha-plugins-engine.c' || echo '$(srcdir)/'`pragha-plugins-engine.c + +libpragha_la-pragha-device-client.lo: pragha-device-client.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -MT libpragha_la-pragha-device-client.lo -MD -MP -MF $(DEPDIR)/libpragha_la-pragha-device-client.Tpo -c -o libpragha_la-pragha-device-client.lo `test -f 'pragha-device-client.c' || echo '$(srcdir)/'`pragha-device-client.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpragha_la-pragha-device-client.Tpo $(DEPDIR)/libpragha_la-pragha-device-client.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pragha-device-client.c' object='libpragha_la-pragha-device-client.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpragha_la_CFLAGS) $(CFLAGS) -c -o libpragha_la-pragha-device-client.lo `test -f 'pragha-device-client.c' || echo '$(srcdir)/'`pragha-device-client.c + +pragha-main.o: main.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pragha_CFLAGS) $(CFLAGS) -MT pragha-main.o -MD -MP -MF $(DEPDIR)/pragha-main.Tpo -c -o pragha-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/pragha-main.Tpo $(DEPDIR)/pragha-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='main.c' object='pragha-main.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pragha_CFLAGS) $(CFLAGS) -c -o pragha-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c + +pragha-main.obj: main.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pragha_CFLAGS) $(CFLAGS) -MT pragha-main.obj -MD -MP -MF $(DEPDIR)/pragha-main.Tpo -c -o pragha-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/pragha-main.Tpo $(DEPDIR)/pragha-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='main.c' object='pragha-main.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pragha_CFLAGS) $(CFLAGS) -c -o pragha-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi` + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ + done + +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) +install-libpraghaHEADERS: $(libpragha_HEADERS) + @$(NORMAL_INSTALL) + @list='$(libpragha_HEADERS)'; test -n "$(libpraghadir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libpraghadir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libpraghadir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libpraghadir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(libpraghadir)" || exit $$?; \ + done + +uninstall-libpraghaHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(libpragha_HEADERS)'; test -n "$(libpraghadir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libpraghadir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-recursive +all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) $(DATA) $(HEADERS) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(libpraghadir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-recursive + +clean-am: clean-binPROGRAMS clean-generic clean-libtool \ + clean-pkglibLTLIBRARIES mostlyclean-am + +distclean: distclean-recursive + -rm -f ./$(DEPDIR)/libpragha_la-gtkcellrendererbubble.Plo + -rm -f ./$(DEPDIR)/libpragha_la-info-bar-import-music.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-album-art.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-app-notification-container.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-app-notification.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-art-cache.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-backend.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-background-task-bar.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-background-task-widget.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-cmdline.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-database-provider.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-database.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-debug.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-device-client.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-dnd.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-equalizer-dialog.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-favorites.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-file-utils.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-filter-dialog.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-hig.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-library-pane.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-menubar.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-music-enum.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-musicobject-mgmt.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-musicobject.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-playback.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-playlist.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-playlists-mgmt.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-plugins-engine.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-preferences-dialog.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-preferences.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-prepared-statement.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-provider.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-scanner.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-search-entry.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-session.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-sidebar.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-simple-async.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-simple-widgets.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-song-cache.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-statusbar.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-statusicon.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-tagger.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-tags-dialog.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-tags-mgmt.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-temp-provider.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-toolbar.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-utils.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-window.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha.Plo + -rm -f ./$(DEPDIR)/libpragha_la-xml_helper.Plo + -rm -f ./$(DEPDIR)/pragha-main.Po + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-libpraghaHEADERS install-pkgconfigDATA + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: install-binPROGRAMS install-pkglibLTLIBRARIES + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f ./$(DEPDIR)/libpragha_la-gtkcellrendererbubble.Plo + -rm -f ./$(DEPDIR)/libpragha_la-info-bar-import-music.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-album-art.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-app-notification-container.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-app-notification.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-art-cache.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-backend.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-background-task-bar.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-background-task-widget.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-cmdline.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-database-provider.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-database.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-debug.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-device-client.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-dnd.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-equalizer-dialog.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-favorites.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-file-utils.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-filter-dialog.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-hig.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-library-pane.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-menubar.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-music-enum.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-musicobject-mgmt.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-musicobject.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-playback.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-playlist.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-playlists-mgmt.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-plugins-engine.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-preferences-dialog.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-preferences.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-prepared-statement.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-provider.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-scanner.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-search-entry.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-session.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-sidebar.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-simple-async.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-simple-widgets.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-song-cache.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-statusbar.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-statusicon.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-tagger.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-tags-dialog.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-tags-mgmt.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-temp-provider.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-toolbar.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-utils.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha-window.Plo + -rm -f ./$(DEPDIR)/libpragha_la-pragha.Plo + -rm -f ./$(DEPDIR)/libpragha_la-xml_helper.Plo + -rm -f ./$(DEPDIR)/pragha-main.Po + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-binPROGRAMS uninstall-libpraghaHEADERS \ + uninstall-pkgconfigDATA uninstall-pkglibLTLIBRARIES + +.MAKE: $(am__recursive_targets) all check install install-am \ + install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--depfiles check check-am clean clean-binPROGRAMS \ + clean-generic clean-libtool clean-pkglibLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-binPROGRAMS install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am \ + install-libpraghaHEADERS install-man install-pdf \ + install-pdf-am install-pkgconfigDATA install-pkglibLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \ + uninstall-libpraghaHEADERS uninstall-pkgconfigDATA \ + uninstall-pkglibLTLIBRARIES + +.PRECIOUS: Makefile + + +%.pc: %.pc.in + sed "s,\@VERSION\@,$(VERSION),g; s,\@prefix\@,$(prefix),g; s,\@libdir\@,$(libdir),g; s,\@includedir\@,$(includedir),g" < $< > $@ + +# +# Build sources +# +pragha-window-ui.h: pragha-window.ui Makefile + $(AM_V_GEN) xdt-csource --strip-comments --strip-content --static --name=pragha_window_ui $< > $@ + +@WIN32_TRUE@pragha-res.o: win32/pragha.rc +@WIN32_TRUE@ $(WINDRES) -i win32/pragha.rc --input-format=rc -o pragha-res.o -O coff + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru pragha-1.3.3/src/pragha-album-art.c pragha-1.3.992/src/pragha-album-art.c --- pragha-1.3.3/src/pragha-album-art.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-album-art.c 2019-08-06 17:13:48.000000000 +0000 @@ -1,17 +1,17 @@ /*************************************************************************/ -/* Copyright (C) 2012-2013 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ +/* Copyright (C) 2012-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ /* along with this program. If not, see . */ /*************************************************************************/ @@ -20,17 +20,17 @@ #include #ifdef G_OS_WIN32 -#include "../win32/win32dep.h" +#include "win32/win32dep.h" #endif -G_DEFINE_TYPE(PraghaAlbumArt, pragha_album_art, GTK_TYPE_IMAGE) - struct _PraghaAlbumArtPrivate { gchar *path; guint size; }; +G_DEFINE_TYPE_WITH_PRIVATE (PraghaAlbumArt, pragha_album_art, GTK_TYPE_IMAGE) + enum { PROP_0, @@ -259,7 +259,6 @@ object_class->finalize = pragha_album_art_finalize; object_class->get_property = pragha_album_art_get_property; object_class->set_property = pragha_album_art_set_property; - g_type_class_add_private(object_class, sizeof(PraghaAlbumArtPrivate)); /** * PraghaAlbumArt:path: diff -Nru pragha-1.3.3/src/pragha-album-art.h pragha-1.3.992/src/pragha-album-art.h --- pragha-1.3.3/src/pragha-album-art.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-album-art.h 2019-03-12 12:39:36.000000000 +0000 @@ -1,17 +1,17 @@ /*************************************************************************/ -/* Copyright (C) 2012-2013 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ +/* Copyright (C) 2012-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ /* along with this program. If not, see . */ /*************************************************************************/ @@ -49,15 +49,19 @@ }; PraghaAlbumArt *pragha_album_art_new (void); -GType pragha_album_art_get_type (void) G_GNUC_CONST; -const gchar *pragha_album_art_get_path (PraghaAlbumArt *albumart); -void pragha_album_art_set_path (PraghaAlbumArt *albumart, - const char *path); + +const gchar * +pragha_album_art_get_path (PraghaAlbumArt *albumart); +void +pragha_album_art_set_path (PraghaAlbumArt *albumart, + const char *path); + guint pragha_album_art_get_size (PraghaAlbumArt *albumart); void pragha_album_art_set_size (PraghaAlbumArt *albumart, guint size); + void pragha_album_art_set_pixbuf (PraghaAlbumArt *albumart, GdkPixbuf *pixbuf); diff -Nru pragha-1.3.3/src/pragha-app-notification.c pragha-1.3.992/src/pragha-app-notification.c --- pragha-1.3.3/src/pragha-app-notification.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-app-notification.c 2019-07-13 00:46:34.000000000 +0000 @@ -0,0 +1,259 @@ +/*************************************************************************/ +/* Copyright (C) 2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#include "config.h" + +#include "pragha-app-notification.h" +#include "pragha-app-notification-container.h" + + +struct _PraghaAppNotification { + GtkFrame parent_instance; + + GtkWidget *grid; + + GtkWidget *head; + GtkWidget *body; + GtkWidget *close_button; + + gchar *head_msg; + gchar *body_msg; + + guint timeout_id; +}; + +struct _PraghaAppNotificationClass { + GtkFrameClass parent_class; +}; + +enum { + PROP_0, + PROP_HEAD, + PROP_BODY +}; + +G_DEFINE_TYPE (PraghaAppNotification, pragha_app_notification, GTK_TYPE_GRID); + +static void +pragha_app_notification_constructed (GObject *object) +{ + PraghaAppNotification *self = PRAGHA_APP_NOTIFICATION (object); + + G_OBJECT_CLASS (pragha_app_notification_parent_class)->constructed (object); + + if (self->head_msg) { + gtk_label_set_text (GTK_LABEL (self->head), self->head_msg); + gtk_widget_set_visible(GTK_WIDGET(self->head), TRUE); + } + + if (self->body_msg) { + gtk_label_set_text (GTK_LABEL (self->body), self->body_msg); + gtk_widget_set_visible(GTK_WIDGET(self->body), TRUE); + } +} + +static void +pragha_app_notification_finalize (GObject *object) +{ + PraghaAppNotification *self = PRAGHA_APP_NOTIFICATION (object); + + g_free (self->head_msg); + g_free (self->body_msg); + + G_OBJECT_CLASS (pragha_app_notification_parent_class)->finalize (object); +} + +static void +pragha_app_notification_set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + PraghaAppNotification *self = PRAGHA_APP_NOTIFICATION (object); + + switch (prop_id) { + case PROP_HEAD: + self->head_msg = g_value_dup_string (value); + break; + case PROP_BODY: + self->body_msg = g_value_dup_string (value); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + break; + } +} + +static void +pragha_app_notification_get_property (GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + PraghaAppNotification *self = PRAGHA_APP_NOTIFICATION (object); + + switch (prop_id) { + case PROP_HEAD: + g_value_set_string (value, self->head_msg); + break; + case PROP_BODY: + g_value_set_string (value, self->body_msg); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + break; + } +} + +static void +pragha_app_notification_close_button_clicked_cb (GtkButton *button, + PraghaAppNotification *self) +{ + PraghaAppNotificationContainer *container; + + if (self->timeout_id != 0) { + g_source_remove (self->timeout_id); + self->timeout_id = 0; + } + + gtk_widget_destroy (GTK_WIDGET (self)); + + container = pragha_app_notification_container_get_default (); + if (pragha_app_notification_container_get_num_children (container) == 0) { + gtk_widget_hide (GTK_WIDGET (container)); + gtk_revealer_set_reveal_child (GTK_REVEALER (container), FALSE); + } +} + +static gboolean +pragha_app_notification_timeout_call (gpointer data) +{ + PraghaAppNotificationContainer *container; + + PraghaAppNotification *self = PRAGHA_APP_NOTIFICATION(data); + + gtk_widget_destroy(GTK_WIDGET(self)); + + container = pragha_app_notification_container_get_default (); + if (pragha_app_notification_container_get_num_children (container) == 0) { + gtk_widget_hide (GTK_WIDGET (container)); + gtk_revealer_set_reveal_child (GTK_REVEALER (container), FALSE); + } + + return G_SOURCE_REMOVE; +} + +static void +pragha_app_notification_init (PraghaAppNotification *self) +{ + GtkWidget *image; + GtkStyleContext *context; + + self->grid = gtk_grid_new (); + context = gtk_widget_get_style_context (self->grid); + gtk_style_context_add_class (context, "app-notification"); + gtk_container_add (GTK_CONTAINER (self), self->grid); + + self->head = gtk_label_new (NULL); + gtk_widget_set_halign (self->head, GTK_ALIGN_CENTER); + gtk_widget_set_hexpand (self->head, TRUE); + gtk_widget_set_vexpand (self->head, TRUE); + gtk_grid_attach (GTK_GRID (self->grid), self->head, 0, 0, 1, 1); + + self->body = gtk_label_new (NULL); + gtk_widget_set_halign (self->body, GTK_ALIGN_CENTER); + gtk_widget_set_hexpand (self->body, TRUE); + gtk_widget_set_vexpand (self->body, TRUE); + gtk_grid_attach (GTK_GRID (self->grid), self->body, 0, 1, 1, 1); + + self->close_button = gtk_button_new (); + g_object_set (self->close_button, + "relief", GTK_RELIEF_NONE, + "focus-on-click", FALSE, + NULL); + gtk_grid_attach (GTK_GRID (self->grid), self->close_button, 1, 0, 1, 2); + + image = gtk_image_new_from_icon_name ("window-close-symbolic", GTK_ICON_SIZE_BUTTON); + gtk_button_set_image (GTK_BUTTON (self->close_button), image); + + g_signal_connect (self->close_button, + "clicked", + G_CALLBACK (pragha_app_notification_close_button_clicked_cb), + self); + + gtk_widget_show(GTK_WIDGET(self)); + gtk_widget_show(GTK_WIDGET (self->grid)); + gtk_widget_show_all(GTK_WIDGET (self->close_button)); +} + +static void +pragha_app_notification_class_init (PraghaAppNotificationClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + + object_class->constructed = pragha_app_notification_constructed; + object_class->finalize = pragha_app_notification_finalize; + object_class->set_property = pragha_app_notification_set_property; + object_class->get_property = pragha_app_notification_get_property; + + g_object_class_install_property (object_class, + PROP_HEAD, + g_param_spec_string ("head", + "Head", + "The notification head", + "", + G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE)); + + g_object_class_install_property (object_class, + PROP_BODY, + g_param_spec_string ("body", + "Body", + "The notification body", + "", + G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE)); +} + +PraghaAppNotification * +pragha_app_notification_new (const char *head, + const char *body) +{ + return g_object_new (PRAGHA_TYPE_APP_NOTIFICATION, + "column-spacing", 12, + "orientation", GTK_ORIENTATION_HORIZONTAL, + "head", head, + "body", body, + NULL); +} + +void +pragha_app_notification_show (PraghaAppNotification *self) +{ + g_assert (PRAGHA_IS_APP_NOTIFICATION (self)); + + pragha_app_notification_container_add_notification (pragha_app_notification_container_get_default (), + GTK_WIDGET (self)); +} + +void +pragha_app_notification_set_timeout (PraghaAppNotification *self, + guint timeout) +{ + g_assert (PRAGHA_IS_APP_NOTIFICATION (self)); + + self->timeout_id = g_timeout_add_seconds(timeout, pragha_app_notification_timeout_call, self); +} + diff -Nru pragha-1.3.3/src/pragha-app-notification-container.c pragha-1.3.992/src/pragha-app-notification-container.c --- pragha-1.3.3/src/pragha-app-notification-container.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-app-notification-container.c 2019-07-03 12:32:50.000000000 +0000 @@ -0,0 +1,98 @@ +/*************************************************************************/ +/* Copyright (C) 2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#include "config.h" +#include "pragha-app-notification-container.h" + + +struct _PraghaAppNotificationContainer { + GtkRevealer parent_instance; + + GtkWidget *grid; +}; + +struct _PraghaAppNotificationContainerClass { + GtkRevealerClass parent_class; +}; + +G_DEFINE_TYPE (PraghaAppNotificationContainer, pragha_app_notification_container, GTK_TYPE_REVEALER); + +static PraghaAppNotificationContainer *notification_container = NULL; + +static void +pragha_app_notification_container_init (PraghaAppNotificationContainer *self) +{ + /* Globally accessible singleton */ + g_assert (notification_container == NULL); + notification_container = self; + g_object_add_weak_pointer (G_OBJECT (notification_container), + (gpointer *)¬ification_container); + + gtk_widget_set_halign (GTK_WIDGET (self), GTK_ALIGN_CENTER); + gtk_widget_set_valign (GTK_WIDGET (self), GTK_ALIGN_START); + + self->grid = gtk_grid_new (); + gtk_orientable_set_orientation (GTK_ORIENTABLE (self->grid), GTK_ORIENTATION_VERTICAL); + gtk_grid_set_row_spacing (GTK_GRID (self->grid), 6); + gtk_container_add (GTK_CONTAINER (self), self->grid); +} + +static void +pragha_app_notification_container_class_init (PraghaAppNotificationContainerClass *klass) +{ +} + +PraghaAppNotificationContainer * +pragha_app_notification_container_get_default (void) +{ + if (notification_container != NULL) + return notification_container; + + return g_object_new (PRAGHA_TYPE_APP_NOTIFICATION_CONTAINER, + NULL); +} + +void +pragha_app_notification_container_add_notification (PraghaAppNotificationContainer *self, + GtkWidget *notification) +{ + g_assert (PRAGHA_IS_APP_NOTIFICATION_CONTAINER (self)); + g_assert (GTK_IS_WIDGET (notification)); + + gtk_container_add (GTK_CONTAINER (self->grid), notification); + + gtk_widget_show (GTK_WIDGET (self)); + gtk_widget_show (GTK_WIDGET (self->grid)); + gtk_widget_show (GTK_WIDGET (notification)); + + gtk_revealer_set_reveal_child (GTK_REVEALER (self), TRUE); +} + +guint +pragha_app_notification_container_get_num_children (PraghaAppNotificationContainer *self) +{ + GList *children; + guint retval; + + g_assert (PRAGHA_IS_APP_NOTIFICATION_CONTAINER (self)); + + children = gtk_container_get_children (GTK_CONTAINER (self->grid)); + retval = g_list_length (children); + g_list_free (children); + + return retval; +} diff -Nru pragha-1.3.3/src/pragha-app-notification-container.h pragha-1.3.992/src/pragha-app-notification-container.h --- pragha-1.3.3/src/pragha-app-notification-container.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-app-notification-container.h 2019-07-13 00:25:08.000000000 +0000 @@ -0,0 +1,48 @@ +/*************************************************************************/ +/* Copyright (C) 2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_APP_NOTIFICATION_CONTAINER_H +#define PRAGHA_APP_NOTIFICATION_CONTAINER_H + +#include + + +G_BEGIN_DECLS + +typedef struct _PraghaAppNotificationContainerClass PraghaAppNotificationContainerClass; +typedef struct _PraghaAppNotificationContainer PraghaAppNotificationContainer; + +#define PRAGHA_TYPE_APP_NOTIFICATION_CONTAINER (pragha_app_notification_container_get_type ()) +#define PRAGHA_APP_NOTIFICATION_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_APP_NOTIFICATION_CONTAINER, PraghaAppNotificationContainer)) +#define PRAGHA_APP_NOTIFICATION_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_APP_NOTIFICATION_CONTAINER, PraghaAppNotificationContainerClass)) +#define PRAGHA_IS_APP_NOTIFICATION_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_APP_NOTIFICATION_CONTAINER)) +#define PRAGHA_IS_APP_NOTIFICATION_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_APP_NOTIFICATION_CONTAINER)) +#define PRAGHA_APP_NOTIFICATION_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_APP_NOTIFICATION_CONTAINER, PraghaAppNotificationContainerClass)) + +PraghaAppNotificationContainer * +pragha_app_notification_container_get_default (void); + +void +pragha_app_notification_container_add_notification (PraghaAppNotificationContainer *self, + GtkWidget *notification); + +guint +pragha_app_notification_container_get_num_children (PraghaAppNotificationContainer *self); + +G_END_DECLS + +#endif /* PRAGHA_APP_NOTIFICAION_CONTAINER_H */ diff -Nru pragha-1.3.3/src/pragha-app-notification.h pragha-1.3.992/src/pragha-app-notification.h --- pragha-1.3.3/src/pragha-app-notification.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-app-notification.h 2019-07-13 00:21:58.000000000 +0000 @@ -0,0 +1,50 @@ +/*************************************************************************/ +/* Copyright (C) 2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_APP_NOTIFICATION_H +#define PRAGHA_APP_NOTIFICATION_H + +#include +#include + + +G_BEGIN_DECLS + +typedef struct _PraghaAppNotificationClass PraghaAppNotificationClass; +typedef struct _PraghaAppNotification PraghaAppNotification; + +#define PRAGHA_TYPE_APP_NOTIFICATION (pragha_app_notification_get_type ()) +#define PRAGHA_APP_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_APP_NOTIFICATION, PraghaAppNotification)) +#define PRAGHA_APP_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_APP_NOTIFICATION, PraghaAppNotificationClass)) +#define PRAGHA_IS_APP_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_APP_NOTIFICATION)) +#define PRAGHA_IS_APP_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_APP_NOTIFICATION)) +#define PRAGHA_APP_NOTIFICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_APP_NOTIFICATION, PraghaAppNotificationClass)) + +PraghaAppNotification * +pragha_app_notification_new (const char *head, + const char *body); + +void +pragha_app_notification_show (PraghaAppNotification *self); + +void +pragha_app_notification_set_timeout (PraghaAppNotification *self, + guint timeout); + +G_END_DECLS + +#endif /* PRAGHA_APP_NOTIFICATION_H */ diff -Nru pragha-1.3.3/src/pragha-art-cache.c pragha-1.3.992/src/pragha-art-cache.c --- pragha-1.3.3/src/pragha-art-cache.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-art-cache.c 2018-06-21 11:24:11.000000000 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2013 matias + * Copyright (C) 2011-2018 matias * Copyright (C) 2013 Pavel Vasin * * This program is free software: you can redistribute it and/or modify @@ -67,7 +67,7 @@ static void pragha_art_cache_init (PraghaArtCache *cache) { - cache->cache_dir = g_build_path (G_DIR_SEPARATOR_S, g_get_user_cache_dir (), "pragha", NULL); + cache->cache_dir = g_build_path (G_DIR_SEPARATOR_S, g_get_user_cache_dir (), "pragha", "art", NULL); g_mkdir_with_parents (cache->cache_dir, S_IRWXU); } @@ -88,8 +88,12 @@ return cache; } +/* + * Album art cache. + */ + static gchar * -pragha_art_cache_build_path (PraghaArtCache *cache, const gchar *artist, const gchar *album) +pragha_art_cache_build_album_path (PraghaArtCache *cache, const gchar *artist, const gchar *album) { gchar *artist_escaped = pragha_escape_slashes (artist); gchar *album_escaped = pragha_escape_slashes (album); @@ -100,9 +104,9 @@ } gchar * -pragha_art_cache_get_uri (PraghaArtCache *cache, const gchar *artist, const gchar *album) +pragha_art_cache_get_album_uri (PraghaArtCache *cache, const gchar *artist, const gchar *album) { - gchar *path = pragha_art_cache_build_path (cache, artist, album); + gchar *path = pragha_art_cache_build_album_path (cache, artist, album); if (g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR) == FALSE) { g_free (path); @@ -113,9 +117,9 @@ } gboolean -pragha_art_cache_contains (PraghaArtCache *cache, const gchar *artist, const gchar *album) +pragha_art_cache_contains_album (PraghaArtCache *cache, const gchar *artist, const gchar *album) { - gchar *path = pragha_art_cache_get_uri (cache, artist, album); + gchar *path = pragha_art_cache_get_album_uri (cache, artist, album); if (path) { g_free (path); @@ -126,7 +130,7 @@ } void -pragha_art_cache_put (PraghaArtCache *cache, const gchar *artist, const gchar *album, gconstpointer data, gsize size) +pragha_art_cache_put_album (PraghaArtCache *cache, const gchar *artist, const gchar *album, gconstpointer data, gsize size) { GError *error = NULL; @@ -134,7 +138,7 @@ if (!pixbuf) return; - gchar *path = pragha_art_cache_build_path (cache, artist, album); + gchar *path = pragha_art_cache_build_album_path (cache, artist, album); gdk_pixbuf_save (pixbuf, path, "jpeg", &error, "quality", "100", NULL); @@ -148,3 +152,68 @@ g_free (path); g_object_unref (pixbuf); } + +/* + * Artist art cache. + */ + +static gchar * +pragha_art_cache_build_artist_path (PraghaArtCache *cache, const gchar *artist) +{ + gchar *artist_escaped = pragha_escape_slashes (artist); + gchar *result = g_strdup_printf ("%s%sartist-%s.jpeg", cache->cache_dir, G_DIR_SEPARATOR_S, artist_escaped); + g_free (artist_escaped); + return result; +} + + +gchar * +pragha_art_cache_get_artist_uri (PraghaArtCache *cache, const gchar *artist) +{ + gchar *path = pragha_art_cache_build_artist_path (cache, artist); + + if (g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR) == FALSE) { + g_free (path); + return NULL; + } + + return path; +} + +gboolean +pragha_art_cache_contains_artist (PraghaArtCache *cache, const gchar *artist) +{ + gchar *path = pragha_art_cache_get_artist_uri (cache, artist); + + if (path) { + g_free (path); + return TRUE; + } + + return FALSE; +} + +void +pragha_art_cache_put_artist (PraghaArtCache *cache, const gchar *artist, gconstpointer data, gsize size) +{ + GError *error = NULL; + + GdkPixbuf *pixbuf = pragha_gdk_pixbuf_new_from_memory (data, size); + if (!pixbuf) + return; + + gchar *path = pragha_art_cache_build_artist_path (cache, artist); + + gdk_pixbuf_save (pixbuf, path, "jpeg", &error, "quality", "100", NULL); + + if (error) { + g_warning ("Failed to save artist art file %s: %s\n", path, error->message); + g_error_free (error); + } + + g_signal_emit (cache, signals[SIGNAL_CACHE_CHANGED], 0); + + g_free (path); + g_object_unref (pixbuf); +} + diff -Nru pragha-1.3.3/src/pragha-art-cache.h pragha-1.3.992/src/pragha-art-cache.h --- pragha-1.3.3/src/pragha-art-cache.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-art-cache.h 2018-06-21 11:24:11.000000000 +0000 @@ -1,4 +1,5 @@ /* + * Copyright (C) 2011-2018 matias * Copyright (C) 2013 Pavel Vasin * * This program is free software: you can redistribute it and/or modify @@ -42,9 +43,13 @@ PraghaArtCache * pragha_art_cache_get (void); -gchar * pragha_art_cache_get_uri (PraghaArtCache *cache, const gchar *artist, const gchar *album); -gboolean pragha_art_cache_contains (PraghaArtCache *cache, const gchar *artist, const gchar *album); -void pragha_art_cache_put (PraghaArtCache *cache, const gchar *artist, const gchar *album, gconstpointer data, gsize size); +gchar * pragha_art_cache_get_album_uri (PraghaArtCache *cache, const gchar *artist, const gchar *album); +gboolean pragha_art_cache_contains_album (PraghaArtCache *cache, const gchar *artist, const gchar *album); +void pragha_art_cache_put_album (PraghaArtCache *cache, const gchar *artist, const gchar *album, gconstpointer data, gsize size); + +gchar * pragha_art_cache_get_artist_uri (PraghaArtCache *cache, const gchar *artist); +gboolean pragha_art_cache_contains_artist (PraghaArtCache *cache, const gchar *artist); +void pragha_art_cache_put_artist (PraghaArtCache *cache, const gchar *artist, gconstpointer data, gsize size); G_END_DECLS diff -Nru pragha-1.3.3/src/pragha-backend.c pragha-1.3.992/src/pragha-backend.c --- pragha-1.3.3/src/pragha-backend.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-backend.c 2019-08-13 14:15:26.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2010-2015 matias */ +/* Copyright (C) 2010-2019 matias */ /* Copyright (C) 2012-2013 Pavel Vasin */ /* */ /* This program is free software: you can redistribute it and/or modify */ @@ -62,24 +62,35 @@ struct PraghaBackendPrivate { PraghaPreferences *preferences; - PraghaArtCache *art_cache; - GstElement *pipeline; - GstElement *audio_sink; - GstElement *preamp; - GstElement *equalizer; - guint timer; - gboolean is_live; - gboolean can_seek; - gboolean seeking; //this is hack, we should catch seek by seqnum, but it's currently broken in gstreamer - gboolean emitted_error; - GError *error; - GstState target_state; + PraghaArtCache *art_cache; + + GstElement *audiobin; + GstElement *pipeline; + GstElement *audio_sink; + GstElement *preamp; + GstElement *equalizer; + + guint timer; + guint cont_playback; + guint half_time_flag; + + gboolean is_live; + gboolean can_seek; + gboolean seeking; //this is hack, we should catch seek by seqnum, but it's currently broken in gstreamer + + gboolean local_storage; + gchar *temp_location; + guint download_timeid; + + gboolean emitted_error; + GError *error; + + GstState target_state; PraghaBackendState state; + PraghaMusicobject *mobj; }; -#define PRAGHA_BACKEND_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), PRAGHA_TYPE_BACKEND, PraghaBackendPrivate)) - enum { PROP_0, PROP_VOLUME, @@ -95,31 +106,51 @@ SIGNAL_PREPARE_SOURCE, SIGNAL_CLEAN_SOURCE, SIGNAL_TICK, + SIGNAL_HALF_PLAYED, SIGNAL_SEEKED, SIGNAL_BUFFERING, + SIGNAL_DOWNLOAD_DONE, SIGNAL_FINISHED, SIGNAL_ERROR, SIGNAL_TAGS_CHANGED, + SIGNAL_SPECTRUM, LAST_SIGNAL }; static int signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (PraghaBackend, pragha_backend, G_TYPE_OBJECT); +G_DEFINE_TYPE_WITH_PRIVATE (PraghaBackend, pragha_backend, G_TYPE_OBJECT); static gboolean emit_tick_cb (gpointer user_data) { PraghaBackend *backend = user_data; + PraghaBackendPrivate *priv = backend->priv; g_signal_emit (backend, signals[SIGNAL_TICK], 0); + priv->cont_playback++; + if (!priv->is_live && priv->cont_playback == priv->half_time_flag) + g_signal_emit (backend, signals[SIGNAL_HALF_PLAYED], 0); + return TRUE; } static void pragha_backend_source_notify_cb (GObject *obj, GParamSpec *pspec, PraghaBackend *backend) { + GstElement* element; + + g_object_get (obj, "source", &element, NULL); + if (!element) + return; + + if (g_object_class_find_property(G_OBJECT_GET_CLASS(element), "user-agent")) { + g_object_set (element, "user-agent", PACKAGE_NAME"/"PACKAGE_VERSION, NULL); + g_object_set(element, "ssl-use-system-ca-file", FALSE, NULL); + g_object_set(element, "ssl-strict", FALSE, NULL); + } + g_signal_emit (backend, signals[SIGNAL_SET_DEVICE], 0, obj); } @@ -213,6 +244,73 @@ g_object_set (priv->pipeline, "flags", flags, NULL); } +static void +pragha_backend_got_temp_location (GstObject *gstobject, + GstObject *prop_object, + GParamSpec *prop, + gpointer user_data) +{ + PraghaBackend *backend = user_data; + PraghaBackendPrivate *priv = backend->priv; + + if (priv->temp_location != NULL) { + g_free(priv->temp_location); + priv->temp_location = NULL; + } + + if (priv->local_storage) { + g_object_get (G_OBJECT (prop_object), "temp-location", &priv->temp_location, NULL); + } +} + +static gboolean +pragha_backend_parse_local_storage_buffering (gpointer user_data) +{ + PraghaBackend *backend = user_data; + PraghaBackendPrivate *priv = backend->priv; + gboolean ret = TRUE; + GstQuery *query; + + query = gst_query_new_buffering (GST_FORMAT_PERCENT); + if (gst_element_query (priv->pipeline, query)) { + GstFormat format; + gint64 start, stop; + gdouble fill; + gst_query_parse_buffering_range (query, &format, &start, &stop, NULL); + if (stop != -1) + fill = (gdouble) stop / GST_FORMAT_PERCENT_MAX; + else + fill = -1.0; + + if (fill == 1.0) { + g_signal_emit (backend, signals[SIGNAL_DOWNLOAD_DONE], 0, priv->temp_location); + priv->download_timeid = 0; + ret = FALSE; + } + } + gst_query_unref (query); + + return ret; +} + +void +pragha_backend_set_local_storage (PraghaBackend *backend, + gboolean local_storage) +{ + PraghaBackendPrivate *priv = backend->priv; + GstPlayFlags flags; + + g_object_get (priv->pipeline, "flags", &flags, NULL); + if (local_storage == TRUE) + flags |= GST_PLAY_FLAG_DOWNLOAD; + else + flags &= ~GST_PLAY_FLAG_DOWNLOAD; + g_object_set (priv->pipeline, "flags", flags, NULL); + + + priv->local_storage = local_storage; +} + gdouble pragha_backend_get_volume (PraghaBackend *backend) { @@ -270,30 +368,6 @@ } gboolean -pragha_backend_is_playing (PraghaBackend *backend) -{ - PraghaBackendPrivate *priv = backend->priv; - GstState state; - gst_element_get_state (priv->pipeline, &state, NULL, GST_CLOCK_TIME_NONE); - - if (state == GST_STATE_PLAYING) - return TRUE; - return FALSE; -} - -gboolean -pragha_backend_is_paused (PraghaBackend *backend) -{ - PraghaBackendPrivate *priv = backend->priv; - GstState state; - gst_element_get_state(priv->pipeline, &state, NULL, GST_CLOCK_TIME_NONE); - - if (state == GST_STATE_PAUSED) - return TRUE; - return FALSE; -} - -gboolean pragha_backend_emitted_error (PraghaBackend *backend) { return backend->priv->emitted_error; @@ -305,7 +379,7 @@ return backend->priv->error; } -GstState +static GstState pragha_backend_get_target_state (PraghaBackend *backend) { return backend->priv->target_state; @@ -351,6 +425,8 @@ return "ST_STOPPED"; case ST_PAUSED: return "ST_PAUSED"; + case ST_BUFFERING: + return "ST_BUFFERING"; default: /* This is a memory leak */ return g_strdup_printf ("UNKNOWN!(%d)", state); @@ -397,6 +473,9 @@ { CDEBUG(DBG_BACKEND, "Pause playback"); + if (backend->priv->state == ST_BUFFERING) + return; + pragha_backend_set_target_state (backend, GST_STATE_PAUSED); } @@ -405,6 +484,9 @@ { CDEBUG(DBG_BACKEND, "Resuming playback"); + if (backend->priv->state == ST_BUFFERING) + return; + pragha_backend_set_target_state (backend, GST_STATE_PLAYING); } @@ -468,12 +550,14 @@ if (priv->target_state == GST_STATE_PLAYING && cur_state != GST_STATE_PLAYING) { CDEBUG(DBG_BACKEND, "Buffering complete ... return to playback"); gst_element_set_state(priv->pipeline, GST_STATE_PLAYING); + pragha_backend_set_state (backend, ST_PLAYING); } } else { if (priv->target_state == GST_STATE_PLAYING && cur_state == GST_STATE_PLAYING) { CDEBUG(DBG_BACKEND, "Buffering ... temporarily pausing playback"); gst_element_set_state (priv->pipeline, GST_STATE_PAUSED); + pragha_backend_set_state (backend, ST_BUFFERING); } else { CDEBUG(DBG_BACKEND, "Buffering (already paused) ... %d", percent); @@ -501,7 +585,7 @@ const gchar *artist = pragha_musicobject_get_artist (priv->mobj); const gchar *album = pragha_musicobject_get_album (priv->mobj); - if (pragha_art_cache_contains (priv->art_cache, artist, album)) + if (pragha_art_cache_contains_album (priv->art_cache, artist, album)) goto out; //ok, we need it @@ -514,7 +598,7 @@ if (!gst_buffer_map (buf, &info, GST_MAP_READ)) goto out; - pragha_art_cache_put (priv->art_cache, artist, album, info.data, info.size); + pragha_art_cache_put_album (priv->art_cache, artist, album, info.data, info.size); gst_buffer_unmap (buf, &info); @@ -579,7 +663,8 @@ } if ((priv->state == ST_PLAYING) || - (priv->state == ST_PAUSED)) { + (priv->state == ST_PAUSED) || + (priv->state == ST_BUFFERING)) { pragha_backend_stop(backend); } @@ -653,6 +738,17 @@ } static void +pragha_backend_evaluate_half_time_playback (PraghaBackend *backend) +{ + gint length = 0; + PraghaBackendPrivate *priv = backend->priv; + + length = GST_TIME_AS_SECONDS(pragha_backend_get_current_length(backend)); + + priv->half_time_flag = ((length / 2) > 240) ? 241 : (length / 2)+1; +} + +static void pragha_backend_evaluate_state (GstState old, GstState new, GstState pending, PraghaBackend *backend) { PraghaBackendPrivate *priv = backend->priv; @@ -666,10 +762,13 @@ case GST_STATE_PLAYING: { if (priv->target_state == GST_STATE_PLAYING) { pragha_backend_evaluate_if_can_seek(backend); + pragha_backend_evaluate_half_time_playback(backend); if (priv->timer == 0) priv->timer = g_timeout_add_seconds (1, emit_tick_cb, backend); - + if (priv->local_storage && priv->download_timeid == 0) + priv->download_timeid = g_timeout_add_seconds (1, pragha_backend_parse_local_storage_buffering, backend); + priv->cont_playback = 0; pragha_backend_set_state (backend, ST_PLAYING); } break; @@ -680,7 +779,11 @@ g_source_remove(priv->timer); priv->timer = 0; } - + if (priv->download_timeid > 0) { + g_source_remove(priv->download_timeid); + priv->download_timeid = 0; + } + priv->cont_playback = 0; pragha_backend_set_state (backend, ST_PAUSED); } break; @@ -693,12 +796,17 @@ priv->emitted_error = FALSE; g_clear_error(&priv->error); priv->seeking = FALSE; + priv->cont_playback = 0; } case GST_STATE_NULL: { if (priv->timer > 0) { g_source_remove(priv->timer); priv->timer = 0; } + if (priv->download_timeid > 0) { + g_source_remove(priv->download_timeid); + priv->download_timeid = 0; + } break; } default: @@ -713,6 +821,21 @@ } static void +pragha_backend_message_element (GstBus *bus, GstMessage *msg, PraghaBackend *backend) +{ + const GstStructure *gstr; + const GValue *magnitudes; + + if (!g_ascii_strcasecmp (GST_OBJECT_NAME(msg->src), "spectrum")) + { + gstr = gst_message_get_structure(msg); + magnitudes = gst_structure_get_value (gstr, "magnitude"); + + g_signal_emit (backend, signals[SIGNAL_SPECTRUM], 0, magnitudes); + } +} + +static void pragha_backend_message_eos (GstBus *bus, GstMessage *msg, PraghaBackend *backend) { g_signal_emit (backend, signals[SIGNAL_FINISHED], 0); @@ -795,6 +918,11 @@ if (priv->error) g_error_free (priv->error); + if (priv->temp_location != NULL) { + g_free(priv->temp_location); + priv->temp_location = NULL; + } + CDEBUG(DBG_BACKEND, "Pipeline destruction complete"); G_OBJECT_CLASS (pragha_backend_parent_class)->finalize (object); @@ -850,6 +978,43 @@ } } +void +pragha_backend_enable_spectrum (PraghaBackend *backend) +{ + GstElement *spectrum; + + PraghaBackendPrivate *priv = backend->priv; + + spectrum = gst_element_factory_make ("spectrum", "spectrum"); + g_object_set (G_OBJECT (spectrum), "bands", 128, "threshold", -80, + "interval", 100000000, "post-messages", TRUE, NULL); + + gst_bin_add (GST_BIN(priv->audiobin), spectrum); + + gst_element_unlink (priv->equalizer, priv->audio_sink); + + gst_element_link (priv->equalizer, spectrum); + gst_element_link (spectrum, priv->audio_sink); + + gst_element_sync_state_with_parent (spectrum); +} + +void +pragha_backend_disable_spectrum (PraghaBackend *backend) +{ + GstElement *spectrum; + + PraghaBackendPrivate *priv = backend->priv; + + spectrum = gst_bin_get_by_name (GST_BIN(priv->audiobin), "spectrum"); + gst_element_unlink (priv->equalizer, spectrum); + gst_element_unlink (spectrum, priv->audio_sink); + + gst_element_link (priv->equalizer, priv->audio_sink); + + gst_bin_remove (GST_BIN(priv->audiobin), spectrum); +} + #ifndef G_OS_WIN32 static GstElement * make_audio_sink (PraghaPreferences *preferences) @@ -996,6 +1161,15 @@ g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + signals[SIGNAL_HALF_PLAYED] = + g_signal_new ("half-played", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaBackendClass, half_played), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + signals[SIGNAL_BUFFERING] = g_signal_new ("buffering", G_TYPE_FROM_CLASS (gobject_class), @@ -1005,6 +1179,15 @@ g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT); + signals[SIGNAL_DOWNLOAD_DONE] = + g_signal_new ("download-done", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaBackendClass, download_done), + NULL, NULL, + g_cclosure_marshal_VOID__STRING, + G_TYPE_NONE, 1, G_TYPE_STRING); + signals[SIGNAL_FINISHED] = g_signal_new ("finished", G_TYPE_FROM_CLASS (gobject_class), @@ -1032,19 +1215,31 @@ g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT); - g_type_class_add_private (klass, sizeof (PraghaBackendPrivate)); + signals[SIGNAL_SPECTRUM] = + g_signal_new ("spectrum", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaBackendClass, spectrum), + NULL, NULL, + g_cclosure_marshal_VOID__POINTER, + G_TYPE_NONE, 1, G_TYPE_POINTER); } static void pragha_backend_init (PraghaBackend *backend) { - PraghaBackendPrivate *priv = PRAGHA_BACKEND_GET_PRIVATE (backend); + PraghaBackendPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (backend, + PRAGHA_TYPE_BACKEND, + PraghaBackendPrivate); + backend->priv = priv; + priv->target_state = GST_STATE_READY; priv->state = ST_STOPPED; priv->is_live = FALSE; priv->can_seek = FALSE; priv->seeking = FALSE; + priv->local_storage = FALSE; priv->emitted_error = FALSE; priv->error = NULL; priv->preferences = pragha_preferences_get (); @@ -1064,6 +1259,7 @@ #else priv->audio_sink = gst_element_factory_make ("directsoundsink", "audio-sink"); #endif + g_object_set (G_OBJECT (priv->audio_sink), "sync", TRUE, NULL); if (priv->audio_sink != NULL) { const gchar *audio_device_pref = pragha_preferences_get_audio_device (priv->preferences); @@ -1092,6 +1288,7 @@ gst_object_unref (pad); g_object_set (priv->pipeline, "audio-sink", bin, NULL); + priv->audiobin = bin; } else { g_warning ("Failed to create the 10bands equalizer element. Not use it."); @@ -1116,6 +1313,7 @@ GstBus *bus = gst_pipeline_get_bus (GST_PIPELINE (priv->pipeline)); gst_bus_add_signal_watch (bus); + g_signal_connect (bus, "message::element", G_CALLBACK (pragha_backend_message_element), backend); g_signal_connect (bus, "message::error", G_CALLBACK (pragha_backend_message_error), backend); g_signal_connect (bus, "message::eos", G_CALLBACK (pragha_backend_message_eos), backend); g_signal_connect (bus, "message::state-changed", G_CALLBACK (pragha_backend_message_state_changed), backend); @@ -1125,6 +1323,9 @@ g_signal_connect (bus, "message::tag", G_CALLBACK (pragha_backend_message_tag), backend); gst_object_unref (bus); + g_signal_connect (priv->pipeline, "deep-notify::temp-location", + G_CALLBACK (pragha_backend_got_temp_location), backend); + if(pragha_preferences_get_software_mixer (priv->preferences)) { pragha_backend_set_soft_volume (backend, TRUE); pragha_backend_set_volume(backend, pragha_preferences_get_software_volume (priv->preferences)); diff -Nru pragha-1.3.3/src/pragha-backend.h pragha-1.3.992/src/pragha-backend.h --- pragha-1.3.3/src/pragha-backend.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-backend.h 2019-03-12 12:42:10.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2010-2015 matias */ +/* Copyright (C) 2010-2019 matias */ /* Copyright (C) 2012-2013 Pavel Vasin */ /* */ /* This program is free software: you can redistribute it and/or modify */ @@ -28,7 +28,8 @@ typedef enum { ST_PLAYING = 1, ST_STOPPED, - ST_PAUSED + ST_PAUSED, + ST_BUFFERING } PraghaBackendState; #define PRAGHA_TYPE_BACKEND (pragha_backend_get_type ()) @@ -52,11 +53,14 @@ void (*prepare_source) (PraghaBackend *backend); void (*clean_source) (PraghaBackend *backend); void (*tick) (PraghaBackend *backend); + void (*half_played) (PraghaBackend *backend); void (*seeked) (PraghaBackend *backend); void (*buffering) (PraghaBackend *backend, gint percent); + void (*download_done) (PraghaBackend *backend, gchar *filename); void (*finished) (PraghaBackend *backend); void (*error) (PraghaBackend *backend, const GError *error); void (*tags_changed) (PraghaBackend *backend, gint changed); + void (*spectrum) (PraghaBackend *backend, gpointer value); } PraghaBackendClass; gboolean pragha_backend_can_seek (PraghaBackend *backend); @@ -65,14 +69,13 @@ gint64 pragha_backend_get_current_length (PraghaBackend *backend); gint64 pragha_backend_get_current_position (PraghaBackend *backend); +void pragha_backend_set_local_storage (PraghaBackend *backend, gboolean local_storage); + void pragha_backend_set_soft_volume (PraghaBackend *backend, gboolean value); gdouble pragha_backend_get_volume (PraghaBackend *backend); void pragha_backend_set_volume (PraghaBackend *backend, gdouble volume); void pragha_backend_set_delta_volume (PraghaBackend *backend, gdouble delta); -gboolean pragha_backend_is_playing (PraghaBackend *backend); -gboolean pragha_backend_is_paused (PraghaBackend *backend); - gboolean pragha_backend_emitted_error (PraghaBackend *backend); GError *pragha_backend_get_error (PraghaBackend *backend); PraghaBackendState pragha_backend_get_state (PraghaBackend *backend); @@ -90,6 +93,9 @@ void pragha_backend_update_equalizer (PraghaBackend *backend, const gdouble *bands); GstElement *pragha_backend_get_preamp (PraghaBackend *backend); +void pragha_backend_enable_spectrum (PraghaBackend *backend); +void pragha_backend_disable_spectrum (PraghaBackend *backend); + PraghaBackend *pragha_backend_new (void); G_END_DECLS diff -Nru pragha-1.3.3/src/pragha-background-task-bar.c pragha-1.3.992/src/pragha-background-task-bar.c --- pragha-1.3.3/src/pragha-background-task-bar.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-background-task-bar.c 2019-07-05 14:23:13.000000000 +0000 @@ -0,0 +1,217 @@ +/*************************************************************************/ +/* Copyright (C) 2016-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#if defined(GETTEXT_PACKAGE) +#include +#else +#include +#endif + +#include "pragha-background-task-widget.h" +#include "pragha-background-task-bar.h" + +#include "pragha-debug.h" + + +typedef struct _PraghaBackgroundTaskBarClass PraghaBackgroundTaskBarClass; + +struct _PraghaBackgroundTaskBarClass { + GtkButtonClass parent_class; +}; + +struct _PraghaBackgroundTaskBar { + GtkButton _parent; + + GBinding *label_binding; + + gint task_count; + + GtkWidget *popover; + GtkWidget *listbox; + GtkWidget *spinner; +}; + +G_DEFINE_TYPE(PraghaBackgroundTaskBar, pragha_background_task_bar, GTK_TYPE_BUTTON) + +static gboolean +pragha_background_task_bar_clicked_event (GtkWidget *widget, + GtkWidget *wtaskbar) +{ + PraghaBackgroundTaskBar *taskbar = PRAGHA_BACKGROUND_TASK_BAR(wtaskbar); + + if (taskbar->task_count <= 0) + return FALSE; + + gtk_widget_show (GTK_WIDGET(taskbar->popover)); + + return FALSE; +} + +static void +pragha_background_task_bar_class_init (PraghaBackgroundTaskBarClass *class) +{ + /*GtkWidgetClass *widget_class; + widget_class = GTK_WIDGET_CLASS (class); + widget_class->button_press_event = pragha_background_task_bar_button_press_event;*/ +} + +static void +pragha_background_task_bar_init (PraghaBackgroundTaskBar *taskbar) +{ + /* Main widget */ + + gtk_button_set_relief (GTK_BUTTON(taskbar), GTK_RELIEF_NONE); + + taskbar->spinner = gtk_spinner_new (); + gtk_container_add (GTK_CONTAINER(taskbar), GTK_WIDGET(taskbar->spinner)); + + gtk_widget_set_tooltip_text (GTK_WIDGET(taskbar), _("There are background tasks working")); + + g_signal_connect (G_OBJECT (taskbar), "clicked", + G_CALLBACK (pragha_background_task_bar_clicked_event), taskbar); + + /* Popover */ + + taskbar->popover = gtk_popover_new (GTK_WIDGET(taskbar)); + gtk_popover_set_relative_to (GTK_POPOVER(taskbar->popover), GTK_WIDGET(taskbar)); + + /* List box */ + + taskbar->listbox = gtk_list_box_new(); + gtk_list_box_set_selection_mode (GTK_LIST_BOX(taskbar->listbox), GTK_SELECTION_NONE); + gtk_widget_show (taskbar->listbox); + + gtk_container_add (GTK_CONTAINER(taskbar->popover), taskbar->listbox); + + /* Show properly.. */ + + gtk_widget_show_all(GTK_WIDGET(taskbar)); + gtk_widget_hide(GTK_WIDGET(taskbar)); +} + +static void +pragha_background_task_bar_show_first_description (PraghaBackgroundTaskBar *taskbar) +{ + GtkListBoxRow *row; + row = gtk_list_box_get_row_at_index (GTK_LIST_BOX(taskbar->listbox), 0); + taskbar->label_binding = + g_object_bind_property (PRAGHA_BACKGROUND_TASK_WIDGET (row), "description", + taskbar, "tooltip-text", + G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL); +} + +static void +pragha_background_task_bar_show_generic_description (PraghaBackgroundTaskBar *taskbar) +{ + if (taskbar->label_binding) { + g_binding_unbind (taskbar->label_binding); + taskbar->label_binding = NULL; + } + + gtk_widget_set_tooltip_text (GTK_WIDGET(taskbar), _("There are background tasks working")); +} + +void +pragha_background_task_bar_prepend_widget (PraghaBackgroundTaskBar *taskbar, + GtkWidget *widget) +{ + /* Append the widget and ref it */ + + gtk_list_box_prepend (GTK_LIST_BOX(taskbar->listbox), widget); + + taskbar->task_count++; + + /* Update description */ + + if (taskbar->task_count == 1) + pragha_background_task_bar_show_first_description (taskbar); + else + pragha_background_task_bar_show_generic_description (taskbar); + + /* Show widgets */ + + gtk_widget_show_all (GTK_WIDGET(taskbar)); + gtk_widget_show (GTK_WIDGET(taskbar->popover)); + gtk_widget_show (widget); + + gtk_spinner_start (GTK_SPINNER(taskbar->spinner)); +} + +void +pragha_background_task_bar_remove_widget (PraghaBackgroundTaskBar *taskbar, + GtkWidget *widget) +{ + /* Unbind description if it is the last task */ + + if (taskbar->task_count == 1) + pragha_background_task_bar_show_generic_description (taskbar); + + /* Remove the widget and unref it */ + + gtk_container_remove (GTK_CONTAINER(taskbar->listbox), widget); + + taskbar->task_count--; + + /* Update description */ + + if (taskbar->task_count == 1) + pragha_background_task_bar_show_first_description (taskbar); + + /* Hide widgets when unnecessary */ + + if (taskbar->task_count == 0) { + gtk_widget_hide (GTK_WIDGET(taskbar->popover)); + gtk_spinner_stop (GTK_SPINNER(taskbar->spinner)); + gtk_widget_hide (GTK_WIDGET(taskbar)); + } +} + +PraghaBackgroundTaskBar * +pragha_background_task_bar_new (void) +{ + return g_object_new (PRAGHA_TYPE_BACKGROUND_TASK_BAR, NULL); +} + +/** + * pragha_preferences_get: + * + * Queries the global #PraghaBackgroundTaskbar instance, which is shared + * by all modules. The function automatically takes a reference + * for the caller, so you'll need to call g_object_unref() when + * you're done with it. + * + * Return value: the global #PraghaBackgroundTaskbar instance. + **/ +PraghaBackgroundTaskBar * +pragha_background_task_bar_get (void) +{ + static PraghaBackgroundTaskBar *taskbar = NULL; + + if (G_UNLIKELY (taskbar == NULL)) { + + CDEBUG(DBG_INFO, "Creating a new PraghaBackgroundTaskbar instance"); + + taskbar = g_object_new (PRAGHA_TYPE_BACKGROUND_TASK_BAR, NULL); + g_object_add_weak_pointer(G_OBJECT (taskbar), + (gpointer) &taskbar); + } + else { + g_object_ref (G_OBJECT (taskbar)); + } + + return taskbar; +} diff -Nru pragha-1.3.3/src/pragha-background-task-bar.h pragha-1.3.992/src/pragha-background-task-bar.h --- pragha-1.3.3/src/pragha-background-task-bar.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-background-task-bar.h 2019-07-05 13:32:41.000000000 +0000 @@ -0,0 +1,53 @@ +/*************************************************************************/ +/* Copyright (C) 2016-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_BACKGROUND_TASK_BAR_H +#define PRAGHA_BACKGROUND_TASK_BAR_H + +#include + +G_BEGIN_DECLS + +#define PRAGHA_TYPE_BACKGROUND_TASK_BAR (pragha_background_task_bar_get_type()) +#define PRAGHA_BACKGROUND_TASK_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_BACKGROUND_TASK_BAR, PraghaBackgroundTaskBar)) +#define PRAGHA_BACKGROUND_TASK_BAR_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_BACKGROUND_TASK_BAR, PraghaBackgroundTaskBar const)) +#define PRAGHA_BACKGROUND_TASK_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_BACKGROUND_TASK_BAR, PraghaBackgroundTaskBarClass)) +#define PRAGHA_IS_BACKGROUND_TASK_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_BACKGROUND_TASK_BAR)) +#define PRAGHA_IS_BACKGROUND_TASK_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_BACKGROUND_TASK_BAR)) +#define PRAGHA_BACKGROUND_TASK_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_BACKGROUND_TASK_BAR, PraghaBackgroundTaskBarClass)) + +GType pragha_background_task_bar_get_type (void); + +typedef struct _PraghaBackgroundTaskBar PraghaBackgroundTaskBar; + +void +pragha_background_task_bar_prepend_widget (PraghaBackgroundTaskBar *taskbar, + GtkWidget *widget); + +void +pragha_background_task_bar_remove_widget (PraghaBackgroundTaskBar *taskbar, + GtkWidget *widget); + +PraghaBackgroundTaskBar * +pragha_background_task_bar_new (void); + +PraghaBackgroundTaskBar * +pragha_background_task_bar_get (void); + +G_END_DECLS + +#endif /* PRAGHA_BACKGROUND_TASK_BAR_H */ diff -Nru pragha-1.3.3/src/pragha-background-task-widget.c pragha-1.3.992/src/pragha-background-task-widget.c --- pragha-1.3.3/src/pragha-background-task-widget.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-background-task-widget.c 2019-07-05 14:23:19.000000000 +0000 @@ -0,0 +1,389 @@ +/*************************************************************************/ +/* Copyright (C) 2016-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#include "pragha-hig.h" + +#include "pragha-background-task-widget.h" + +typedef struct _PraghaBackgroundTaskWidgetClass PraghaBackgroundTaskWidgetClass; + +struct _PraghaBackgroundTaskWidgetClass { + GtkListBoxRowClass parent_class; +}; +struct _PraghaBackgroundTaskWidget { + GtkListBoxRow _parent; + + gchar *icon_name; + gchar *description; + gint job_count; + gint job_progress; + + GCancellable *cancellable; + + GtkWidget *icon; + GtkWidget *progress; + GtkWidget *cancell_button; + + guint pulse_timeout; +}; + +enum { + PROP_0, + PROP_DESCRIPTION, + PROP_ICON_NAME, + PROP_JOB_COUNT, + PROP_JOB_PROGRESS, + PROP_CANCELLABLE, + PROP_LAST +}; + +static GParamSpec *properties[PROP_LAST] = { 0 }; + +G_DEFINE_TYPE(PraghaBackgroundTaskWidget, pragha_background_task_widget, GTK_TYPE_LIST_BOX_ROW) + +gboolean +pragha_background_task_widget_pulse_progress_bar (gpointer data) +{ + gtk_progress_bar_pulse (GTK_PROGRESS_BAR (data)); + return TRUE; +} + +void +pragha_background_task_widget_set_description (PraghaBackgroundTaskWidget *taskwidget, + const gchar *description) +{ + if (taskwidget->description) + g_free(taskwidget->description); + taskwidget->description = g_strdup (description); + + gtk_progress_bar_set_text (GTK_PROGRESS_BAR(taskwidget->progress), description); + + g_object_notify_by_pspec (G_OBJECT(taskwidget), properties[PROP_DESCRIPTION]); +} + +const gchar * +pragha_background_task_widget_get_description (PraghaBackgroundTaskWidget *taskwidget) +{ + return taskwidget->description; +} + +void +pragha_background_task_widget_set_icon_name (PraghaBackgroundTaskWidget *taskwidget, + const gchar *icon_name) +{ + if (taskwidget->icon_name) + g_free(taskwidget->icon_name); + taskwidget->icon_name = g_strdup (icon_name); + + gtk_image_set_from_icon_name (GTK_IMAGE(taskwidget->icon), + icon_name, + GTK_ICON_SIZE_SMALL_TOOLBAR); +} + +const gchar * +pragha_background_task_widget_get_icon_name (PraghaBackgroundTaskWidget *taskwidget) +{ + return taskwidget->icon_name; +} + +static void +pragha_background_task_widget_set_job_count (PraghaBackgroundTaskWidget *taskwidget, + gint job_count) +{ + if (taskwidget->pulse_timeout) { + g_source_remove(taskwidget->pulse_timeout); + taskwidget->pulse_timeout = 0; + } + + if (job_count > 0) { + taskwidget->job_count = job_count; + } + else { + taskwidget->pulse_timeout = + g_timeout_add (250, + pragha_background_task_widget_pulse_progress_bar, + taskwidget->progress); + } +} + +static guint +pragha_background_task_widget_get_job_count (PraghaBackgroundTaskWidget *taskwidget) +{ + return taskwidget->job_count; +} + +void +pragha_background_task_widget_set_job_progress (PraghaBackgroundTaskWidget *taskwidget, + gint job_progress) +{ + if (job_progress > 0) { + pragha_background_task_widget_set_job_count (taskwidget, 100); + gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(taskwidget->progress), (gdouble)job_progress/100); + } +} + +static guint +pragha_background_task_widget_get_job_progress (PraghaBackgroundTaskWidget *taskwidget) +{ + return 48; // FIXME???? +} + +static void +pragha_background_task_widget_set_cancellable (PraghaBackgroundTaskWidget *taskwidget, + GCancellable *cancellable) +{ + if (taskwidget->cancellable) { + g_object_unref (taskwidget->cancellable); + taskwidget->cancellable = NULL; + } + + if (cancellable) { + taskwidget->cancellable = cancellable; + } + else { + gtk_widget_hide (taskwidget->cancell_button); + } +} + +static GObject * +pragha_background_task_widget_get_cancellable (PraghaBackgroundTaskWidget *taskwidget) +{ + return G_OBJECT(taskwidget->cancellable); +} + +static void +pragha_background_task_widget_set_property (GObject *object, + guint property_id, + const GValue *value, + GParamSpec *pspec) +{ + PraghaBackgroundTaskWidget *taskwidget = PRAGHA_BACKGROUND_TASK_WIDGET(object); + + switch (property_id) + { + case PROP_DESCRIPTION: + pragha_background_task_widget_set_description (taskwidget, g_value_get_string (value)); + break; + case PROP_ICON_NAME: + pragha_background_task_widget_set_icon_name (taskwidget, g_value_get_string (value)); + break; + case PROP_JOB_COUNT: + pragha_background_task_widget_set_job_count (taskwidget, g_value_get_uint (value)); + break; + case PROP_JOB_PROGRESS: + pragha_background_task_widget_set_job_progress (taskwidget, g_value_get_uint (value)); + break; + case PROP_CANCELLABLE: + pragha_background_task_widget_set_cancellable (taskwidget, g_value_dup_object (value)); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + break; + } +} + +static void +pragha_background_task_widget_get_property (GObject *object, + guint property_id, + GValue *value, + GParamSpec *pspec) +{ + PraghaBackgroundTaskWidget *taskwidget = PRAGHA_BACKGROUND_TASK_WIDGET(object); + + switch (property_id) + { + case PROP_DESCRIPTION: + g_value_set_string (value, pragha_background_task_widget_get_description (taskwidget)); + break; + case PROP_ICON_NAME: + g_value_set_string (value, pragha_background_task_widget_get_icon_name (taskwidget)); + break; + case PROP_JOB_COUNT: + g_value_set_uint (value, pragha_background_task_widget_get_job_count (taskwidget)); + break; + case PROP_JOB_PROGRESS: + g_value_set_uint (value, pragha_background_task_widget_get_job_progress (taskwidget)); + break; + case PROP_CANCELLABLE: + g_value_set_object (value, pragha_background_task_widget_get_cancellable (taskwidget)); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + break; + } +} + +static void +pragha_background_task_widget_dispose (GObject *object) +{ + PraghaBackgroundTaskWidget *taskwidget = PRAGHA_BACKGROUND_TASK_WIDGET(object); + + if (taskwidget->cancellable != NULL) { + g_object_unref (taskwidget->cancellable); + taskwidget->cancellable = NULL; + } + G_OBJECT_CLASS (pragha_background_task_widget_parent_class)->dispose (object); +} + +static void +pragha_background_task_widget_finalize (GObject *object) +{ + PraghaBackgroundTaskWidget *taskwidget = PRAGHA_BACKGROUND_TASK_WIDGET(object); + + if (taskwidget->pulse_timeout) { + g_source_remove(taskwidget->pulse_timeout); + taskwidget->pulse_timeout = 0; + } + + G_OBJECT_CLASS(pragha_background_task_widget_parent_class)->finalize(object); +} + +static void +pragha_background_task_widget_class_init (PraghaBackgroundTaskWidgetClass *class) +{ + GObjectClass *gobject_class; + + gobject_class = G_OBJECT_CLASS (class); + gobject_class->set_property = pragha_background_task_widget_set_property; + gobject_class->get_property = pragha_background_task_widget_get_property; + gobject_class->dispose = pragha_background_task_widget_dispose; + gobject_class->finalize = pragha_background_task_widget_finalize; + + /** + * PraghaBackgroundTaskBar:description: + * + */ + properties[PROP_DESCRIPTION] = + g_param_spec_string("description", + "Description", + "The description of task", + NULL, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS); + + /** + * PraghaBackgroundTaskBar:icon-name: + * + */ + properties[PROP_ICON_NAME] = + g_param_spec_string("icon-name", + "IconName", + "The icon-name used on task", + NULL, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS); + + /** + * PraghaBackgroundTask:job-count: + * + */ + properties[PROP_JOB_COUNT] = + g_param_spec_uint("job-count", + "Job-Count", + "The job-count to show progress", + 0, 128, + 0, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS); + + /** + * PraghaBackgroundTask:job-progress: + * + */ + properties[PROP_JOB_PROGRESS] = + g_param_spec_uint("job-progress", + "Job-Progress", + "The job progress", + 0, 128, + 0, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS); + + /** + * PraghaBackgroundTask:cancellable: + * + */ + properties[PROP_CANCELLABLE] = + g_param_spec_object("cancellable", + "Cancellable", + "A GCancellable to cancel the task.", + G_TYPE_CANCELLABLE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS); + + g_object_class_install_properties (gobject_class, PROP_LAST, properties); + +} + +static void +pragha_background_task_widget_cancell_handler (GtkButton *button, + PraghaBackgroundTaskWidget *taskwidget) +{ + g_cancellable_cancel (taskwidget->cancellable); +} + +static void +pragha_background_task_widget_init (PraghaBackgroundTaskWidget *taskwidget) +{ + GtkWidget *box, *image; + + box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); + + taskwidget->icon = gtk_image_new_from_icon_name ("folder-music", GTK_ICON_SIZE_MENU); + + taskwidget->progress = gtk_progress_bar_new(); + gtk_widget_set_size_request (taskwidget->progress, 300, -1); + gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR(taskwidget->progress), TRUE); + gtk_widget_set_valign (GTK_WIDGET(taskwidget->progress), GTK_ALIGN_CENTER); + + taskwidget->cancell_button = gtk_button_new (); + image = gtk_image_new_from_icon_name ("process-stop", GTK_ICON_SIZE_MENU); + gtk_button_set_relief (GTK_BUTTON (taskwidget->cancell_button), GTK_RELIEF_NONE); + pragha_hig_set_tiny_button (taskwidget->cancell_button); +#if GTK_CHECK_VERSION (3, 20, 0) + gtk_widget_set_focus_on_click (GTK_WIDGET (taskwidget->cancell_button), FALSE); +#else + gtk_button_set_focus_on_click (GTK_BUTTON (taskwidget->cancell_button), FALSE); +#endif + gtk_container_add (GTK_CONTAINER (taskwidget->cancell_button), image); + + g_signal_connect (G_OBJECT (taskwidget->cancell_button), "clicked", + G_CALLBACK(pragha_background_task_widget_cancell_handler), taskwidget); + + gtk_box_pack_start (GTK_BOX (box), taskwidget->icon, FALSE, FALSE, 0); + gtk_box_pack_start (GTK_BOX (box), taskwidget->progress, TRUE, FALSE, 0); + gtk_box_pack_start (GTK_BOX (box), taskwidget->cancell_button, FALSE, FALSE, 0); + + gtk_container_add (GTK_CONTAINER (taskwidget), box); + + gtk_widget_show_all (GTK_WIDGET(taskwidget)); +} + +PraghaBackgroundTaskWidget * +pragha_background_task_widget_new (const gchar *description, + const gchar *icon_name, + gint job_count, + GCancellable *cancellable) +{ + return g_object_new (PRAGHA_TYPE_BACKGROUND_TASK_WIDGET, + "description", description, + "icon-name", icon_name, + "job-count", job_count, + "cancellable", cancellable, + NULL); +} diff -Nru pragha-1.3.3/src/pragha-background-task-widget.h pragha-1.3.992/src/pragha-background-task-widget.h --- pragha-1.3.3/src/pragha-background-task-widget.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-background-task-widget.h 2018-06-21 11:24:11.000000000 +0000 @@ -0,0 +1,53 @@ +/*************************************************************************/ +/* Copyright (C) 2016 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_BACKGROUND_TASK_WIDGET_H +#define PRAGHA_BACKGROUND_TASK_WIDGET_H + +#include + +G_BEGIN_DECLS + +#define PRAGHA_TYPE_BACKGROUND_TASK_WIDGET (pragha_background_task_widget_get_type()) +#define PRAGHA_BACKGROUND_TASK_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_BACKGROUND_TASK_WIDGET, PraghaBackgroundTaskWidget)) +#define PRAGHA_BACKGROUND_TASK_WIDGET_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_BACKGROUND_TASK_WIDGET, PraghaBackgroundTaskWidget const)) +#define PRAGHA_BACKGROUND_TASK_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_BACKGROUND_TASK_WIDGET, PraghaBackgroundTaskWidgetClass)) +#define PRAGHA_IS_BACKGROUND_TASK_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_BACKGROUND_TASK_WIDGET)) +#define PRAGHA_IS_BACKGROUND_TASK_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_BACKGROUND_TASK_WIDGET)) +#define PRAGHA_BACKGROUND_TASK_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_BACKGROUND_TASK_WIDGET, PraghaBackgroundTaskWidgetClass)) + +GType pragha_background_task_widget_get_type (void); + +typedef struct _PraghaBackgroundTaskWidget PraghaBackgroundTaskWidget; + +void +pragha_background_task_widget_set_description (PraghaBackgroundTaskWidget *taskwidget, + const gchar *description); + +void +pragha_background_task_widget_set_job_progress (PraghaBackgroundTaskWidget *taskwidget, + gint job_progress); + +PraghaBackgroundTaskWidget * +pragha_background_task_widget_new (const gchar *description, + const gchar *icon_name, + gint job_count, + GCancellable *cancellable); + +G_END_DECLS + +#endif /* PRAGHA_BACKGROUND_TASK_WIDGET_H */ diff -Nru pragha-1.3.3/src/pragha.c pragha-1.3.992/src/pragha.c --- pragha-1.3.3/src/pragha.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha.c 2019-08-13 15:00:32.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2015 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -42,14 +42,10 @@ #include "pragha-utils.h" #include "pragha-music-enum.h" #include "pragha-playlists-mgmt.h" +#include "pragha-database-provider.h" #ifdef G_OS_WIN32 -#include "../win32/win32dep.h" -#endif - -gint debug_level; -#ifdef DEBUG -GThread *pragha_main_thread = NULL; +#include "win32/win32dep.h" #endif struct _PraghaApplication { @@ -61,11 +57,12 @@ /* Main stuff */ - PraghaBackend *backend; - PraghaPreferences *preferences; - PraghaDatabase *cdbase; - PraghaArtCache *art_cache; - PraghaMusicEnum *enum_map; + PraghaBackend *backend; + PraghaPreferences *preferences; + PraghaDatabase *cdbase; + PraghaDatabaseProvider *provider; + PraghaArtCache *art_cache; + PraghaMusicEnum *enum_map; PraghaScanner *scanner; @@ -77,9 +74,11 @@ GtkBuilder *menu_ui; PraghaToolbar *toolbar; GtkWidget *infobox; + GtkWidget *overlay; GtkWidget *pane1; GtkWidget *pane2; PraghaSidebar *sidebar1; + GtkWidget *main_stack; PraghaSidebar *sidebar2; PraghaLibraryPane *library; PraghaPlaylist *playlist; @@ -176,9 +175,11 @@ gtk_window_set_title(GTK_WINDOW(window), (_("Select a file to play"))); gtk_window_set_default_size(GTK_WINDOW(window), 700, 450); gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER); - gtk_container_set_border_width(GTK_CONTAINER(window), 10); + gtk_widget_set_name (GTK_WIDGET(window), "GtkFileChooserDialog"); + gtk_container_set_border_width(GTK_CONTAINER(window), 0); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + gtk_widget_set_name (GTK_WIDGET(vbox), "dialog-vbox1"); gtk_container_add(GTK_CONTAINER(window), vbox); @@ -194,6 +195,7 @@ gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(chooser), last_folder); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 6); toggle = gtk_check_button_new_with_label(_("Add files recursively")); if(pragha_preferences_get_add_recursively (preferences)) @@ -201,24 +203,24 @@ bbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END); - gtk_box_set_spacing(GTK_BOX(bbox), 6); + gtk_box_set_spacing(GTK_BOX(bbox), 4); close_button = gtk_button_new_with_mnemonic (_("_Cancel")); add_button = gtk_button_new_with_mnemonic (_("_Add")); gtk_container_add(GTK_CONTAINER(bbox), close_button); gtk_container_add(GTK_CONTAINER(bbox), add_button); - gtk_box_pack_start(GTK_BOX(hbox), toggle, TRUE, TRUE, 3); - gtk_box_pack_end(GTK_BOX(hbox), bbox, FALSE, FALSE, 3); + gtk_box_pack_start(GTK_BOX(hbox), toggle, TRUE, TRUE, 0); + gtk_box_pack_end(GTK_BOX(hbox), bbox, FALSE, FALSE, 0); - gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 3); - gtk_box_pack_end(GTK_BOX(vbox), chooser, TRUE, TRUE, 3); + gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); + gtk_box_pack_end(GTK_BOX(vbox), chooser, TRUE, TRUE, 0); /* Create file filters */ media_filter = gtk_file_filter_new(); gtk_file_filter_set_name(GTK_FILE_FILTER(media_filter), _("Supported media")); - + while (mime_wav[i]) gtk_file_filter_add_mime_type(GTK_FILE_FILTER(media_filter), mime_wav[i++]); @@ -524,16 +526,15 @@ mainwindow = pragha_application_get_window (pragha); const gchar *authors[] = { - "sujith ( m.sujith@gmail.com )", - "matias ( mati86dl@gmail.com )", - NULL}; + "Matias De lellis ", + NULL + }; gtk_show_about_dialog(GTK_WINDOW(mainwindow), "logo-icon-name", "pragha", "authors", authors, - "translator-credits", _("translator-credits"), "comments", "A lightweight GTK+ music player", - "copyright", "(C) 2007-2009 Sujith\n(C) 2009-2015 Matias", + "copyright", "(C) 2009-2019 Matias \n Consonance (C) 2007-2009 Sujith", "license-type", GTK_LICENSE_GPL_3_0, "name", PACKAGE_NAME, "version", PACKAGE_VERSION, @@ -587,6 +588,19 @@ } static void +pragha_library_pane_addto_playlist_and_play (PraghaLibraryPane *library, PraghaApplication *pragha) +{ + GList *list = NULL; + list = pragha_library_pane_get_mobj_list (library); + if (list) { + pragha_playlist_append_mobj_list(pragha->playlist, list); + pragha_playlist_activate_unique_mobj(pragha->playlist, g_list_first(list)->data); + + g_list_free(list); + } +} + +static void pragha_playlist_update_change_tags (PraghaPlaylist *playlist, gint changed, PraghaMusicobject *mobj, PraghaApplication *pragha) { PraghaBackend *backend; @@ -647,8 +661,8 @@ artist = pragha_musicobject_get_artist (mobj); album = pragha_musicobject_get_album (mobj); - - album_art_path = pragha_art_cache_get_uri (cache, artist, album); + + album_art_path = pragha_art_cache_get_album_uri (cache, artist, album); if (album_art_path) { toolbar = pragha_application_get_toolbar (pragha); @@ -666,13 +680,64 @@ } static void +pragha_application_provider_want_update (PraghaDatabaseProvider *provider, + gint provider_id, + PraghaApplication *pragha) +{ + PraghaDatabase *database; + PraghaScanner *scanner; + PraghaPreparedStatement *statement; + const gchar *sql, *provider_type = NULL; + + sql = "SELECT name FROM provider_type WHERE id IN (SELECT type FROM provider WHERE id = ?)"; + + database = pragha_application_get_database (pragha); + statement = pragha_database_create_statement (database, sql); + pragha_prepared_statement_bind_int (statement, 1, provider_id); + if (pragha_prepared_statement_step (statement)) + provider_type = pragha_prepared_statement_get_string (statement, 0); + + if (g_ascii_strcasecmp (provider_type, "local") == 0) + { + scanner = pragha_application_get_scanner (pragha); + pragha_scanner_update_library (scanner); + } + pragha_prepared_statement_free (statement); +} + +static void +pragha_application_provider_want_upgrade (PraghaDatabaseProvider *provider, + gint provider_id, + PraghaApplication *pragha) +{ + PraghaDatabase *database; + PraghaScanner *scanner; + PraghaPreparedStatement *statement; + const gchar *sql, *provider_type = NULL; + + sql = "SELECT name FROM provider_type WHERE id IN (SELECT type FROM provider WHERE id = ?)"; + + database = pragha_application_get_database (pragha); + statement = pragha_database_create_statement (database, sql); + pragha_prepared_statement_bind_int (statement, 1, provider_id); + if (pragha_prepared_statement_step (statement)) + provider_type = pragha_prepared_statement_get_string (statement, 0); + + if (g_ascii_strcasecmp (provider_type, "local") == 0) + { + scanner = pragha_application_get_scanner (pragha); + pragha_scanner_scan_library (scanner); + } + pragha_prepared_statement_free (statement); +} + +static void pragha_need_restart_cb (PraghaPreferences *preferences, PraghaApplication *pragha) { GtkWidget *infobar = pragha_info_bar_need_restart (pragha); pragha_window_add_widget_to_infobox (pragha, infobar); } -#if GTK_CHECK_VERSION (3, 12, 0) static void pragha_system_titlebar_changed_cb (PraghaPreferences *preferences, GParamSpec *pspec, PraghaApplication *pragha) { @@ -732,7 +797,6 @@ } g_object_unref(toolbar); } -#endif static void @@ -813,12 +877,24 @@ return pragha->toolbar; } +GtkWidget * +pragha_application_get_overlay (PraghaApplication *pragha) +{ + return pragha->overlay; +} + PraghaSidebar * pragha_application_get_first_sidebar (PraghaApplication *pragha) { return pragha->sidebar1; } +GtkWidget * +pragha_application_get_main_stack (PraghaApplication *pragha) +{ + return pragha->main_stack; +} + PraghaSidebar * pragha_application_get_second_sidebar (PraghaApplication *pragha) { @@ -913,7 +989,9 @@ pragha->menu_ui = pragha_gmenu_toolbar_new (pragha); pragha->toolbar = pragha_toolbar_new (); pragha->infobox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + pragha->overlay = gtk_overlay_new (); pragha->pane1 = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL); + pragha->main_stack = gtk_stack_new (); pragha->pane2 = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL); pragha->sidebar1 = pragha_sidebar_new (); pragha->sidebar2 = pragha_sidebar_new (); @@ -971,6 +1049,10 @@ g_object_unref (pragha->menu_ui_manager); pragha->menu_ui_manager = NULL; } + if (pragha->menu_ui) { + g_object_unref (pragha->menu_ui); + pragha->menu_ui = NULL; + } /* Save Preferences and database. */ @@ -978,6 +1060,10 @@ g_object_unref (pragha->preferences); pragha->preferences = NULL; } + if (pragha->provider) { + g_object_unref (pragha->provider); + pragha->provider = NULL; + } if (pragha->cdbase) { g_object_unref (pragha->cdbase); pragha->cdbase = NULL; @@ -993,6 +1079,7 @@ PraghaPlaylist *playlist; const gchar *version = NULL; const gchar *desktop = NULL; + gint playlist_id = 0; const GBindingFlags binding_flags = G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL; @@ -1011,10 +1098,21 @@ } version = pragha_preferences_get_installed_version (pragha->preferences); - if (string_is_not_empty (version) && (g_ascii_strcasecmp (version, "1.3.1") < 0)) { + if (string_is_not_empty (version) && (g_ascii_strcasecmp (version, "1.3.90") < 0)) { + CDEBUG(DBG_INFO, "Compatibilize database to new version."); pragha_database_compatibilize_version (pragha->cdbase); } + playlist_id = pragha_database_find_playlist (pragha->cdbase, _("Favorites")); + if (playlist_id == 0) + pragha_database_add_new_playlist (pragha->cdbase, _("Favorites")); + + pragha->provider = pragha_database_provider_get (); + g_signal_connect (pragha->provider, "want-upgrade", + G_CALLBACK(pragha_application_provider_want_upgrade), pragha); + g_signal_connect (pragha->provider, "want-update", + G_CALLBACK(pragha_application_provider_want_update), pragha); + pragha->enum_map = pragha_music_enum_get (); g_signal_connect (pragha->enum_map, "enum-removed", G_CALLBACK(pragha_enum_map_removed_handler), pragha); @@ -1035,9 +1133,9 @@ G_CALLBACK(pragha_backend_tags_changed), pragha); g_signal_connect (pragha->backend, "error", - G_CALLBACK(gui_backend_error_show_dialog_cb), pragha); - g_signal_connect (pragha->backend, "error", G_CALLBACK(gui_backend_error_update_current_playlist_cb), pragha); + g_signal_connect (pragha->backend, "error", + G_CALLBACK(pragha_backend_finished_error), pragha); g_signal_connect (pragha->backend, "notify::state", G_CALLBACK (pragha_menubar_update_playback_state_cb), pragha); @@ -1066,6 +1164,8 @@ G_CALLBACK(pragha_playback_edit_current_track), pragha); g_signal_connect (toolbar, "track-progress-activated", G_CALLBACK(pragha_playback_seek_fraction), pragha); + g_signal_connect (toolbar, "favorite-toggle", + G_CALLBACK(pragha_playback_toogle_favorite), pragha); playlist = pragha->playlist; g_signal_connect (playlist, "playlist-set-track", @@ -1075,14 +1175,16 @@ g_signal_connect (playlist, "playlist-changed", G_CALLBACK(pragha_playlist_update_statusbar_playtime), pragha); pragha_playlist_update_statusbar_playtime (playlist, pragha); - + g_signal_connect (pragha->library, "library-append-playlist", G_CALLBACK(pragha_library_pane_append_tracks), pragha); g_signal_connect (pragha->library, "library-replace-playlist", G_CALLBACK(pragha_library_pane_replace_tracks), pragha); g_signal_connect (pragha->library, "library-replace-playlist-and-play", G_CALLBACK(pragha_library_pane_replace_tracks_and_play), pragha); - + g_signal_connect (pragha->library, "library-addto-playlist-and-play", + G_CALLBACK(pragha_library_pane_addto_playlist_and_play), pragha); + g_signal_connect (G_OBJECT(pragha->mainwindow), "window-state-event", G_CALLBACK(pragha_toolbar_window_state_event), toolbar); g_signal_connect (G_OBJECT(toolbar), "notify::timer-remaining-mode", @@ -1111,10 +1213,8 @@ g_signal_connect (pragha->preferences, "NeedRestart", G_CALLBACK (pragha_need_restart_cb), pragha); -#if GTK_CHECK_VERSION (3, 12, 0) g_signal_connect (pragha->preferences, "notify::system-titlebar", G_CALLBACK (pragha_system_titlebar_changed_cb), pragha); -#endif pragha->sidebar2_binding = g_object_bind_property (pragha->preferences, "secondary-lateral-panel", @@ -1282,39 +1382,7 @@ pragha_application_new () { return g_object_new (PRAGHA_TYPE_APPLICATION, - "application-id", "org.pragha", + "application-id", "io.github.pragha_music_player", "flags", G_APPLICATION_HANDLES_COMMAND_LINE | G_APPLICATION_HANDLES_OPEN, NULL); } - -gint main(gint argc, gchar *argv[]) -{ - PraghaApplication *pragha; - int status; -#ifdef DEBUG - g_print ("debug enabled\n"); - pragha_main_thread = g_thread_self (); -#endif - debug_level = 0; - - /* setup translation domain */ - setlocale (LC_ALL, ""); - bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - textdomain (GETTEXT_PACKAGE); - - /* Force unicode to taglib. */ - taglib_set_strings_unicode(TRUE); - taglib_set_string_management_enabled(FALSE); - - /* Setup application name and pulseaudio role */ - g_set_application_name(_("Pragha Music Player")); - g_setenv("PULSE_PROP_media.role", "audio", TRUE); - - pragha = pragha_application_new (); - status = g_application_run (G_APPLICATION (pragha), argc, argv); - g_object_run_dispose (G_OBJECT (pragha)); - g_object_unref (pragha); - - return status; -} diff -Nru pragha-1.3.3/src/pragha-database.c pragha-1.3.992/src/pragha-database.c --- pragha-1.3.3/src/pragha-database.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-database.c 2019-07-10 18:35:14.000000000 +0000 @@ -1,18 +1,18 @@ /*************************************************************************/ -/* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ -/* Copyright (C) 2012-2013 Pavel Vasin */ -/* */ +/* Copyright (C) 2007-2009 sujith */ +/* Copyright (C) 2009-2019 matias */ +/* Copyright (C) 2012-2013 Pavel Vasin */ +/* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ /* You should have received a copy of the GNU General Public License */ /* along with this program. If not, see . */ /*************************************************************************/ @@ -31,8 +31,6 @@ #include "pragha-utils.h" #include "pragha-debug.h" -G_DEFINE_TYPE(PraghaDatabase, pragha_database, G_TYPE_OBJECT) - struct _PraghaDatabasePrivate { sqlite3 *sqlitedb; @@ -40,8 +38,9 @@ gboolean successfully; }; +G_DEFINE_TYPE_WITH_PRIVATE (PraghaDatabase, pragha_database, G_TYPE_OBJECT) + enum { - SIGNAL_TRACKS_CHANGED, SIGNAL_PLAYLISTS_CHANGED, LAST_SIGNAL }; @@ -141,6 +140,39 @@ } gint +pragha_database_find_provider (PraghaDatabase *database, const gchar *provider) +{ + PraghaPreparedStatement *statement; + gint provider_id = 0; + + const gchar *sql = "SELECT id FROM PROVIDER WHERE name = ?"; + + statement = pragha_database_create_statement (database, sql); + pragha_prepared_statement_bind_string (statement, 1, provider); + if (pragha_prepared_statement_step (statement)) + provider_id = pragha_prepared_statement_get_int (statement, 0); + pragha_prepared_statement_free (statement); + return provider_id; +} + +gint +pragha_database_find_provider_type (PraghaDatabase *database, const gchar *provider_type) +{ + PraghaPreparedStatement *statement; + gint provider_type_id = 0; + + const gchar *sql = "SELECT id FROM PROVIDER_TYPE WHERE name = ?"; + + statement = pragha_database_create_statement (database, sql); + pragha_prepared_statement_bind_string (statement, 1, provider_type); + if (pragha_prepared_statement_step (statement)) + provider_type_id = pragha_prepared_statement_get_int (statement, 0); + pragha_prepared_statement_free (statement); + + return provider_type_id; +} + +gint pragha_database_find_mime_type (PraghaDatabase *database, const gchar *mime_type) { gint mime_type_id = 0; @@ -257,6 +289,21 @@ } gint +pragha_database_add_new_provider_type (PraghaDatabase *database, const gchar *provider_type) +{ + PraghaPreparedStatement *statement; + + const gchar *sql = "INSERT INTO PROVIDER_TYPE (name) VALUES (?)"; + + statement = pragha_database_create_statement (database, sql); + pragha_prepared_statement_bind_string (statement, 1, provider_type); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + + return pragha_database_find_provider_type (database, provider_type); +} + +gint pragha_database_add_new_mime_type (PraghaDatabase *database, const gchar *mime_type) { const gchar *sql = "INSERT INTO MIME_TYPE (name) VALUES (?)"; @@ -372,6 +419,20 @@ return pragha_database_find_playlist (database, playlist); } +gboolean +pragha_database_playlist_has_track (PraghaDatabase *database, gint playlist_id, const gchar *file) +{ + gint count = 0; + const gchar *sql = "SELECT COUNT() FROM PLAYLIST_TRACKS WHERE playlist = ? AND file = ?"; + PraghaPreparedStatement *statement = pragha_database_create_statement (database, sql); + pragha_prepared_statement_bind_int (statement, 1, playlist_id); + pragha_prepared_statement_bind_string (statement, 2, file); + if (pragha_prepared_statement_step (statement)) + count = pragha_prepared_statement_get_int (statement, 0); + pragha_prepared_statement_free (statement); + return count > 0; +} + void pragha_database_add_playlist_track (PraghaDatabase *database, gint playlist_id, const gchar *file) { @@ -383,6 +444,17 @@ pragha_prepared_statement_free (statement); } +void +pragha_database_delete_playlist_track (PraghaDatabase *database, gint playlist_id, const gchar *file) +{ + const gchar *sql = "DELETE FROM PLAYLIST_TRACKS WHERE file = ? AND playlist = ?"; + PraghaPreparedStatement *statement = pragha_database_create_statement (database, sql); + pragha_prepared_statement_bind_string (statement, 1, file); + pragha_prepared_statement_bind_int (statement, 2, playlist_id); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); +} + gint pragha_database_add_new_radio (PraghaDatabase *database, const gchar *radio) { @@ -566,6 +638,7 @@ static void pragha_database_add_new_track (PraghaDatabase *database, gint location_id, + gint provider_id, gint mime_type_id, gint artist_id, gint album_id, @@ -581,6 +654,7 @@ { const gchar *sql = "INSERT INTO TRACK (" "location, " + "provider, " "file_type, " "track_no, " "artist, " @@ -594,22 +668,23 @@ "channels, " "title) " "VALUES " - "(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; + "(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; PraghaPreparedStatement *statement = pragha_database_create_statement (database, sql); pragha_prepared_statement_bind_int (statement, 1, location_id); - pragha_prepared_statement_bind_int (statement, 2, mime_type_id); - pragha_prepared_statement_bind_int (statement, 3, track_no); - pragha_prepared_statement_bind_int (statement, 4, artist_id); - pragha_prepared_statement_bind_int (statement, 5, album_id); - pragha_prepared_statement_bind_int (statement, 6, genre_id); - pragha_prepared_statement_bind_int (statement, 7, year_id); - pragha_prepared_statement_bind_int (statement, 8, comment_id); - pragha_prepared_statement_bind_int (statement, 9, bitrate); - pragha_prepared_statement_bind_int (statement, 10, samplerate); - pragha_prepared_statement_bind_int (statement, 11, length); - pragha_prepared_statement_bind_int (statement, 12, channels); - pragha_prepared_statement_bind_string (statement, 13, title); + pragha_prepared_statement_bind_int (statement, 2, provider_id); + pragha_prepared_statement_bind_int (statement, 3, mime_type_id); + pragha_prepared_statement_bind_int (statement, 4, track_no); + pragha_prepared_statement_bind_int (statement, 5, artist_id); + pragha_prepared_statement_bind_int (statement, 6, album_id); + pragha_prepared_statement_bind_int (statement, 7, genre_id); + pragha_prepared_statement_bind_int (statement, 8, year_id); + pragha_prepared_statement_bind_int (statement, 9, comment_id); + pragha_prepared_statement_bind_int (statement, 10, bitrate); + pragha_prepared_statement_bind_int (statement, 11, samplerate); + pragha_prepared_statement_bind_int (statement, 12, length); + pragha_prepared_statement_bind_int (statement, 13, channels); + pragha_prepared_statement_bind_string (statement, 14, title); pragha_prepared_statement_step (statement); pragha_prepared_statement_free (statement); } @@ -617,17 +692,23 @@ void pragha_database_add_new_musicobject (PraghaDatabase *database, PraghaMusicobject *mobj) { - const gchar *file, *mime_type, *artist, *album, *genre, *comment; - gint location_id = 0, mime_type_id = 0, artist_id = 0, album_id = 0, genre_id = 0, year_id = 0, comment_id; + const gchar *file, *provider, *mime_type, *artist, *album, *genre, *comment; + gint location_id = 0, provider_id = 0, mime_type_id = 0, artist_id = 0, album_id = 0, genre_id = 0, year_id = 0, comment_id; - if (mobj) { + if (G_LIKELY(mobj)) { file = pragha_musicobject_get_file (mobj); + provider = pragha_musicobject_get_provider (mobj); mime_type = pragha_musicobject_get_mime_type (mobj); artist = pragha_musicobject_get_artist (mobj); album = pragha_musicobject_get_album (mobj); genre = pragha_musicobject_get_genre (mobj); comment = pragha_musicobject_get_comment (mobj); + /* If not have an associated provider not be stored in the database. */ + + if ((provider_id = pragha_database_find_provider (database, provider)) == 0) + return; + /* Write location */ if ((location_id = pragha_database_find_location (database, file)) == 0) @@ -667,6 +748,7 @@ pragha_database_add_new_track (database, location_id, + provider_id, mime_type_id, artist_id, album_id, @@ -885,6 +967,7 @@ pragha_database_exec_query (database, "DELETE FROM GENRE WHERE id NOT IN (SELECT genre FROM TRACK);"); pragha_database_exec_query (database, "DELETE FROM YEAR WHERE id NOT IN (SELECT year FROM TRACK);"); pragha_database_exec_query (database, "DELETE FROM COMMENT WHERE id NOT IN (SELECT comment FROM TRACK);"); + pragha_database_exec_query (database, "DELETE FROM PLAYLIST WHERE id NOT IN (SELECT playlist FROM PLAYLIST_TRACKS)"); } static gint @@ -927,12 +1010,13 @@ gint i; const gchar *queries[] = { - "PRAGMA user_version=131", + "PRAGMA user_version=140", "PRAGMA synchronous=OFF", "CREATE TABLE IF NOT EXISTS TRACK " "(location INT PRIMARY KEY," + "provider INT," "track_no INT," "artist INT," "album INT," @@ -951,6 +1035,29 @@ "name TEXT," "UNIQUE(name));", + "CREATE TABLE IF NOT EXISTS CACHE " + "(id INTEGER PRIMARY KEY," + "name TEXT," + "size INT," + "playcount INT," + "timestamp INT," + "UNIQUE(name));", + + "CREATE TABLE IF NOT EXISTS PROVIDER " + "(id INTEGER PRIMARY KEY," + "name VARCHAR(255)," + "visible BOOLEAN NOT NULL CHECK (visible IN (0,1))," + "ignore BOOLEAN NOT NULL CHECK (ignore IN (0,1))," + "type INT," + "friendly_name TEXT," + "icon_name TEXT," + "UNIQUE(name));", + + "CREATE TABLE IF NOT EXISTS PROVIDER_TYPE " + "(id INTEGER PRIMARY KEY," + "name VARCHAR(255)," + "UNIQUE(name));", + "CREATE TABLE IF NOT EXISTS MIME_TYPE " "(id INTEGER PRIMARY KEY," "name VARCHAR(255)," @@ -1021,45 +1128,34 @@ } /** - * pragha_database_change_tracks_done: - * - */ -void -pragha_database_change_tracks_done(PraghaDatabase *database) -{ - g_return_if_fail(PRAGHA_IS_DATABASE(database)); - - g_signal_emit (database, signals[SIGNAL_TRACKS_CHANGED], 0); -} - -/** * pragha_database_compatibilize_version: * */ void pragha_database_compatibilize_version (PraghaDatabase *database) { + gboolean success = TRUE; gint i; - const gchar *mime_types[] = { - "audio/x-wav", - "audio/mpeg", - "audio/x-flac", - "audio/ogg", - "audio/x-ms-wma", - "audio/x-m4a", - "audio/ape", - "audio/x-mod" + const gchar *queries[] = { + "DROP TABLE TRACK", + "DROP TABLE LOCATION", + "DROP TABLE ARTIST", + "DROP TABLE ALBUM", + "DROP TABLE GENRE", + "DROP TABLE YEAR", + "DROP TABLE COMMENT", + "DROP TABLE MIME_TYPE" }; - const gchar *sql = "UPDATE TRACK SET file_type = file_type + 1"; - - for (i = 0; i < G_N_ELEMENTS(mime_types); i++) { - if (!pragha_database_find_mime_type (database, mime_types[i])) - pragha_database_add_new_mime_type (database, mime_types[i]); + for (i = 0; i < G_N_ELEMENTS(queries); i++) { + if (!pragha_database_exec_query (database, queries[i])) + success = FALSE; } + if (success && !pragha_database_init_schema (database)) + success = FALSE; - pragha_database_exec_query (database, sql); + database->priv->successfully = success; } gint @@ -1138,16 +1234,6 @@ NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); - - signals[SIGNAL_TRACKS_CHANGED] = g_signal_new ("TracksChanged", - G_TYPE_FROM_CLASS (object_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaDatabaseClass, tracks_change), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); - - g_type_class_add_private(object_class, sizeof(PraghaDatabasePrivate)); } static void diff -Nru pragha-1.3.3/src/pragha-database.h pragha-1.3.992/src/pragha-database.h --- pragha-1.3.3/src/pragha-database.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-database.h 2019-03-12 12:47:29.000000000 +0000 @@ -1,16 +1,18 @@ /*************************************************************************/ -/* Copyright (C) 2013 matias */ -/* */ +/* Copyright (C) 2007-2009 sujith */ +/* Copyright (C) 2009-2019 matias */ +/* Copyright (C) 2012-2013 Pavel Vasin */ +/* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ /* You should have received a copy of the GNU General Public License */ /* along with this program. If not, see . */ /*************************************************************************/ @@ -71,6 +73,12 @@ pragha_database_find_location (PraghaDatabase *database, const gchar *location); gint +pragha_database_find_provider (PraghaDatabase *database, const gchar *provider); + +gint +pragha_database_find_provider_type (PraghaDatabase *database, const gchar *provider_type); + +gint pragha_database_find_mime_type (PraghaDatabase *database, const gchar *mime_type); gint @@ -98,6 +106,9 @@ pragha_database_add_new_location (PraghaDatabase *database, const gchar *location); gint +pragha_database_add_new_provider_type (PraghaDatabase *database, const gchar *provider_type); + +gint pragha_database_add_new_mime_type (PraghaDatabase *database, const gchar *mime_type); gint @@ -121,6 +132,12 @@ void pragha_database_add_playlist_track (PraghaDatabase *database, gint playlist_id, const gchar *file); +gboolean +pragha_database_playlist_has_track (PraghaDatabase *database, gint playlist_id, const gchar *file); + +void +pragha_database_delete_playlist_track (PraghaDatabase *database, gint playlist_id, const gchar *file); + gint pragha_database_add_new_radio (PraghaDatabase *database, const gchar *radio); @@ -186,8 +203,6 @@ void pragha_database_change_playlists_done(PraghaDatabase *database); -void -pragha_database_change_tracks_done(PraghaDatabase *database); void pragha_database_compatibilize_version (PraghaDatabase *database); @@ -202,7 +217,6 @@ pragha_database_get_last_error (PraghaDatabase *database); PraghaDatabase* pragha_database_get (void); -GType pragha_database_get_type (void) G_GNUC_CONST; G_END_DECLS diff -Nru pragha-1.3.3/src/pragha-database-provider.c pragha-1.3.992/src/pragha-database-provider.c --- pragha-1.3.3/src/pragha-database-provider.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-database-provider.c 2019-03-12 12:49:37.000000000 +0000 @@ -0,0 +1,546 @@ +/*************************************************************************/ +/* Copyright (C) 2015-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#include "pragha-database.h" +#include "pragha-prepared-statement-private.h" +#include "pragha-provider.h" + +#include "pragha-database-provider.h" + +struct _PraghaDatabaseProviderPrivate +{ + PraghaDatabase *database; +}; + +G_DEFINE_TYPE_WITH_PRIVATE(PraghaDatabaseProvider, pragha_database_provider, G_TYPE_OBJECT) + +enum { + SIGNAL_WANT_UPDATE, + SIGNAL_WANT_UPGRADE, + SIGNAL_WANT_REMOVE, + SIGNAL_UPDATE_DONE, + LAST_SIGNAL +}; + +static int signals[LAST_SIGNAL] = { 0 }; + +gchar * +pragha_database_provider_get_kind_from_id (PraghaDatabaseProvider *database_provider, + gint kind_id); + + +/* Provider */ + +void +pragha_provider_add_new (PraghaDatabaseProvider *provider, + const gchar *name, + const gchar *type, + const gchar *friendly_name, + const gchar *icon_name) +{ + gint provider_type_id = 0; + PraghaPreparedStatement *statement; + + PraghaDatabaseProviderPrivate *priv = provider->priv; + + const gchar *sql = "INSERT INTO PROVIDER (name, type, friendly_name, icon_name, visible, ignore) VALUES (?, ?, ?, ?, ?, ?)"; + + if ((provider_type_id = pragha_database_find_provider_type (priv->database, type)) == 0) + provider_type_id = pragha_database_add_new_provider_type (priv->database, type); + + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_bind_string (statement, 1, name); + pragha_prepared_statement_bind_int (statement, 2, provider_type_id); + pragha_prepared_statement_bind_string (statement, 3, friendly_name); + pragha_prepared_statement_bind_string (statement, 4, icon_name); + pragha_prepared_statement_bind_int (statement, 5, 0); // No visible by default. + pragha_prepared_statement_bind_int (statement, 6, 0); // No ignore by default. + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); +} + +void +pragha_provider_remove (PraghaDatabaseProvider *provider, + const gchar *name) +{ + PraghaPreparedStatement *statement; + gint provider_id = 0; + const gchar *sql; + + PraghaDatabaseProviderPrivate *priv = provider->priv; + + if ((provider_id = pragha_database_find_provider (priv->database, name)) == 0) + return; + + /* Delete all entries from PLAYLIST_TRACKS which match provider */ + + sql = "DELETE FROM PLAYLIST_TRACKS WHERE file IN (SELECT name FROM location WHERE id IN (SELECT location FROM TRACK WHERE provider = ?))"; + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_bind_int (statement, 1, provider_id); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + + /* Delete all tracks of provider */ + + sql = "DELETE FROM TRACK WHERE provider = ?"; + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_bind_int (statement, 1, provider_id); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + + /* Delete the location entries */ + + sql = "DELETE FROM LOCATION WHERE id NOT IN (SELECT location FROM TRACK)"; + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + + /* Delete Provider */ + + sql = "DELETE FROM PROVIDER WHERE id = ?"; + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_bind_int (statement, 1, provider_id); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + + /* Now flush unused artists, albums, genres, years */ + + pragha_database_flush_stale_entries (priv->database); +} + +void +pragha_provider_forget_songs (PraghaDatabaseProvider *provider, + const gchar *name) +{ + PraghaPreparedStatement *statement; + gint provider_id = 0; + const gchar *sql; + + PraghaDatabaseProviderPrivate *priv = provider->priv; + + if ((provider_id = pragha_database_find_provider (priv->database, name)) == 0) + return; + + /* Delete all tracks of provider */ + + sql = "DELETE FROM TRACK WHERE provider = ?"; + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_bind_int (statement, 1, provider_id); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + + /* Delete the location entries */ + + sql = "DELETE FROM LOCATION WHERE id NOT IN (SELECT location FROM TRACK)"; + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + + /* Delete all entries from PLAYLIST_TRACKS which match given dir */ + + sql = "DELETE FROM PLAYLIST_TRACKS WHERE file NOT IN (SELECT name FROM LOCATION)"; + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + + /* Now flush unused artists, albums, genres, years */ + + pragha_database_flush_stale_entries (priv->database); +} + +GSList * +pragha_provider_get_list (PraghaDatabaseProvider *provider) +{ + PraghaPreparedStatement *statement; + GSList *list = NULL; + + PraghaDatabaseProviderPrivate *priv = provider->priv; + + const gchar *sql = "SELECT name FROM PROVIDER"; + + statement = pragha_database_create_statement (priv->database, sql); + while (pragha_prepared_statement_step (statement)) { + const gchar *name = pragha_prepared_statement_get_string (statement, 0); + list = g_slist_append (list, g_strdup(name)); + } + + pragha_prepared_statement_free (statement); + + return list; +} + +GSList * +pragha_provider_get_visible_list (PraghaDatabaseProvider *provider, gboolean visibles) +{ + PraghaPreparedStatement *statement; + GSList *list = NULL; + + PraghaDatabaseProviderPrivate *priv = provider->priv; + + const gchar *sql = "SELECT name FROM PROVIDER WHERE visible = ?"; + + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_bind_int (statement, 1, + visibles ? 1 : 0); + while (pragha_prepared_statement_step (statement)) { + const gchar *name = pragha_prepared_statement_get_string (statement, 0); + list = g_slist_append (list, g_strdup(name)); + } + + pragha_prepared_statement_free (statement); + + return list; +} + +GSList * +pragha_provider_get_handled_list (PraghaDatabaseProvider *provider) +{ + PraghaPreparedStatement *statement; + GSList *list = NULL; + + PraghaDatabaseProviderPrivate *priv = provider->priv; + + const gchar *sql = "SELECT name FROM PROVIDER WHERE id IN (SELECT provider FROM TRACK)"; + + statement = pragha_database_create_statement (priv->database, sql); + while (pragha_prepared_statement_step (statement)) { + const gchar *name = pragha_prepared_statement_get_string (statement, 0); + list = g_slist_append (list, g_strdup(name)); + } + + pragha_prepared_statement_free (statement); + + return list; +} + +GSList * +pragha_database_provider_get_list_by_type (PraghaDatabaseProvider *provider, + const gchar *provider_type) +{ + PraghaPreparedStatement *statement; + GSList *list = NULL; + + PraghaDatabaseProviderPrivate *priv = provider->priv; + + const gchar *sql = "SELECT name FROM PROVIDER WHERE type = ? AND ignore = ?"; + + statement = pragha_database_create_statement (priv->database, sql); + + pragha_prepared_statement_bind_int (statement, 1, + pragha_database_find_provider_type (priv->database, provider_type)); + pragha_prepared_statement_bind_int (statement, 2, 0); + + while (pragha_prepared_statement_step (statement)) { + const gchar *name = pragha_prepared_statement_get_string (statement, 0); + list = g_slist_append (list, g_strdup(name)); + } + pragha_prepared_statement_free (statement); + + return list; +} + +GSList * +pragha_provider_get_handled_list_by_type (PraghaDatabaseProvider *provider, + const gchar *provider_type) +{ + PraghaPreparedStatement *statement; + GSList *list = NULL; + + PraghaDatabaseProviderPrivate *priv = provider->priv; + + const gchar *sql = "SELECT name FROM PROVIDER WHERE id IN (SELECT provider FROM TRACK) AND type = ? AND ignore = ?"; + + statement = pragha_database_create_statement (priv->database, sql); + + pragha_prepared_statement_bind_int (statement, 1, + pragha_database_find_provider_type (priv->database, provider_type)); + pragha_prepared_statement_bind_int (statement, 2, 0); + + while (pragha_prepared_statement_step (statement)) { + const gchar *name = pragha_prepared_statement_get_string (statement, 0); + list = g_slist_append (list, g_strdup(name)); + } + + pragha_prepared_statement_free (statement); + + return list; +} + +GSList * +pragha_database_provider_get_list (PraghaDatabaseProvider *database_provider) +{ + PraghaPreparedStatement *statement; + PraghaProvider *provider; + GSList *list = NULL; + + PraghaDatabaseProviderPrivate *priv = database_provider->priv; + + const gchar *sql = "SELECT name, type, friendly_name, icon_name, visible, ignore FROM PROVIDER"; + + statement = pragha_database_create_statement (priv->database, sql); + while (pragha_prepared_statement_step (statement)) { + const gchar *name = pragha_prepared_statement_get_string (statement, 0); + gchar *kind = pragha_database_provider_get_kind_from_id (database_provider, + pragha_prepared_statement_get_int (statement, 1)); + const gchar *friendly_name = pragha_prepared_statement_get_string (statement, 2); + const gchar *icon_name = pragha_prepared_statement_get_string (statement, 3); + gint visible = pragha_prepared_statement_get_int (statement, 4); + gint ignore = pragha_prepared_statement_get_int (statement, 5); + + provider = pragha_provider_new (name, kind, friendly_name, icon_name, + visible, + ignore); + list = g_slist_append (list, provider); + g_free(kind); + } + pragha_prepared_statement_free (statement); + + return list; +} + + +void +pragha_provider_set_visible (PraghaDatabaseProvider *provider, + const gchar *name, + gboolean visible) +{ + PraghaPreparedStatement *statement; + PraghaDatabaseProviderPrivate *priv = provider->priv; + + const gchar *sql = "UPDATE PROVIDER SET visible = ? WHERE name = ?"; + + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_bind_int (statement, 1, visible ? 1 : 0); + pragha_prepared_statement_bind_string (statement, 2, name); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); +} + +void +pragha_provider_set_ignore (PraghaDatabaseProvider *provider, + const gchar *name, + gboolean ignore) +{ + PraghaPreparedStatement *statement; + PraghaDatabaseProviderPrivate *priv = provider->priv; + + const gchar *sql = "UPDATE PROVIDER SET ignore = ? WHERE name = ?"; + + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_bind_int (statement, 1, ignore ? 1 : 0); + pragha_prepared_statement_bind_string (statement, 2, name); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); +} + +gchar * +pragha_database_provider_get_friendly_name (PraghaDatabaseProvider *provider, const gchar *name) +{ + PraghaPreparedStatement *statement; + PraghaDatabaseProviderPrivate *priv = provider->priv; + gchar *friendly_name = NULL; + + const gchar *sql = "SELECT friendly_name FROM PROVIDER WHERE name = ?"; + + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_bind_string (statement, 1, name); + pragha_prepared_statement_step (statement); + friendly_name = g_strdup(pragha_prepared_statement_get_string (statement, 0)); + pragha_prepared_statement_free (statement); + + return friendly_name; +} + +gchar * +pragha_database_provider_get_icon_name (PraghaDatabaseProvider *provider, const gchar *name) +{ + PraghaPreparedStatement *statement; + PraghaDatabaseProviderPrivate *priv = provider->priv; + gchar *icon_name = NULL; + + const gchar *sql = "SELECT icon_name FROM PROVIDER WHERE name = ?"; + + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_bind_string (statement, 1, name); + pragha_prepared_statement_step (statement); + icon_name = g_strdup(pragha_prepared_statement_get_string (statement, 0)); + pragha_prepared_statement_free (statement); + + return icon_name; +} + +gchar * +pragha_database_provider_get_kind_from_id (PraghaDatabaseProvider *database_provider, + gint kind_id) +{ + PraghaPreparedStatement *statement; + gchar *kind = NULL; + + PraghaDatabaseProviderPrivate *priv = database_provider->priv; + + const gchar *sql = "SELECT name FROM PROVIDER_TYPE WHERE id = ?"; + statement = pragha_database_create_statement (priv->database, sql); + pragha_prepared_statement_bind_int (statement, 1, kind_id); + + pragha_prepared_statement_step (statement); + kind = g_strdup(pragha_prepared_statement_get_string (statement, 0)); + + pragha_prepared_statement_free (statement); + + return kind; +} + +/* + * Signals. + */ + +void +pragha_provider_want_upgrade (PraghaDatabaseProvider *provider, gint provider_id) +{ + g_return_if_fail(PRAGHA_IS_DATABASE_PROVIDER(provider)); + + g_signal_emit (provider, signals[SIGNAL_WANT_UPDATE], 0, provider_id); +} + +void +pragha_provider_want_update (PraghaDatabaseProvider *provider, gint provider_id) +{ + g_return_if_fail(PRAGHA_IS_DATABASE_PROVIDER(provider)); + + g_signal_emit (provider, signals[SIGNAL_WANT_UPDATE], 0, provider_id); +} + +void +pragha_provider_want_remove (PraghaDatabaseProvider *provider, gint provider_id) +{ + g_return_if_fail(PRAGHA_IS_DATABASE_PROVIDER(provider)); + + g_signal_emit (provider, signals[SIGNAL_WANT_UPDATE], 0, provider_id); +} + +void +pragha_provider_update_done (PraghaDatabaseProvider *provider) +{ + g_return_if_fail(PRAGHA_IS_DATABASE_PROVIDER(provider)); + + g_signal_emit (provider, signals[SIGNAL_UPDATE_DONE], 0); +} + + +/* + * PraghaDatabaseProvider implementation. + */ + +static void +pragha_database_provider_dispose (GObject *object) +{ + PraghaDatabaseProvider *provider = PRAGHA_DATABASE_PROVIDER(object); + PraghaDatabaseProviderPrivate *priv = provider->priv; + + if (priv->database) { + g_object_unref (priv->database); + priv->database = NULL; + } + + G_OBJECT_CLASS(pragha_database_provider_parent_class)->dispose(object); +} + +static void +pragha_database_provider_class_init (PraghaDatabaseProviderClass *klass) +{ + GObjectClass *object_class; + + object_class = G_OBJECT_CLASS(klass); + object_class->dispose = pragha_database_provider_dispose; + + signals[SIGNAL_WANT_UPGRADE] = + g_signal_new ("want-upgrade", + G_TYPE_FROM_CLASS (object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaDatabaseProviderClass, want_upgrade), + NULL, NULL, + g_cclosure_marshal_VOID__INT, + G_TYPE_NONE, 1, G_TYPE_INT); + + signals[SIGNAL_WANT_UPDATE] = + g_signal_new ("want-update", + G_TYPE_FROM_CLASS (object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaDatabaseProviderClass, want_update), + NULL, NULL, + g_cclosure_marshal_VOID__INT, + G_TYPE_NONE, 1, G_TYPE_INT); + + signals[SIGNAL_WANT_REMOVE] = + g_signal_new ("want-remove", + G_TYPE_FROM_CLASS (object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaDatabaseProviderClass, want_remove), + NULL, NULL, + g_cclosure_marshal_VOID__INT, + G_TYPE_NONE, 1, G_TYPE_INT); + + signals[SIGNAL_UPDATE_DONE] = + g_signal_new ("update-done", + G_TYPE_FROM_CLASS (object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaDatabaseProviderClass, update_done), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); +} + +static void +pragha_database_provider_init (PraghaDatabaseProvider *provider) +{ + provider->priv = G_TYPE_INSTANCE_GET_PRIVATE(provider, + PRAGHA_TYPE_DATABASE_PROVIDER, + PraghaDatabaseProviderPrivate); + + PraghaDatabaseProviderPrivate *priv = provider->priv; + + /* Database instance */ + + priv->database = pragha_database_get (); +} + +/** + * pragha_database_provider_get: + * + * Queries the global #PraghaDatabaseProvider instance, which is + * shared by all modules. The function automatically takes a + * reference for the caller, so you'll need to call g_object_unref() + * when you're done with it. + * + * Return value: the global #PraghaDatabaseProvider instance. + **/ +PraghaDatabaseProvider * +pragha_database_provider_get (void) +{ + static PraghaDatabaseProvider *provider = NULL; + + if (G_UNLIKELY (provider == NULL)) { + provider = g_object_new(PRAGHA_TYPE_DATABASE_PROVIDER, NULL); + g_object_add_weak_pointer(G_OBJECT (provider), + (gpointer) &provider); + } + else { + g_object_ref (G_OBJECT (provider)); + } + + return provider; +} diff -Nru pragha-1.3.3/src/pragha-database-provider.h pragha-1.3.992/src/pragha-database-provider.h --- pragha-1.3.3/src/pragha-database-provider.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-database-provider.h 2019-03-12 12:49:51.000000000 +0000 @@ -0,0 +1,127 @@ +/*************************************************************************/ +/* Copyright (C) 2015-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_DATABASE_PROVIDER_H +#define PRAGHA_DATABASE_PROVIDER_H + +#include + +G_BEGIN_DECLS + +#define PRAGHA_TYPE_DATABASE_PROVIDER (pragha_database_provider_get_type()) +#define PRAGHA_DATABASE_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_DATABASE_PROVIDER, PraghaDatabaseProvider)) +#define PRAGHA_DATABASE_PROVIDER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_DATABASE_PROVIDER, PraghaDatabaseProvider const)) +#define PRAGHA_DATABASE_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_DATABASE_PROVIDER, PraghaDatabaseProviderClass)) +#define PRAGHA_IS_DATABASE_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_DATABASE_PROVIDER)) +#define PRAGHA_IS_DATABASE_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_DATABASE_PROVIDER)) +#define PRAGHA_DATABASE_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_DATABASE_PROVIDER, PraghaDatabaseProviderClass)) + +typedef struct _PraghaDatabaseProvider PraghaDatabaseProvider; +typedef struct _PraghaDatabaseProviderClass PraghaDatabaseProviderClass; +typedef struct _PraghaDatabaseProviderPrivate PraghaDatabaseProviderPrivate; + +struct _PraghaDatabaseProvider +{ + GObject parent; + + /*< private >*/ + PraghaDatabaseProviderPrivate *priv; +}; + +struct _PraghaDatabaseProviderClass +{ + GObjectClass parent_class; + + void (*want_upgrade) (PraghaDatabaseProvider *provider, gint provider_id); + void (*want_update) (PraghaDatabaseProvider *provider, gint provider_id); + void (*want_remove) (PraghaDatabaseProvider *provider, gint provider_id); + void (*update_done) (PraghaDatabaseProvider *provider); +}; + +/* + * Public api. + */ + +void +pragha_provider_add_new (PraghaDatabaseProvider *provider, + const gchar *name, + const gchar *type, + const gchar *friendly_name, + const gchar *icon_name); + +void +pragha_provider_remove (PraghaDatabaseProvider *provider, + const gchar *name); + +void +pragha_provider_forget_songs (PraghaDatabaseProvider *provider, + const gchar *name); + +GSList * +pragha_provider_get_list (PraghaDatabaseProvider *provider); + +GSList * +pragha_provider_get_visible_list (PraghaDatabaseProvider *provider, gboolean visibles); + +GSList * +pragha_provider_get_handled_list (PraghaDatabaseProvider *provider); + +GSList * +pragha_database_provider_get_list_by_type (PraghaDatabaseProvider *provider, + const gchar *provider_type); + +GSList * +pragha_provider_get_handled_list_by_type (PraghaDatabaseProvider *provider, + const gchar *provider_type); + +GSList * +pragha_database_provider_get_list (PraghaDatabaseProvider *database_provider); + +void +pragha_provider_set_visible (PraghaDatabaseProvider *provider, + const gchar *name, + gboolean visible); + +void +pragha_provider_set_ignore (PraghaDatabaseProvider *provider, + const gchar *name, + gboolean ignore); + +gchar * +pragha_database_provider_get_friendly_name (PraghaDatabaseProvider *provider, const gchar *name); + +gchar * +pragha_database_provider_get_icon_name (PraghaDatabaseProvider *provider, const gchar *name); + +void +pragha_provider_want_upgrade (PraghaDatabaseProvider *provider, gint provider_id); + +void +pragha_provider_want_update (PraghaDatabaseProvider *provider, gint provider_id); + +void +pragha_provider_want_remove (PraghaDatabaseProvider *provider, gint provider_id); + +void +pragha_provider_update_done (PraghaDatabaseProvider *provider); + +PraghaDatabaseProvider * +pragha_database_provider_get (void); + +G_END_DECLS + +#endif /* PRAGHA_DATABASE_PROVIDER_H */ diff -Nru pragha-1.3.3/src/pragha-debug.c pragha-1.3.992/src/pragha-debug.c --- pragha-1.3.3/src/pragha-debug.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-debug.c 2019-08-13 11:42:44.000000000 +0000 @@ -22,6 +22,8 @@ /* Function to save debug on file. */ +gint debug_level; + void pragha_log_to_file (const gchar* log_domain, GLogLevelFlags log_level, diff -Nru pragha-1.3.3/src/pragha-device-client.c pragha-1.3.992/src/pragha-device-client.c --- pragha-1.3.3/src/pragha-device-client.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-device-client.c 2019-08-13 11:42:44.000000000 +0000 @@ -0,0 +1,341 @@ +/*************************************************************************/ +/* Copyright (C) 2014-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#if defined(GETTEXT_PACKAGE) +#include +#else +#include +#endif +#include + +#include "pragha-debug.h" + +#include "pragha-device-client.h" + + +struct _PraghaDeviceClient { + GObject _parent; + + GUdevClient *gudev_client; +}; + +enum { + SIGNAL_DEVICE_ADDED, + SIGNAL_DEVICE_REMOVED, + LAST_SIGNAL +}; + +static int signals[LAST_SIGNAL] = { 0 }; + +G_DEFINE_TYPE(PraghaDeviceClient, pragha_device_client, G_TYPE_OBJECT) + +static const +gchar * gudev_subsystems[] = +{ + "block", + "usb", + NULL, +}; + + +static const gchar * +device_type_name (PraghaDeviceType type) +{ + switch (type) { + case PRAGHA_DEVICE_NONE: + return ("NONE"); + break; + case PRAGHA_DEVICE_MOUNTABLE: + return ("MOUNTABLE"); + break; + case PRAGHA_DEVICE_AUDIO_CD: + return ("AUDIO_CD"); + break; + case PRAGHA_DEVICE_EMPTY_AUDIO_CD: + return ("EMPTY_AUDIO_CD"); + break; + case PRAGHA_DEVICE_MTP: + return ("MTP"); + break; + case PRAGHA_DEVICE_UNKNOWN: + default: + return ("UNKNOWN"); + break; + } +} + + +/* + * Publics functions. + */ + +GtkWidget * +pragha_gudev_dialog_new (GtkWidget *parent, + const gchar *title, + const gchar *icon, + const gchar *primary_text, + const gchar *secondary_text, + const gchar *first_button_text, + gint first_button_response) +{ + GtkWidget *dialog; + GtkWidget *image; + + dialog = gtk_message_dialog_new (GTK_WINDOW(parent), + GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_QUESTION, + GTK_BUTTONS_NONE, + NULL); + + if (title != NULL) + gtk_window_set_title (GTK_WINDOW (dialog), title); + + gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (dialog), primary_text); + + gtk_dialog_add_button (GTK_DIALOG (dialog), _("Ignore"), PRAGHA_DEVICE_RESPONSE_NONE); + if (first_button_text != NULL) + gtk_dialog_add_button (GTK_DIALOG (dialog), first_button_text, first_button_response); + + if(icon != NULL) { + image = gtk_image_new_from_icon_name (icon, GTK_ICON_SIZE_DIALOG); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + gtk_message_dialog_set_image(GTK_MESSAGE_DIALOG (dialog), image); +G_GNUC_END_IGNORE_DEPRECATIONS + } + if (secondary_text != NULL) + gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG (dialog), "%s", secondary_text); + + gtk_dialog_set_default_response (GTK_DIALOG (dialog), PRAGHA_DEVICE_RESPONSE_NONE); + + return dialog; +} + +gint +pragha_gudev_get_property_as_int (GUdevDevice *device, + const gchar *property, + gint base) +{ + const char *strvalue; + + strvalue = g_udev_device_get_property (device, property); + if (strvalue == NULL) { + return 0; + } + + return strtol (strvalue, NULL, base); +} + +/* Identify devices.*/ + +static gint +pragha_gudev_get_device_type (GUdevDevice *device) +{ + const gchar *devtype; + const gchar *id_type; + const gchar *id_fs_usage; + gboolean is_cdrom; + gboolean is_partition; + gboolean is_volume; + guint64 audio_tracks = 0; + guint64 data_tracks = 0; + guint64 is_mtpdevice = 0; + + /* collect general devices information */ + + id_type = g_udev_device_get_property (device, "ID_TYPE"); + + is_cdrom = (g_strcmp0 (id_type, "cd") == 0); + if (is_cdrom) { + if (g_udev_device_get_property_as_boolean (device, "ID_CDROM_MEDIA")) { + audio_tracks = g_udev_device_get_property_as_uint64 (device, "ID_CDROM_MEDIA_TRACK_COUNT_AUDIO"); + data_tracks = g_udev_device_get_property_as_uint64 (device, "ID_CDROM_MEDIA_TRACK_COUNT_DATA"); + + if (audio_tracks > 0) + return PRAGHA_DEVICE_AUDIO_CD; + } + else + return PRAGHA_DEVICE_EMPTY_AUDIO_CD; + } + + devtype = g_udev_device_get_property (device, "DEVTYPE"); + id_fs_usage = g_udev_device_get_property (device, "ID_FS_USAGE"); + + is_partition = (g_strcmp0 (devtype, "partition") == 0); + is_volume = (g_strcmp0 (devtype, "disk") == 0) && (g_strcmp0 (id_fs_usage, "filesystem") == 0); + + if (is_partition || is_volume || data_tracks) + return PRAGHA_DEVICE_MOUNTABLE; + + is_mtpdevice = g_udev_device_get_property_as_uint64 (device, "ID_MTP_DEVICE"); + if (is_mtpdevice) + return PRAGHA_DEVICE_MTP; + + return PRAGHA_DEVICE_UNKNOWN; +} + +/* Functions that manage to "add" "change" and "remove" devices events. */ + +static void +pragha_gudev_device_added (PraghaDeviceClient *client, GUdevDevice *device) +{ + guint devnum = 0, busnum = 0; + PraghaDeviceType device_type = PRAGHA_DEVICE_UNKNOWN; + + devnum = pragha_gudev_get_property_as_int (device, "DEVNUM", 10); + busnum = pragha_gudev_get_property_as_int (device, "BUSNUM", 10); + + if (devnum == 0 || busnum == 0) + return; + + device_type = pragha_gudev_get_device_type (device); + + CDEBUG (DBG_INFO, "Device %s added: %i - %i", device_type_name (device_type), busnum, devnum); + + if (device_type != PRAGHA_DEVICE_UNKNOWN) + g_signal_emit (client, signals[SIGNAL_DEVICE_ADDED], 0, device_type, device); +} + +static void +pragha_gudev_device_changed (PraghaDeviceClient *client, GUdevDevice *device) +{ + guint devnum = 0, busnum = 0; + PraghaDeviceType device_type = PRAGHA_DEVICE_UNKNOWN; + + devnum = pragha_gudev_get_property_as_int (device, "DEVNUM", 10); + busnum = pragha_gudev_get_property_as_int (device, "BUSNUM", 10); + + if (devnum == 0 || busnum == 0) + return; + + device_type = pragha_gudev_get_device_type (device); + + CDEBUG (DBG_INFO, "Device %s changed: %i - %i", device_type_name (device_type), busnum, devnum); + + if (device_type == PRAGHA_DEVICE_AUDIO_CD) { + g_signal_emit (client, signals[SIGNAL_DEVICE_ADDED], 0, device_type, device); + } + else if (device_type == PRAGHA_DEVICE_EMPTY_AUDIO_CD) { + g_signal_emit (client, signals[SIGNAL_DEVICE_REMOVED], 0, PRAGHA_DEVICE_AUDIO_CD, device); + } +} + +static void +pragha_gudev_device_removed (PraghaDeviceClient *client, GUdevDevice *device) +{ + guint devnum = 0, busnum = 0; + PraghaDeviceType device_type = PRAGHA_DEVICE_UNKNOWN; + + devnum = pragha_gudev_get_property_as_int (device, "DEVNUM", 10); + busnum = pragha_gudev_get_property_as_int (device, "BUSNUM", 10); + + if (devnum == 0 || busnum == 0) + return; + + device_type = pragha_gudev_get_device_type (device); + + CDEBUG (DBG_INFO, "Device %s removed: %i - %i", device_type_name (device_type), busnum, devnum); + + // Always emit remove signal since udev does not return enough information to identify the type. + g_signal_emit (client, signals[SIGNAL_DEVICE_REMOVED], 0, device_type, device); +} + +static void +gudev_uevent_cb (GUdevClient *uclient, const char *action, GUdevDevice *device, PraghaDeviceClient *client) +{ + if (g_str_equal(action, "add")) { + pragha_gudev_device_added (client, device); + } + else if (g_str_equal(action, "change")) { + pragha_gudev_device_changed (client, device); + } + else if (g_str_equal (action, "remove")) { + pragha_gudev_device_removed (client, device); + } +} + +/* Pragha device client object */ + +static void +pragha_device_client_dispose (GObject *object) +{ + PraghaDeviceClient *client = PRAGHA_DEVICE_CLIENT (object); + + if (client->gudev_client) { + g_object_unref (client->gudev_client); + client->gudev_client = NULL; + } + + (*G_OBJECT_CLASS (pragha_device_client_parent_class)->dispose) (object); +} + +static void +pragha_device_client_class_init (PraghaDeviceClientClass *klass) +{ + GObjectClass *object_class; + + object_class = G_OBJECT_CLASS(klass); + + object_class->dispose = pragha_device_client_dispose; + + signals[SIGNAL_DEVICE_ADDED] = + g_signal_new ("device-added", + G_TYPE_FROM_CLASS (object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaDeviceClientClass, device_added), + NULL, NULL, + g_cclosure_marshal_VOID__UINT_POINTER, + G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_POINTER); + signals[SIGNAL_DEVICE_REMOVED] = + g_signal_new ("device-removed", + G_TYPE_FROM_CLASS (object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaDeviceClientClass, device_removed), + NULL, NULL, + g_cclosure_marshal_VOID__UINT_POINTER, + G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_POINTER); +} + +static void +pragha_device_client_init (PraghaDeviceClient *device_client) +{ + device_client->gudev_client = g_udev_client_new(gudev_subsystems); + + g_signal_connect (device_client->gudev_client, "uevent", + G_CALLBACK(gudev_uevent_cb), device_client); + +} + +PraghaDeviceClient * +pragha_device_client_get (void) +{ + static PraghaDeviceClient *device_client = NULL; + + if (G_UNLIKELY (device_client == NULL)) { + device_client = g_object_new (PRAGHA_TYPE_DEVICE_CLIENT, NULL); + g_object_add_weak_pointer (G_OBJECT (device_client), + (gpointer) &device_client); + } + else { + g_object_ref (G_OBJECT(device_client)); + } + + return device_client; +} diff -Nru pragha-1.3.3/src/pragha-device-client.h pragha-1.3.992/src/pragha-device-client.h --- pragha-1.3.3/src/pragha-device-client.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-device-client.h 2019-07-17 14:51:39.000000000 +0000 @@ -0,0 +1,91 @@ +/*************************************************************************/ +/* Copyright (C) 2014-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_DEVICE_CLIENT_H +#define PRAGHA_DEVICE_CLIENT_H + +#include +#include +#include + +#include + +G_BEGIN_DECLS + +/* Device types */ + +typedef enum { + PRAGHA_DEVICE_NONE = 0, + PRAGHA_DEVICE_MOUNTABLE, + PRAGHA_DEVICE_AUDIO_CD, + PRAGHA_DEVICE_EMPTY_AUDIO_CD, + PRAGHA_DEVICE_MTP, + PRAGHA_DEVICE_UNKNOWN +} PraghaDeviceType; + +#define PRAGHA_TYPE_DEVICE_CLIENT (pragha_device_client_get_type()) +#define PRAGHA_DEVICE_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_DEVICE_CLIENT, PraghaDeviceClient)) +#define PRAGHA_DEVICE_CLIENT_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_DEVICE_CLIENT, PraghaDeviceClient const)) +#define PRAGHA_DEVICE_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_DEVICE_CLIENT, PraghaDeviceClientClass)) +#define PRAGHA_IS_DEVICE_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_DEVICE_CLIENT)) +#define PRAGHA_IS_DEVICE_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_DEVICE_CLIENT)) +#define PRAGHA_DEVICE_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_DEVICE_CLIENT, PraghaDeviceClientClass)) + +typedef struct _PraghaDeviceClient PraghaDeviceClient; +typedef struct _PraghaDeviceClientClass PraghaDeviceClientClass; + +struct _PraghaDeviceClientClass +{ + GObjectClass parent_class; + void (*device_added) (PraghaDeviceClient *device_client, + PraghaDeviceType device_type, + GUdevDevice *u_device); + void (*device_removed) (PraghaDeviceClient *device_client, + PraghaDeviceType device_type, + GUdevDevice *u_device); +}; + +/* Dialog when add device */ + +enum +{ + PRAGHA_DEVICE_RESPONSE_NONE, + PRAGHA_DEVICE_RESPONSE_PLAY, + PRAGHA_DEVICE_RESPONSE_BROWSE, +}; + +GtkWidget * +pragha_gudev_dialog_new (GtkWidget *parent, + const gchar *title, + const gchar *icon, + const gchar *primary_text, + const gchar *secondary_text, + const gchar *first_button_text, + gint first_button_response); + +gint +pragha_gudev_get_property_as_int (GUdevDevice *device, + const gchar *property, + gint base); + +/* Create a new instance of PraghaDeviceClient* */ + +PraghaDeviceClient *pragha_device_client_get (void); + +G_END_DECLS + +#endif /* PRAGHA_DEVICE_CLIENT_H */ diff -Nru pragha-1.3.3/src/pragha-dnd.c pragha-1.3.992/src/pragha-dnd.c --- pragha-1.3.3/src/pragha-dnd.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-dnd.c 2018-06-21 11:24:11.000000000 +0000 @@ -96,7 +96,7 @@ list = append_mobj_list_from_folder(list, filename); } else { - mobj = new_musicobject_from_file(filename); + mobj = new_musicobject_from_file(filename, NULL); if (G_LIKELY(mobj)) list = g_list_prepend(list, mobj); } @@ -127,7 +127,7 @@ list = append_mobj_list_from_folder(list, filename); } else { - mobj = new_musicobject_from_file(filename); + mobj = new_musicobject_from_file(filename, NULL); if (G_LIKELY(mobj)) list = g_list_prepend(list, mobj); diff -Nru pragha-1.3.3/src/pragha-equalizer-dialog.c pragha-1.3.992/src/pragha-equalizer-dialog.c --- pragha-1.3.3/src/pragha-equalizer-dialog.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-equalizer-dialog.c 2018-06-21 11:24:11.000000000 +0000 @@ -340,7 +340,8 @@ label = gtk_label_new("Preamp"); gtk_label_set_justify (GTK_LABEL(label), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC(label), 0.5, 0.5); + gtk_widget_set_halign (GTK_WIDGET(label), GTK_ALIGN_CENTER); + gtk_widget_set_valign (GTK_WIDGET(label), GTK_ALIGN_CENTER); gtk_grid_attach (GTK_GRID(grid), label, 0, 4, 1, 1); @@ -349,18 +350,21 @@ label = gtk_label_new("+12 dB"); gtk_widget_set_vexpand (label, TRUE); - gtk_misc_set_alignment (GTK_MISC(label), 1.0, 0.0); + gtk_widget_set_halign (GTK_WIDGET(label), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label), GTK_ALIGN_START); gtk_grid_attach (GTK_GRID(grid), label, 1, 1, 1, 1); label = gtk_label_new("0 dB"); gtk_widget_set_vexpand (label, TRUE); - gtk_misc_set_alignment (GTK_MISC(label), 1.0, 0.5); + gtk_widget_set_halign (GTK_WIDGET(label), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label), GTK_ALIGN_CENTER); gtk_grid_attach (GTK_GRID(grid), label, 1, 2, 1, 1); label = gtk_label_new("-12 dB"); gtk_widget_set_vexpand (label, TRUE); - gtk_misc_set_alignment (GTK_MISC(label), 1.0, 1.0); + gtk_widget_set_halign (GTK_WIDGET(label), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label), GTK_ALIGN_END); gtk_grid_attach (GTK_GRID(grid), label, 1, 3, 1, 1); @@ -392,7 +396,8 @@ label = gtk_label_new(label_band_frec[i]); gtk_label_set_justify (GTK_LABEL(label), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC(label), 0.5, 0.5); + gtk_widget_set_halign (GTK_WIDGET(label), GTK_ALIGN_CENTER); + gtk_widget_set_valign (GTK_WIDGET(label), GTK_ALIGN_CENTER); gtk_grid_attach (GTK_GRID(grid), GTK_WIDGET(label), i+2, 4, 1, 1); diff -Nru pragha-1.3.3/src/pragha-favorites.c pragha-1.3.992/src/pragha-favorites.c --- pragha-1.3.3/src/pragha-favorites.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-favorites.c 2018-06-21 11:24:11.000000000 +0000 @@ -0,0 +1,136 @@ +/*************************************************************************/ +/* Copyright (C) 2018 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#if defined(GETTEXT_PACKAGE) +#include +#else +#include +#endif + +#include "pragha-favorites.h" + +#include + +#include "pragha-database.h" +#include "pragha-musicobject.h" + +struct _PraghaFavorites { + GObject _parent; + PraghaDatabase *cdbase; +}; + +enum { + SIGNAL_SONG_ADDED, + SIGNAL_SONG_REMOVED, + LAST_SIGNAL +}; + +static int signals[LAST_SIGNAL] = { 0 }; + +G_DEFINE_TYPE(PraghaFavorites, pragha_favorites, G_TYPE_OBJECT) + +static void +pragha_favorites_dispose (GObject *object) +{ + PraghaFavorites *favorites = PRAGHA_FAVORITES(object); + if (favorites->cdbase) { + g_object_unref (favorites->cdbase); + favorites->cdbase = NULL; + } + G_OBJECT_CLASS(pragha_favorites_parent_class)->dispose(object); +} + +static void +pragha_favorites_class_init (PraghaFavoritesClass *klass) +{ + GObjectClass *object_class; + + object_class = G_OBJECT_CLASS(klass); + object_class->dispose = pragha_favorites_dispose; + + signals[SIGNAL_SONG_ADDED] = + g_signal_new ("song-added", + G_TYPE_FROM_CLASS (object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaFavoritesClass, song_added), + NULL, NULL, + g_cclosure_marshal_VOID__POINTER, + G_TYPE_NONE, 1, G_TYPE_POINTER); + signals[SIGNAL_SONG_REMOVED] = + g_signal_new ("song-removed", + G_TYPE_FROM_CLASS (object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaFavoritesClass, song_removed), + NULL, NULL, + g_cclosure_marshal_VOID__POINTER, + G_TYPE_NONE, 1, G_TYPE_POINTER); +} + +static void +pragha_favorites_init (PraghaFavorites *favorites) +{ + favorites->cdbase = pragha_database_get(); +} + +PraghaFavorites * +pragha_favorites_get (void) +{ + static PraghaFavorites *favorites = NULL; + + if (G_UNLIKELY (favorites == NULL)) { + favorites = g_object_new (PRAGHA_TYPE_FAVORITES, NULL); + g_object_add_weak_pointer (G_OBJECT (favorites), + (gpointer) &favorites); + } + else { + g_object_ref (G_OBJECT(favorites)); + } + + return favorites; +} + +void +pragha_favorites_put_song (PraghaFavorites *favorites, PraghaMusicobject *mobj) +{ + gint playlist_id = 0; + playlist_id = pragha_database_find_playlist (favorites->cdbase, _("Favorites")); + pragha_database_add_playlist_track (favorites->cdbase, playlist_id, pragha_musicobject_get_file(mobj)); + g_signal_emit (favorites, signals[SIGNAL_SONG_ADDED], 0, mobj); + return; +} + +void +pragha_favorites_remove_song (PraghaFavorites *favorites, PraghaMusicobject *mobj) +{ + gint playlist_id = 0; + playlist_id = pragha_database_find_playlist (favorites->cdbase, _("Favorites")); + pragha_database_delete_playlist_track (favorites->cdbase, playlist_id, pragha_musicobject_get_file(mobj)); + g_signal_emit (favorites, signals[SIGNAL_SONG_REMOVED], 0, mobj); + return; +} + +gboolean +pragha_favorites_contains_song (PraghaFavorites *favorites, PraghaMusicobject *mobj) +{ + gint playlist_id = 0; + playlist_id = pragha_database_find_playlist (favorites->cdbase, _("Favorites")); + if (!playlist_id) { + pragha_database_add_new_playlist (favorites->cdbase, _("Favorites")); + return FALSE; + } + return pragha_database_playlist_has_track (favorites->cdbase, playlist_id, pragha_musicobject_get_file(mobj)); +} diff -Nru pragha-1.3.3/src/pragha-favorites.h pragha-1.3.992/src/pragha-favorites.h --- pragha-1.3.3/src/pragha-favorites.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-favorites.h 2018-06-21 11:24:11.000000000 +0000 @@ -0,0 +1,55 @@ +/*************************************************************************/ +/* Copyright (C) 2018 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_FAVORITES_H +#define PRAGHA_FAVORITES_H + +#include +#include + +#include "pragha-musicobject.h" + +G_BEGIN_DECLS + +#define PRAGHA_TYPE_FAVORITES (pragha_favorites_get_type()) +#define PRAGHA_FAVORITES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_FAVORITES, PraghaFavorites)) +#define PRAGHA_FAVORITES_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_FAVORITES, PraghaFavorites const)) +#define PRAGHA_FAVORITES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_FAVORITES, PraghaFavoritesClass)) +#define PRAGHA_IS_FAVORITES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_FAVORITES)) +#define PRAGHA_IS_FAVORITES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_FAVORITES)) +#define PRAGHA_FAVORITES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_FAVORITES, PraghaFavoritesClass)) + +typedef struct _PraghaFavorites PraghaFavorites; +typedef struct _PraghaFavoritesClass PraghaFavoritesClass; + +struct _PraghaFavoritesClass +{ + GObjectClass parent_class; + void (*song_added) (PraghaFavorites *favorites, PraghaMusicobject *mobj); + void (*song_removed) (PraghaFavorites *favorites, PraghaMusicobject *mobj); +}; + +PraghaFavorites * +pragha_favorites_get (void); + +void pragha_favorites_put_song (PraghaFavorites *favorites, PraghaMusicobject *mobj); +void pragha_favorites_remove_song (PraghaFavorites *favorites, PraghaMusicobject *mobj); +gboolean pragha_favorites_contains_song (PraghaFavorites *favorites, PraghaMusicobject *mobj); + +G_END_DECLS + +#endif /* PRAGHA_FAVORITES_H */ diff -Nru pragha-1.3.3/src/pragha-file-utils.c pragha-1.3.992/src/pragha-file-utils.c --- pragha-1.3.3/src/pragha-file-utils.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-file-utils.c 2019-08-07 18:10:59.000000000 +0000 @@ -502,7 +502,7 @@ file_type = pragha_file_get_media_type (ab_file); switch (file_type) { case MEDIA_TYPE_AUDIO: - mobj = new_musicobject_from_file (ab_file); + mobj = new_musicobject_from_file (ab_file, NULL); if (G_LIKELY(mobj)) list = g_list_append(list, mobj); break; @@ -541,7 +541,7 @@ file_type = pragha_file_get_media_type (filename); switch (file_type) { case MEDIA_TYPE_AUDIO: - mobj = new_musicobject_from_file (filename); + mobj = new_musicobject_from_file (filename, NULL); if (G_LIKELY(mobj)) { list = g_list_append(list, mobj); add_recent_file(filename); diff -Nru pragha-1.3.3/src/pragha-filter-dialog.c pragha-1.3.992/src/pragha-filter-dialog.c --- pragha-1.3.3/src/pragha-filter-dialog.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-filter-dialog.c 2018-06-21 11:24:11.000000000 +0000 @@ -82,7 +82,7 @@ gtk_tree_path_free (list->data); g_list_free (list); - toggle_queue_selected_current_playlist (fdialog->cplaylist); + pragha_playlist_toggle_queue_selected (fdialog->cplaylist); } return TRUE; } @@ -267,7 +267,7 @@ gtk_tree_path_free (list->data); g_list_free (list); } - toggle_queue_selected_current_playlist (fdialog->cplaylist); + pragha_playlist_toggle_queue_selected (fdialog->cplaylist); break; case GTK_RESPONSE_APPLY: selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(fdialog->filter_view)); @@ -351,7 +351,6 @@ gtk_tree_view_append_column (GTK_TREE_VIEW(filter_view), column); g_object_unref(G_OBJECT(filter_model)); - gtk_tree_view_set_rules_hint (GTK_TREE_VIEW(filter_view), TRUE); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW(filter_view), FALSE); gtk_tree_view_set_enable_search (GTK_TREE_VIEW(filter_view), FALSE); diff -Nru pragha-1.3.3/src/pragha.h pragha-1.3.992/src/pragha.h --- pragha-1.3.3/src/pragha.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha.h 2019-08-13 11:42:44.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2015 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -81,7 +81,9 @@ PreferencesDialog *pragha_application_get_preferences_dialog (PraghaApplication *pragha); PraghaToolbar *pragha_application_get_toolbar (PraghaApplication *pragha); +GtkWidget *pragha_application_get_overlay (PraghaApplication *pragha); PraghaSidebar *pragha_application_get_first_sidebar (PraghaApplication *pragha); +GtkWidget *pragha_application_get_main_stack (PraghaApplication *pragha); PraghaSidebar *pragha_application_get_second_sidebar (PraghaApplication *pragha); PraghaStatusbar *pragha_application_get_statusbar (PraghaApplication *pragha); PraghaStatusIcon *pragha_application_get_status_icon (PraghaApplication *pragha); @@ -121,7 +123,8 @@ GtkApplicationClass parent_class; } PraghaApplicationClass; -void pragha_application_quit (PraghaApplication *pragha); +void pragha_application_quit (PraghaApplication *pragha); +PraghaApplication * pragha_application_new (); G_END_DECLS diff -Nru pragha-1.3.3/src/pragha-hig.c pragha-1.3.992/src/pragha-hig.c --- pragha-1.3.3/src/pragha-hig.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-hig.c 2019-07-02 21:47:49.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2012-2013 matias */ +/* Copyright (C) 2012-2018 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -17,10 +17,6 @@ #include "pragha-hig.h" -#if !GTK_CHECK_VERSION (3, 12, 0) -#define gtk_widget_set_margin_start gtk_widget_set_margin_left -#endif - void gtk_label_set_attribute_bold(GtkLabel *label) { @@ -34,6 +30,27 @@ pango_attr_list_unref(Bold); } +void +pragha_hig_set_tiny_button (GtkWidget *button) +{ + GtkCssProvider *provider; + provider = gtk_css_provider_new (); + gtk_css_provider_load_from_data (provider, + "#s-tiny-button {\n" +#if GTK_CHECK_VERSION (3, 20, 0) + " min-width: 10px; \n" + " min-height: 10px; \n" +#endif + " margin : 0px;\n" + " padding: 0px;}", + -1, NULL); + gtk_style_context_add_provider (gtk_widget_get_style_context (button), + GTK_STYLE_PROVIDER (provider), + GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); + gtk_widget_set_name (button, "s-tiny-button"); + g_object_unref (provider); +} + GtkWidget * pragha_hig_workarea_table_add_section_title(GtkWidget *table, guint *row, const char *section_title) { @@ -41,7 +58,8 @@ section_label = gtk_label_new(section_title); - gtk_misc_set_alignment(GTK_MISC(section_label), 0.0, 0.5); + gtk_widget_set_halign (section_label, GTK_ALIGN_START); + gtk_label_set_attribute_bold(GTK_LABEL(section_label)); gtk_grid_attach (GTK_GRID(table), section_label, 0, *row, 2, 1); @@ -76,7 +94,7 @@ void pragha_hig_workarea_table_add_row(GtkWidget *table, guint *row, GtkWidget *label, GtkWidget *control) { - gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); + gtk_widget_set_halign (label, GTK_ALIGN_START); gtk_widget_set_margin_start (GTK_WIDGET(label), 12); gtk_grid_attach (GTK_GRID(table), label, 0, *row, 1, 1); diff -Nru pragha-1.3.3/src/pragha-hig.h pragha-1.3.992/src/pragha-hig.h --- pragha-1.3.3/src/pragha-hig.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-hig.h 2018-06-21 11:24:11.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2012-2013 matias */ +/* Copyright (C) 2012-2018 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -20,7 +20,9 @@ #include -void gtk_label_set_attribute_bold(GtkLabel *label); +void gtk_label_set_attribute_bold (GtkLabel *label); + +void pragha_hig_set_tiny_button (GtkWidget *button); GtkWidget *pragha_hig_workarea_table_add_section_title (GtkWidget *table, guint *row, const char *section_title); void pragha_hig_workarea_table_add_wide_control (GtkWidget *table, guint *row, GtkWidget *widget); diff -Nru pragha-1.3.3/src/pragha-library-pane.c pragha-1.3.992/src/pragha-library-pane.c --- pragha-1.3.3/src/pragha-library-pane.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-library-pane.c 2019-08-06 17:13:48.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -34,7 +34,7 @@ #include #include "pragha-playback.h" -#include "pragha-menubar.h" + #include "pragha-utils.h" #include "pragha-playlists-mgmt.h" #include "pragha-search-entry.h" @@ -42,12 +42,16 @@ #include "pragha-tags-dialog.h" #include "pragha-tags-mgmt.h" #include "pragha-musicobject-mgmt.h" +#include "pragha-database.h" +#include "pragha-database-provider.h" #include "pragha-dnd.h" #ifdef G_OS_WIN32 -#include "../win32/win32dep.h" +#include "win32/win32dep.h" #endif +#include "pragha-window-ui.h" + struct _PraghaLibraryPane { GtkBox __parent__; @@ -70,7 +74,9 @@ /* Filter stuff */ gchar *filter_entry; - guint timeout_id; + guint filter_id; + gboolean filter_active; + guint pulse_id; /* Fixbuf used on library tree. */ GdkPixbuf *pixbuf_artist; @@ -80,8 +86,8 @@ GdkPixbuf *pixbuf_dir; /* Menu */ - GtkUIManager *library_pane_context_menu; - GtkUIManager *library_tree_context_menu; + GtkBuilder *builder; + GSimpleActionGroup *actions; }; enum @@ -89,6 +95,7 @@ LIBRARY_APPEND_PLAYLIST, LIBRARY_REPLACE_PLAYLIST, LIBRARY_REPLACE_PLAYLIST_AND_PLAY, + LIBRARY_ADDTO_PLAYLIST_AND_PLAY, LAST_SIGNAL }; @@ -99,7 +106,9 @@ /* Node types in library view */ typedef enum { - NODE_CATEGORY, + NODE_CATEGORY_PLAYLIST, + NODE_CATEGORY_RADIO, + NODE_CATEGORY_PROVIDER, NODE_FOLDER, NODE_GENRE, NODE_ARTIST, @@ -117,7 +126,7 @@ L_NODE_DATA, L_NODE_BOLD, L_NODE_TYPE, - L_LOCATION_ID, + L_DATABASE_ID, L_MACH, L_VISIBILE, N_L_COLUMNS @@ -134,157 +143,268 @@ #define PRAGHA_BUTTON_DELETE_ALL _("Delete _All") /* - * library_pane_context_menu calbacks + * Some prototypes */ -static void pragha_library_pane_expand_all_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_collapse_all_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_set_folders_view_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_set_artist_view_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_set_album_view_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_set_genre_view_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_set_artist_album_view_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_set_genre_album_view_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_set_genre_artist_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_set_genre_artist_album_view_action (GtkAction *action, PraghaLibraryPane *library); + +static void pragha_library_pane_rename_item (PraghaLibraryPane *library); +static void pragha_library_pane_remove_item (PraghaLibraryPane *library); +static void pragha_library_pane_export_playlist (PraghaLibraryPane *library); +static void pragha_library_pane_edit_tags (PraghaLibraryPane *library); +static void pragha_library_pane_delete_from_hdd (PraghaLibraryPane *library); +static void pragha_library_pane_delete_from_db (PraghaLibraryPane *library); +static void pragha_library_pane_upgrade_library (PraghaLibraryPane *library); +static void pragha_library_pane_update_library (PraghaLibraryPane *library); +static void pragha_library_pane_remove_library (PraghaLibraryPane *library); /* - * library_tree_context_menu calbacks + * Order menu callbacks */ -static void library_tree_add_to_playlist_action (GtkAction *action, PraghaLibraryPane *library); -static void library_tree_replace_playlist_action (GtkAction *action, PraghaLibraryPane *library); -static void library_tree_replace_and_play (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_rename_item_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_remove_item_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_export_playlist_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_edit_tags_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_delete_from_hdd_action (GtkAction *action, PraghaLibraryPane *library); -static void pragha_library_pane_delete_from_db_action (GtkAction *action, PraghaLibraryPane *library); -/* - * Menus definitions - * - **/ - -gchar *library_pane_context_menu_xml = " \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - "; - -GtkActionEntry library_pane_context_aentries[] = { - {"Expand library", NULL, N_("_Expand library"), - "", "Expand the library", G_CALLBACK(pragha_library_pane_expand_all_action)}, - {"Collapse library", NULL, N_("_Collapse library"), - "", "Collapse the library", G_CALLBACK(pragha_library_pane_collapse_all_action)}, - {"folders", NULL, N_("Folders structure"), - "", "Folders structure", G_CALLBACK(pragha_library_pane_set_folders_view_action)}, - {"artist", NULL, N_("Artist"), - "", "Artist", G_CALLBACK(pragha_library_pane_set_artist_view_action)}, - {"album", NULL, N_("Album"), - "", "Album", G_CALLBACK(pragha_library_pane_set_album_view_action)}, - {"genre", NULL, N_("Genre"), - "", "Genre", G_CALLBACK(pragha_library_pane_set_genre_view_action)}, - {"artist_album", NULL, N_("Artist / Album"), - "", "Artist / Album", G_CALLBACK(pragha_library_pane_set_artist_album_view_action)}, - {"genre_album", NULL, N_("Genre / Album"), - "", "Genre / Album", G_CALLBACK(pragha_library_pane_set_genre_album_view_action)}, - {"genre_artist", NULL, N_("Genre / Artist"), - "", "Genre / Artist", G_CALLBACK(pragha_library_pane_set_genre_artist_action)}, - {"genre_artist_album", NULL, N_("Genre / Artist / Album"), - "", "Genre / Artist / Album", G_CALLBACK(pragha_library_pane_set_genre_artist_album_view_action)} -}; +static void +pragha_library_pane_expand_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + gtk_tree_view_expand_all (GTK_TREE_VIEW(library->library_tree)); +} -gchar *library_tree_context_menu_xml = " \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - "; - -GtkActionEntry library_tree_context_aentries[] = { - /* Playlist and Radio tree */ - {"Add to current playlist", "list-add", N_("_Add to current playlist"), - "", "Add to current playlist", G_CALLBACK(library_tree_add_to_playlist_action)}, - {"Replace current playlist", NULL, N_("_Replace current playlist"), - "", "Replace current playlist", G_CALLBACK(library_tree_replace_playlist_action)}, - {"Replace and play", "media-playback-start", N_("Replace and _play"), - "", "Replace and play", G_CALLBACK(library_tree_replace_and_play)}, - {"Rename", NULL, N_("Rename"), - "", "Rename", G_CALLBACK(pragha_library_pane_rename_item_action)}, - {"Delete", "list-remove", N_("Delete"), - "", "Delete", G_CALLBACK(pragha_library_pane_remove_item_action)}, - {"Export", "document-save", N_("Export"), - "", "Export", G_CALLBACK(pragha_library_pane_export_playlist_action)}, - {"Edit tags", NULL, N_("Edit tags"), - "", "Edit tags", G_CALLBACK(pragha_library_pane_edit_tags_action)}, - {"Move to trash", "user-trash", N_("Move to _trash"), - "", "Move to trash", G_CALLBACK(pragha_library_pane_delete_from_hdd_action)}, - {"Delete from library", "list-remove", N_("Delete from library"), - "", "Delete from library", G_CALLBACK(pragha_library_pane_delete_from_db_action)}/*, - {"Rescan library", GTK_STOCK_EXECUTE, N_("_Rescan library"), - "", "Rescan library", G_CALLBACK(rescan_library_action)}, - {"Update library", GTK_STOCK_EXECUTE, N_("_Update library"), - "", "Update library", G_CALLBACK(update_library_action)}*/ -}; +static void +pragha_library_pane_collapse_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + gtk_tree_view_collapse_all(GTK_TREE_VIEW(library->library_tree)); +} + +static void +pragha_library_pane_folder_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_preferences_set_library_style(library->preferences, FOLDERS); +} + +static void +pragha_library_pane_artist_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_preferences_set_library_style(library->preferences, ARTIST); +} + +static void +pragha_library_pane_album_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_preferences_set_library_style(library->preferences, ALBUM); +} + +static void +pragha_library_pane_genre_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_preferences_set_library_style(library->preferences, GENRE); +} + +static void +pragha_library_pane_artist_album_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_preferences_set_library_style(library->preferences, ARTIST_ALBUM); +} + +static void +pragha_library_pane_genre_album_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_preferences_set_library_style(library->preferences, GENRE_ALBUM); +} + +static void +pragha_library_pane_genre_artist_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_preferences_set_library_style(library->preferences, GENRE_ARTIST); +} + +static void +pragha_library_pane_genre_artist_album_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_preferences_set_library_style(library->preferences, GENRE_ARTIST_ALBUM); +} /* - * library_tree_context_menu calbacks + * Tree menu callbacks */ static void -library_tree_add_to_playlist_action(GtkAction *action, PraghaLibraryPane *library) +pragha_library_pane_append_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); g_signal_emit (library, signals[LIBRARY_APPEND_PLAYLIST], 0); } static void -library_tree_replace_playlist_action(GtkAction *action, PraghaLibraryPane *library) +pragha_library_pane_replace_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); g_signal_emit (library, signals[LIBRARY_REPLACE_PLAYLIST], 0); } static void -library_tree_replace_and_play(GtkAction *action, PraghaLibraryPane *library) +pragha_library_pane_replace_and_play_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + g_signal_emit (library, signals[LIBRARY_ADDTO_PLAYLIST_AND_PLAY], 0); +} + +static void +pragha_library_pane_append_and_play_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); g_signal_emit (library, signals[LIBRARY_REPLACE_PLAYLIST_AND_PLAY], 0); } +static void +pragha_library_pane_rename_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_library_pane_rename_item (library); +} + +static void +pragha_library_pane_delete_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_library_pane_remove_item (library); +} + +static void +pragha_library_pane_export_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_library_pane_export_playlist (library); +} + +static void +pragha_library_pane_edit_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_library_pane_edit_tags (library); +} + +static void +pragha_library_pane_trash_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_library_pane_delete_from_hdd (library); +} + +static void +pragha_library_pane_remove_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_library_pane_delete_from_db (library); +} + +static void +pragha_library_pane_rescan_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_library_pane_upgrade_library (library); +} + +static void +pragha_library_pane_update_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_library_pane_update_library (library); +} + +static void +pragha_library_pane_remove_provider_action (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) +{ + PraghaLibraryPane *library = PRAGHA_LIBRARY_PANE (user_data); + pragha_library_pane_remove_library (library); +} + +static const GActionEntry library_menu_aentries[] = { + { "expand", pragha_library_pane_expand_action, NULL, NULL, NULL }, + { "collapse", pragha_library_pane_collapse_action, NULL, NULL, NULL }, + { "folder", pragha_library_pane_folder_action, NULL, NULL, NULL }, + { "artist", pragha_library_pane_artist_action, NULL, NULL, NULL }, + { "album", pragha_library_pane_album_action, NULL, NULL, NULL }, + { "genre", pragha_library_pane_genre_action, NULL, NULL, NULL }, + { "artist_album", pragha_library_pane_artist_album_action, NULL, NULL, NULL }, + { "genre_album", pragha_library_pane_genre_album_action, NULL, NULL, NULL }, + { "genre_artist", pragha_library_pane_genre_artist_action, NULL, NULL, NULL }, + { "genre_artist_album", pragha_library_pane_genre_artist_album_action, NULL, NULL, NULL }, + { "append", pragha_library_pane_append_action, NULL, NULL, NULL }, + { "replace", pragha_library_pane_replace_action, NULL, NULL, NULL }, + { "replace_play", pragha_library_pane_replace_and_play_action, NULL, NULL, NULL }, + { "append_play", pragha_library_pane_append_and_play_action, NULL, NULL, NULL }, + { "rename", pragha_library_pane_rename_action, NULL, NULL, NULL }, + { "delete", pragha_library_pane_delete_action, NULL, NULL, NULL }, + { "export", pragha_library_pane_export_action, NULL, NULL, NULL }, + { "edit", pragha_library_pane_edit_action, NULL, NULL, NULL }, + { "trash", pragha_library_pane_trash_action, NULL, NULL, NULL }, + { "remove", pragha_library_pane_remove_action, NULL, NULL, NULL }, + { "rescan", pragha_library_pane_rescan_action, NULL, NULL, NULL }, + { "update", pragha_library_pane_update_action, NULL, NULL, NULL }, + { "remove_lib", pragha_library_pane_remove_provider_action, NULL, NULL, NULL } +}; + + +static void +pragha_library_expand_categories(PraghaLibraryPane *clibrary); + +static gint +get_library_icon_size (void); + + /* Returns TRUE if any of the childs of p_iter matches node_data. iter * and p_iter must be created outside this function */ @@ -335,7 +455,7 @@ L_NODE_DATA, node_data, L_NODE_BOLD, PANGO_WEIGHT_NORMAL, L_NODE_TYPE, node_type, - L_LOCATION_ID, location_id, + L_DATABASE_ID, location_id, L_MACH, FALSE, L_VISIBILE, TRUE, -1); @@ -371,11 +491,11 @@ /* Insert the new folder after the last subdirectory by order */ gtk_tree_store_insert_before (GTK_TREE_STORE(model), iter, p_iter, valid ? &l_iter : NULL); - gtk_tree_store_set (GTK_TREE_STORE(model), iter,L_PIXBUF, clibrary->pixbuf_dir, + gtk_tree_store_set (GTK_TREE_STORE(model), iter, L_PIXBUF, clibrary->pixbuf_dir, L_NODE_DATA, node_data, L_NODE_BOLD, PANGO_WEIGHT_NORMAL, L_NODE_TYPE, NODE_FOLDER, - L_LOCATION_ID, 0, + L_DATABASE_ID, 0, L_MACH, FALSE, L_VISIBILE, TRUE, -1); @@ -419,7 +539,7 @@ L_NODE_DATA, node_data, L_NODE_BOLD, PANGO_WEIGHT_NORMAL, L_NODE_TYPE, NODE_BASENAME, - L_LOCATION_ID, location_id, + L_DATABASE_ID, location_id, L_MACH, FALSE, L_VISIBILE, TRUE, -1); @@ -522,7 +642,9 @@ node_pixbuf = clibrary->pixbuf_genre; node_data = string_is_not_empty(genre) ? (gchar *)genre : _("Unknown Genre"); break; - case NODE_CATEGORY: + case NODE_CATEGORY_PLAYLIST: + case NODE_CATEGORY_RADIO: + case NODE_CATEGORY_PROVIDER: case NODE_FOLDER: case NODE_PLAYLIST: case NODE_RADIO: @@ -582,7 +704,9 @@ gtk_tree_model_get(model, r_iter, L_NODE_TYPE, &node_type, -1); switch (node_type) { - case NODE_CATEGORY: + case NODE_CATEGORY_PLAYLIST: + case NODE_CATEGORY_RADIO: + case NODE_CATEGORY_PROVIDER: case NODE_FOLDER: case NODE_GENRE: case NODE_ARTIST: @@ -597,7 +721,7 @@ break; case NODE_TRACK: case NODE_BASENAME: - gtk_tree_model_get(model, r_iter, L_LOCATION_ID, &location_id, -1); + gtk_tree_model_get(model, r_iter, L_DATABASE_ID, &location_id, -1); uri = g_strdup_printf("Location:/%d", location_id); break; case NODE_PLAYLIST: @@ -638,7 +762,9 @@ gtk_tree_model_get(model, r_iter, L_NODE_TYPE, &node_type, -1); switch (node_type) { - case NODE_CATEGORY: + case NODE_CATEGORY_PLAYLIST: + case NODE_CATEGORY_RADIO: + case NODE_CATEGORY_PROVIDER: case NODE_FOLDER: case NODE_GENRE: case NODE_ARTIST: @@ -653,7 +779,7 @@ break; case NODE_TRACK: case NODE_BASENAME: - gtk_tree_model_get(model, r_iter, L_LOCATION_ID, &location_id, -1); + gtk_tree_model_get(model, r_iter, L_DATABASE_ID, &location_id, -1); filename = pragha_database_get_filename_from_location_id(clibrary->cdbase, location_id); break; case NODE_PLAYLIST: @@ -699,7 +825,7 @@ gtk_tree_model_get(model, &r_iter, L_NODE_TYPE, &node_type, -1); if ((node_type == NODE_TRACK) || (node_type == NODE_BASENAME)) { - gtk_tree_model_get(model, &r_iter, L_LOCATION_ID, &location_id, -1); + gtk_tree_model_get(model, &r_iter, L_DATABASE_ID, &location_id, -1); g_array_append_val(loc_arr, location_id); } @@ -709,7 +835,7 @@ gtk_tree_model_get(model, &t_iter, L_NODE_TYPE, &node_type, -1); if ((node_type == NODE_TRACK) || (node_type == NODE_BASENAME)) { gtk_tree_model_get(model, &t_iter, - L_LOCATION_ID, &location_id, -1); + L_DATABASE_ID, &location_id, -1); g_array_append_val(loc_arr, location_id); } else { @@ -742,11 +868,13 @@ gtk_tree_model_get_iter(row_model, &r_iter, path); gtk_tree_model_get(row_model, &r_iter, L_NODE_TYPE, &node_type, -1); - gtk_tree_model_get(row_model, &r_iter, L_LOCATION_ID, &location_id, -1); + gtk_tree_model_get(row_model, &r_iter, L_DATABASE_ID, &location_id, -1); gtk_tree_model_get(row_model, &r_iter, L_NODE_DATA, &data, -1); switch (node_type) { - case NODE_CATEGORY: + case NODE_CATEGORY_PLAYLIST: + case NODE_CATEGORY_RADIO: + case NODE_CATEGORY_PROVIDER: case NODE_FOLDER: case NODE_GENRE: case NODE_ARTIST: @@ -794,7 +922,7 @@ gtk_tree_model_get_iter(model, &r_iter, path); gtk_tree_model_get(model, &r_iter, L_NODE_TYPE, &node_type, -1); if ((node_type == NODE_TRACK) || (node_type == NODE_BASENAME)) { - gtk_tree_model_get(model, &r_iter, L_LOCATION_ID, &location_id, -1); + gtk_tree_model_get(model, &r_iter, L_DATABASE_ID, &location_id, -1); pragha_database_forget_location(cdbase, location_id); } @@ -805,7 +933,7 @@ gtk_tree_model_get(model, &t_iter, L_NODE_TYPE, &node_type, -1); if ((node_type == NODE_TRACK) || (node_type == NODE_BASENAME)) { gtk_tree_model_get(model, &t_iter, - L_LOCATION_ID, &location_id, -1); + L_DATABASE_ID, &location_id, -1); pragha_database_forget_location(cdbase, location_id); } else { @@ -914,7 +1042,9 @@ gtk_tree_model_get (filter_model, &iter, L_NODE_TYPE, &node_type, -1); switch(node_type) { - case NODE_CATEGORY: + case NODE_CATEGORY_PLAYLIST: + case NODE_CATEGORY_RADIO: + case NODE_CATEGORY_PROVIDER: case NODE_ARTIST: case NODE_ALBUM: case NODE_GENRE: @@ -935,7 +1065,8 @@ } } -static int library_tree_key_press (GtkWidget *win, GdkEventKey *event, PraghaLibraryPane *library) +static int +pragha_library_pane_tree_key_press (GtkWidget *win, GdkEventKey *event, PraghaLibraryPane *library) { if (event->state != 0 && ((event->state & GDK_CONTROL_MASK) @@ -945,7 +1076,7 @@ || (event->state & GDK_MOD5_MASK))) return FALSE; if (event->keyval == GDK_KEY_Delete){ - pragha_library_pane_delete_from_db_action (NULL, library); + pragha_library_pane_delete_from_db (library); return TRUE; } return FALSE; @@ -980,43 +1111,55 @@ static gboolean -library_tree_button_press_cb (GtkWidget *widget, - GdkEventButton *event, - PraghaLibraryPane *library) -{ - GtkWidget *popup_menu, *item_widget; +pragha_library_pane_tree_button_press_cb (GtkWidget *widget, + GdkEventButton *event, + PraghaLibraryPane *library) +{ + GtkWidget *popup_menu; + GMenu *menu; + GAction *action; GtkTreeModel *model; GtkTreePath *path; GtkTreeIter iter; GtkTreeSelection *selection; - gboolean many_selected = FALSE; + gboolean many_selected = FALSE, sensitive = TRUE; + gchar *node_data = NULL; LibraryNodeType node_type; gint n_select = 0; model = gtk_tree_view_get_model (GTK_TREE_VIEW(library->library_tree)); selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(library->library_tree)); - if (gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(widget), (gint) event->x,(gint) event->y, &path, NULL, NULL, NULL)){ + if (gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW(widget), + (gint) event->x, + (gint) event->y, + &path, + NULL, NULL, NULL)) + { switch(event->button) { case 1: - if (gtk_tree_selection_path_is_selected(selection, path) - && !(event->state & GDK_CONTROL_MASK) - && !(event->state & GDK_SHIFT_MASK)) { + if (gtk_tree_selection_path_is_selected(selection, path) && + !(event->state & GDK_CONTROL_MASK) && + !(event->state & GDK_SHIFT_MASK)) + { gtk_tree_selection_set_select_function(selection, &pragha_library_pane_selection_func_false, NULL, NULL); } - else { + else + { gtk_tree_selection_set_select_function(selection, &pragha_library_pane_selection_func_true, NULL, NULL); } break; case 2: - if (!gtk_tree_selection_path_is_selected(selection, path)) { + if (!gtk_tree_selection_path_is_selected(selection, path)) + { gtk_tree_selection_unselect_all(selection); gtk_tree_selection_select_path(selection, path); } g_signal_emit (library, signals[LIBRARY_APPEND_PLAYLIST], 0); break; case 3: - if (!(gtk_tree_selection_path_is_selected(selection, path))){ + if (!gtk_tree_selection_path_is_selected(selection, path)) + { gtk_tree_selection_unselect_all(selection); gtk_tree_selection_select_path(selection, path); } @@ -1025,42 +1168,60 @@ gtk_tree_model_get(model, &iter, L_NODE_TYPE, &node_type, -1); n_select = gtk_tree_selection_count_selected_rows(selection); - - if (node_type == NODE_PLAYLIST || node_type == NODE_RADIO) { - popup_menu = gtk_ui_manager_get_widget(library->library_tree_context_menu, - "/PlaylistPopup"); - - item_widget = gtk_ui_manager_get_widget(library->library_tree_context_menu, - "/PlaylistPopup/Rename"); - gtk_widget_set_sensitive (GTK_WIDGET(item_widget), - n_select == 1 && gtk_tree_path_get_depth(path) > 1); - - item_widget = gtk_ui_manager_get_widget(library->library_tree_context_menu, - "/PlaylistPopup/Delete"); - gtk_widget_set_sensitive (GTK_WIDGET(item_widget), - gtk_tree_path_get_depth(path) > 1); - - item_widget = gtk_ui_manager_get_widget(library->library_tree_context_menu, - "/PlaylistPopup/Export"); - gtk_widget_set_sensitive (GTK_WIDGET(item_widget), - n_select == 1 && - gtk_tree_path_get_depth(path) > 1 && - node_type == NODE_PLAYLIST); + if (n_select > 1) + { + menu = G_MENU (gtk_builder_get_object (library->builder, "library-categories-menu")); + popup_menu = gtk_menu_new_from_model (G_MENU_MODEL(menu)); + } + else if (node_type == NODE_CATEGORY_PLAYLIST) + { + menu = G_MENU (gtk_builder_get_object (library->builder, "library-categories-menu")); + popup_menu = gtk_menu_new_from_model (G_MENU_MODEL(menu)); + } + else if (node_type == NODE_CATEGORY_RADIO) + { + menu = G_MENU (gtk_builder_get_object (library->builder, "library-categories-menu")); + popup_menu = gtk_menu_new_from_model (G_MENU_MODEL(menu)); + } + else if (node_type == NODE_CATEGORY_PROVIDER) + { + menu = G_MENU (gtk_builder_get_object (library->builder, "library-provider-menu")); + popup_menu = gtk_menu_new_from_model (G_MENU_MODEL(menu)); + } + else if (node_type == NODE_PLAYLIST) + { + menu = G_MENU (gtk_builder_get_object (library->builder, "library-playlist-menu")); + popup_menu = gtk_menu_new_from_model (G_MENU_MODEL(menu)); + + gtk_tree_model_get (model, &iter, L_NODE_DATA, &node_data, -1); + if (g_ascii_strcasecmp(_("Favorites"), node_data) == 0) + sensitive = FALSE; + g_free (node_data); + } + else if (node_type == NODE_RADIO) + { + menu = G_MENU (gtk_builder_get_object (library->builder, "library-radio-menu")); + popup_menu = gtk_menu_new_from_model (G_MENU_MODEL(menu)); } - else { - if (gtk_tree_path_get_depth(path) > 1) - popup_menu = gtk_ui_manager_get_widget(library->library_tree_context_menu, - "/LibraryPopup"); - else - popup_menu = gtk_ui_manager_get_widget(library->library_tree_context_menu, - "/CategoriesPopup"); + else + { + menu = G_MENU (gtk_builder_get_object (library->builder, "library-music-menu")); + popup_menu = gtk_menu_new_from_model (G_MENU_MODEL(menu)); } - gtk_menu_popup(GTK_MENU(popup_menu), NULL, NULL, NULL, NULL, - event->button, event->time); - + action = g_action_map_lookup_action (G_ACTION_MAP (library->actions), "rename"); + g_object_set (action, "enabled", sensitive, NULL); + + action = g_action_map_lookup_action (G_ACTION_MAP (library->actions), "delete"); + g_object_set (action, "enabled", sensitive, NULL); + + gtk_widget_insert_action_group (popup_menu, "lib", G_ACTION_GROUP(library->actions)); + gtk_menu_popup (GTK_MENU(popup_menu), + NULL, NULL, NULL, NULL, + event->button, event->time); + /* If more than one track is selected, don't propagate event */ - + if (n_select > 1) many_selected = TRUE; else @@ -1070,7 +1231,7 @@ many_selected = FALSE; break; } - gtk_tree_path_free(path); + gtk_tree_path_free(path); } else gtk_tree_selection_unselect_all(selection); @@ -1242,26 +1403,34 @@ clibrary); } + /**********/ /* Search */ /**********/ -static gboolean set_all_visible(GtkTreeModel *model, - GtkTreePath *path, - GtkTreeIter *iter, - gpointer data) +static gboolean +pragha_library_pane_set_all_visible_func (GtkTreeModel *model, + GtkTreePath *path, + GtkTreeIter *iter, + gpointer data) { - gtk_tree_store_set(GTK_TREE_STORE(model), iter, - L_MACH, FALSE, - L_VISIBILE, TRUE, - -1); + PraghaLibraryPane *library = data; + if (library->filter_entry != NULL) + return TRUE; + + /* Have to give control to GTK periodically ... */ + if (gtk_tree_path_get_depth (path) == 2) + pragha_process_gtk_events (); + + gtk_tree_store_set (GTK_TREE_STORE(model), iter, + L_MACH, FALSE, L_VISIBILE, TRUE, -1); return FALSE; } static void -library_expand_filtered_tree_func(GtkTreeView *view, - GtkTreePath *path, - gpointer data) +pragha_library_pane_expand_filtered_tree_func(GtkTreeView *view, + GtkTreePath *path, + gpointer data) { GtkTreeIter iter; LibraryNodeType node_type; @@ -1282,31 +1451,28 @@ } static void -set_visible_parents_nodes(GtkTreeModel *model, GtkTreeIter *c_iter) +pragha_library_pane_set_visible_parents_nodes (GtkTreeModel *model, GtkTreeIter *c_iter) { GtkTreeIter t_iter, parent; t_iter = *c_iter; while(gtk_tree_model_iter_parent(model, &parent, &t_iter)) { - gtk_tree_store_set(GTK_TREE_STORE(model), &parent, - L_VISIBILE, TRUE, - -1); + gtk_tree_store_set (GTK_TREE_STORE(model), &parent, + L_VISIBILE, TRUE, -1); t_iter = parent; } } static gboolean -any_parent_node_mach(GtkTreeModel *model, GtkTreeIter *iter) +pragha_libary_pane_any_parent_node_mach (GtkTreeModel *model, GtkTreeIter *iter) { GtkTreeIter t_iter, parent; gboolean p_mach = FALSE; t_iter = *iter; while(gtk_tree_model_iter_parent(model, &parent, &t_iter)) { - gtk_tree_model_get(model, &parent, - L_MACH, &p_mach, - -1); + gtk_tree_model_get(model, &parent, L_MACH, &p_mach, -1); if (p_mach) return TRUE; @@ -1316,96 +1482,195 @@ return FALSE; } -static gboolean filter_tree_func(GtkTreeModel *model, - GtkTreePath *path, - GtkTreeIter *iter, - gpointer data) +static gboolean +pragha_libary_pane_filter_tree_func (GtkTreeModel *model, + GtkTreePath *path, + GtkTreeIter *iter, + gpointer data) { - PraghaLibraryPane *clibrary = data; gchar *node_data = NULL, *u_str; gboolean p_mach; + PraghaLibraryPane *library = data; + + if (library->filter_entry == NULL) + return TRUE; + + /* Have to give control to GTK periodically ... */ + if (gtk_tree_path_get_depth (path) == 2) + pragha_process_gtk_events (); + /* Mark node and its parents visible if search entry matches. If search entry doesn't match, check if _any_ ancestor has been marked as visible and if so, mark current node as visible too. */ - if (clibrary->filter_entry) { - gtk_tree_model_get(model, iter, L_NODE_DATA, &node_data, -1); - u_str = g_utf8_strdown(node_data, -1); - if (pragha_strstr_lv(u_str, clibrary->filter_entry, clibrary->preferences)) { - /* Set visible the match row */ - gtk_tree_store_set(GTK_TREE_STORE(model), iter, - L_MACH, TRUE, - L_VISIBILE, TRUE, - -1); + gtk_tree_model_get(model, iter, L_NODE_DATA, &node_data, -1); + u_str = g_utf8_strdown(node_data, -1); + if (pragha_strstr_lv(u_str, library->filter_entry, library->preferences)) + { + /* Set visible the match row */ + gtk_tree_store_set (GTK_TREE_STORE(model), iter, + L_MACH, TRUE, L_VISIBILE, TRUE, -1); - /* Also set visible the parents */ - set_visible_parents_nodes(model, iter); - } - else { - /* Check parents. If any node is visible due it mach, - * also shows. So, show the children of coincidences. */ - p_mach = any_parent_node_mach(model, iter); - gtk_tree_store_set(GTK_TREE_STORE(model), iter, - L_MACH, FALSE, - L_VISIBILE, p_mach, - -1); - } - g_free(u_str); - g_free(node_data); + /* Also set visible the parents */ + pragha_library_pane_set_visible_parents_nodes (model, iter); } else - return TRUE; + { + /* Check parents. If any node is visible due it mach, + * also shows. So, show the children of coincidences. */ + p_mach = pragha_libary_pane_any_parent_node_mach (model, iter); + gtk_tree_store_set (GTK_TREE_STORE(model), iter, + L_MACH, FALSE, L_VISIBILE, p_mach, -1); + } + g_free(u_str); + g_free(node_data); return FALSE; } -gboolean do_refilter(PraghaLibraryPane *clibrary) +static void +pragha_library_pane_do_filter (PraghaLibraryPane *library) { GtkTreeModel *filter_model; + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); + /* Remove the model of widget. */ - filter_model = gtk_tree_view_get_model(GTK_TREE_VIEW(clibrary->library_tree)); + filter_model = gtk_tree_view_get_model(GTK_TREE_VIEW(library->library_tree)); g_object_ref(filter_model); - gtk_tree_view_set_model(GTK_TREE_VIEW(clibrary->library_tree), NULL); + gtk_tree_view_set_model(GTK_TREE_VIEW(library->library_tree), NULL); + + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); /* Set visibility of rows in the library store. */ - gtk_tree_model_foreach(GTK_TREE_MODEL(clibrary->library_store), - filter_tree_func, - clibrary); + gtk_tree_model_foreach (GTK_TREE_MODEL(library->library_store), + pragha_libary_pane_filter_tree_func, library); + + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); /* Set the model again.*/ - gtk_tree_view_set_model(GTK_TREE_VIEW(clibrary->library_tree), filter_model); + gtk_tree_view_set_model(GTK_TREE_VIEW(library->library_tree), filter_model); g_object_unref(filter_model); + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); + /* Expand all and then reduce properly. */ - gtk_tree_view_expand_all(GTK_TREE_VIEW(clibrary->library_tree)); - gtk_tree_view_map_expanded_rows(GTK_TREE_VIEW(clibrary->library_tree), - library_expand_filtered_tree_func, - filter_model); + gtk_tree_view_expand_all(GTK_TREE_VIEW(library->library_tree)); + gtk_tree_view_map_expanded_rows(GTK_TREE_VIEW(library->library_tree), + pragha_library_pane_expand_filtered_tree_func, filter_model); - clibrary->timeout_id = 0; + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); - return FALSE; } -void queue_refilter (PraghaLibraryPane *clibrary) +static void +pragha_library_pane_show_all (PraghaLibraryPane *library) +{ + GtkTreeModel *filter_model; + + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); + + /* Remove the model of widget. */ + filter_model = gtk_tree_view_get_model(GTK_TREE_VIEW(library->library_tree)); + g_object_ref(filter_model); + gtk_tree_view_set_model(GTK_TREE_VIEW(library->library_tree), NULL); + + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); + + /* Set all nodes visibles. */ + gtk_tree_model_foreach (GTK_TREE_MODEL(library->library_store), + pragha_library_pane_set_all_visible_func, library); + + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); + + /* Set the model again. */ + gtk_tree_view_set_model(GTK_TREE_VIEW(library->library_tree), filter_model); + g_object_unref(filter_model); + + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); + + /* Expand the categories. */ + + pragha_library_expand_categories(library); +} + +static gboolean +pragha_search_entry_pulse_it (PraghaLibraryPane *library) +{ + gtk_entry_progress_pulse (GTK_ENTRY(library->search_entry)); + return G_SOURCE_CONTINUE; +} + +static gboolean +pragha_library_pane_do_refilter (PraghaLibraryPane *clibrary) +{ + gchar *needle = NULL; + gboolean ret = FALSE; + + gtk_entry_set_progress_pulse_step (GTK_ENTRY(clibrary->search_entry), 0.1); + clibrary->pulse_id = g_timeout_add (250, (GSourceFunc)pragha_search_entry_pulse_it, clibrary); + + if (clibrary->filter_active == TRUE) + return TRUE; + + clibrary->filter_active = TRUE; + needle = g_strdup(clibrary->filter_entry); + + pragha_process_gtk_events (); + + if (clibrary->filter_entry != NULL) + pragha_library_pane_do_filter (clibrary); + else + pragha_library_pane_show_all (clibrary); + + /* Have to give control to GTK periodically ... */ + pragha_process_gtk_events (); + + clibrary->filter_id = 0; + clibrary->filter_active = FALSE; + + /* If changed the needle search again. */ + if (needle && g_ascii_strcasecmp(needle, clibrary->filter_entry)) + ret = TRUE; + + g_free(needle); + + gtk_entry_set_progress_pulse_step (GTK_ENTRY(clibrary->search_entry), 0.0); + gtk_entry_set_progress_fraction (GTK_ENTRY(clibrary->search_entry), 0.0); + g_source_remove (clibrary->pulse_id); + clibrary->pulse_id = 0; + + return ret; +} + +void +pragha_library_panel_queue_refilter (PraghaLibraryPane *clibrary) { - if (clibrary->timeout_id) { - g_source_remove (clibrary->timeout_id); - clibrary->timeout_id = 0; + if (clibrary->filter_id != 0 && clibrary->filter_active == FALSE) { + g_source_remove(clibrary->filter_id); + clibrary->filter_id = 0; } - clibrary->timeout_id = g_timeout_add(500, (GSourceFunc)do_refilter, clibrary); + if (clibrary->filter_id == 0) + clibrary->filter_id = g_timeout_add(500, (GSourceFunc)pragha_library_pane_do_refilter, clibrary); } static void simple_library_search_keyrelease_handler (GtkEntry *entry, PraghaLibraryPane *clibrary) { - const gchar *text = NULL; - gboolean has_text; - + const gchar *filter_entry = NULL; + if (!pragha_preferences_get_instant_search(clibrary->preferences)) return; @@ -1414,46 +1679,36 @@ clibrary->filter_entry = NULL; } - has_text = gtk_entry_get_text_length (GTK_ENTRY(entry)) > 0; - - if (has_text) { - text = gtk_entry_get_text (entry); - clibrary->filter_entry = g_utf8_strdown (text, -1); + filter_entry = gtk_entry_get_text (entry); + if (string_is_not_empty(filter_entry)) + clibrary->filter_entry = g_utf8_strdown (filter_entry, -1); - queue_refilter(clibrary); - } - else { - clear_library_search (clibrary); - } + pragha_library_panel_queue_refilter(clibrary); } -gboolean simple_library_search_activate_handler(GtkEntry *entry, - PraghaLibraryPane *clibrary) +gboolean +simple_library_search_activate_handler (GtkEntry *entry, + PraghaLibraryPane *clibrary) { - const gchar *text = NULL; - gboolean has_text; + const gchar *filter_entry = NULL; - has_text = gtk_entry_get_text_length (GTK_ENTRY(entry)) > 0; + if (!pragha_preferences_get_instant_search(clibrary->preferences)) + return FALSE; if (clibrary->filter_entry != NULL) { g_free (clibrary->filter_entry); clibrary->filter_entry = NULL; } + filter_entry = gtk_entry_get_text (entry); + if (string_is_not_empty(filter_entry)) + clibrary->filter_entry = g_utf8_strdown (filter_entry, -1); - if (has_text) { - text = gtk_entry_get_text (entry); - clibrary->filter_entry = g_utf8_strdown (text, -1); - - do_refilter (clibrary); - } - else { - clear_library_search (clibrary); - } + pragha_library_panel_queue_refilter (clibrary); return FALSE; } -void +static void pragha_library_expand_categories(PraghaLibraryPane *clibrary) { GtkTreeModel *filter_model, *model; @@ -1478,29 +1733,6 @@ } } -void clear_library_search(PraghaLibraryPane *clibrary) -{ - GtkTreeModel *filter_model; - - /* Remove the model of widget. */ - filter_model = gtk_tree_view_get_model(GTK_TREE_VIEW(clibrary->library_tree)); - g_object_ref(filter_model); - gtk_tree_view_set_model(GTK_TREE_VIEW(clibrary->library_tree), NULL); - - /* Set all nodes visibles. */ - gtk_tree_model_foreach(GTK_TREE_MODEL(clibrary->library_store), - set_all_visible, - clibrary); - - /* Set the model again. */ - gtk_tree_view_set_model(GTK_TREE_VIEW(clibrary->library_tree), filter_model); - g_object_unref(filter_model); - - /* Expand the categories. */ - - pragha_library_expand_categories(clibrary); -} - /* * Return if you must update the library according to the changes, and the current view. */ @@ -1734,67 +1966,56 @@ pragha_prepared_statement_free (statement); } -void -library_view_complete_folder_view(GtkTreeModel *model, - GtkTreeIter *p_iter, - PraghaLibraryPane *clibrary) +static void +pragha_library_view_append_provider_by_folder (PraghaLibraryPane *clibrary, + GtkTreeModel *model, + GtkTreeIter *p_iter, + const gchar *provider) { PraghaPreparedStatement *statement; - const gchar *sql = NULL, *filepath = NULL; - gchar *mask = NULL; - GtkTreeIter iter, *f_iter; - GSList *list = NULL, *library_dir = NULL; - - library_dir = pragha_preferences_get_library_list (clibrary->preferences); - for(list = library_dir ; list != NULL ; list=list->next) { - /*If no need to fuse folders, add headers and set p_iter */ - if(!pragha_preferences_get_fuse_folders(clibrary->preferences)) { - gtk_tree_store_append(GTK_TREE_STORE(model), - &iter, - p_iter); - gtk_tree_store_set (GTK_TREE_STORE(model), &iter, - L_PIXBUF, clibrary->pixbuf_dir, - L_NODE_DATA, list->data, - L_NODE_BOLD, PANGO_WEIGHT_NORMAL, - L_NODE_TYPE, NODE_FOLDER, - L_LOCATION_ID, 0, - L_MACH, FALSE, - L_VISIBILE, TRUE, - -1); - f_iter = &iter; + const gchar *sql = NULL, *filepath = NULL, *filename = NULL; + gint provider_id = 0; + + sql = "SELECT name, id FROM LOCATION WHERE id IN (SELECT location FROM TRACK WHERE PROVIDER = ?) ORDER BY name DESC"; + + statement = pragha_database_create_statement (clibrary->cdbase, sql); + + provider_id = pragha_database_find_provider (clibrary->cdbase, provider); + pragha_prepared_statement_bind_int (statement, 1, provider_id); + + while (pragha_prepared_statement_step (statement)) { + filepath = pragha_prepared_statement_get_string(statement, 0); + + /* FIXME: Handle uris like cdda:// */ + filename = g_strrstr (filepath, "://"); + if (filename) { + filename += strlen("://"); } else { - f_iter = p_iter; + filename = filepath + strlen(provider) + 1; } - sql = "SELECT name, id FROM LOCATION WHERE name LIKE ? ORDER BY name DESC"; - statement = pragha_database_create_statement (clibrary->cdbase, sql); - mask = g_strconcat (list->data, "%", NULL); - pragha_prepared_statement_bind_string (statement, 1, mask); - while (pragha_prepared_statement_step (statement)) { - filepath = pragha_prepared_statement_get_string(statement, 0) + strlen(list->data) + 1; - add_folder_file(model, - filepath, - pragha_prepared_statement_get_int(statement, 1), - f_iter, - clibrary); - - pragha_process_gtk_events (); - } - pragha_prepared_statement_free (statement); - g_free(mask); + add_folder_file(model, + filename, + pragha_prepared_statement_get_int(statement, 1), + p_iter, + clibrary); + pragha_process_gtk_events (); } - free_str_list(library_dir); + + pragha_prepared_statement_free (statement); } -void -library_view_complete_tags_view(GtkTreeModel *model, - GtkTreeIter *p_iter, - PraghaLibraryPane *clibrary) +static void +pragha_library_view_append_provider_by_tags (PraghaLibraryPane *clibrary, + GtkTreeModel *model, + GtkTreeIter *p_iter, + const gchar *provider) { PraghaPreparedStatement *statement; gchar *order_str = NULL, *sql = NULL; + gint provider_id = 0; /* Get order needed to sqlite query. */ switch(pragha_preferences_get_library_style(clibrary->preferences)) { @@ -1840,10 +2061,13 @@ /* Common query for all tag based library views */ sql = g_strdup_printf("SELECT TRACK.title, ARTIST.name, YEAR.year, ALBUM.name, GENRE.name, LOCATION.name, LOCATION.id " "FROM TRACK, ARTIST, YEAR, ALBUM, GENRE, LOCATION " - "WHERE ARTIST.id = TRACK.artist AND TRACK.year = YEAR.id AND ALBUM.id = TRACK.album AND GENRE.id = TRACK.genre AND LOCATION.id = TRACK.location " + "WHERE PROVIDER = ? AND ARTIST.id = TRACK.artist AND TRACK.year = YEAR.id AND ALBUM.id = TRACK.album AND GENRE.id = TRACK.genre AND LOCATION.id = TRACK.location " "ORDER BY %s;", order_str); statement = pragha_database_create_statement (clibrary->cdbase, sql); + provider_id = pragha_database_find_provider (clibrary->cdbase, provider); + pragha_prepared_statement_bind_int (statement, 1, provider_id); + while (pragha_prepared_statement_step (statement)) { add_child_node_by_tags(model, p_iter, @@ -1868,8 +2092,12 @@ void library_pane_view_reload(PraghaLibraryPane *clibrary) { + PraghaDatabaseProvider *provider; + GdkPixbuf *pixbuf = NULL; GtkTreeModel *model, *filter_model; GtkTreeIter iter; + GSList *provider_list, *l; + gchar *icon_name, *friendly_name = NULL; clibrary->view_change = TRUE; @@ -1894,7 +2122,7 @@ L_PIXBUF, clibrary->pixbuf_dir, L_NODE_DATA, _("Playlists"), L_NODE_BOLD, PANGO_WEIGHT_BOLD, - L_NODE_TYPE, NODE_CATEGORY, + L_NODE_TYPE, NODE_CATEGORY_PLAYLIST, L_MACH, FALSE, L_VISIBILE, TRUE, -1); @@ -1910,7 +2138,7 @@ L_PIXBUF, clibrary->pixbuf_dir, L_NODE_DATA, _("Radios"), L_NODE_BOLD, PANGO_WEIGHT_BOLD, - L_NODE_TYPE, NODE_CATEGORY, + L_NODE_TYPE, NODE_CATEGORY_RADIO, L_MACH, FALSE, L_VISIBILE, TRUE, -1); @@ -1919,23 +2147,52 @@ /* Add library header */ - gtk_tree_store_append(GTK_TREE_STORE(model), - &iter, - NULL); - gtk_tree_store_set(GTK_TREE_STORE(model), &iter, - L_PIXBUF, clibrary->pixbuf_dir, - L_NODE_DATA, _("Library"), - L_NODE_BOLD, PANGO_WEIGHT_BOLD, - L_NODE_TYPE, NODE_CATEGORY, - L_MACH, FALSE, - L_VISIBILE, TRUE, - -1); + provider = pragha_database_provider_get (); + provider_list = pragha_provider_get_visible_list (provider, TRUE); - if (pragha_preferences_get_library_style(clibrary->preferences) == FOLDERS) { - library_view_complete_folder_view(model, &iter, clibrary); - } - else { - library_view_complete_tags_view(model, &iter, clibrary); + for (l = provider_list; l != NULL; l = l->next) { + gtk_tree_store_append (GTK_TREE_STORE(model), + &iter, + NULL); + + icon_name = pragha_database_provider_get_icon_name (provider, l->data); + + pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), + icon_name, + get_library_icon_size(), GTK_ICON_LOOKUP_FORCE_SIZE, + NULL); + + friendly_name = pragha_database_provider_get_friendly_name (provider, l->data); + + gtk_tree_store_set (GTK_TREE_STORE(model), &iter, + L_PIXBUF, pixbuf ? pixbuf : clibrary->pixbuf_dir, + L_NODE_DATA, friendly_name, + L_NODE_BOLD, PANGO_WEIGHT_BOLD, + L_NODE_TYPE, NODE_CATEGORY_PROVIDER, + L_DATABASE_ID, pragha_database_find_provider (clibrary->cdbase, l->data), + L_MACH, FALSE, + L_VISIBILE, TRUE, + -1); + + if (pixbuf) { + g_object_unref (pixbuf); + pixbuf = NULL; + } + if (icon_name) { + g_free (icon_name); + icon_name = NULL; + } + if (friendly_name) { + g_free (friendly_name); + friendly_name = NULL; + } + + if (pragha_preferences_get_library_style(clibrary->preferences) == FOLDERS) { + pragha_library_view_append_provider_by_folder (clibrary, model, &iter, l->data); + } + else { + pragha_library_view_append_provider_by_tags (clibrary, model, &iter, l->data); + } } /* Sensitive, set model and filter */ @@ -1953,6 +2210,9 @@ remove_watch_cursor (GTK_WIDGET(clibrary)); clibrary->view_change = FALSE; + + g_slist_free_full (provider_list, g_free); + g_object_unref (provider); } static void @@ -2008,7 +2268,7 @@ } static void -update_library_tracks_changes(PraghaDatabase *database, PraghaLibraryPane *library) +update_library_tracks_changes(PraghaDatabaseProvider *provider, PraghaLibraryPane *library) { /* * Rework to olny update library tree!!!. @@ -2016,73 +2276,6 @@ library_pane_view_reload(library); } -/*************************************/ -/* All menu handlers of library pane */ -/*************************************/ - -/* - * library_pane_context_menu calbacks - */ - -static void -pragha_library_pane_expand_all_action (GtkAction *action, PraghaLibraryPane *library) -{ - gtk_tree_view_expand_all(GTK_TREE_VIEW(library->library_tree)); -} - -static void -pragha_library_pane_collapse_all_action (GtkAction *action, PraghaLibraryPane *library) -{ - gtk_tree_view_collapse_all(GTK_TREE_VIEW(library->library_tree)); -} - -static void -pragha_library_pane_set_folders_view_action (GtkAction *action, PraghaLibraryPane *library) -{ - pragha_preferences_set_library_style(library->preferences, FOLDERS); -} - -static void -pragha_library_pane_set_artist_view_action (GtkAction *action, PraghaLibraryPane *library) -{ - pragha_preferences_set_library_style(library->preferences, ARTIST); -} - -static void -pragha_library_pane_set_album_view_action (GtkAction *action, PraghaLibraryPane *library) -{ - pragha_preferences_set_library_style(library->preferences, ALBUM); -} - -static void -pragha_library_pane_set_genre_view_action (GtkAction *action, PraghaLibraryPane *library) -{ - pragha_preferences_set_library_style(library->preferences, GENRE); -} - -static void -pragha_library_pane_set_artist_album_view_action (GtkAction *action, PraghaLibraryPane *library) -{ - pragha_preferences_set_library_style(library->preferences, ARTIST_ALBUM); -} - -static void -pragha_library_pane_set_genre_album_view_action (GtkAction *action, PraghaLibraryPane *library) -{ - pragha_preferences_set_library_style(library->preferences, GENRE_ALBUM); -} - -static void -pragha_library_pane_set_genre_artist_action (GtkAction *action, PraghaLibraryPane *library) -{ - pragha_preferences_set_library_style(library->preferences, GENRE_ARTIST); -} - -static void -pragha_library_pane_set_genre_artist_album_view_action (GtkAction *action, PraghaLibraryPane *library) -{ - pragha_preferences_set_library_style(library->preferences, GENRE_ARTIST_ALBUM); -} /* * library_tree_context_menu calbacks @@ -2116,7 +2309,7 @@ } static void -pragha_library_pane_rename_item_action (GtkAction *action, PraghaLibraryPane *library) +pragha_library_pane_rename_item (PraghaLibraryPane *library) { GtkTreeModel *model; GtkTreeSelection *selection; @@ -2157,7 +2350,7 @@ } static void -pragha_library_pane_remove_item_action (GtkAction *action, PraghaLibraryPane *library) +pragha_library_pane_remove_item (PraghaLibraryPane *library) { GtkTreeModel *model; GtkTreeSelection *selection; @@ -2202,7 +2395,7 @@ } static void -pragha_library_pane_export_playlist_action (GtkAction *action, PraghaLibraryPane *library) +pragha_library_pane_export_playlist (PraghaLibraryPane *library) { GtkWidget *toplevel; GIOChannel *chan = NULL; @@ -2370,7 +2563,7 @@ } static void -pragha_library_pane_edit_tags_action (GtkAction *action, PraghaLibraryPane *library) +pragha_library_pane_edit_tags (PraghaLibraryPane *library) { GtkWidget *dialog; LibraryNodeType node_type = 0; @@ -2386,6 +2579,8 @@ PraghaMusicobject *omobj = NULL; dialog = pragha_tags_dialog_new(); + gtk_window_set_transient_for (GTK_WINDOW(dialog), + GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(library)))); selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(library->library_tree)); sel = gtk_tree_selection_count_selected_rows(selection); @@ -2403,7 +2598,7 @@ if (node_type == NODE_TRACK || node_type == NODE_BASENAME) { gtk_tree_model_get(model, &iter, - L_LOCATION_ID, &location_id, -1); + L_DATABASE_ID, &location_id, -1); omobj = new_musicobject_from_db(library->cdbase, location_id); } @@ -2459,8 +2654,9 @@ } static void -pragha_library_pane_delete_from_hdd_action (GtkAction *action, PraghaLibraryPane *library) +pragha_library_pane_delete_from_hdd (PraghaLibraryPane *library) { + PraghaDatabaseProvider *provider; GtkWidget *dialog; GtkWidget *toggle_unlink; GtkTreeModel *model; @@ -2506,7 +2702,10 @@ g_array_free(loc_arr, TRUE); pragha_database_flush_stale_entries (library->cdbase); - pragha_database_change_tracks_done(library->cdbase); + + provider = pragha_database_provider_get (); + pragha_provider_update_done (provider); + g_object_unref (provider); } g_list_free_full(list, (GDestroyNotify) gtk_tree_path_free); @@ -2514,8 +2713,9 @@ } static void -pragha_library_pane_delete_from_db_action (GtkAction *action, PraghaLibraryPane *library) +pragha_library_pane_delete_from_db (PraghaLibraryPane *library) { + PraghaDatabaseProvider *provider; GtkWidget *dialog; GtkTreeModel *model; GtkTreeSelection *selection; @@ -2553,76 +2753,134 @@ pragha_database_commit_transaction (library->cdbase); pragha_database_flush_stale_entries (library->cdbase); - pragha_database_change_tracks_done(library->cdbase); + + provider = pragha_database_provider_get (); + pragha_provider_update_done (provider); + g_object_unref (provider); } g_list_free_full(list, (GDestroyNotify) gtk_tree_path_free); } } -/**************************************/ -/* Construction menus of library pane */ -/**************************************/ - -static GtkUIManager * -pragha_library_tree_context_menu_new (PraghaLibraryPane *library) +static void +pragha_library_pane_upgrade_library (PraghaLibraryPane *library) { - GtkUIManager *context_menu = NULL; - GtkActionGroup *context_actions; - GError *error = NULL; + PraghaDatabaseProvider *provider; + GtkTreeModel *model; + GtkTreeSelection *selection; + GtkTreePath *path; + GtkTreeIter iter; + GList *list; + LibraryNodeType node_type = 0; + gint provider_id = 0; - context_actions = gtk_action_group_new("Library Tree Context Actions"); - context_menu = gtk_ui_manager_new(); + selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(library->library_tree)); + list = gtk_tree_selection_get_selected_rows (selection, &model); - gtk_action_group_set_translation_domain (context_actions, GETTEXT_PACKAGE); + if (list != NULL) + { + path = list->data; + gtk_tree_model_get_iter (model, &iter, path); + gtk_tree_model_get (model, &iter, L_NODE_TYPE, &node_type, -1); + if (node_type == NODE_CATEGORY_PROVIDER) + gtk_tree_model_get (model, &iter, L_DATABASE_ID, &provider_id, -1); + } - if (!gtk_ui_manager_add_ui_from_string (context_menu, - library_tree_context_menu_xml, - -1, &error)) { - g_critical ("Unable to create library tree context menu, err : %s", - error->message); + if (provider_id > 0) + { + provider = pragha_database_provider_get (); + pragha_provider_want_upgrade (provider, provider_id); + g_object_unref (provider); } +} - gtk_action_group_add_actions (context_actions, - library_tree_context_aentries, - G_N_ELEMENTS(library_tree_context_aentries), - (gpointer) library); +static void +pragha_library_pane_update_library (PraghaLibraryPane *library) +{ + PraghaDatabaseProvider *provider; + GtkTreeModel *model; + GtkTreeSelection *selection; + GtkTreePath *path; + GtkTreeIter iter; + GList *list; + LibraryNodeType node_type = 0; + gint provider_id = 0; - gtk_ui_manager_insert_action_group (context_menu, context_actions, 0); + selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(library->library_tree)); + list = gtk_tree_selection_get_selected_rows (selection, &model); - g_object_unref (context_actions); + if (list != NULL) + { + path = list->data; + gtk_tree_model_get_iter (model, &iter, path); + gtk_tree_model_get (model, &iter, L_NODE_TYPE, &node_type, -1); + if (node_type == NODE_CATEGORY_PROVIDER) + gtk_tree_model_get (model, &iter, L_DATABASE_ID, &provider_id, -1); + } - return context_menu; + if (provider_id > 0) + { + provider = pragha_database_provider_get (); + pragha_provider_want_update (provider, provider_id); + g_object_unref (provider); + } } -static GtkUIManager * -pragha_library_pane_header_context_menu_new (PraghaLibraryPane *library) +static void +pragha_library_pane_remove_library (PraghaLibraryPane *library) { - GtkUIManager *context_menu = NULL; - GtkActionGroup *context_actions; - GError *error = NULL; + PraghaDatabaseProvider *provider; + GtkTreeModel *model; + GtkTreeSelection *selection; + GtkTreePath *path; + GtkTreeIter iter; + GList *list; + LibraryNodeType node_type = 0; + gint provider_id = 0; - context_actions = gtk_action_group_new("Header Library Pane Context Actions"); - context_menu = gtk_ui_manager_new(); + selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(library->library_tree)); + list = gtk_tree_selection_get_selected_rows (selection, &model); - gtk_action_group_set_translation_domain (context_actions, GETTEXT_PACKAGE); + if (list != NULL) + { + path = list->data; + gtk_tree_model_get_iter (model, &iter, path); + gtk_tree_model_get (model, &iter, L_NODE_TYPE, &node_type, -1); + if (node_type == NODE_CATEGORY_PROVIDER) + gtk_tree_model_get (model, &iter, L_DATABASE_ID, &provider_id, -1); + } - if (!gtk_ui_manager_add_ui_from_string (context_menu, - library_pane_context_menu_xml, - -1, &error)) { - g_critical ("(%s): Unable to create header library tree context menu, err : %s", - __func__, error->message); + if (provider_id > 0) + { + provider = pragha_database_provider_get (); + pragha_provider_want_remove (provider, provider_id); + g_object_unref (provider); } +} - gtk_action_group_add_actions (context_actions, - library_pane_context_aentries, - G_N_ELEMENTS(library_pane_context_aentries), - (gpointer) library); - gtk_ui_manager_insert_action_group (context_menu, context_actions, 0); +/**************************************/ +/* Construction menus of library pane */ +/**************************************/ + +static void +pragha_library_tree_context_menu_new (PraghaLibraryPane *library) +{ + GError *error = NULL; - g_object_unref (context_actions); + library->builder = gtk_builder_new (); + gtk_builder_add_from_string (library->builder, pragha_window_ui, -1, &error); + if (error) { + g_print ("GtkBuilder error: %s", error->message); + g_error_free (error); + error = NULL; + } - return context_menu; + library->actions = g_simple_action_group_new (); + g_action_map_add_action_entries (G_ACTION_MAP(library->actions), + library_menu_aentries, + G_N_ELEMENTS(library_menu_aentries), + (gpointer)library); } /********************************/ @@ -2657,12 +2915,19 @@ library_filter_tree = gtk_tree_model_filter_new(GTK_TREE_MODEL(clibrary->library_store), NULL); gtk_tree_model_filter_set_visible_column(GTK_TREE_MODEL_FILTER(library_filter_tree), - L_VISIBILE); + L_VISIBILE); + /* Create the tree view */ library_tree = gtk_tree_view_new_with_model(GTK_TREE_MODEL(library_filter_tree)); gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(library_tree), FALSE); gtk_tree_view_set_show_expanders(GTK_TREE_VIEW(library_tree), TRUE); + gtk_tree_view_set_fixed_height_mode (GTK_TREE_VIEW(library_tree), TRUE); + + /* Set sidebar style */ + + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET(library_tree)), + GTK_STYLE_CLASS_SIDEBAR); /* Selection mode is multiple */ @@ -2672,6 +2937,7 @@ /* Create column and cell renderers */ column = gtk_tree_view_column_new(); + gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED); renderer = gtk_cell_renderer_pixbuf_new(); gtk_tree_view_column_pack_start(column, renderer, FALSE); @@ -2723,7 +2989,6 @@ GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW(library_tree_scroll), GTK_SHADOW_IN); - gtk_container_set_border_width (GTK_CONTAINER(library_tree_scroll), 2); /* Package all */ @@ -2840,23 +3105,26 @@ return library->pane_title; } -GtkMenu * -pragha_library_pane_get_popup_menu (PraghaLibraryPane *library) +GtkWidget * +pragha_library_pane_get_popover (PraghaLibraryPane *library) { - return GTK_MENU(gtk_ui_manager_get_widget(library->library_pane_context_menu, "/popup")); -} + GMenuModel *model; + GtkWidget *popover; + model = G_MENU_MODEL(gtk_builder_get_object (library->builder, "library-order-menu")); + popover = gtk_popover_new_from_model (library->pane_title, model); + gtk_widget_insert_action_group (popover, "lib", G_ACTION_GROUP(library->actions)); -GtkUIManager * -pragha_library_pane_get_pane_context_menu(PraghaLibraryPane *clibrary) -{ - return clibrary->library_pane_context_menu; + return popover; } static void pragha_library_pane_init (PraghaLibraryPane *library) { + PraghaDatabaseProvider *provider; + gtk_orientable_set_orientation (GTK_ORIENTABLE (library), GTK_ORIENTATION_VERTICAL); + g_object_set (G_OBJECT(library), "spacing", 2, NULL); /* Get usefuls instances */ @@ -2872,26 +3140,22 @@ library->search_entry = pragha_library_pane_search_entry_new (library); library->library_tree = pragha_library_pane_tree_new (library); library->pane_title = gtk_label_new(""); - gtk_misc_set_alignment (GTK_MISC(library->pane_title), 0, 0.5); + gtk_widget_set_halign (GTK_WIDGET(library->pane_title), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(library->pane_title), GTK_ALIGN_CENTER); /* Create main widget */ pragha_library_pane_create_widget (library); - gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET(library)), - GTK_STYLE_CLASS_SIDEBAR); - /* Create context menus */ - library->library_pane_context_menu = pragha_library_pane_header_context_menu_new (library); - library->library_tree_context_menu = pragha_library_tree_context_menu_new (library); + pragha_library_tree_context_menu_new (library); /* Init the rest of flags */ library->filter_entry = NULL; library->dragging = FALSE; library->view_change = FALSE; - library->timeout_id = 0; library->library_tree_nodes = NULL; /* Init drag and drop */ @@ -2907,20 +3171,23 @@ g_signal_connect (G_OBJECT(library->library_tree), "row-activated", G_CALLBACK(library_tree_row_activated_cb), library); g_signal_connect (G_OBJECT(library->library_tree), "button-press-event", - G_CALLBACK(library_tree_button_press_cb), library); + G_CALLBACK(pragha_library_pane_tree_button_press_cb), library); g_signal_connect (G_OBJECT(library->library_tree), "button-release-event", G_CALLBACK(library_tree_button_release_cb), library); g_signal_connect (G_OBJECT (library->library_tree), "key-press-event", - G_CALLBACK(library_tree_key_press), library); + G_CALLBACK(pragha_library_pane_tree_key_press), library); g_signal_connect (library->cdbase, "PlaylistsChanged", G_CALLBACK (update_library_playlist_changes), library); - g_signal_connect (library->cdbase, "TracksChanged", - G_CALLBACK (update_library_tracks_changes), library); g_signal_connect (library->preferences, "notify::library-style", G_CALLBACK (library_pane_change_style), library); + provider = pragha_database_provider_get (); + g_signal_connect (provider, "update-done", + G_CALLBACK (update_library_tracks_changes), library); + g_object_unref (provider); + gtk_widget_show_all (GTK_WIDGET(library)); } @@ -2940,14 +3207,19 @@ if (library->pixbuf_genre) g_object_unref (library->pixbuf_genre); + if (library->filter_entry != NULL) { + g_free (library->filter_entry); + library->filter_entry = NULL; + } + g_object_unref (library->cdbase); g_object_unref (library->preferences); g_object_unref (library->library_store); g_slist_free (library->library_tree_nodes); - g_object_unref (library->library_pane_context_menu); - g_object_unref (library->library_tree_context_menu); + g_object_unref (library->builder); + g_object_unref (library->actions); (*G_OBJECT_CLASS (pragha_library_pane_parent_class)->finalize) (object); } @@ -2963,27 +3235,38 @@ /* * Signals: */ - signals[LIBRARY_APPEND_PLAYLIST] = g_signal_new ("library-append-playlist", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaLibraryPaneClass, library_append_playlist), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); - signals[LIBRARY_REPLACE_PLAYLIST] = g_signal_new ("library-replace-playlist", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaLibraryPaneClass, library_replace_playlist), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); - signals[LIBRARY_REPLACE_PLAYLIST_AND_PLAY] = g_signal_new ("library-replace-playlist-and-play", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaLibraryPaneClass, library_replace_playlist_and_play), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); + signals[LIBRARY_APPEND_PLAYLIST] = + g_signal_new ("library-append-playlist", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaLibraryPaneClass, library_append_playlist), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + signals[LIBRARY_REPLACE_PLAYLIST] = + g_signal_new ("library-replace-playlist", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaLibraryPaneClass, library_replace_playlist), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + signals[LIBRARY_REPLACE_PLAYLIST_AND_PLAY] = + g_signal_new ("library-replace-playlist-and-play", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaLibraryPaneClass, library_replace_playlist_and_play), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + signals[LIBRARY_ADDTO_PLAYLIST_AND_PLAY] = + g_signal_new ("library-addto-playlist-and-play", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaLibraryPaneClass, library_addto_playlist_and_play), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); } PraghaLibraryPane * diff -Nru pragha-1.3.3/src/pragha-library-pane.h pragha-1.3.992/src/pragha-library-pane.h --- pragha-1.3.3/src/pragha-library-pane.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-library-pane.h 2019-07-03 00:31:03.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -36,6 +36,7 @@ void (*library_append_playlist) (PraghaLibraryPane *toolbar); void (*library_replace_playlist) (PraghaLibraryPane *toolbar); void (*library_replace_playlist_and_play) (PraghaLibraryPane *toolbar); + void (*library_addto_playlist_and_play) (PraghaLibraryPane *toolbar); } PraghaLibraryPaneClass; /* Library Views */ @@ -66,7 +67,7 @@ GtkWidget *pragha_library_pane_get_widget (PraghaLibraryPane *librarypane); GtkWidget *pragha_library_pane_get_pane_title (PraghaLibraryPane *library); -GtkMenu *pragha_library_pane_get_popup_menu (PraghaLibraryPane *library); +GtkWidget *pragha_library_pane_get_popover (PraghaLibraryPane *library); GtkUIManager *pragha_library_pane_get_pane_context_menu(PraghaLibraryPane *clibrary); diff -Nru pragha-1.3.3/src/pragha-menubar.c pragha-1.3.992/src/pragha-menubar.c --- pragha-1.3.3/src/pragha-menubar.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-menubar.c 2019-08-01 15:16:38.000000000 +0000 @@ -45,6 +45,8 @@ #include "pragha-equalizer-dialog.h" #include "pragha.h" +#include "pragha-window-ui.h" + /* * Prototypes */ @@ -151,13 +153,14 @@ \
    \ \ + \ + \ \ \ \ \ \ \ - \ \ \ \ @@ -266,16 +269,13 @@ "F9", "Lateral panel", NULL, TRUE}, {"Lateral panel2", NULL, N_("Secondary lateral panel"), - "F9", "Secondary lateral panel", NULL, + "F9", "Secondary lateral panel", NULL, FALSE}, {"Playback controls below", NULL, N_("Playback controls below"), NULL, "Show playback controls below", G_CALLBACK(show_controls_below_action), FALSE}, {"Show menubar", NULL, N_("Menubar"), "M", "Show menubar", NULL, - TRUE}, - {"Status bar", NULL, N_("Status bar"), - "", "Status bar", NULL, TRUE} }; @@ -666,7 +666,7 @@ static void wiki_action(GtkAction *action, PraghaApplication *pragha) { - const gchar *uri = "http://pragha-music-player.github.io/wiki"; + const gchar *uri = "https://github.com/pragha-music-player/pragha/wiki/Welcome-to-the-Pragha-Wiki"; open_url(uri, pragha_application_get_window(pragha)); } @@ -716,7 +716,6 @@ preferences = pragha_application_get_preferences (pragha); -#if GTK_CHECK_VERSION (3, 12, 0) if (!pragha_preferences_get_system_titlebar(preferences)) { GtkAction *fullscreen_action = pragha_application_get_menu_action (pragha, "/Menubar/ViewMenu/Fullscreen"); gtk_action_set_sensitive (GTK_ACTION (fullscreen_action), FALSE); @@ -724,7 +723,6 @@ GtkAction *below_action = pragha_application_get_menu_action (pragha, "/Menubar/ViewMenu/Playback controls below"); gtk_action_set_sensitive (GTK_ACTION (below_action), FALSE); } -#endif GtkAction *action_shuffle = gtk_ui_manager_get_action(menu_ui_manager, "/Menubar/PlaybackMenu/Shuffle"); g_object_bind_property (preferences, "shuffle", action_shuffle, "active", binding_flags); @@ -738,9 +736,6 @@ GtkAction *action_lateral2 = gtk_ui_manager_get_action(menu_ui_manager, "/Menubar/ViewMenu/Lateral panel2"); g_object_bind_property (preferences, "secondary-lateral-panel", action_lateral2, "active", binding_flags); - GtkAction *action_status_bar = gtk_ui_manager_get_action(menu_ui_manager, "/Menubar/ViewMenu/Status bar"); - g_object_bind_property (preferences, "show-status-bar", action_status_bar, "active", binding_flags); - GtkAction *action_show_menubar = gtk_ui_manager_get_action(menu_ui_manager, "/Menubar/ViewMenu/Show menubar"); g_object_bind_property (preferences, "show-menubar", action_show_menubar, "active", binding_flags); @@ -1230,21 +1225,28 @@ GtkBuilder *builder; GActionMap *map; GMenu *menu; - const char *action; + gchar *action; + gboolean found = FALSE; gint i; builder = pragha_application_get_menu_ui (pragha); menu = G_MENU (gtk_builder_get_object (builder, placeholder)); - for (i = 0; i < g_menu_model_get_n_items (G_MENU_MODEL(menu)); i++) { - if (g_menu_model_get_item_attribute (G_MENU_MODEL(menu), i, G_MENU_ATTRIBUTE_ACTION, "s", &action)) { - if (g_strcmp0 (action + strlen ("win."), action_name) == 0) { + for (i = 0; i < g_menu_model_get_n_items (G_MENU_MODEL(menu)); i++) + { + if (g_menu_model_get_item_attribute (G_MENU_MODEL(menu), i, G_MENU_ATTRIBUTE_ACTION, "s", &action)) + { + if (g_strcmp0 (action + strlen ("win."), action_name) == 0) + { g_menu_remove (G_MENU (menu), i); map = G_ACTION_MAP (pragha_application_get_window(pragha)); g_action_map_remove_action (map, action_name); - break; + found = TRUE; } + g_free (action); + if (found) + break; } } } @@ -1280,6 +1282,7 @@ g_menu_insert_item (section, -1, menu_item); g_object_unref (menu_item); + g_object_unref (builder); } void @@ -1289,16 +1292,19 @@ { GtkBuilder *builder; GMenu *menu; - const char *id; + gchar *id = NULL; gint i; builder = pragha_application_get_menu_ui (pragha); menu = G_MENU (gtk_builder_get_object (builder, placeholder)); - for (i = 0; i < g_menu_model_get_n_items (G_MENU_MODEL(menu)); i++) { - if (g_menu_model_get_item_attribute (G_MENU_MODEL(menu), i, "pragha-merge-id", "s", &id)) { + for (i = 0; i < g_menu_model_get_n_items (G_MENU_MODEL(menu)); i++) + { + if (g_menu_model_get_item_attribute (G_MENU_MODEL(menu), i, "pragha-merge-id", "s", &id)) + { if (g_strcmp0 (id, item_id) == 0) g_menu_remove (G_MENU (menu), i); + g_free (id); } } } @@ -1334,6 +1340,7 @@ item = g_menu_item_new (name, action_name); pragha_menubar_append_action (pragha, "playlist-submenu", action, item); + g_object_unref (item); g_free(selection_name); g_free(action_name); @@ -1346,9 +1353,10 @@ G_CALLBACK (pragha_gmenu_selection_append), pragha); action_name = g_strdup_printf ("win.%s", selection_name); - item = g_menu_item_new (name, action_name); + item = g_menu_item_new (name, action_name); pragha_menubar_append_action (pragha, "selection-submenu", action, item); + g_object_unref (item); g_free(selection_name); g_free(action_name); @@ -1427,7 +1435,6 @@ { "sidebar1", activate_toggle, NULL, "false", NULL }, { "sidebar2", activate_toggle, NULL, "false", NULL }, { "menubar", activate_toggle, NULL, "true", NULL }, - { "status-bar", activate_toggle, NULL, "false", NULL }, { "jump-song", pragha_gmenu_jump_to_song, NULL, NULL, NULL }, /* Tools submenu */ { "equalizer", pragha_gmenu_equalizer, NULL, NULL, NULL }, @@ -1443,51 +1450,6 @@ { "about", pragha_gmenu_about, NULL, NULL, NULL } }; -static const gchar *menu_ui = \ - NEW_MENU("menubar") \ - NEW_ACCEL_ITEM("_Add files", "<Control>O", "win", "open") \ - NEW_ITEM ("Add _location", "win", "location") \ - NEW_ITEM ("_Add the library", "win", "library") \ - NEW_PLACEHOLDER("pragha-plugins-append-music") \ - SEPARATOR \ - NEW_ACCEL_ITEM ("Edit track information", "<Control>E", "win", "edit") \ - NEW_ITEM ("E_qualizer", "win", "equalizer") \ - SEPARATOR \ - NEW_ITEM ("Remove selection from playlist", "win", "remove") \ - NEW_ACCEL_ITEM("Crop playlist", "<Control>C", "win", "crop") \ - NEW_ACCEL_ITEM("Clear playlist", "<Control>L", "win", "clear") \ - NEW_SUBMENU("Save playlist") \ - NEW_ACCEL_ITEM("New playlist", "<Control>S", "win", "new_playlist") \ - NEW_ITEM ("Export", "win", "export_playlist") \ - SEPARATOR \ - NEW_PLACEHOLDER("playlist-submenu") \ - CLOSE_SUBMENU \ - NEW_SUBMENU("Save selection") \ - NEW_ACCEL_ITEM("New playlist", "<Shift><Control>S","win", "new_selection") \ - NEW_ITEM ("Export", "win", "export_selection") \ - SEPARATOR \ - NEW_PLACEHOLDER("selection-submenu") \ - CLOSE_SUBMENU \ - SEPARATOR \ - NEW_ACCEL_ITEM("_Search in playlist", "<Control>F", "win", "search") \ - NEW_ACCEL_ITEM("Jump to playing song", "<Control>J", "win", "jump-song") \ - SEPARATOR \ - NEW_ACCEL_ITEM ("Show lateral _panel", "F9", "win", "sidebar1") \ - NEW_ACCEL_ITEM ("Show secondary lateral panel", "<Control>F9", "win", "sidebar2") \ - NEW_ACCEL_ITEM ("Show menubar", "<Control>M", "win", "menubar") \ - NEW_ITEM ("Show status bar", "win", "status-bar") \ - SEPARATOR \ - NEW_PLACEHOLDER("pragha-plugins-placeholder") \ - SEPARATOR \ - NEW_ITEM ("_Rescan library", "win", "lib-rescan") \ - NEW_ITEM ("_Update library", "win", "lib-update") \ - SEPARATOR \ - NEW_ACCEL_ITEM("_Preferences", "<Control>P", "win", "preferences") \ - NEW_ITEM ("About", "win", "about") \ - NEW_ACCEL_ITEM("_Quit", "<Control>Q", "win", "quit") \ - CLOSE_MENU; - - GtkBuilder * pragha_gmenu_toolbar_new (PraghaApplication *pragha) { @@ -1501,7 +1463,7 @@ G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL; builder = gtk_builder_new (); - gtk_builder_add_from_string (builder, menu_ui, -1, &error); + gtk_builder_add_from_string (builder, pragha_window_ui, -1, &error); if (error) { g_print ("GtkBuilder error: %s", error->message); g_error_free (error); @@ -1561,14 +1523,6 @@ NULL, NULL); - action = g_action_map_lookup_action (map, "status-bar"); - g_object_bind_property_full (preferences, "show-status-bar", - action, "state", - binding_flags, - binding_gboolean_to_variant, - binding_variant_to_gboolean, - NULL, - NULL); action = g_action_map_lookup_action (map, "menubar"); g_object_bind_property_full (preferences, "show-menubar", action, "state", diff -Nru pragha-1.3.3/src/pragha-menubar.h pragha-1.3.992/src/pragha-menubar.h --- pragha-1.3.3/src/pragha-menubar.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-menubar.h 2018-06-28 23:38:57.000000000 +0000 @@ -24,86 +24,6 @@ #include "pragha.h" -/* - * Helper to GMenumodel definitions. - * - * NOTE: Remember use "<" and ">" as "<" and ">" in accelerators. - */ - -#define NEW_MENU(_MENU) \ - "" \ - " " \ - "
    " - -#define NEW_SUBMENU(_LABEL) \ - " " \ - " " _LABEL "" \ - "
    " - -#define NEW_NAMED_SUBMENU(_ID,_LABEL) \ - " " \ - " " _LABEL "" \ - "
    " - -#define NEW_ITEM(_LABEL,_PREFIX,_ACTION) \ - " " \ - " " _LABEL "" \ - " " _PREFIX "." _ACTION "" \ - " " - -#define NEW_ACCEL_ITEM(_LABEL,_ACCEL,_PREFIX,_ACTION) \ - " " \ - " " _LABEL "" \ - " " _PREFIX "." _ACTION "" \ - " " _ACCEL "" \ - " " - -#define NEW_ICON_ITEM(_LABEL,_ICON,_PREFIX,_ACTION) \ - " " \ - " " _LABEL "" \ - " " _PREFIX "." _ACTION "" \ - " " _ICON "" \ - " " - -#define NEW_ICON_ACCEL_ITEM(_LABEL,_ICON,_ACCEL,_PREFIX,_ACTION) \ - " " \ - " " _LABEL "" \ - " " _PREFIX "." _ACTION "" \ - " " _ICON "" \ - " " _ACCEL "" \ - " " - -#define SEPARATOR \ - "
    " \ - "
    " -#define NEW_PLACEHOLDER(_TAG) \ - "
    " - -#define OPEN_PLACEHOLDER(_TAG) \ - "
    " - -#define CLOSE_PLACEHOLDER \ - "
    " - -#define CLOSE_SUBMENU \ - "
    " \ - " " - -#define CLOSE_MENU \ - "
    " \ - "
    " \ - "
    " - -#define NEW_POPUP(_POPUP) \ - "" \ - " " \ - "
    " - -#define CLOSE_POPUP \ - "
    " \ - "
    " \ - "
    " - void pragha_menubar_update_playback_state_cb (PraghaBackend *backend, GParamSpec *pspec, gpointer user_data); /* diff -Nru pragha-1.3.3/src/pragha-music-enum.c pragha-1.3.992/src/pragha-music-enum.c --- pragha-1.3.3/src/pragha-music-enum.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-music-enum.c 2018-06-21 11:24:11.000000000 +0000 @@ -123,6 +123,9 @@ { gint i = 0; + if (g_ascii_strcasecmp(name, "local") == 0) + return FILE_LOCAL; + /* First check if exist */ for (i = 0; i <= enum_map->size; i++) { if (enum_map->map[i].name == NULL) diff -Nru pragha-1.3.3/src/pragha-musicobject.c pragha-1.3.992/src/pragha-musicobject.c --- pragha-1.3.3/src/pragha-musicobject.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-musicobject.c 2019-03-12 12:57:42.000000000 +0000 @@ -1,28 +1,27 @@ /*************************************************************************/ -/* Copyright (C) 2012-2013 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ +/* Copyright (C) 2012-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ /* along with this program. If not, see . */ /*************************************************************************/ #include "pragha-musicobject.h" -G_DEFINE_TYPE(PraghaMusicobject, pragha_musicobject, G_TYPE_OBJECT) - struct _PraghaMusicobjectPrivate { gchar *file; PraghaMusicSource source; + gchar *provider; gchar *mime_type; gchar *title; gchar *artist; @@ -37,11 +36,14 @@ gint samplerate; }; +G_DEFINE_TYPE_WITH_PRIVATE(PraghaMusicobject, pragha_musicobject, G_TYPE_OBJECT) + enum { PROP_0, PROP_FILE, PROP_SOURCE, + PROP_PROVIDER, PROP_MIME_TYPE, PROP_TITLE, PROP_ARTIST, @@ -81,6 +83,7 @@ return g_object_new (PRAGHA_TYPE_MUSICOBJECT, "file", pragha_musicobject_get_file(musicobject), "source", pragha_musicobject_get_source (musicobject), + "provider", pragha_musicobject_get_provider (musicobject), "mime-type", pragha_musicobject_get_mime_type(musicobject), "title", pragha_musicobject_get_title(musicobject), "artist", pragha_musicobject_get_artist(musicobject), @@ -108,6 +111,7 @@ g_object_set (musicobject, "file", "", "source", FILE_NONE, + "provider", "", "mime-type", "", "title", "", "artist", "", @@ -212,6 +216,36 @@ } /** + * pragha_musicobject_get_provider: + * + */ +const gchar * +pragha_musicobject_get_provider (PraghaMusicobject *musicobject) +{ + g_return_val_if_fail(PRAGHA_IS_MUSICOBJECT(musicobject), NULL); + + return musicobject->priv->provider; +} +/** + * pragha_musicobject_set_provider: + * + */ +void +pragha_musicobject_set_provider (PraghaMusicobject *musicobject, + const gchar *provider) +{ + PraghaMusicobjectPrivate *priv; + + g_return_if_fail(PRAGHA_IS_MUSICOBJECT(musicobject)); + + priv = musicobject->priv; + + g_free(priv->provider); + priv->provider = g_strdup(provider); +} + + +/** * pragha_musicobject_get_mime_type: * */ @@ -562,6 +596,7 @@ g_free(priv->file); g_free(priv->mime_type); + g_free(priv->provider); g_free(priv->title); g_free(priv->artist); g_free(priv->album); @@ -586,6 +621,9 @@ case PROP_SOURCE: g_value_set_int(value, pragha_musicobject_get_source(musicobject)); break; + case PROP_PROVIDER: + g_value_set_string (value, pragha_musicobject_get_provider(musicobject)); + break; case PROP_MIME_TYPE: g_value_set_string (value, pragha_musicobject_get_mime_type(musicobject)); break; @@ -642,6 +680,9 @@ case PROP_SOURCE: pragha_musicobject_set_source(musicobject, g_value_get_int(value)); break; + case PROP_PROVIDER: + pragha_musicobject_set_provider(musicobject, g_value_get_string(value)); + break; case PROP_MIME_TYPE: pragha_musicobject_set_mime_type(musicobject, g_value_get_string(value)); break; @@ -692,7 +733,6 @@ object_class->finalize = pragha_musicobject_finalize; object_class->get_property = pragha_musicobject_get_property; object_class->set_property = pragha_musicobject_set_property; - g_type_class_add_private(object_class, sizeof(PraghaMusicobjectPrivate)); /** * PraghaMusicobject:file: @@ -719,6 +759,17 @@ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); /** + * PraghaMusicobject:provider: + * + */ + gParamSpecs[PROP_PROVIDER] = + g_param_spec_string("provider", + "Provider", + "The Provider", + "", + PRAGHA_MUSICOBJECT_PARAM_STRING); + + /** * PraghaMusicobject:mime_type: * */ diff -Nru pragha-1.3.3/src/pragha-musicobject.h pragha-1.3.992/src/pragha-musicobject.h --- pragha-1.3.3/src/pragha-musicobject.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-musicobject.h 2019-03-12 13:02:51.000000000 +0000 @@ -1,17 +1,17 @@ /*************************************************************************/ -/* Copyright (C) 2012-2013 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ +/* Copyright (C) 2012-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ /* along with this program. If not, see . */ /*************************************************************************/ @@ -22,6 +22,7 @@ G_BEGIN_DECLS +GType pragha_musicobject_get_type (void) G_GNUC_CONST; #define PRAGHA_TYPE_MUSICOBJECT (pragha_musicobject_get_type()) #define PRAGHA_MUSICOBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_MUSICOBJECT, PraghaMusicobject)) #define PRAGHA_MUSICOBJECT_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_MUSICOBJECT, PraghaMusicobject const)) @@ -62,7 +63,9 @@ #define PRAGHA_MUSICOBJECT_PARAM_STRING G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS -PraghaMusicobject *pragha_musicobject_new (void); +PraghaMusicobject * +pragha_musicobject_new (void); + PraghaMusicobject * pragha_musicobject_dup (PraghaMusicobject *musicobject); void @@ -70,8 +73,6 @@ gint pragha_musicobject_compare (PraghaMusicobject *a, PraghaMusicobject *b); -GType pragha_musicobject_get_type (void) G_GNUC_CONST; - const gchar * pragha_musicobject_get_file (PraghaMusicobject *musicobject); void @@ -88,6 +89,12 @@ PraghaMusicSource source); const gchar * +pragha_musicobject_get_provider (PraghaMusicobject *musicobject); +void +pragha_musicobject_set_provider (PraghaMusicobject *musicobject, + const gchar *provider); + +const gchar * pragha_musicobject_get_mime_type (PraghaMusicobject *musicobject); void pragha_musicobject_set_mime_type (PraghaMusicobject *musicobject, diff -Nru pragha-1.3.3/src/pragha-musicobject-mgmt.c pragha-1.3.992/src/pragha-musicobject-mgmt.c --- pragha-1.3.3/src/pragha-musicobject-mgmt.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-musicobject-mgmt.c 2018-06-21 11:24:11.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2018 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -24,9 +24,10 @@ #include "pragha-file-utils.h" #include "pragha-playlists-mgmt.h" #include "pragha-tags-mgmt.h" +#include "pragha-music-enum.h" PraghaMusicobject * -new_musicobject_from_file(const gchar *file) +new_musicobject_from_file(const gchar *file, const gchar *provider) { PraghaMusicobject *mobj = NULL; gchar *mime_type = NULL; @@ -39,6 +40,7 @@ mobj = g_object_new (PRAGHA_TYPE_MUSICOBJECT, "file", file, "source", FILE_LOCAL, + "provider", provider, "mime-type", mime_type, NULL); @@ -59,60 +61,50 @@ PraghaMusicobject * new_musicobject_from_db(PraghaDatabase *cdbase, gint location_id) { + PraghaPreparedStatement *statement = NULL; + PraghaMusicEnum *enum_map = NULL; PraghaMusicobject *mobj = NULL; - CDEBUG(DBG_MOBJ, "Creating new musicobject with location id: %d", - location_id); + CDEBUG(DBG_MOBJ, "Creating new musicobject with location id: %d", location_id); - const gchar *sql = "SELECT \ -MIME_TYPE.name, \ -TRACK.samplerate, \ -TRACK.channels, \ -TRACK.length, \ -TRACK.bitrate, \ -COMMENT.name, \ -YEAR.year, \ -TRACK.track_no, \ -GENRE.name, \ -ALBUM.name, \ -ARTIST.name, \ -TRACK.title, \ -LOCATION.name \ -FROM MIME_TYPE, TRACK, COMMENT, YEAR, GENRE, ALBUM, ARTIST, LOCATION \ -WHERE TRACK.location = ? \ -AND MIME_TYPE.id = TRACK.file_type \ -AND COMMENT.id = TRACK.comment \ -AND YEAR.id = TRACK.year \ -AND GENRE.id = TRACK.genre \ -AND ALBUM.id = TRACK.album \ -AND ARTIST.id = TRACK.artist \ -AND LOCATION.id = ?"; + const gchar *sql = + "SELECT LOCATION.name, PROVIDER_TYPE.name, PROVIDER.name, MIME_TYPE.name, TRACK.title, ARTIST.name, ALBUM.name, GENRE.name, COMMENT.name, YEAR.year, TRACK.track_no, TRACK.length, TRACK.bitrate, TRACK.channels, TRACK.samplerate \ + FROM LOCATION, PROVIDER_TYPE, PROVIDER, MIME_TYPE, TRACK, ARTIST, ALBUM, GENRE, COMMENT, YEAR \ + WHERE TRACK.location = ? AND PROVIDER.id = TRACK.provider AND PROVIDER_TYPE.id = PROVIDER.type AND MIME_TYPE.id = TRACK.file_type AND ARTIST.id = TRACK.artist AND ALBUM.id = TRACK.album AND GENRE.id = TRACK.genre AND COMMENT.id = TRACK.comment AND YEAR.id = TRACK.year \ + AND LOCATION.id = ?"; - PraghaPreparedStatement *statement = pragha_database_create_statement (cdbase, sql); + statement = pragha_database_create_statement (cdbase, sql); pragha_prepared_statement_bind_int (statement, 1, location_id); pragha_prepared_statement_bind_int (statement, 2, location_id); - if (pragha_prepared_statement_step (statement)) { + if (pragha_prepared_statement_step (statement)) + { mobj = g_object_new (PRAGHA_TYPE_MUSICOBJECT, - "file", pragha_prepared_statement_get_string (statement, 12), - "source", FILE_LOCAL, - "mime-type", pragha_prepared_statement_get_string (statement, 0), - "title", pragha_prepared_statement_get_string (statement, 11), - "artist", pragha_prepared_statement_get_string (statement, 10), - "album", pragha_prepared_statement_get_string (statement, 9), - "genre", pragha_prepared_statement_get_string (statement, 8), - "comment", pragha_prepared_statement_get_string (statement, 5), - "year", pragha_prepared_statement_get_int (statement, 6), - "track-no", pragha_prepared_statement_get_int (statement, 7), - "length", pragha_prepared_statement_get_int (statement, 3), - "bitrate", pragha_prepared_statement_get_int (statement, 4), - "channels", pragha_prepared_statement_get_int (statement, 2), - "samplerate", pragha_prepared_statement_get_int (statement, 1), + "file", pragha_prepared_statement_get_string (statement, 0), + "provider", pragha_prepared_statement_get_string (statement, 2), + "mime-type", pragha_prepared_statement_get_string (statement, 3), + "title", pragha_prepared_statement_get_string (statement, 4), + "artist", pragha_prepared_statement_get_string (statement, 5), + "album", pragha_prepared_statement_get_string (statement, 6), + "genre", pragha_prepared_statement_get_string (statement, 7), + "comment", pragha_prepared_statement_get_string (statement, 8), + "year", pragha_prepared_statement_get_int (statement, 9), + "track-no", pragha_prepared_statement_get_int (statement, 10), + "length", pragha_prepared_statement_get_int (statement, 11), + "bitrate", pragha_prepared_statement_get_int (statement, 12), + "channels", pragha_prepared_statement_get_int (statement, 13), + "samplerate", pragha_prepared_statement_get_int (statement, 14), NULL); - } - else { - g_critical("Track with location id : %d not found in DB", - location_id); + + enum_map = pragha_music_enum_get (); + pragha_musicobject_set_source (mobj, + pragha_music_enum_map_get(enum_map, + pragha_prepared_statement_get_string (statement, 1))); + g_object_unref (enum_map); + } + else + { + g_critical("Track with location id : %d not found in DB", location_id); } pragha_prepared_statement_free (statement); @@ -167,3 +159,35 @@ pragha_musicobject_set_comment(mobj, pragha_musicobject_get_comment(nmobj)); } } + +PraghaMusicobject * +pragha_database_get_artist_and_title_song (PraghaDatabase *cdbase, + const gchar *artist, + const gchar *title) +{ + PraghaMusicobject *mobj = NULL; + gint location_id = 0; + + const gchar *sql = + "SELECT LOCATION.id " + "FROM TRACK, ARTIST, PROVIDER, LOCATION " + "WHERE ARTIST.id = TRACK.artist " + "AND LOCATION.id = TRACK.location " + "AND TRACK.provider = PROVIDER.id AND PROVIDER.visible <> 0 " + "AND TRACK.title = ? COLLATE NOCASE " + "AND ARTIST.name = ? COLLATE NOCASE " + "ORDER BY RANDOM() LIMIT 1;"; + + PraghaPreparedStatement *statement = pragha_database_create_statement (cdbase, sql); + pragha_prepared_statement_bind_string (statement, 1, title); + pragha_prepared_statement_bind_string (statement, 2, artist); + + if (pragha_prepared_statement_step (statement)) { + location_id = pragha_prepared_statement_get_int (statement, 0); + mobj = new_musicobject_from_db (cdbase, location_id); + } + + pragha_prepared_statement_free (statement); + + return mobj; +} diff -Nru pragha-1.3.3/src/pragha-musicobject-mgmt.h pragha-1.3.992/src/pragha-musicobject-mgmt.h --- pragha-1.3.3/src/pragha-musicobject-mgmt.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-musicobject-mgmt.h 2018-06-21 11:24:11.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2018 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -32,9 +32,26 @@ #define TAG_YEAR_CHANGED 1<<5 #define TAG_COMMENT_CHANGED 1<<6 -PraghaMusicobject* new_musicobject_from_file(const gchar *file); -PraghaMusicobject* new_musicobject_from_db(PraghaDatabase *cdbase, gint location_id); -PraghaMusicobject* new_musicobject_from_location(const gchar *uri, const gchar *name); -void pragha_update_musicobject_change_tag(PraghaMusicobject *mobj, gint changed, PraghaMusicobject *nmobj); +PraghaMusicobject * +new_musicobject_from_file (const gchar *file, + const gchar *provider); + +PraghaMusicobject * +new_musicobject_from_db (PraghaDatabase *cdbase, + gint location_id); + +PraghaMusicobject * +new_musicobject_from_location (const gchar *uri, + const gchar *name); + +PraghaMusicobject * +pragha_database_get_artist_and_title_song (PraghaDatabase *cdbase, + const gchar *artist, + const gchar *title); + +void +pragha_update_musicobject_change_tag (PraghaMusicobject *mobj, + gint changed, + PraghaMusicobject *nmobj); #endif /* PRAGHA_MUSICOBJECT_MGMT_H */ diff -Nru pragha-1.3.3/src/pragha-playback.c pragha-1.3.992/src/pragha-playback.c --- pragha-1.3.3/src/pragha-playback.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-playback.c 2019-08-13 14:03:19.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2010-2012 matias */ +/* Copyright (C) 2010-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -24,8 +24,10 @@ #include "pragha-tags-dialog.h" #include "pragha-tagger.h" #include "pragha-musicobject-mgmt.h" +#include "pragha-favorites.h" #include "pragha-file-utils.h" #include "pragha-utils.h" +#include "pragha-window.h" #include "pragha.h" static void pragha_playback_update_current_album_art (PraghaApplication *pragha, PraghaMusicobject *mobj); @@ -85,6 +87,7 @@ playlist = pragha_application_get_playlist (pragha); pragha_playlist_go_any_track (playlist); break; + case ST_BUFFERING: default: break; } @@ -139,6 +142,41 @@ pragha_advance_playback (pragha); } +gboolean +pragha_playback_can_go_prev (PraghaApplication *pragha) +{ + PraghaPlaylist *playlist; + gboolean can_go_prev = FALSE; + + playlist = pragha_application_get_playlist (pragha); + if (pragha_playlist_get_no_unplayed_tracks(playlist) < pragha_playlist_get_no_tracks(playlist)) + can_go_prev = TRUE; + + return can_go_prev; +} + +gboolean +pragha_playback_can_go_next (PraghaApplication *pragha) +{ + PraghaPlaylist *playlist; + gboolean can_go_next = FALSE; + + playlist = pragha_application_get_playlist (pragha); + if (pragha_playlist_get_no_unplayed_tracks(playlist) > 0) + can_go_next = TRUE; + + return can_go_next; +} + +gint +pragha_playback_get_no_tracks (PraghaApplication *pragha) +{ + PraghaPlaylist *playlist; + playlist = pragha_application_get_playlist (pragha); + return pragha_playlist_get_no_tracks(playlist); +} + + /******************************************/ /* Update playback state based on backend */ /******************************************/ @@ -148,6 +186,7 @@ { PraghaBackend *backend; PraghaToolbar *toolbar; + PraghaFavorites *favorites; CDEBUG(DBG_BACKEND, "Set track activated on playlist"); @@ -169,6 +208,12 @@ /* Update album art */ pragha_playback_update_current_album_art (pragha, mobj); + + /* Set favorites icon */ + favorites = pragha_favorites_get (); + if (pragha_favorites_contains_song(favorites, mobj)) + pragha_toolbar_set_favorite_icon (toolbar, TRUE); + g_object_unref (favorites); } void @@ -178,6 +223,24 @@ } void +pragha_backend_finished_error (PraghaBackend *backend, + const GError *error, + PraghaApplication *pragha) +{ + PraghaPreferences *preferences; + preferences = pragha_preferences_get(); + + if (!pragha_preferences_get_ignore_errors (preferences)) { + pragha_window_show_backend_error_dialog (pragha); + } + else { + pragha_advance_playback(pragha); + } + + g_object_unref(preferences); +} + +void pragha_backend_tags_changed (PraghaBackend *backend, gint changed, PraghaApplication *pragha) { PraghaPlaylist *playlist; @@ -218,9 +281,9 @@ return; art_cache = pragha_application_get_art_cache (pragha); - album_path = pragha_art_cache_get_uri (art_cache, - pragha_musicobject_get_artist(mobj), - pragha_musicobject_get_album(mobj)); + album_path = pragha_art_cache_get_album_uri (art_cache, + pragha_musicobject_get_artist(mobj), + pragha_musicobject_get_album(mobj)); if (album_path == NULL) { if (!pragha_musicobject_is_local_file(mobj)) @@ -338,6 +401,8 @@ return; dialog = pragha_tags_dialog_new(); + gtk_window_set_transient_for (GTK_WINDOW(dialog), + GTK_WINDOW(pragha_application_get_window (pragha))); g_signal_connect (G_OBJECT (dialog), "response", G_CALLBACK (pragha_edit_tags_dialog_response), pragha); @@ -370,3 +435,30 @@ pragha_backend_seek (backend, seek); } + +void +pragha_playback_toogle_favorite (GObject *object, PraghaApplication *pragha) +{ + PraghaBackend *backend = NULL; + PraghaToolbar *toolbar = NULL; + PraghaFavorites *favorites = NULL; + PraghaMusicobject *mobj = NULL; + + backend = pragha_application_get_backend (pragha); + if (pragha_backend_get_state (backend) != ST_PLAYING) + return; + + toolbar = pragha_application_get_toolbar (pragha); + + favorites = pragha_favorites_get (); + mobj = pragha_backend_get_musicobject (backend); + if (pragha_favorites_contains_song(favorites, mobj)) { + pragha_favorites_remove_song (favorites, mobj); + pragha_toolbar_set_favorite_icon (toolbar, FALSE); + } + else { + pragha_favorites_put_song (favorites, mobj); + pragha_toolbar_set_favorite_icon (toolbar, TRUE); + } + g_object_unref (favorites); +} diff -Nru pragha-1.3.3/src/pragha-playback.h pragha-1.3.992/src/pragha-playback.h --- pragha-1.3.3/src/pragha-playback.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-playback.h 2019-08-13 14:02:18.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2010-2012 matias */ +/* Copyright (C) 2010-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -31,12 +31,19 @@ void pragha_playback_next_track (PraghaApplication *pragha); void pragha_advance_playback (PraghaApplication *pragha); +gboolean pragha_playback_can_go_prev (PraghaApplication *pragha); +gboolean pragha_playback_can_go_next (PraghaApplication *pragha); +gint pragha_playback_get_no_tracks (PraghaApplication *pragha); + void pragha_backend_finished_song (PraghaBackend *backend, PraghaApplication *pragha); +void pragha_backend_finished_error (PraghaBackend *backend, const GError *error, PraghaApplication *pragha); + void pragha_backend_tags_changed (PraghaBackend *backend, gint changed, PraghaApplication *pragha); void pragha_playback_show_current_album_art (GObject *object, PraghaApplication *pragha); void pragha_playback_edit_current_track (PraghaApplication *pragha); -void pragha_playback_seek_fraction (GObject *object, gdouble fraction, PraghaApplication *pragha); +void pragha_playback_seek_fraction (GObject *object, gdouble fraction, PraghaApplication *pragha); +void pragha_playback_toogle_favorite (GObject *object, PraghaApplication *pragha); #endif /* PRAGHA_PLAYBACK_H */ diff -Nru pragha-1.3.3/src/pragha-playlist.c pragha-1.3.992/src/pragha-playlist.c --- pragha-1.3.3/src/pragha-playlist.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-playlist.c 2019-08-13 15:02:28.000000000 +0000 @@ -1,18 +1,18 @@ /*************************************************************************/ -/* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ +/* Copyright (C) 2007-2009 sujith */ +/* Copyright (C) 2009-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ /* along with this program. If not, see . */ /*************************************************************************/ @@ -162,6 +162,7 @@ static void playlist_filename_column_change_cb (GtkCheckMenuItem *item, PraghaPlaylist* cplaylist); static void playlist_mimetype_column_change_cb (GtkCheckMenuItem *item, PraghaPlaylist* cplaylist); +static void create_playlist_column(PraghaPlaylist *cplaylist, GtkTreeView *view,gchar *label,gint column_id); static void clear_sort_current_playlist_cb (GtkMenuItem *item, PraghaPlaylist *cplaylist); static gint compare_track_no (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer data); @@ -321,6 +322,8 @@ PraghaMusicobject *mobj; dialog = pragha_tags_dialog_new(); + gtk_window_set_transient_for (GTK_WINDOW(dialog), + GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(playlist)))); /* Get a list of references and music objects selected. */ @@ -330,7 +333,7 @@ pragha_tags_dialog_set_musicobject(PRAGHA_TAGS_DIALOG(dialog), mobj); } g_object_set_data (G_OBJECT (dialog), "reference-list", rlist); - + g_signal_connect (G_OBJECT (dialog), "response", G_CALLBACK (pragha_edit_tags_playlist_dialog_response), playlist); @@ -366,7 +369,7 @@ if (seq_first && repeat) path = get_nth_track (playlist, (playlist->no_tracks - 1)); - + if (!path) return NULL; @@ -572,6 +575,7 @@ else { switch (state) { case ST_PLAYING: + case ST_BUFFERING: pixbuf = playlist->playing_pixbuf; break; case ST_PAUSED: @@ -1193,7 +1197,7 @@ } /* Add to preferences */ - + else if (!pref_present && state) { cplaylist->columns = g_slist_append(cplaylist->columns, @@ -1341,7 +1345,7 @@ void update_current_playlist_view_track(PraghaPlaylist *cplaylist, PraghaBackend *backend) { GtkTreePath *path; - PraghaBackendState state; + PraghaBackendState state = ST_STOPPED; path = get_current_track (cplaylist); if(path) { @@ -1523,7 +1527,8 @@ /* Toglle queue state of selection on current playlist. */ -void toggle_queue_selected_current_playlist (PraghaPlaylist *cplaylist) +void +pragha_playlist_toggle_queue_selected (PraghaPlaylist *cplaylist) { GtkTreeModel *model; GtkTreeRowReference *ref; @@ -1597,7 +1602,7 @@ i->data = ref; gtk_tree_path_free(path); } - + /* Now build iterators from the references and delete them from the store */ @@ -1786,15 +1791,15 @@ gint n_select = 0; gboolean is_queue = FALSE; - /* Special case some shortcuts + /* Special case some shortcuts */ + if (event->state != 0) { - if ((event->state & GDK_CONTROL_MASK) - && event->keyval == GDK_KEY_a) { - gtk_tree_selection_select_all - (playlist->priv->selection); + if (event->state & GDK_MOD1_MASK && event->keyval == GDK_KEY_Return) { + pragha_playlist_edit_tags (NULL, cplaylist); return TRUE; } - }*/ + } + /* If we have modifiers, and either Ctrl, Mod1 (Alt), or any * of Mod3 to Mod5 (Mod2 is num-lock...) are pressed, we * let Gtk+ handle the key */ @@ -1805,6 +1810,7 @@ || (event->state & GDK_MOD4_MASK) || (event->state & GDK_MOD5_MASK))) return FALSE; + if (event->keyval == GDK_KEY_Delete){ pragha_playlist_remove_selection(cplaylist); return TRUE; @@ -2255,7 +2261,7 @@ GList *l; prev_tracks = pragha_playlist_get_no_tracks(cplaylist); - + /* TODO: pragha_playlist_set_changing() should be set cursor automatically. */ set_watch_cursor (GTK_WIDGET(cplaylist)); pragha_playlist_set_changing(cplaylist, TRUE); @@ -2281,9 +2287,9 @@ /* Test if the song is already in the mobj list */ gboolean -pragha_mobj_list_already_has_title_of_artist(GList *list, - const gchar *title, - const gchar *artist) +pragha_mobj_list_already_has_title_of_artist (GList *list, + const gchar *title, + const gchar *artist) { PraghaMusicobject *mobj = NULL; GList *i; @@ -2300,9 +2306,9 @@ /* Test if the song is already in the playlist.*/ gboolean -pragha_playlist_already_has_title_of_artist(PraghaPlaylist *cplaylist, - const gchar *title, - const gchar *artist) +pragha_playlist_already_has_title_of_artist (PraghaPlaylist *cplaylist, + const gchar *title, + const gchar *artist) { GtkTreeModel *model = cplaylist->model; GtkTreeIter iter; @@ -2323,6 +2329,37 @@ return FALSE; } +gboolean +pragha_playlist_select_title_of_artist (PraghaPlaylist *cplaylist, + const gchar *title, + const gchar *artist) +{ + GtkTreeModel *model = cplaylist->model; + GtkTreePath *path; + GtkTreeIter iter; + PraghaMusicobject *mobj = NULL; + gboolean ret; + + ret = gtk_tree_model_get_iter_first (model, &iter); + while (ret) { + gtk_tree_model_get (model, &iter, P_MOBJ_PTR, &mobj, -1); + + if((0 == g_ascii_strcasecmp(pragha_musicobject_get_title(mobj), title)) && + (0 == g_ascii_strcasecmp(pragha_musicobject_get_artist(mobj), artist))) + { + path = gtk_tree_model_get_path(model, &iter); + pragha_playlist_select_path (cplaylist, path, TRUE); + gtk_tree_path_free(path); + return TRUE; + } + + ret = gtk_tree_model_iter_next(model, &iter); + } + + return FALSE; +} + + /* Clear sort in the current playlist */ void clear_sort_current_playlist(GtkAction *action, PraghaPlaylist *cplaylist) @@ -2744,7 +2781,7 @@ { GtkTreeSelection *selection; GtkTreePath *path; - + selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(cplaylist->view)); if((event->state & GDK_CONTROL_MASK) || (event->state & GDK_SHIFT_MASK) || (cplaylist->dragging == TRUE) || (event->button!=1)){ @@ -2791,23 +2828,23 @@ /*******/ static gboolean -dnd_current_playlist_begin(GtkWidget *widget, - GdkDragContext *context, - PraghaPlaylist *cplaylist) +pragha_playlist_drag_begin (GtkWidget *widget, + GdkDragContext *context, + PraghaPlaylist *playlist) { - cplaylist->dragging = TRUE; + playlist->dragging = TRUE; return FALSE; } /* Callback for DnD signal 'drag-data-get' */ static void -drag_current_playlist_get_data (GtkWidget *widget, - GdkDragContext *context, - GtkSelectionData *selection_data, - guint target_type, - guint time, - PraghaPlaylist *cplaylist) +pragha_playlist_drag_data_get (GtkWidget *widget, + GdkDragContext *context, + GtkSelectionData *selection_data, + guint target_type, + guint time, + PraghaPlaylist *playlist) { g_assert (selection_data != NULL); @@ -2820,21 +2857,21 @@ guint uri_i = 0; gchar **uri_list; - switch (target_type){ + switch (target_type){ case TARGET_URI_LIST: CDEBUG(DBG_VERBOSE, "DnD: TARGET_URI_LIST"); - selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(cplaylist->view)); + selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(playlist->view)); list = gtk_tree_selection_get_selected_rows(selection, &model); uri_list = g_new(gchar* , gtk_tree_selection_count_selected_rows(selection) + 1); - for (i=list; i != NULL; i = i->next){ + for (i = list; i != NULL; i = i->next) + { path = i->data; gtk_tree_model_get_iter(model, &iter, path); gtk_tree_model_get(model, &iter, P_MOBJ_PTR, &mobj, -1); - if (G_LIKELY(mobj && - pragha_musicobject_is_local_file(mobj))) + if (G_LIKELY(mobj && pragha_musicobject_is_local_file(mobj))) uri_list[uri_i++] = g_filename_to_uri(pragha_musicobject_get_file(mobj), NULL, NULL); gtk_tree_path_free(path); @@ -2842,6 +2879,7 @@ uri_list[uri_i++] = NULL; gtk_selection_data_set_uris(selection_data, uri_list); + g_strfreev(uri_list); g_list_free(list); break; @@ -2852,29 +2890,31 @@ } static gboolean -dnd_current_playlist_drop(GtkWidget *widget, - GdkDragContext *context, - gint x, - gint y, - guint time, - PraghaPlaylist *cplaylist) +pragha_playlist_drag_drop (GtkWidget *widget, + GdkDragContext *context, + gint x, + gint y, + guint time, + PraghaPlaylist *playlist) { GList *p; if (gdk_drag_context_list_targets (context) == NULL) return FALSE; - for (p = gdk_drag_context_list_targets (context); p != NULL; p = p->next) { + for (p = gdk_drag_context_list_targets (context) ; p != NULL ; p = p->next) + { gchar *possible_type; - possible_type = gdk_atom_name (GDK_POINTER_TO_ATOM (p->data)); - if (!strcmp (possible_type, "REF_LIBRARY")) { + + if (!strcmp (possible_type, "REF_LIBRARY")) + { CDEBUG(DBG_VERBOSE, "DnD: library_tree"); - gtk_drag_get_data(widget, - context, - GDK_POINTER_TO_ATOM (p->data), - time); + gtk_drag_get_data (widget, + context, + GDK_POINTER_TO_ATOM (p->data), + time); g_free (possible_type); @@ -2889,10 +2929,10 @@ /* Reorder playlist with DnD. */ void -dnd_current_playlist_reorder(GtkTreeModel *model, - GtkTreeIter *dest_iter, - GtkTreeViewDropPosition pos, - PraghaPlaylist *cplaylist) +pragha_playlist_drag_data_received_reorder (GtkTreeModel *model, + GtkTreeIter *dest_iter, + GtkTreeViewDropPosition pos, + PraghaPlaylist *playlist) { GtkTreeRowReference *ref; GtkTreePath *path = NULL; @@ -2902,38 +2942,40 @@ CDEBUG(DBG_VERBOSE, "Dnd: Reorder"); - selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(cplaylist->view)); - list = gtk_tree_selection_get_selected_rows(selection, NULL); + selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(playlist->view)); + list = gtk_tree_selection_get_selected_rows (selection, NULL); /* Clear sort */ - clear_sort_current_playlist(NULL, cplaylist); + clear_sort_current_playlist (NULL, playlist); /* No selections */ if (!list) goto exit; /* Store references to the selected paths */ - l = list; - while(l) { + + for (l = list; l != NULL; l = l->next) { path = l->data; ref = gtk_tree_row_reference_new(model, path); l->data = ref; gtk_tree_path_free(path); - l = l->next; } - for (l=list; l != NULL; l = l->next) { + /* Move to new position */ + + for (l = list; l != NULL; l = l->next) { ref = l->data; path = gtk_tree_row_reference_get_path(ref); gtk_tree_model_get_iter(model, &iter, path); - if (pos == GTK_TREE_VIEW_DROP_BEFORE) + if (pos == GTK_TREE_VIEW_DROP_BEFORE) { gtk_list_store_move_before(GTK_LIST_STORE(model), &iter, dest_iter); - else if (pos == GTK_TREE_VIEW_DROP_AFTER) + } + else if (pos == GTK_TREE_VIEW_DROP_AFTER) { gtk_list_store_move_after(GTK_LIST_STORE(model), &iter, dest_iter); - - gtk_tree_path_free(path); - gtk_tree_row_reference_free(ref); + } + gtk_tree_path_free(path); + gtk_tree_row_reference_free(ref); } exit: @@ -2943,54 +2985,65 @@ /* Callback for DnD signal 'drag-data-received' */ static void -dnd_current_playlist_received(GtkWidget *playlist_view, - GdkDragContext *context, - gint x, - gint y, - GtkSelectionData *data, - PraghaDndTarget info, - guint time, - PraghaPlaylist *cplaylist) +pragha_playlist_drag_data_received (GtkWidget *playlist_view, + GdkDragContext *context, + gint x, + gint y, + GtkSelectionData *data, + PraghaDndTarget info, + guint time, + PraghaPlaylist *playlist) { GtkTreeModel *model; GtkTreePath *dest_path = NULL; - GtkTreeIter dest_iter; + GtkTreeIter iter, dest_iter; GtkTreeViewDropPosition pos = 0; - gboolean is_row; + gboolean is_row, row_valid; GdkRectangle vrect, crect; gdouble row_align; GList *list = NULL; model = gtk_tree_view_get_model(GTK_TREE_VIEW(playlist_view)); - is_row = gtk_tree_view_get_dest_row_at_pos(GTK_TREE_VIEW(playlist_view), - x, y, - &dest_path, - &pos); + is_row = gtk_tree_view_get_dest_row_at_pos (GTK_TREE_VIEW(playlist_view), + x, y, + &dest_path, + &pos); gtk_tree_view_get_visible_rect(GTK_TREE_VIEW(playlist_view), &vrect); gtk_tree_view_get_cell_area(GTK_TREE_VIEW(playlist_view), dest_path, NULL, &crect); - - row_align = (gdouble)crect.y / (gdouble)vrect.height; - switch(pos) { - case GTK_TREE_VIEW_DROP_INTO_OR_BEFORE: - pos = GTK_TREE_VIEW_DROP_BEFORE; - break; - case GTK_TREE_VIEW_DROP_INTO_OR_AFTER: - pos = GTK_TREE_VIEW_DROP_AFTER; - break; - default: - break; - } + row_align = (gdouble)crect.y / (gdouble)vrect.height; - if (is_row) + if (is_row) { + /* Set dest_iter to the dropped child */ gtk_tree_model_get_iter (model, &dest_iter, dest_path); + switch(pos) { + case GTK_TREE_VIEW_DROP_INTO_OR_BEFORE: + pos = GTK_TREE_VIEW_DROP_BEFORE; + break; + case GTK_TREE_VIEW_DROP_INTO_OR_AFTER: + pos = GTK_TREE_VIEW_DROP_AFTER; + break; + default: + break; + } + } + else { + /* Set dest_iter to the last child */ + row_valid = gtk_tree_model_get_iter_first(model, &iter); + while (row_valid) { + dest_iter = iter; + row_valid = gtk_tree_model_iter_next(model, &iter); + } + pos = GTK_TREE_VIEW_DROP_AFTER; + } + /* Reorder within current playlist */ if (gtk_drag_get_source_widget(context) == playlist_view) { - dnd_current_playlist_reorder(model, &dest_iter, pos, cplaylist); + pragha_playlist_drag_data_received_reorder (model, &dest_iter, pos, playlist); goto exit; } @@ -2998,7 +3051,7 @@ switch(info) { case TARGET_REF_LIBRARY: - list = pragha_dnd_library_get_mobj_list (data, cplaylist->cdbase); + list = pragha_dnd_library_get_mobj_list (data, playlist->cdbase); break; case TARGET_URI_LIST: list = pragha_dnd_uri_list_get_mobj_list (data); @@ -3014,17 +3067,17 @@ /* Insert mobj list to current playlist. */ if (is_row) { - pragha_playlist_insert_mobj_list(cplaylist, list, pos, &dest_iter); + pragha_playlist_insert_mobj_list (playlist, list, pos, &dest_iter); gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW(playlist_view), dest_path, NULL, TRUE, row_align, 0.0); } else - pragha_playlist_append_mobj_list(cplaylist, list); + pragha_playlist_append_mobj_list (playlist, list); g_list_free(list); exit: gtk_tree_path_free(dest_path); - gtk_drag_finish(context, TRUE, FALSE, time); + gtk_drag_finish (context, TRUE, FALSE, time); } /* Get a list of all music objects on current playlist */ @@ -3182,37 +3235,56 @@ /* Init current playlist on application bringup, restore stored playlist */ -static void init_playlist_current_playlist(PraghaPlaylist *cplaylist) +static void +pragha_playlist_restore_tracks (PraghaPlaylist *cplaylist) { + PraghaPreparedStatement *statement; gint playlist_id, location_id; + const gchar *filename = NULL; PraghaMusicobject *mobj; GList *list = NULL; + const gchar *sql = "SELECT file FROM PLAYLIST_TRACKS WHERE playlist = ?"; + + /* Set watch cursor early */ + set_watch_cursor (GTK_WIDGET(cplaylist)); + pragha_playlist_set_changing(cplaylist, TRUE); + + pragha_database_begin_transaction (cplaylist->cdbase); + playlist_id = pragha_database_find_playlist (cplaylist->cdbase, SAVE_PLAYLIST_STATE); - const gchar *sql = "SELECT file FROM PLAYLIST_TRACKS WHERE playlist = ?"; - PraghaPreparedStatement *statement = pragha_database_create_statement (cplaylist->cdbase, sql); + statement = pragha_database_create_statement (cplaylist->cdbase, sql); pragha_prepared_statement_bind_int (statement, 1, playlist_id); - while (pragha_prepared_statement_step (statement)) { - const gchar *file = pragha_prepared_statement_get_string (statement, 0); - /* TODO: Fix this negradaaa!. */ - if(g_str_has_prefix(file, "Radio:/") == FALSE) { - if ((location_id = pragha_database_find_location (cplaylist->cdbase, file))) - mobj = new_musicobject_from_db(cplaylist->cdbase, location_id); - else - mobj = new_musicobject_from_file(file); + while (pragha_prepared_statement_step (statement)) + { + filename = pragha_prepared_statement_get_string (statement, 0); + if ((location_id = pragha_database_find_location (cplaylist->cdbase, filename))) + { + mobj = new_musicobject_from_db(cplaylist->cdbase, location_id); + } + else if (g_str_has_prefix(filename, "http:/") || + g_str_has_prefix(filename, "https:/")) + { + mobj = new_musicobject_from_location (filename, NULL); } - else { - mobj = new_musicobject_from_location(file + strlen("Radio:/"), file + strlen("Radio:/")); + else + { + mobj = new_musicobject_from_file(filename, NULL); } if (G_LIKELY(mobj)) - list = g_list_append(list, mobj); + list = g_list_prepend (list, mobj); } pragha_prepared_statement_free (statement); + pragha_database_commit_transaction (cplaylist->cdbase); + + pragha_playlist_set_changing(cplaylist, FALSE); + remove_watch_cursor (GTK_WIDGET(cplaylist)); + if (list) { pragha_playlist_append_mobj_list(cplaylist, list); g_list_free (list); @@ -3225,7 +3297,7 @@ gchar *ref = NULL; GtkTreePath *path = NULL; - init_playlist_current_playlist(cplaylist); + pragha_playlist_restore_tracks (cplaylist); ref = pragha_preferences_get_string(cplaylist->preferences, GROUP_PLAYLIST, @@ -3241,6 +3313,50 @@ g_free(ref); } +GtkTreeViewColumn * +playlist_tree_view_get_column_from_id (PraghaPlaylist *cplaylist, gint sort_id) +{ + GList *columns; + GList *iter; + GtkTreeViewColumn *col = NULL; + + g_return_val_if_fail (GTK_TREE_VIEW(cplaylist->view), NULL); + + columns = gtk_tree_view_get_columns (GTK_TREE_VIEW(cplaylist->view)); + + for (iter = columns; iter != NULL; iter = iter->next) { + col = GTK_TREE_VIEW_COLUMN (iter->data); + if (gtk_tree_view_column_get_sort_column_id (col) == sort_id) + break; + } + + g_list_free (columns); + + return col; +} + +GtkTreeViewColumn * +playlist_tree_view_get_column_from_name (PraghaPlaylist *cplaylist, gchar *name) +{ + GList *columns; + GList *iter; + GtkTreeViewColumn *col = NULL; + + g_return_val_if_fail (GTK_TREE_VIEW(cplaylist->view), NULL); + + columns = gtk_tree_view_get_columns (GTK_TREE_VIEW(cplaylist->view)); + + for (iter = columns; iter != NULL; iter = iter->next) { + col = GTK_TREE_VIEW_COLUMN (iter->data); + if (g_strcmp0 (gtk_tree_view_column_get_title (col) , name) == 0) + break; + } + + g_list_free (columns); + + return col; +} + /* Initialize columns of current playlist */ static void @@ -3248,97 +3364,116 @@ { gchar **columns; const gchar *col_name; - GtkTreeViewColumn *col; + GtkTreeViewColumn *col, *last; GList *list = NULL, *i; - GSList *j; - gint k = 0; - gint *col_widths; + GSList *slist = NULL, *j, *widths = NULL; + gint *col_widths, icon_size, k = 0; gsize cnt = 0, isize; - columns = pragha_preferences_get_string_list(cplaylist->preferences, - GROUP_PLAYLIST, - KEY_PLAYLIST_COLUMNS, - &cnt); - if (columns) { - for (isize=0; isize < cnt; isize++) { + columns = + pragha_preferences_get_string_list (cplaylist->preferences, + GROUP_PLAYLIST, + KEY_PLAYLIST_COLUMNS, + &cnt); + + if (columns && cnt > 0) { + for (isize = 0; isize < cnt; isize++) { cplaylist->columns = - g_slist_append(cplaylist->columns, - g_strdup(columns[isize])); + g_slist_append (cplaylist->columns, + g_strdup(columns[isize])); } g_strfreev(columns); } else { cplaylist->columns = - g_slist_append(cplaylist->columns, - g_strdup(P_TITLE_STR)); + g_slist_append (cplaylist->columns, + g_strdup(P_TITLE_STR)); cplaylist->columns = g_slist_append(cplaylist->columns, g_strdup(P_ARTIST_STR)); cplaylist->columns = - g_slist_append(cplaylist->columns, - g_strdup(P_ALBUM_STR)); + g_slist_append (cplaylist->columns, + g_strdup(P_ALBUM_STR)); cplaylist->columns = - g_slist_append(cplaylist->columns, - g_strdup(P_LENGTH_STR)); + g_slist_append (cplaylist->columns, + g_strdup(P_LENGTH_STR)); } - col_widths = pragha_preferences_get_integer_list(cplaylist->preferences, - GROUP_PLAYLIST, - KEY_PLAYLIST_COLUMN_WIDTHS, - &cnt); + col_widths = + pragha_preferences_get_integer_list (cplaylist->preferences, + GROUP_PLAYLIST, + KEY_PLAYLIST_COLUMN_WIDTHS, + &cnt); if (col_widths) { for (isize = 0; isize < cnt; isize++) { cplaylist->column_widths = - g_slist_append(cplaylist->column_widths, - GINT_TO_POINTER(col_widths[isize])); + g_slist_append (cplaylist->column_widths, + GINT_TO_POINTER(col_widths[isize])); } g_free(col_widths); } else { - for (isize=0; isize < 4; isize++) { + for (isize = 0; isize < 4; isize++) { cplaylist->column_widths = - g_slist_append(cplaylist->column_widths, - GINT_TO_POINTER(DEFAULT_PLAYLIST_COL_WIDTH)); + g_slist_append (cplaylist->column_widths, + GINT_TO_POINTER(DEFAULT_PLAYLIST_COL_WIDTH)); } } - /* Mark only the columns that are present in - cplaylist->columns as visible. - And set their sizes */ + /* Set the visible columns widths and order */ - list = gtk_tree_view_get_columns(GTK_TREE_VIEW(cplaylist->view)); + last = NULL; + if (cplaylist->columns) { + slist = cplaylist->columns; + cnt = g_slist_length(cplaylist->column_widths); - if (list) { - for (i=list; i != NULL; i = i->next) { - col = i->data; - col_name = gtk_tree_view_column_get_title(col); - if (is_present_str_list(col_name, - cplaylist->columns)) { - j = g_slist_nth(cplaylist->column_widths, - k++); + for (j = slist, k = 0; j != NULL; j = j->next) { + col = playlist_tree_view_get_column_from_name(cplaylist, j->data); + if (col) { gtk_tree_view_column_set_visible(col, TRUE); - gtk_tree_view_column_set_sizing(col, - GTK_TREE_VIEW_COLUMN_FIXED); - if (GPOINTER_TO_INT(j->data) > COL_WIDTH_THRESH) - gtk_tree_view_column_set_fixed_width(col, - GPOINTER_TO_INT(j->data)); + gtk_tree_view_column_set_fixed_width(col, DEFAULT_PLAYLIST_COL_WIDTH); + + if (k < cnt) + widths = g_slist_nth(cplaylist->column_widths, k++); else - gtk_tree_view_column_set_fixed_width(col, - DEFAULT_PLAYLIST_COL_WIDTH); + widths = g_slist_append (widths, GINT_TO_POINTER(DEFAULT_PLAYLIST_COL_WIDTH)); + + gtk_tree_view_column_set_sizing(col, GTK_TREE_VIEW_COLUMN_FIXED); + + if (GPOINTER_TO_INT(widths->data) > COL_WIDTH_THRESH) + gtk_tree_view_column_set_fixed_width(col, GPOINTER_TO_INT(widths->data)); + + if (col != last) { + gtk_tree_view_move_column_after(GTK_TREE_VIEW(cplaylist->view), col, last); + last = col; + } } - else + } + } + + /* Set the invisible columns */ + + list = gtk_tree_view_get_columns (GTK_TREE_VIEW(cplaylist->view)); + if (list) { + for (i = list; i != NULL; i = i->next) { + col = i->data; + col_name = gtk_tree_view_column_get_title(col); + if (!is_present_str_list (col_name, cplaylist->columns)) gtk_tree_view_column_set_visible(col, FALSE); } g_list_free(list); } - else - g_warning("(%s): No columns in playlist view", __func__); /* Always show queue and status pixbuf colum */ - col = gtk_tree_view_get_column(GTK_TREE_VIEW(cplaylist->view), 0); + + icon_size = get_playlist_icon_size (); + col = playlist_tree_view_get_column_from_id (cplaylist, -1); + last = gtk_tree_view_get_column(GTK_TREE_VIEW(cplaylist->view),0); + gtk_tree_view_move_column_after(GTK_TREE_VIEW(cplaylist->view),col, last); + gtk_tree_view_move_column_after(GTK_TREE_VIEW(cplaylist->view), last, col); gtk_tree_view_column_set_visible(col, TRUE); gtk_tree_view_column_set_sizing(col, GTK_TREE_VIEW_COLUMN_FIXED); - gtk_tree_view_column_set_fixed_width(col, 36); + gtk_tree_view_column_set_fixed_width (col, 2*icon_size+2); } static GtkWidget* @@ -3487,37 +3622,30 @@ }; static void -init_playlist_dnd(PraghaPlaylist *cplaylist) +pragha_playlist_init_dnd (PraghaPlaylist *playlist) { /* Source/Dest: Current Playlist */ - gtk_tree_view_enable_model_drag_source(GTK_TREE_VIEW(cplaylist->view), - GDK_BUTTON1_MASK, - pentries, - G_N_ELEMENTS(pentries), - GDK_ACTION_COPY | GDK_ACTION_MOVE); - - gtk_tree_view_enable_model_drag_dest(GTK_TREE_VIEW(cplaylist->view), - pentries, - G_N_ELEMENTS(pentries), - GDK_ACTION_COPY | GDK_ACTION_MOVE); - - g_signal_connect(G_OBJECT(GTK_WIDGET(cplaylist->view)), - "drag-begin", - G_CALLBACK(dnd_current_playlist_begin), - cplaylist); - g_signal_connect (G_OBJECT(cplaylist->view), - "drag-data-get", - G_CALLBACK (drag_current_playlist_get_data), - cplaylist); - g_signal_connect(G_OBJECT(cplaylist->view), - "drag-drop", - G_CALLBACK(dnd_current_playlist_drop), - cplaylist); - g_signal_connect(G_OBJECT(cplaylist->view), - "drag-data-received", - G_CALLBACK(dnd_current_playlist_received), - cplaylist); + gtk_tree_view_enable_model_drag_source (GTK_TREE_VIEW(playlist->view), + GDK_BUTTON1_MASK, + pentries, G_N_ELEMENTS(pentries), + GDK_ACTION_COPY | GDK_ACTION_MOVE); + + gtk_tree_view_enable_model_drag_dest (GTK_TREE_VIEW(playlist->view), + pentries, G_N_ELEMENTS(pentries), + GDK_ACTION_COPY | GDK_ACTION_MOVE); + + g_signal_connect (G_OBJECT(playlist->view), "drag-begin", + G_CALLBACK(pragha_playlist_drag_begin), playlist); + + g_signal_connect (G_OBJECT(playlist->view), "drag-data-get", + G_CALLBACK (pragha_playlist_drag_data_get), playlist); + + g_signal_connect (G_OBJECT(playlist->view), "drag-drop", + G_CALLBACK(pragha_playlist_drag_drop), playlist); + + g_signal_connect (G_OBJECT(playlist->view), "drag-data-received", + G_CALLBACK(pragha_playlist_drag_data_received), playlist); } static void @@ -3525,276 +3653,85 @@ { GtkCellRenderer *renderer; GtkTreeViewColumn *column; - GtkWidget *state_pixbuf, - *label_track, - *label_title, - *label_artist, - *label_album, - *label_genre, - *label_bitrate, - *label_year, - *label_comment, - *label_length, - *label_filename, - *label_mimetype; - GtkWidget *col_button; - - label_track = gtk_label_new(_("Track")); - label_title = gtk_label_new(_("Title")); - label_artist = gtk_label_new(_("Artist")); - label_album = gtk_label_new(_("Album")); - label_genre = gtk_label_new(_("Genre")); - label_bitrate = gtk_label_new(_("Bitrate")); - label_year = gtk_label_new(_("Year")); - label_comment = gtk_label_new(_("Comment")); - label_length = gtk_label_new(_("Length")); - label_filename = gtk_label_new(_("Filename")); - label_mimetype = gtk_label_new(_("Mimetype")); + GtkWidget *state_pixbuf; + gint icon_size = 0; state_pixbuf = gtk_image_new_from_icon_name ("audio-volume-high", GTK_ICON_SIZE_MENU); /* Column : Queue Bubble and Status Pixbuf */ + icon_size = get_playlist_icon_size(); + column = gtk_tree_view_column_new (); renderer = gtk_cell_renderer_bubble_new (); - gtk_cell_renderer_set_fixed_size (renderer, 14, -1); + gtk_cell_renderer_set_fixed_size (renderer, icon_size, -1); gtk_tree_view_column_pack_start (column, renderer, FALSE); gtk_cell_renderer_text_set_fixed_height_from_font(GTK_CELL_RENDERER_TEXT(renderer), 1); gtk_tree_view_column_set_attributes(column, renderer, "markup", P_QUEUE, "show-bubble", P_BUBBLE, NULL); renderer = gtk_cell_renderer_pixbuf_new(); + gtk_cell_renderer_set_fixed_size (renderer, icon_size, -1); gtk_tree_view_column_pack_start(column, renderer, FALSE); gtk_tree_view_column_set_attributes(column, renderer, "pixbuf", P_STATUS_PIXBUF, NULL); + gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_column_set_resizable(column, FALSE); + gtk_tree_view_column_set_reorderable(column, TRUE); gtk_tree_view_append_column (GTK_TREE_VIEW(view), column); gtk_tree_view_column_set_widget (column, state_pixbuf); gtk_tree_view_column_set_alignment (column, 0.5); gtk_widget_show (state_pixbuf); - /* Column : Track No */ - - renderer = gtk_cell_renderer_text_new(); - gtk_cell_renderer_set_fixed_size (renderer, 1, -1); - gtk_cell_renderer_text_set_fixed_height_from_font(GTK_CELL_RENDERER_TEXT(renderer),1); - column = gtk_tree_view_column_new_with_attributes(P_TRACK_NO_STR, - renderer, - "text", - P_TRACK_NO, - NULL); - - gtk_tree_view_column_set_resizable(column, TRUE); - gtk_tree_view_column_set_sort_column_id(column, P_TRACK_NO); - g_object_set(G_OBJECT(renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL); - gtk_tree_view_append_column(GTK_TREE_VIEW(view), column); - gtk_tree_view_column_set_widget(column, label_track); - gtk_widget_show(label_track); - col_button = gtk_widget_get_ancestor(label_track, GTK_TYPE_BUTTON); - g_signal_connect(G_OBJECT(GTK_WIDGET(col_button)), "button-press-event", - G_CALLBACK(header_right_click_cb), cplaylist); - - /* Column : Title */ - - renderer = gtk_cell_renderer_text_new(); - gtk_cell_renderer_set_fixed_size (renderer, 1, -1); - gtk_cell_renderer_text_set_fixed_height_from_font(GTK_CELL_RENDERER_TEXT(renderer),1); - column = gtk_tree_view_column_new_with_attributes(P_TITLE_STR, - renderer, - "text", - P_TITLE, - NULL); - gtk_tree_view_column_set_resizable(column, TRUE); - gtk_tree_view_column_set_sort_column_id(column, P_TITLE); - g_object_set(G_OBJECT(renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL); - gtk_tree_view_append_column(GTK_TREE_VIEW(view), column); - gtk_tree_view_column_set_widget(column, label_title); - gtk_widget_show(label_title); - col_button = gtk_widget_get_ancestor(label_title, GTK_TYPE_BUTTON); - g_signal_connect(G_OBJECT(GTK_WIDGET(col_button)), "button-press-event", - G_CALLBACK(header_right_click_cb), cplaylist); - - /* Column : Artist */ - - renderer = gtk_cell_renderer_text_new(); - gtk_cell_renderer_set_fixed_size (renderer, 1, -1); - gtk_cell_renderer_text_set_fixed_height_from_font(GTK_CELL_RENDERER_TEXT(renderer),1); - column = gtk_tree_view_column_new_with_attributes(P_ARTIST_STR, - renderer, - "text", - P_ARTIST, - NULL); - gtk_tree_view_column_set_resizable(column, TRUE); - gtk_tree_view_column_set_sort_column_id(column, P_ARTIST); - g_object_set(G_OBJECT(renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL); - gtk_tree_view_append_column(GTK_TREE_VIEW(view), column); - gtk_tree_view_column_set_widget(column, label_artist); - gtk_widget_show(label_artist); - col_button = gtk_widget_get_ancestor(label_artist, GTK_TYPE_BUTTON); - g_signal_connect(G_OBJECT(GTK_WIDGET(col_button)), "button-press-event", - G_CALLBACK(header_right_click_cb), cplaylist); - - /* Column : Album */ - - renderer = gtk_cell_renderer_text_new(); - gtk_cell_renderer_text_set_fixed_height_from_font(GTK_CELL_RENDERER_TEXT(renderer),1); - gtk_cell_renderer_set_fixed_size (renderer, 1, -1); - column = gtk_tree_view_column_new_with_attributes(P_ALBUM_STR, - renderer, - "text", - P_ALBUM, - NULL); - gtk_tree_view_column_set_resizable(column, TRUE); - gtk_tree_view_column_set_sort_column_id(column, P_ALBUM); - g_object_set(G_OBJECT(renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL); - gtk_tree_view_append_column(GTK_TREE_VIEW(view), column); - gtk_tree_view_column_set_widget(column, label_album); - gtk_widget_show(label_album); - col_button = gtk_widget_get_ancestor(label_album, GTK_TYPE_BUTTON); - g_signal_connect(G_OBJECT(GTK_WIDGET(col_button)), "button-press-event", - G_CALLBACK(header_right_click_cb), cplaylist); - - /* Column : Genre */ - - renderer = gtk_cell_renderer_text_new(); - gtk_cell_renderer_text_set_fixed_height_from_font(GTK_CELL_RENDERER_TEXT(renderer),1); - gtk_cell_renderer_set_fixed_size (renderer, 1, -1); - column = gtk_tree_view_column_new_with_attributes(P_GENRE_STR, - renderer, - "text", - P_GENRE, - NULL); - gtk_tree_view_column_set_resizable(column, TRUE); - gtk_tree_view_column_set_sort_column_id(column, P_GENRE); - g_object_set(G_OBJECT(renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL); - gtk_tree_view_append_column(GTK_TREE_VIEW(view), column); - gtk_tree_view_column_set_widget(column, label_genre); - gtk_widget_show(label_genre); - col_button = gtk_widget_get_ancestor(label_genre, GTK_TYPE_BUTTON); - g_signal_connect(G_OBJECT(GTK_WIDGET(col_button)), "button-press-event", - G_CALLBACK(header_right_click_cb), cplaylist); - - /* Column : Bitrate */ - - renderer = gtk_cell_renderer_text_new(); - gtk_cell_renderer_text_set_fixed_height_from_font(GTK_CELL_RENDERER_TEXT(renderer),1); - gtk_cell_renderer_set_fixed_size (renderer, 1, -1); - column = gtk_tree_view_column_new_with_attributes(P_BITRATE_STR, - renderer, - "text", - P_BITRATE, - NULL); - gtk_tree_view_column_set_resizable(column, TRUE); - gtk_tree_view_column_set_sort_column_id(column, P_BITRATE); - g_object_set(G_OBJECT(renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL); - gtk_tree_view_append_column(GTK_TREE_VIEW(view), column); - gtk_tree_view_column_set_widget(column, label_bitrate); - gtk_widget_show(label_bitrate); - col_button = gtk_widget_get_ancestor(label_bitrate, GTK_TYPE_BUTTON); - g_signal_connect(G_OBJECT(GTK_WIDGET(col_button)), "button-press-event", - G_CALLBACK(header_right_click_cb), cplaylist); - - /* Column : Year */ - - renderer = gtk_cell_renderer_text_new(); - gtk_cell_renderer_text_set_fixed_height_from_font(GTK_CELL_RENDERER_TEXT(renderer),1); - gtk_cell_renderer_set_fixed_size (renderer, 1, -1); - column = gtk_tree_view_column_new_with_attributes(P_YEAR_STR, - renderer, - "text", - P_YEAR, - NULL); - gtk_tree_view_column_set_resizable(column, TRUE); - gtk_tree_view_column_set_sort_column_id(column, P_YEAR); - g_object_set(G_OBJECT(renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL); - gtk_tree_view_append_column(GTK_TREE_VIEW(view), column); - gtk_tree_view_column_set_widget(column, label_year); - gtk_widget_show(label_year); - col_button = gtk_widget_get_ancestor(label_year, GTK_TYPE_BUTTON); - g_signal_connect(G_OBJECT(GTK_WIDGET(col_button)), "button-press-event", - G_CALLBACK(header_right_click_cb), cplaylist); - - /* Column : Comment */ - - renderer = gtk_cell_renderer_text_new(); - gtk_cell_renderer_text_set_fixed_height_from_font(GTK_CELL_RENDERER_TEXT(renderer),1); - gtk_cell_renderer_set_fixed_size (renderer, 1, -1); - column = gtk_tree_view_column_new_with_attributes(P_COMMENT_STR, - renderer, - "text", - P_COMMENT, - NULL); - gtk_tree_view_column_set_resizable(column, TRUE); - gtk_tree_view_column_set_sort_column_id(column, P_COMMENT); - g_object_set(G_OBJECT(renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL); - gtk_tree_view_append_column(GTK_TREE_VIEW(view), column); - gtk_tree_view_column_set_widget(column, label_comment); - gtk_widget_show(label_comment); - col_button = gtk_widget_get_ancestor(label_comment, GTK_TYPE_BUTTON); - g_signal_connect(G_OBJECT(GTK_WIDGET(col_button)), "button-press-event", - G_CALLBACK(header_right_click_cb), cplaylist); + create_playlist_column(cplaylist, GTK_TREE_VIEW(view),P_TRACK_NO_STR,P_TRACK_NO); + create_playlist_column(cplaylist, GTK_TREE_VIEW(view),P_TITLE_STR,P_TITLE); + create_playlist_column(cplaylist, GTK_TREE_VIEW(view),P_ARTIST_STR,P_ARTIST); + create_playlist_column(cplaylist, GTK_TREE_VIEW(view),P_ALBUM_STR,P_ALBUM); + create_playlist_column(cplaylist, GTK_TREE_VIEW(view),P_GENRE_STR,P_GENRE); + create_playlist_column(cplaylist, GTK_TREE_VIEW(view),P_BITRATE_STR,P_BITRATE); + create_playlist_column(cplaylist, GTK_TREE_VIEW(view),P_YEAR_STR,P_YEAR); + create_playlist_column(cplaylist, GTK_TREE_VIEW(view),P_COMMENT_STR,P_COMMENT); + create_playlist_column(cplaylist, GTK_TREE_VIEW(view),P_LENGTH_STR,P_LENGTH); + create_playlist_column(cplaylist, GTK_TREE_VIEW(view),P_FILENAME_STR,P_FILENAME); + create_playlist_column(cplaylist, GTK_TREE_VIEW(view),P_MIMETYPE_STR,P_MIMETYPE); + +} - /* Column : Length */ +static void +create_playlist_column(PraghaPlaylist *cplaylist, GtkTreeView *view,gchar *label,gint column_id) +{ + GtkWidget *label_wgt; + GtkCellRenderer *renderer; + GtkTreeViewColumn *column; + GtkWidget *col_button; + + label_wgt = gtk_label_new(label); + renderer = gtk_cell_renderer_text_new(); - gtk_cell_renderer_text_set_fixed_height_from_font(GTK_CELL_RENDERER_TEXT(renderer),1); gtk_cell_renderer_set_fixed_size (renderer, 1, -1); - column = gtk_tree_view_column_new_with_attributes(P_LENGTH_STR, - renderer, - "text", - P_LENGTH, - NULL); - gtk_tree_view_column_set_resizable(column, TRUE); - gtk_tree_view_column_set_sort_column_id(column, P_LENGTH); - gtk_tree_view_append_column(GTK_TREE_VIEW(view), column); - gtk_tree_view_column_set_widget(column, label_length); - gtk_widget_show(label_length); - col_button = gtk_widget_get_ancestor(label_length, GTK_TYPE_BUTTON); - g_signal_connect(G_OBJECT(GTK_WIDGET(col_button)), "button-press-event", - G_CALLBACK(header_right_click_cb), cplaylist); - - /* Column : Filename */ - - renderer = gtk_cell_renderer_text_new(); gtk_cell_renderer_text_set_fixed_height_from_font(GTK_CELL_RENDERER_TEXT(renderer),1); - gtk_cell_renderer_set_fixed_size (renderer, 1, -1); - column = gtk_tree_view_column_new_with_attributes(P_FILENAME_STR, + column = gtk_tree_view_column_new_with_attributes(label, renderer, "text", - P_FILENAME, + column_id, NULL); + gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_column_set_resizable(column, TRUE); - gtk_tree_view_column_set_sort_column_id(column, P_FILENAME); + gtk_tree_view_column_set_reorderable(column, TRUE); + gtk_tree_view_column_set_sort_column_id(column, column_id); g_object_set(G_OBJECT(renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(view), column); - gtk_tree_view_column_set_widget(column, label_filename); - gtk_widget_show(label_filename); - col_button = gtk_widget_get_ancestor(label_filename, GTK_TYPE_BUTTON); + gtk_tree_view_column_set_widget(column, label_wgt); + gtk_widget_show(label_wgt); + col_button = gtk_widget_get_ancestor(label_wgt, GTK_TYPE_BUTTON); g_signal_connect(G_OBJECT(GTK_WIDGET(col_button)), "button-press-event", G_CALLBACK(header_right_click_cb), cplaylist); + +} - /* Column : Mimetype */ - - renderer = gtk_cell_renderer_text_new(); - gtk_cell_renderer_text_set_fixed_height_from_font(GTK_CELL_RENDERER_TEXT(renderer),1); - gtk_cell_renderer_set_fixed_size (renderer, 1, -1); - column = gtk_tree_view_column_new_with_attributes(P_MIMETYPE_STR, - renderer, - "text", - P_MIMETYPE, - NULL); - gtk_tree_view_column_set_resizable(column, TRUE); - gtk_tree_view_column_set_sort_column_id(column, P_MIMETYPE); - g_object_set(G_OBJECT(renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL); - gtk_tree_view_append_column(GTK_TREE_VIEW(view), column); - gtk_tree_view_column_set_widget(column, label_mimetype); - gtk_widget_show(label_mimetype); - col_button = gtk_widget_get_ancestor(label_mimetype, GTK_TYPE_BUTTON); - g_signal_connect(G_OBJECT(GTK_WIDGET(col_button)), "button-press-event", - G_CALLBACK(header_right_click_cb), cplaylist); -} void update_current_playlist_view_playback_state_cb (PraghaBackend *backend, GParamSpec *pspec, PraghaPlaylist *cplaylist) @@ -3810,7 +3747,6 @@ GtkTreeSelection *selection; GtkTreeModel *model; GtkTreeSortable *sortable; - const GBindingFlags binding_flags = G_BINDING_SYNC_CREATE; /* Create the tree store */ @@ -3838,6 +3774,10 @@ model = gtk_tree_view_get_model(GTK_TREE_VIEW(current_playlist)); sortable = GTK_TREE_SORTABLE(model); + /* Set fixed height */ + + gtk_tree_view_set_fixed_height_mode (GTK_TREE_VIEW(current_playlist), TRUE); + /* Disable interactive search */ gtk_tree_view_set_enable_search(GTK_TREE_VIEW(current_playlist), FALSE); @@ -3879,10 +3819,6 @@ g_signal_connect(G_OBJECT(current_playlist), "key-press-event", G_CALLBACK (current_playlist_key_press), cplaylist); - /* Store the treeview in the scrollbar widget */ - - g_object_bind_property (cplaylist->preferences, "use-hint", current_playlist, "rules-hint", binding_flags); - g_object_unref(store); return current_playlist; @@ -3893,9 +3829,7 @@ { const gchar *col_name; GtkTreeViewColumn *col; - - col = gtk_tree_view_get_column(GTK_TREE_VIEW(cplaylist->view), - column - 3); + col = playlist_tree_view_get_column_from_id (cplaylist, column); if (!col) { g_warning("Invalid column number"); @@ -3904,6 +3838,7 @@ col_name = gtk_tree_view_column_get_title(col); gtk_tree_view_column_set_visible(col, visible); + gtk_tree_view_column_set_fixed_width(col,DEFAULT_PLAYLIST_COL_WIDTH); modify_current_playlist_columns(cplaylist, col_name, visible); } @@ -4164,6 +4099,12 @@ return playlist->no_tracks; } +gint +pragha_playlist_get_no_unplayed_tracks (PraghaPlaylist *playlist) +{ + return playlist->unplayed_tracks; +} + gint pragha_playlist_get_total_playtime (PraghaPlaylist *playlist) { GtkTreeIter iter; @@ -4303,48 +4244,34 @@ const gchar *col_name; gchar **columns; gint cnt = 0, i = 0, *col_widths; - GSList *list; GList *cols, *j; /* Save list of columns visible in current playlist */ - if (cplaylist->columns) { - list = cplaylist->columns; - cnt = g_slist_length(cplaylist->columns); - columns = g_new0(gchar *, cnt); - - for (i=0; idata; - list = list->next; - } - - pragha_preferences_set_string_list (cplaylist->preferences, - GROUP_PLAYLIST, - KEY_PLAYLIST_COLUMNS, - (const gchar **)columns, - cnt); - g_free(columns); - } - - /* Save column widths */ - cols = gtk_tree_view_get_columns(GTK_TREE_VIEW(cplaylist->view)); cnt = g_list_length(cols); if (cols) { col_widths = g_new0(gint, cnt); - for (j=cols, i=0; j != NULL; j = j->next) { + columns = g_new0(gchar *, cnt); + for (j = cols, i=0; j != NULL; j = j->next) { col = j->data; col_name = gtk_tree_view_column_get_title(col); - if (is_present_str_list(col_name, - cplaylist->columns)) - col_widths[i++] = - gtk_tree_view_column_get_width(col); + if (is_present_str_list(col_name, cplaylist->columns)) { + columns[i] = g_strdup(col_name); + col_widths[i++] = gtk_tree_view_column_get_width(col); + } } + pragha_preferences_set_string_list (cplaylist->preferences, + GROUP_PLAYLIST, + KEY_PLAYLIST_COLUMNS, + (const gchar **)columns, + i); pragha_preferences_set_integer_list (cplaylist->preferences, GROUP_PLAYLIST, KEY_PLAYLIST_COLUMN_WIDTHS, col_widths, i); + g_strfreev(columns); g_list_free(cols); g_free(col_widths); } @@ -4406,7 +4333,7 @@ /* Init drag and drop */ - init_playlist_dnd (playlist); + pragha_playlist_init_dnd (playlist); /* Create menus */ diff -Nru pragha-1.3.3/src/pragha-playlist.h pragha-1.3.992/src/pragha-playlist.h --- pragha-1.3.3/src/pragha-playlist.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-playlist.h 2019-08-13 15:02:38.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -95,7 +95,7 @@ PraghaMusicobject * current_playlist_mobj_at_path(GtkTreePath *path, PraghaPlaylist *cplaylist); -void toggle_queue_selected_current_playlist (PraghaPlaylist *cplaylist); +void pragha_playlist_toggle_queue_selected (PraghaPlaylist *cplaylist); void pragha_playlist_update_current_track(PraghaPlaylist *cplaylist, gint changed, PraghaMusicobject *nmobj); void @@ -104,14 +104,21 @@ pragha_playlist_append_mobj_and_play(PraghaPlaylist *cplaylist, PraghaMusicobject *mobj); void pragha_playlist_append_mobj_list(PraghaPlaylist *cplaylist, GList *list); + gboolean -pragha_mobj_list_already_has_title_of_artist(GList *list, - const gchar *title, - const gchar *artist); +pragha_mobj_list_already_has_title_of_artist (GList *list, + const gchar *title, + const gchar *artist); + gboolean -pragha_playlist_already_has_title_of_artist(PraghaPlaylist *cplaylist, - const gchar *title, - const gchar *artist); +pragha_playlist_already_has_title_of_artist (PraghaPlaylist *cplaylist, + const gchar *title, + const gchar *artist); + +gboolean +pragha_playlist_select_title_of_artist (PraghaPlaylist *cplaylist, + const gchar *title, + const gchar *artist); GList *pragha_playlist_get_mobj_list(PraghaPlaylist* cplaylist); GList *pragha_playlist_get_selection_mobj_list(PraghaPlaylist* cplaylist); @@ -126,6 +133,8 @@ void pragha_playlist_activate_unique_mobj (PraghaPlaylist* cplaylist, PraghaMusicobject *mobj); gint pragha_playlist_get_no_tracks (PraghaPlaylist *playlist); +gint pragha_playlist_get_no_unplayed_tracks (PraghaPlaylist *playlist); + gint pragha_playlist_get_total_playtime (PraghaPlaylist *playlist); gboolean pragha_playlist_has_queue(PraghaPlaylist* cplaylist); diff -Nru pragha-1.3.3/src/pragha-playlists-mgmt.c pragha-1.3.992/src/pragha-playlists-mgmt.c --- pragha-1.3.3/src/pragha-playlists-mgmt.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-playlists-mgmt.c 2019-07-05 14:22:03.000000000 +0000 @@ -1,18 +1,18 @@ /*************************************************************************/ -/* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ +/* Copyright (C) 2007-2009 sujith */ +/* Copyright (C) 2009-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ /* along with this program. If not, see . */ /*************************************************************************/ @@ -38,6 +38,7 @@ #include "xml_helper.h" #endif +#include "pragha-app-notification.h" #include "pragha-hig.h" #include "pragha-file-utils.h" #include "pragha-utils.h" @@ -447,7 +448,7 @@ if ((location_id = pragha_database_find_location (cdbase, file))) mobj = new_musicobject_from_db(cdbase, location_id); else - mobj = new_musicobject_from_file (file); + mobj = new_musicobject_from_file (file, NULL); if (G_LIKELY(mobj)) list = g_list_append(list, mobj); @@ -715,12 +716,11 @@ gchar *base; pl_parser = totem_pl_parser_new (); - //g_object_set (pl_parser, "recurse", FALSE, NULL); + g_object_set (pl_parser, "recurse", FALSE, NULL); g_signal_connect (G_OBJECT(pl_parser), "entry-parsed", G_CALLBACK(_on_pl_entry_parsed), &plitems); base = get_display_filename(uri, TRUE); - switch (totem_pl_parser_parse_with_base(pl_parser, uri, base, FALSE)) { case TOTEM_PL_PARSER_RESULT_UNHANDLED: case TOTEM_PL_PARSER_RESULT_IGNORED: @@ -986,7 +986,7 @@ #endif for (i = list; i != NULL; i = i->next) { - mobj = new_musicobject_from_file(i->data); + mobj = new_musicobject_from_file(i->data, NULL); if (G_LIKELY(mobj)) mlist = g_list_append(mlist, mobj); @@ -1001,12 +1001,12 @@ void pragha_pl_parser_open_from_file_by_extension (const gchar *file, PraghaApplication *pragha) { + PraghaAppNotification *notification; PraghaPlaylist *playlist; GSList *list = NULL, *i = NULL; GList *mlist = NULL; gchar *summary; gint try = 0, added = 0; - PraghaStatusbar *statusbar; PraghaMusicobject *mobj; #ifdef HAVE_PLPARSER @@ -1019,7 +1019,7 @@ for (i = list; i != NULL; i = i->next) { try++; - mobj = new_musicobject_from_file(i->data); + mobj = new_musicobject_from_file(i->data, NULL); if (G_LIKELY(mobj)) { added++; mlist = g_list_append(mlist, mobj); @@ -1035,9 +1035,8 @@ summary = g_strdup_printf(_("Added %d songs from %d of the imported playlist."), added, try); - statusbar = pragha_statusbar_get (); - pragha_statusbar_set_misc_text (statusbar, summary); - g_object_unref (statusbar); + notification = pragha_app_notification_new (summary, NULL); + pragha_app_notification_show (notification); g_free(summary); @@ -1065,25 +1064,6 @@ return file; } -/* Appennd a tracks list to a playlist using the given type */ - -static void -append_files_to_playlist(PraghaDatabase *cdbase, GSList *list, gint playlist_id) -{ - gchar *file; - GSList *i = NULL; - - pragha_database_begin_transaction (cdbase); - - for (i=list; i != NULL; i = i->next) { - file = i->data; - pragha_database_add_playlist_track (cdbase, playlist_id, file); - g_free(file); - } - - pragha_database_commit_transaction (cdbase); -} - /* Save tracks to a playlist using the given type */ void @@ -1091,10 +1071,9 @@ gint playlist_id, PraghaPlaylistActionRange type) { - PraghaMusicobject *mobj = NULL; + PraghaDatabase *cdbase = NULL; GList *mlist = NULL, *i; - GSList *files = NULL; - gchar *file = NULL; + const gchar *filename = NULL; switch(type) { case SAVE_COMPLETE: @@ -1107,26 +1086,18 @@ break; } - if(mlist != NULL) { - for (i=mlist; i != NULL; i = i->next) { - mobj = i->data; - if (pragha_musicobject_is_local_file(mobj)) { - file = g_strdup(pragha_musicobject_get_file(mobj)); - files = g_slist_prepend(files, file); - } - else if(pragha_musicobject_get_source(mobj) == FILE_HTTP) { - /* TODO: Fix this negradaaa!. */ - file = g_strdup_printf("Radio:/%s", pragha_musicobject_get_file(mobj)); - files = g_slist_prepend(files, file); - } + cdbase = pragha_playlist_get_database (cplaylist); + pragha_database_begin_transaction (cdbase); + if (mlist != NULL) + { + for (i = mlist; i != NULL; i = i->next) + { + filename = pragha_musicobject_get_file (PRAGHA_MUSICOBJECT(i->data)); + pragha_database_add_playlist_track (cdbase, playlist_id, filename); } g_list_free(mlist); } - - if(files != NULL) { - append_files_to_playlist(pragha_playlist_get_database(cplaylist), files, playlist_id); - g_slist_free(files); - } + pragha_database_commit_transaction (cdbase); } void @@ -1171,6 +1142,66 @@ save_playlist(cplaylist, playlist_id, type); } + +void +pragha_playlist_database_update_playlist (PraghaDatabase *cdbase, const gchar *playlist, GList *mlist) +{ + GList *i; + const gchar *filename = NULL; + gint playlist_id; + + if (string_is_empty(playlist)) { + g_warning("Playlist name is NULL"); + return; + } + + //TODO: Update instead replace playlist.. + if ((playlist_id = pragha_database_find_playlist (cdbase, playlist))) + pragha_database_delete_playlist (cdbase, playlist); + playlist_id = pragha_database_add_new_playlist (cdbase, playlist); + + pragha_database_begin_transaction (cdbase); + if (mlist != NULL) + { + for (i = mlist; i != NULL; i = i->next) + { + filename = pragha_musicobject_get_file (PRAGHA_MUSICOBJECT(i->data)); + pragha_database_add_playlist_track (cdbase, playlist_id, filename); + } + } + pragha_database_commit_transaction (cdbase); +} + +void +pragha_playlist_database_insert_playlist (PraghaDatabase *cdbase, const gchar *playlist, GList *mlist) +{ + GList *i; + const gchar *filename = NULL; + gint playlist_id; + + if (string_is_empty(playlist)) { + g_warning("Playlist name is NULL"); + return; + } + + playlist_id = pragha_database_find_playlist (cdbase, playlist); + if (playlist_id == 0) + playlist_id = pragha_database_add_new_playlist (cdbase, playlist); + + pragha_database_begin_transaction (cdbase); + if (mlist != NULL) + { + for (i = mlist; i != NULL; i = i->next) + { + filename = pragha_musicobject_get_file (PRAGHA_MUSICOBJECT(i->data)); + if (!pragha_database_playlist_has_track (cdbase, playlist_id, filename)) + pragha_database_add_playlist_track (cdbase, playlist_id, filename); + } + } + pragha_database_commit_transaction (cdbase); +} + + gchar * new_radio (PraghaPlaylist *playlist, const gchar *uri, @@ -1341,9 +1372,10 @@ menuitem = gtk_separator_menu_item_new (); gtk_menu_shell_append (GTK_MENU_SHELL(submenu), menuitem); - const gchar *sql = "SELECT name FROM PLAYLIST WHERE name != ? ORDER BY name COLLATE NOCASE"; + const gchar *sql = "SELECT name FROM PLAYLIST WHERE name != ? AND name != ? ORDER BY name COLLATE NOCASE"; PraghaPreparedStatement *statement = pragha_database_create_statement (pragha_playlist_get_database(cplaylist), sql); pragha_prepared_statement_bind_string (statement, 1, SAVE_PLAYLIST_STATE); + pragha_prepared_statement_bind_string (statement, 2, _("Favorites")); while (pragha_prepared_statement_step (statement)) { const gchar *name = pragha_prepared_statement_get_string (statement, 0); @@ -1377,9 +1409,10 @@ menuitem = gtk_separator_menu_item_new (); gtk_menu_shell_append (GTK_MENU_SHELL(submenu), menuitem); - const gchar *sql = "SELECT name FROM PLAYLIST WHERE name != ? ORDER BY name COLLATE NOCASE"; + const gchar *sql = "SELECT name FROM PLAYLIST WHERE name != ? AND name != ? ORDER BY name COLLATE NOCASE"; PraghaPreparedStatement *statement = pragha_database_create_statement (pragha_playlist_get_database(cplaylist), sql); pragha_prepared_statement_bind_string (statement, 1, SAVE_PLAYLIST_STATE); + pragha_prepared_statement_bind_string (statement, 2, _("Favorites")); while (pragha_prepared_statement_step (statement)) { const gchar *name = pragha_prepared_statement_get_string (statement, 0); diff -Nru pragha-1.3.3/src/pragha-playlists-mgmt.h pragha-1.3.992/src/pragha-playlists-mgmt.h --- pragha-1.3.3/src/pragha-playlists-mgmt.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-playlists-mgmt.h 2019-07-05 14:25:54.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -47,6 +47,11 @@ void new_playlist(PraghaPlaylist* cplaylist, const gchar *playlist, PraghaPlaylistActionRange type); void append_playlist(PraghaPlaylist* cplaylist, const gchar *playlist, PraghaPlaylistActionRange type); +void +pragha_playlist_database_update_playlist (PraghaDatabase *cdbase, const gchar *playlist, GList *mlist); +void +pragha_playlist_database_insert_playlist (PraghaDatabase *cdbase, const gchar *playlist, GList *mlist); + void pragha_playlist_save_selection (PraghaPlaylist *playlist, const gchar *name); void pragha_playlist_save_playlist (PraghaPlaylist *playlist, const gchar *name); diff -Nru pragha-1.3.3/src/pragha-plugins-engine.c pragha-1.3.992/src/pragha-plugins-engine.c --- pragha-1.3.3/src/pragha-plugins-engine.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-plugins-engine.c 2019-08-13 11:42:44.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2013-2014 matias */ +/* Copyright (C) 2013-2017 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -35,6 +35,7 @@ PeasEngine *peas_engine; PeasExtensionSet *peas_exten_set; + gboolean starting; gboolean shutdown; }; @@ -59,7 +60,13 @@ } gboolean -pragha_plugins_is_shutdown (PraghaPluginsEngine *engine) +pragha_plugins_engine_is_starting (PraghaPluginsEngine *engine) +{ + return engine->starting; +} + +gboolean +pragha_plugins_engine_is_shutdown (PraghaPluginsEngine *engine) { return engine->shutdown; } @@ -74,9 +81,6 @@ engine->shutdown = TRUE; - g_signal_handlers_disconnect_by_func (engine->peas_exten_set, (GCallback) on_extension_added, engine); - g_signal_handlers_disconnect_by_func (engine->peas_exten_set, (GCallback) on_extension_removed, engine); - loaded_plugins = peas_engine_get_loaded_plugins (engine->peas_engine); if (loaded_plugins) { preferences = pragha_application_get_preferences (PRAGHA_APPLICATION(engine->object)); @@ -116,6 +120,8 @@ else { peas_engine_set_loaded_plugins (engine->peas_engine, (const gchar **) default_plugins); } + + engine->starting = FALSE; } /* @@ -159,6 +165,7 @@ pragha_plugins_engine_init (PraghaPluginsEngine *engine) { engine->peas_engine = peas_engine_get_default (); + engine->starting = TRUE; engine->shutdown = FALSE; } @@ -174,7 +181,7 @@ engine->object = g_object_ref(object); peas_engine_add_search_path (engine->peas_engine, LIBPLUGINDIR, USRPLUGINDIR); - + //peas_engine_add_search_path (engine->peas_engine, "/home/matias/Desarrollo/pragha/plugins/", "/home/matias/Desarrollo/pragha/plugins/"); engine->peas_exten_set = peas_extension_set_new (engine->peas_engine, PEAS_TYPE_ACTIVATABLE, "object", object, diff -Nru pragha-1.3.3/src/pragha-plugins-engine.h pragha-1.3.992/src/pragha-plugins-engine.h --- pragha-1.3.3/src/pragha-plugins-engine.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-plugins-engine.h 2018-06-21 11:24:11.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2013-2015 matias */ +/* Copyright (C) 2013-2017 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -39,12 +39,13 @@ GObjectClass parent_class; }; -gboolean pragha_plugins_is_shutdown (PraghaPluginsEngine *engine); +gboolean pragha_plugins_engine_is_starting (PraghaPluginsEngine *engine); +gboolean pragha_plugins_engine_is_shutdown (PraghaPluginsEngine *engine); -void pragha_plugins_engine_shutdown (PraghaPluginsEngine *engine); -void pragha_plugins_engine_startup (PraghaPluginsEngine *engine); +void pragha_plugins_engine_shutdown (PraghaPluginsEngine *engine); +void pragha_plugins_engine_startup (PraghaPluginsEngine *engine); -PraghaPluginsEngine *pragha_plugins_engine_new (GObject *object); +PraghaPluginsEngine *pragha_plugins_engine_new (GObject *object); G_END_DECLS diff -Nru pragha-1.3.3/src/pragha-preferences.c pragha-1.3.992/src/pragha-preferences.c --- pragha-1.3.3/src/pragha-preferences.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-preferences.c 2019-08-13 13:43:53.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2012-2013 matias */ +/* Copyright (C) 2012-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -34,8 +34,6 @@ #include "pragha-library-pane.h" #include "pragha-debug.h" -G_DEFINE_TYPE(PraghaPreferences, pragha_preferences, G_TYPE_OBJECT) - struct _PraghaPreferencesPrivate { GKeyFile *rc_keyfile; @@ -49,17 +47,16 @@ /* LibraryPane preferences */ gint library_style; gboolean sort_by_year; - gboolean fuse_folders; /* Playlist preferences. */ gboolean shuffle; gboolean repeat; - gboolean use_hint; gboolean restore_playlist; /* Audio preferences. */ gchar *audio_sink; gchar *audio_device; gboolean software_mixer; gdouble software_volume; + gboolean ignore_errors; /* Window preferences. */ gboolean lateral_panel; gint sidebar_size; @@ -69,7 +66,6 @@ gint album_art_size; gchar *album_art_pattern; GtkIconSize toolbar_size; - gboolean show_status_bar; gboolean show_status_icon; gboolean show_menubar; gboolean system_titlebar; @@ -86,6 +82,8 @@ gboolean lock_library; }; +G_DEFINE_TYPE_WITH_PRIVATE(PraghaPreferences, pragha_preferences, G_TYPE_OBJECT) + enum { PROP_0, @@ -93,15 +91,14 @@ PROP_APPROXIMATE_SEARCH, PROP_LIBRARY_STYLE, PROP_LIBRARY_SORT_BY_YEAR, - PROP_LIBRARY_FUSE_FOLDERS, PROP_SHUFFLE, PROP_REPEAT, - PROP_USE_HINT, PROP_RESTORE_PLAYLIST, PROP_AUDIO_SINK, PROP_AUDIO_DEVICE, PROP_SOFTWARE_MIXER, PROP_SOFTWARE_VOLUME, + PROP_IGNORE_ERRORS, PROP_LATERAL_PANEL, PROP_SIDEBAR_SIZE, PROP_SECONDARY_LATERAL_PANEL, @@ -110,7 +107,6 @@ PROP_ALBUM_ART_SIZE, PROP_ALBUM_ART_PATTERN, PROP_TOOLBAR_SIZE, - PROP_SHOW_STATUS_BAR, PROP_SHOW_STATUS_ICON, PROP_SHOW_MENUBAR, PROP_SYSTEM_TITLEBAR, @@ -239,6 +235,41 @@ } /** + * pragha_preferences_get_integer: + * + */ +gint +pragha_preferences_get_integer (PraghaPreferences *preferences, + const gchar *group_name, + const gchar *key) +{ + g_return_val_if_fail(PRAGHA_IS_PREFERENCES(preferences), 0); + + return g_key_file_get_integer (preferences->priv->rc_keyfile, + group_name, + key, + NULL); +} + +/** + * pragha_preferences_set_integer: + * + */ +void +pragha_preferences_set_integer (PraghaPreferences *preferences, + const gchar *group_name, + const gchar *key, + gint integer) +{ + g_return_if_fail(PRAGHA_IS_PREFERENCES(preferences)); + + g_key_file_set_integer (preferences->priv->rc_keyfile, + group_name, + key, + integer); +} + +/** * pragha_preferences_get_string: * */ @@ -492,40 +523,12 @@ } /** - * pragha_preferences_get_library_list: - * - */ -GSList * -pragha_preferences_get_library_list (PraghaPreferences *preferences) -{ - g_return_val_if_fail(PRAGHA_IS_PREFERENCES(preferences), NULL); - - return pragha_preferences_get_filename_list (preferences, - GROUP_LIBRARY, - KEY_LIBRARY_DIR); -} - -/** - * pragha_preferences_set_library_list: + * pragha_preferences_local_provider_changed: * */ void -pragha_preferences_set_library_list (PraghaPreferences *preferences, - GSList *list) +pragha_preferences_local_provider_changed (PraghaPreferences *preferences) { - g_return_if_fail(PRAGHA_IS_PREFERENCES(preferences)); - - if (list != NULL) { - pragha_preferences_set_filename_list (preferences, - GROUP_LIBRARY, - KEY_LIBRARY_DIR, - list); - } - else { - pragha_preferences_remove_key (preferences, - GROUP_LIBRARY, - KEY_LIBRARY_DIR); - } g_signal_emit (preferences, signals[SIGNAL_LIBRARY_CHANGED], 0); } @@ -665,33 +668,6 @@ } /** - * pragha_preferences_get_fuse_folders: - * - */ -gboolean -pragha_preferences_get_fuse_folders (PraghaPreferences *preferences) -{ - g_return_val_if_fail(PRAGHA_IS_PREFERENCES(preferences), FALSE); - - return preferences->priv->fuse_folders; -} - -/** - * pragha_preferences_fuse_folders: - * - */ -void -pragha_preferences_set_fuse_folders (PraghaPreferences *preferences, - gboolean fuse_folders) -{ - g_return_if_fail(PRAGHA_IS_PREFERENCES(preferences)); - - preferences->priv->fuse_folders = fuse_folders; - - g_object_notify_by_pspec(G_OBJECT(preferences), gParamSpecs[PROP_LIBRARY_FUSE_FOLDERS]); -} - -/** * pragha_preferences_get_shuffle: * */ @@ -746,33 +722,6 @@ } /** - * pragha_preferences_get_use_hint: - * - */ -gboolean -pragha_preferences_get_use_hint (PraghaPreferences *preferences) -{ - g_return_val_if_fail(PRAGHA_IS_PREFERENCES(preferences), FALSE); - - return preferences->priv->use_hint; -} - -/** - * pragha_preferences_set_use_hint: - * - */ -void -pragha_preferences_set_use_hint (PraghaPreferences *preferences, - gboolean use_hint) -{ - g_return_if_fail(PRAGHA_IS_PREFERENCES(preferences)); - - preferences->priv->use_hint = use_hint; - - g_object_notify_by_pspec(G_OBJECT(preferences), gParamSpecs[PROP_USE_HINT]); -} - -/** * pragha_preferences_get_restore_playlist: * */ @@ -909,6 +858,35 @@ g_object_notify_by_pspec(G_OBJECT(preferences), gParamSpecs[PROP_SOFTWARE_VOLUME]); } + +/** + * pragha_preferences_get_ignore_errors: + * + */ +gboolean +pragha_preferences_get_ignore_errors (PraghaPreferences *preferences) +{ + g_return_val_if_fail(PRAGHA_IS_PREFERENCES(preferences), FALSE); + + return preferences->priv->ignore_errors; +} + +/** + * pragha_preferences_set_ignore_errors: + * + */ +void +pragha_preferences_set_ignore_errors (PraghaPreferences *preferences, + gboolean ignore_errors) +{ + g_return_if_fail(PRAGHA_IS_PREFERENCES(preferences)); + + preferences->priv->ignore_errors = ignore_errors; + + g_object_notify_by_pspec(G_OBJECT(preferences), gParamSpecs[PROP_IGNORE_ERRORS]); +} + + /** * pragha_preferences_get_lateral_panel: * @@ -1127,40 +1105,13 @@ } /** - * pragha_preferences_get_show_status_bar: - * - */ -gboolean -pragha_preferences_get_show_status_bar (PraghaPreferences *preferences) -{ - g_return_val_if_fail(PRAGHA_IS_PREFERENCES(preferences), TRUE); - - return preferences->priv->show_status_bar; -} - -/** - * pragha_preferences_set_show_status_bar: - * - */ -void -pragha_preferences_set_show_status_bar (PraghaPreferences *preferences, - gboolean show_status_bar) -{ - g_return_if_fail(PRAGHA_IS_PREFERENCES(preferences)); - - preferences->priv->show_status_bar = show_status_bar; - - g_object_notify_by_pspec(G_OBJECT(preferences), gParamSpecs[PROP_SHOW_STATUS_BAR]); -} - -/** * pragha_preferences_get_show_status_icon: * */ gboolean pragha_preferences_get_show_status_icon (PraghaPreferences *preferences) { - g_return_val_if_fail(PRAGHA_IS_PREFERENCES(preferences), TRUE); + g_return_val_if_fail(PRAGHA_IS_PREFERENCES(preferences), FALSE); return preferences->priv->show_status_icon; } @@ -1457,8 +1408,8 @@ { gchar *installed_version; gboolean approximate_search, instant_search; - gboolean shuffle, repeat, use_hint, restore_playlist, software_mixer; - gboolean lateral_panel, secondary_lateral_panel, show_album_art, show_status_bar, \ + gboolean shuffle, repeat, restore_playlist, software_mixer, ignore_errors; + gboolean lateral_panel, secondary_lateral_panel, show_album_art, \ show_status_icon, show_menubar, system_titlebar, controls_below, remember_state; gchar *album_art_pattern; gchar *start_mode, *last_folder, *last_folder_converted = NULL; @@ -1467,10 +1418,11 @@ gdouble software_volume; gint library_style, sidebar_size, secondary_sidebar_size, album_art_size; GtkIconSize toolbar_size; - gboolean fuse_folders, sort_by_year; + gboolean sort_by_year; const gchar *user_config_dir; gchar *pragha_config_dir = NULL; GError *error = NULL; + PraghaPreferencesPrivate *priv = preferences->priv; /* First check preferences folder or create it */ @@ -1576,18 +1528,6 @@ pragha_preferences_set_repeat(preferences, repeat); } - use_hint = g_key_file_get_boolean(priv->rc_keyfile, - GROUP_GENERAL, - KEY_USE_HINT, - &error); - if (error) { - g_error_free(error); - error = NULL; - } - else { - pragha_preferences_set_use_hint(preferences, use_hint); - } - library_style = g_key_file_get_integer(priv->rc_keyfile, GROUP_LIBRARY, KEY_LIBRARY_VIEW_ORDER, @@ -1612,18 +1552,6 @@ pragha_preferences_set_sort_by_year(preferences, sort_by_year); } - fuse_folders = g_key_file_get_boolean(priv->rc_keyfile, - GROUP_LIBRARY, - KEY_FUSE_FOLDERS, - &error); - if (error) { - g_error_free(error); - error = NULL; - } - else { - pragha_preferences_set_fuse_folders(preferences, fuse_folders); - } - restore_playlist = g_key_file_get_boolean(priv->rc_keyfile, GROUP_PLAYLIST, KEY_SAVE_PLAYLIST, @@ -1684,6 +1612,18 @@ pragha_preferences_set_software_volume(preferences, software_volume); } + ignore_errors = g_key_file_get_boolean(priv->rc_keyfile, + GROUP_AUDIO, + KEY_IGNORE_ERRORS, + &error); + if (error) { + g_error_free(error); + error = NULL; + } + else { + pragha_preferences_set_ignore_errors(preferences, ignore_errors); + } + lateral_panel = g_key_file_get_boolean(priv->rc_keyfile, GROUP_WINDOW, KEY_SIDEBAR, @@ -1780,18 +1720,6 @@ pragha_preferences_set_toolbar_size(preferences, toolbar_size); } - show_status_bar = g_key_file_get_boolean(priv->rc_keyfile, - GROUP_WINDOW, - KEY_STATUS_BAR, - &error); - if (error) { - g_error_free(error); - error = NULL; - } - else { - pragha_preferences_set_show_status_bar(preferences, show_status_bar); - } - show_status_icon = g_key_file_get_boolean(priv->rc_keyfile, GROUP_GENERAL, KEY_SHOW_ICON_TRAY, @@ -1964,10 +1892,6 @@ GROUP_LIBRARY, KEY_SORT_BY_YEAR, priv->sort_by_year); - g_key_file_set_boolean(priv->rc_keyfile, - GROUP_LIBRARY, - KEY_FUSE_FOLDERS, - priv->fuse_folders); g_key_file_set_boolean(priv->rc_keyfile, GROUP_PLAYLIST, @@ -1978,10 +1902,6 @@ KEY_REPEAT, priv->repeat); g_key_file_set_boolean(priv->rc_keyfile, - GROUP_GENERAL, - KEY_USE_HINT, - priv->use_hint); - g_key_file_set_boolean(priv->rc_keyfile, GROUP_PLAYLIST, KEY_SAVE_PLAYLIST, priv->restore_playlist); @@ -2001,6 +1921,10 @@ GROUP_AUDIO, KEY_SOFTWARE_VOLUME, priv->software_volume); + g_key_file_set_boolean(priv->rc_keyfile, + GROUP_AUDIO, + KEY_IGNORE_ERRORS, + priv->ignore_errors); g_key_file_set_boolean(priv->rc_keyfile, GROUP_WINDOW, @@ -2040,10 +1964,6 @@ KEY_TOOLBAR_SIZE, priv->toolbar_size); g_key_file_set_boolean(priv->rc_keyfile, - GROUP_WINDOW, - KEY_STATUS_BAR, - priv->show_status_bar); - g_key_file_set_boolean(priv->rc_keyfile, GROUP_GENERAL, KEY_SHOW_ICON_TRAY, priv->show_status_icon); @@ -2139,18 +2059,12 @@ case PROP_LIBRARY_SORT_BY_YEAR: g_value_set_boolean (value, pragha_preferences_get_sort_by_year(preferences)); break; - case PROP_LIBRARY_FUSE_FOLDERS: - g_value_set_boolean (value, pragha_preferences_get_fuse_folders(preferences)); - break; case PROP_SHUFFLE: g_value_set_boolean (value, pragha_preferences_get_shuffle(preferences)); break; case PROP_REPEAT: g_value_set_boolean (value, pragha_preferences_get_repeat(preferences)); break; - case PROP_USE_HINT: - g_value_set_boolean (value, pragha_preferences_get_use_hint(preferences)); - break; case PROP_RESTORE_PLAYLIST: g_value_set_boolean (value, pragha_preferences_get_restore_playlist(preferences)); break; @@ -2166,6 +2080,9 @@ case PROP_SOFTWARE_VOLUME: g_value_set_double (value, pragha_preferences_get_software_volume(preferences)); break; + case PROP_IGNORE_ERRORS: + g_value_set_boolean (value, pragha_preferences_get_ignore_errors(preferences)); + break; case PROP_LATERAL_PANEL: g_value_set_boolean (value, pragha_preferences_get_lateral_panel(preferences)); break; @@ -2190,9 +2107,6 @@ case PROP_TOOLBAR_SIZE: g_value_set_enum (value, pragha_preferences_get_toolbar_size(preferences)); break; - case PROP_SHOW_STATUS_BAR: - g_value_set_boolean (value, pragha_preferences_get_show_status_bar(preferences)); - break; case PROP_SHOW_STATUS_ICON: g_value_set_boolean (value, pragha_preferences_get_show_status_icon(preferences)); break; @@ -2252,18 +2166,12 @@ case PROP_LIBRARY_SORT_BY_YEAR: pragha_preferences_set_sort_by_year(preferences, g_value_get_boolean(value)); break; - case PROP_LIBRARY_FUSE_FOLDERS: - pragha_preferences_set_fuse_folders(preferences, g_value_get_boolean(value)); - break; case PROP_SHUFFLE: pragha_preferences_set_shuffle(preferences, g_value_get_boolean(value)); break; case PROP_REPEAT: pragha_preferences_set_repeat(preferences, g_value_get_boolean(value)); break; - case PROP_USE_HINT: - pragha_preferences_set_use_hint(preferences, g_value_get_boolean(value)); - break; case PROP_RESTORE_PLAYLIST: pragha_preferences_set_restore_playlist(preferences, g_value_get_boolean(value)); break; @@ -2279,6 +2187,9 @@ case PROP_SOFTWARE_VOLUME: pragha_preferences_set_software_volume(preferences, g_value_get_double(value)); break; + case PROP_IGNORE_ERRORS: + pragha_preferences_set_ignore_errors(preferences, g_value_get_boolean(value)); + break; case PROP_LATERAL_PANEL: pragha_preferences_set_lateral_panel(preferences, g_value_get_boolean(value)); break; @@ -2303,9 +2214,6 @@ case PROP_TOOLBAR_SIZE: pragha_preferences_set_toolbar_size(preferences, g_value_get_enum(value)); break; - case PROP_SHOW_STATUS_BAR: - pragha_preferences_set_show_status_bar(preferences, g_value_get_boolean(value)); - break; case PROP_SHOW_STATUS_ICON: pragha_preferences_set_show_status_icon(preferences, g_value_get_boolean(value)); break; @@ -2367,7 +2275,6 @@ object_class->finalize = pragha_preferences_finalize; object_class->get_property = pragha_preferences_get_property; object_class->set_property = pragha_preferences_set_property; - g_type_class_add_private(object_class, sizeof(PraghaPreferencesPrivate)); /** * PraghaPreferences:instant_search: @@ -2416,17 +2323,6 @@ PRAGHA_PREF_PARAMS); /** - * PraghaPreferences:fuse_folders: - * - */ - gParamSpecs[PROP_LIBRARY_FUSE_FOLDERS] = - g_param_spec_boolean("fuse-folders", - "FuseFolders", - "Fuse Folders Preference", - TRUE, - PRAGHA_PREF_PARAMS); - - /** * PraghaPreferences:shuffle: * */ @@ -2449,17 +2345,6 @@ PRAGHA_PREF_PARAMS); /** - * PraghaPreferences:use_hint: - * - */ - gParamSpecs[PROP_USE_HINT] = - g_param_spec_boolean("use-hint", - "UseHint", - "Use hint Preference", - FALSE, - PRAGHA_PREF_PARAMS); - - /** * PraghaPreferences:restore_playlist: * */ @@ -2517,6 +2402,17 @@ PRAGHA_PREF_PARAMS); /** + * PraghaPreferences:ignore_errors: + * + */ + gParamSpecs[PROP_IGNORE_ERRORS] = + g_param_spec_boolean("ignore-errors", + "IgnoreErrors", + "Ignore Errors on Playback", + FALSE, + PRAGHA_PREF_PARAMS); + + /** * PraghaPreferences:lateral_panel: * */ @@ -2612,17 +2508,6 @@ PRAGHA_PREF_PARAMS); /** - * PraghaPreferences:show_status_bar: - * - */ - gParamSpecs[PROP_SHOW_STATUS_BAR] = - g_param_spec_boolean("show-status-bar", - "ShowStatusBar", - "Show Status Bar Preference", - TRUE, - PRAGHA_PREF_PARAMS); - - /** * PraghaPreferences:show_status_icon: * */ @@ -2630,7 +2515,7 @@ g_param_spec_boolean("show-status-icon", "ShowStatusIcon", "Show Status Icon Preference", - TRUE, + FALSE, PRAGHA_PREF_PARAMS); /** diff -Nru pragha-1.3.3/src/pragha-preferences-dialog.c pragha-1.3.992/src/pragha-preferences-dialog.c --- pragha-1.3.3/src/pragha-preferences-dialog.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-preferences-dialog.c 2019-08-13 14:57:32.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -40,6 +40,8 @@ #include "pragha-simple-widgets.h" #include "pragha-library-pane.h" #include "pragha-database.h" +#include "pragha-database-provider.h" +#include "pragha-provider.h" struct _PreferencesTab { GtkWidget *widget; @@ -62,17 +64,14 @@ GtkWidget *audio_sink_combo_w; GtkWidget *soft_mixer_w; #endif -#if GTK_CHECK_VERSION (3, 12, 0) + GtkWidget *ignore_errors_w; GtkWidget *system_titlebar_w; -#endif GtkWidget *small_toolbar_w; - GtkWidget *use_hint_w; GtkWidget *album_art_w; GtkWidget *album_art_size_w; GtkWidget *album_art_pattern_w; GtkWidget *library_view_w; - GtkWidget *fuse_folders_w; GtkWidget *sort_by_year_w; GtkWidget *instant_filter_w; @@ -84,6 +83,18 @@ GtkWidget *add_recursively_w; }; +enum library_columns { + COLUMN_NAME, + COLUMN_KIND, + COLUMN_FRIENDLY, + COLUMN_ICON_NAME, + COLUMN_VISIBLE, + COLUMN_IGNORED, + COLUMN_MARKUP, + N_COLUMNS +}; + + /* * Utils. */ @@ -222,7 +233,7 @@ } static GSList * -pragha_preferences_dialog_get_library_list (PreferencesDialog *dialog) +pragha_preferences_dialog_get_library_list (GtkWidget *library_tree) { GtkTreeModel *model; GtkTreeIter iter; @@ -231,11 +242,13 @@ GError *error = NULL; gboolean ret; - model = gtk_tree_view_get_model(GTK_TREE_VIEW(dialog->library_view_w)); + model = gtk_tree_view_get_model(GTK_TREE_VIEW(library_tree)); ret = gtk_tree_model_get_iter_first(model, &iter); while (ret) { - gtk_tree_model_get (model, &iter, 0, &u_folder, -1); + gtk_tree_model_get (model, &iter, + COLUMN_NAME, &u_folder, + -1); if (u_folder) { folder = g_filename_from_utf8 (u_folder, -1, NULL, NULL, &error); if (!folder) { @@ -253,36 +266,37 @@ } static void -pragha_preferences_dialog_set_library_list (PreferencesDialog *dialog, GSList *library_list) +pragha_preferences_dialog_set_library_list (GtkWidget *library_tree, GSList *library_list) { + PraghaProvider *provider; GtkTreeModel *model; GtkTreeIter iter; - GError *error = NULL; - gint cnt = 0, i = 0; GSList *list; + gchar *markup = NULL; - model = gtk_tree_view_get_model(GTK_TREE_VIEW(dialog->library_view_w)); + model = gtk_tree_view_get_model(GTK_TREE_VIEW(library_tree)); gtk_list_store_clear (GTK_LIST_STORE(model)); - cnt = g_slist_length(library_list); - list = library_list; + for (list = library_list; list != NULL; list = list->next) + { + provider = PRAGHA_PROVIDER(list->data); + + markup = g_markup_printf_escaped("%s (%s)", + pragha_provider_get_friendly_name(provider), + pragha_provider_get_name(provider)); - for (i = 0; i < cnt; i++) { - /* Convert to UTF-8 before adding to the model */ - gchar *u_file = g_filename_to_utf8 (list->data, -1, - NULL, NULL, &error); - if (!u_file) { - g_warning("Unable to convert file to UTF-8"); - g_error_free(error); - error = NULL; - list = list->next; - continue; - } gtk_list_store_append (GTK_LIST_STORE(model), &iter); - gtk_list_store_set (GTK_LIST_STORE(model), - &iter, 0, u_file, -1); - list = list->next; - g_free(u_file); + gtk_list_store_set (GTK_LIST_STORE(model), &iter, + COLUMN_NAME, pragha_provider_get_name(provider), + COLUMN_KIND, pragha_provider_get_kind(provider), + COLUMN_FRIENDLY, pragha_provider_get_friendly_name(provider), + COLUMN_ICON_NAME, pragha_provider_get_icon_name(provider), + COLUMN_VISIBLE, pragha_provider_get_visible(provider), + COLUMN_IGNORED, pragha_provider_get_ignored(provider), + COLUMN_MARKUP, markup, + -1); + + g_free (markup); } } @@ -292,18 +306,18 @@ static void pragha_preferences_dialog_restore_changes (PreferencesDialog *dialog) { + PraghaDatabaseProvider *provider; GSList *library_list = NULL; const gchar *start_mode = NULL; /* * Collection settings. */ - library_list = pragha_preferences_get_library_list (dialog->preferences); - pragha_preferences_dialog_set_library_list(dialog, library_list); - free_str_list(library_list); - - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->fuse_folders_w), - pragha_preferences_get_fuse_folders(dialog->preferences)); + provider = pragha_database_provider_get (); + library_list = pragha_database_provider_get_list (provider); + pragha_preferences_dialog_set_library_list(dialog->library_view_w, library_list); + g_slist_free_full (library_list, g_object_unref); + g_object_unref (G_OBJECT (provider)); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->sort_by_year_w), pragha_preferences_get_sort_by_year(dialog->preferences)); @@ -333,22 +347,20 @@ pragha_preferences_get_software_mixer (dialog->preferences)); #endif + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->ignore_errors_w), + pragha_preferences_get_ignore_errors(dialog->preferences)); + /* * Apareanse settings */ -#if GTK_CHECK_VERSION (3, 12, 0) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->system_titlebar_w), pragha_preferences_get_system_titlebar(dialog->preferences)); -#endif if (pragha_preferences_get_toolbar_size(dialog->preferences) == GTK_ICON_SIZE_SMALL_TOOLBAR) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->small_toolbar_w), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->small_toolbar_w), FALSE); - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->use_hint_w), - pragha_preferences_get_use_hint(dialog->preferences)); - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(dialog->album_art_w), pragha_preferences_get_show_album_art(dialog->preferences)); @@ -403,16 +415,14 @@ static void pragha_preferences_dialog_accept_changes (PreferencesDialog *dialog) { - PraghaDatabase *database; - GSList *list, *library_dir = NULL, *folder_scanned = NULL; + PraghaDatabaseProvider *dbase_provider; + GSList *list, *library_dir = NULL, *folder_scanned = NULL, *folders_added = NULL, *folders_deleted = NULL; gchar *window_state_sink = NULL; const gchar *album_art_pattern; - gboolean show_album_art, instant_search, approximate_search, restore_playlist, add_recursively, use_hint; - gboolean test_change, pref_setted, pref_toggled, library_locked; -#if GTK_CHECK_VERSION (3, 12, 0) - gboolean system_titlebar; -#endif - gboolean small_toolbar; + gchar *prov_base = NULL; + gboolean show_album_art, instant_search, approximate_search, restore_playlist, add_recursively; + gboolean test_change = FALSE, pref_setted, pref_toggled, library_locked; + gboolean system_titlebar, small_toolbar; gint album_art_size; PraghaLibraryStyle style; @@ -452,60 +462,68 @@ pragha_preferences_need_restart (dialog->preferences); #endif + pragha_preferences_set_ignore_errors (dialog->preferences, + gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(dialog->ignore_errors_w))); + /* - *Get scanded folders and compare. If changed show infobar + * Get scanded folders and compare. If changed show infobar */ - library_dir = pragha_preferences_dialog_get_library_list (dialog); - folder_scanned = - pragha_preferences_get_filename_list (dialog->preferences, - GROUP_LIBRARY, - KEY_LIBRARY_SCANNED); - library_locked = pragha_preferences_get_lock_library (dialog->preferences); + dbase_provider = pragha_database_provider_get (); - if ((folder_scanned || library_dir) && (library_locked == FALSE)) { - test_change = FALSE; - for (list = folder_scanned; list != NULL; list = list->next) { - if (is_present_str_list(list->data, library_dir)) - continue; - test_change = TRUE; - break; - } - for (list = library_dir; list != NULL; list = list->next) { - if (is_present_str_list(list->data, folder_scanned)) - continue; + folder_scanned = pragha_provider_get_list (dbase_provider); + library_dir = pragha_preferences_dialog_get_library_list (dialog->library_view_w); + + library_locked = pragha_preferences_get_lock_library (dialog->preferences); + if (library_locked == FALSE) + { + folders_added = pragha_string_list_get_added (folder_scanned, library_dir); + folders_deleted = pragha_string_list_get_removed (folder_scanned, library_dir); + + if (folders_added) + { + /* Here you can only add local folders. */ + for (list = folders_added; list != NULL; list = list->next) + { + prov_base = g_filename_display_basename (list->data); + pragha_provider_add_new (dbase_provider, + list->data, + "local", + prov_base, + "drive-harddisk"); + g_free (prov_base); + } test_change = TRUE; - break; } - if (test_change) { - pragha_preferences_set_library_list (dialog->preferences, library_dir); + if (folders_deleted) + { + for (list = folders_deleted; list != NULL; list = list->next) + { + pragha_provider_remove (dbase_provider, list->data); + } + test_change = TRUE; } } + g_object_unref (G_OBJECT (dbase_provider)); + + if (test_change) + pragha_preferences_local_provider_changed (dialog->preferences); if (library_dir) - free_str_list(library_dir); + g_slist_free_full (library_dir, g_free); if (folder_scanned) - free_str_list(folder_scanned); + g_slist_free_full (folder_scanned, g_free); + if (folders_added) + g_slist_free_full (folders_added, g_free); + if (folders_deleted) + g_slist_free_full (folders_deleted, g_free); /* * Library view changes */ style = pragha_preferences_get_library_style (dialog->preferences); - /* Save fuse folders preference, and reload view if needed */ - - pref_setted = pragha_preferences_get_fuse_folders (dialog->preferences); - pref_toggled = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(dialog->fuse_folders_w)); - - pragha_preferences_set_fuse_folders (dialog->preferences, pref_toggled); - - if ((style == FOLDERS) && (pref_setted != pref_toggled)) { - database = pragha_database_get (); - pragha_database_change_tracks_done (database); - g_object_unref (database); - } - /* Save sort by year preference, and reload view if needed */ pref_setted = pragha_preferences_get_sort_by_year (dialog->preferences); @@ -514,9 +532,9 @@ pragha_preferences_set_sort_by_year (dialog->preferences, pref_toggled); if ((style != FOLDERS) && (pref_setted != pref_toggled)) { - database = pragha_database_get (); - pragha_database_change_tracks_done (database); - g_object_unref (database); + dbase_provider = pragha_database_provider_get (); + pragha_provider_update_done (dbase_provider); + g_object_unref (dbase_provider); } /* @@ -563,9 +581,6 @@ gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(dialog->add_recursively_w)); pragha_preferences_set_add_recursively(dialog->preferences, add_recursively); - use_hint = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(dialog->use_hint_w)); - pragha_preferences_set_use_hint(dialog->preferences, use_hint); - show_album_art = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(dialog->album_art_w)); pragha_preferences_set_show_album_art(dialog->preferences, show_album_art); @@ -587,13 +602,13 @@ album_art_pattern); } } -#if GTK_CHECK_VERSION (3, 12, 0) + system_titlebar = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(dialog->system_titlebar_w)); if (system_titlebar != pragha_preferences_get_system_titlebar(dialog->preferences)) { pragha_preferences_set_system_titlebar (dialog->preferences, system_titlebar); pragha_preferences_set_show_menubar (dialog->preferences, system_titlebar); } -#endif + small_toolbar = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(dialog->small_toolbar_w)); if (small_toolbar) pragha_preferences_set_toolbar_size (dialog->preferences, GTK_ICON_SIZE_SMALL_TOOLBAR); @@ -628,7 +643,7 @@ static void library_add_cb_response (GtkDialog *add_dialog, gint response, PreferencesDialog *dialog) { - gchar *u_folder, *folder; + gchar *u_folder, *folder, *basename, *markup; GtkTreeIter iter; GtkTreeModel *model; GError *error = NULL; @@ -637,26 +652,36 @@ case GTK_RESPONSE_ACCEPT: model = gtk_tree_view_get_model(GTK_TREE_VIEW(dialog->library_view_w)); folder = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(add_dialog)); + if (!folder) break; - u_folder = g_filename_to_utf8(folder, -1, - NULL, NULL, &error); + u_folder = g_filename_to_utf8(folder, -1, NULL, NULL, &error); if (!u_folder) { - g_warning("Unable to get UTF-8 from " - "filename: %s", - folder); + g_warning("Unable to get UTF-8 from filename: %s", folder); g_error_free(error); g_free(folder); break; } - gtk_list_store_append(GTK_LIST_STORE(model), &iter); - gtk_list_store_set(GTK_LIST_STORE(model), &iter, 0, - u_folder, -1); + basename = g_filename_display_basename (u_folder); + markup = g_markup_printf_escaped("%s (%s)", basename, u_folder); + + gtk_list_store_append (GTK_LIST_STORE(model), &iter); + gtk_list_store_set (GTK_LIST_STORE(model), &iter, + COLUMN_NAME, u_folder, + COLUMN_KIND, "local", + COLUMN_FRIENDLY, basename, + COLUMN_ICON_NAME, "drive-harddisk", + COLUMN_VISIBLE, TRUE, + COLUMN_IGNORED, FALSE, + COLUMN_MARKUP, markup, + -1); g_free(u_folder); g_free(folder); + g_free (basename); + g_free(markup); break; default: @@ -775,6 +800,7 @@ static void pragha_preferences_dialog_init_settings(PreferencesDialog *dialog) { + PraghaDatabaseProvider *provider; GSList *library_dir = NULL; const gchar *start_mode = pragha_preferences_get_start_mode(dialog->preferences); @@ -815,6 +841,9 @@ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->soft_mixer_w), TRUE); #endif + if (pragha_preferences_get_ignore_errors(dialog->preferences)) + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->ignore_errors_w), TRUE); + /* General Options */ if(pragha_preferences_get_remember_state(dialog->preferences)) @@ -829,8 +858,6 @@ gtk_combo_box_set_active(GTK_COMBO_BOX(dialog->window_state_combo_w), 3); } } - if (pragha_preferences_get_use_hint(dialog->preferences)) - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->use_hint_w), TRUE); if (pragha_preferences_get_instant_search(dialog->preferences)) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->instant_filter_w), TRUE); @@ -861,14 +888,12 @@ /* Lbrary Options */ - library_dir = pragha_preferences_get_library_list (dialog->preferences); - if (library_dir) { - pragha_preferences_dialog_set_library_list(dialog, library_dir); - free_str_list(library_dir); - } + provider = pragha_database_provider_get (); + library_dir = pragha_database_provider_get_list (provider); + pragha_preferences_dialog_set_library_list(dialog->library_view_w, library_dir); + g_slist_free_full (library_dir, g_object_unref); + g_object_unref (G_OBJECT (provider)); - if (pragha_preferences_get_fuse_folders(dialog->preferences)) - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->fuse_folders_w), TRUE); if (pragha_preferences_get_sort_by_year(dialog->preferences)) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->sort_by_year_w), TRUE); } @@ -923,7 +948,8 @@ pragha_hig_workarea_table_add_row (table, &row, sink_label, audio_sink_combo); audio_device_label = gtk_label_new(_("Audio Device")); - gtk_misc_set_alignment(GTK_MISC (audio_device_label), 0, 0); + gtk_widget_set_halign (GTK_WIDGET(audio_device_label), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(audio_device_label), GTK_ALIGN_START); audio_device_entry = gtk_entry_new(); gtk_widget_set_tooltip_text(GTK_WIDGET(audio_device_entry), _("Restart Required")); @@ -955,8 +981,8 @@ pref_create_library_page (PreferencesDialog *dialog) { GtkWidget *table; - GtkWidget *library_view, *library_view_scroll, *library_bbox_align, *library_bbox, *library_add, \ - *library_remove, *hbox_library, *fuse_folders, *sort_by_year, *infobar, *label; + GtkWidget *library_view, *library_view_scroll, *library_bbox, *library_add, \ + *library_remove, *hbox_library, *sort_by_year, *infobar, *label; GtkListStore *library_store; GtkCellRenderer *renderer; GtkTreeViewColumn *column; @@ -973,19 +999,43 @@ gtk_box_pack_start (GTK_BOX (gtk_info_bar_get_content_area (GTK_INFO_BAR (infobar))), label, FALSE, FALSE, 0); pragha_hig_workarea_table_add_wide_control(table, &row, infobar); + /* Local library. */ + hbox_library = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); - library_store = gtk_list_store_new(1, G_TYPE_STRING); - library_view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(library_store)); + library_store = gtk_list_store_new (N_COLUMNS, + G_TYPE_STRING, // Name. + G_TYPE_STRING, // King. + G_TYPE_STRING, // Friendly name. + G_TYPE_STRING, // Icon name. + G_TYPE_BOOLEAN, // Visible + G_TYPE_BOOLEAN, // Ignored + G_TYPE_STRING); // Markup. - renderer = gtk_cell_renderer_text_new(); - column = gtk_tree_view_column_new_with_attributes (_("Folders"), - renderer, - "text", - 0, - NULL); + library_view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(library_store)); + column = gtk_tree_view_column_new (); + gtk_tree_view_column_set_title (column, _("Folders")); gtk_tree_view_column_set_resizable(column, GTK_TREE_VIEW_COLUMN_GROW_ONLY); + + renderer = gtk_cell_renderer_toggle_new (); + gtk_tree_view_column_pack_start (column, renderer, FALSE); + gtk_tree_view_column_set_attributes (column, renderer, + "active", COLUMN_VISIBLE, + NULL); + + renderer = gtk_cell_renderer_pixbuf_new(); + gtk_tree_view_column_pack_start (column, renderer, FALSE); + gtk_tree_view_column_set_attributes (column, renderer, + "icon-name", COLUMN_ICON_NAME, + NULL); + + renderer = gtk_cell_renderer_text_new(); + g_object_set(G_OBJECT(renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL); + gtk_tree_view_column_pack_start (column, renderer, TRUE); + gtk_tree_view_column_set_attributes (column, renderer, + "markup", COLUMN_MARKUP, + NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(library_view), column); library_view_scroll = gtk_scrolled_window_new(NULL, NULL); @@ -996,8 +1046,9 @@ GTK_SHADOW_IN); gtk_container_add(GTK_CONTAINER(library_view_scroll), library_view); - library_bbox_align = gtk_alignment_new(0, 0, 0, 0); library_bbox = gtk_button_box_new (GTK_ORIENTATION_VERTICAL); + gtk_button_box_set_layout (GTK_BUTTON_BOX(library_bbox), GTK_BUTTONBOX_START); + library_add = gtk_button_new_with_mnemonic (_("_Add")); library_remove = gtk_button_new_with_mnemonic (_("_Remove")); @@ -1006,17 +1057,14 @@ gtk_box_pack_start (GTK_BOX(library_bbox), library_remove, FALSE, FALSE, 0); - gtk_container_add(GTK_CONTAINER(library_bbox_align), library_bbox); - gtk_box_pack_start (GTK_BOX(hbox_library), library_view_scroll, TRUE, TRUE, 0); - gtk_box_pack_start (GTK_BOX(hbox_library), library_bbox_align, + gtk_box_pack_start (GTK_BOX(hbox_library), library_bbox, FALSE, FALSE, 0); pragha_hig_workarea_table_add_wide_tall_control(table, &row, hbox_library); - fuse_folders = gtk_check_button_new_with_label(_("Merge folders in the folders estructure view")); - pragha_hig_workarea_table_add_wide_control(table, &row, fuse_folders); + /* Sort by year option. */ sort_by_year = gtk_check_button_new_with_label(_("Sort albums by release year")); pragha_hig_workarea_table_add_wide_control(table, &row, sort_by_year); @@ -1024,7 +1072,6 @@ /* Store references */ dialog->library_view_w = library_view; - dialog->fuse_folders_w = fuse_folders; dialog->sort_by_year_w = sort_by_year; /* Setup signal handlers */ @@ -1048,19 +1095,38 @@ } static GtkWidget* +pref_create_playback_page (PreferencesDialog *dialog) +{ + GtkWidget *table; + GtkWidget *ignore_errors_w; + guint row = 0; + + table = pragha_hig_workarea_table_new(); + + pragha_hig_workarea_table_add_section_title(table, &row, _("Playback")); + + ignore_errors_w = gtk_check_button_new_with_label(_("Ignore errors and continue playback")); + + pragha_hig_workarea_table_add_wide_control(table, &row, ignore_errors_w); + + if (pragha_preferences_get_ignore_errors (dialog->preferences)) + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(ignore_errors_w), TRUE); + + dialog->ignore_errors_w = ignore_errors_w; + + return table; +} + +static GtkWidget* pref_create_appearance_page(PreferencesDialog *dialog) { GtkWidget *table; -#if GTK_CHECK_VERSION (3, 12, 0) - GtkWidget *system_titlebar; -#endif - GtkWidget *use_hint, *album_art, *small_toolbar; + GtkWidget *system_titlebar, *album_art, *small_toolbar; GtkWidget *album_art_pattern_label, *album_art_size, *album_art_size_label, *album_art_pattern; guint row = 0; table = pragha_hig_workarea_table_new(); -#if GTK_CHECK_VERSION (3, 12, 0) pragha_hig_workarea_table_add_section_title(table, &row, _("Appearance")); system_titlebar = gtk_check_button_new_with_label(_("Use system title bar and borders")); @@ -1068,16 +1134,10 @@ if (!gdk_screen_is_composited (gdk_screen_get_default())) gtk_widget_set_sensitive (system_titlebar, FALSE); -#endif small_toolbar = gtk_check_button_new_with_label(_("Use small icons on the toolbars")); pragha_hig_workarea_table_add_wide_control(table, &row, small_toolbar); - pragha_hig_workarea_table_add_section_title(table, &row, _("Playlist")); - - use_hint = gtk_check_button_new_with_label(_("Highlight rows on current playlist")); - pragha_hig_workarea_table_add_wide_control(table, &row, use_hint); - pragha_hig_workarea_table_add_section_title(table, &row, _("Controls")); album_art = gtk_check_button_new_with_label(_("Show Album art in Panel")); @@ -1099,21 +1159,19 @@ pragha_hig_workarea_table_add_row (table, &row, album_art_pattern_label, album_art_pattern); /* Store references */ -#if GTK_CHECK_VERSION (3, 12, 0) + dialog->system_titlebar_w = system_titlebar; -#endif dialog->small_toolbar_w = small_toolbar; - dialog->use_hint_w = use_hint; dialog->album_art_w = album_art; dialog->album_art_size_w = album_art_size; dialog->album_art_pattern_w = album_art_pattern; /* Setup signal handlers */ -#if GTK_CHECK_VERSION (3, 12, 0) + if (pragha_preferences_get_system_titlebar(dialog->preferences)) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->system_titlebar_w), TRUE); -#endif + if (pragha_preferences_get_toolbar_size(dialog->preferences) == GTK_ICON_SIZE_SMALL_TOOLBAR) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->small_toolbar_w), TRUE); @@ -1244,11 +1302,16 @@ void pragha_preferences_dialog_show (PreferencesDialog *dialog) { + PraghaDatabaseProvider *provider; GSList *library_list = NULL; + if (string_is_empty (pragha_preferences_get_installed_version (dialog->preferences))) { - library_list = pragha_preferences_get_library_list (dialog->preferences); - pragha_preferences_dialog_set_library_list (dialog, library_list); - free_str_list(library_list); + provider = pragha_database_provider_get (); + library_list = pragha_database_provider_get_list (provider); + g_object_unref (G_OBJECT (provider)); + + pragha_preferences_dialog_set_library_list (dialog->library_view_w, library_list); + g_slist_free_full (library_list, g_object_unref); } gtk_notebook_set_current_page (GTK_NOTEBOOK(dialog->notebook), 0); gtk_widget_show (dialog->widget); @@ -1270,10 +1333,10 @@ pragha_preferences_dialog_new (GtkWidget *parent) { PreferencesDialog *dialog; - GtkWidget *header, *pref_notebook; - - GtkWidget *audio_vbox, *appearance_vbox, *library_vbox, *general_vbox, *desktop_vbox; - GtkWidget *label_appearance, *label_library, *label_general; + PraghaHeader *header; + GtkWidget *pref_notebook; + GtkWidget *audio_vbox, *playback_vbox, *appearance_vbox, *library_vbox, *general_vbox, *desktop_vbox; + GtkWidget *label_playback, *label_appearance, *label_library, *label_general; #ifdef HAVE_LIBPEAS GtkWidget *plugins_vbox; GtkWidget *label_plugins; @@ -1295,6 +1358,7 @@ /* Labels */ label_appearance = gtk_label_new(_("Appearance")); + label_playback = gtk_label_new(_("Playback")); label_library = gtk_label_new(_("Library")); label_general = gtk_label_new(_("General")); #ifdef HAVE_LIBPEAS @@ -1307,6 +1371,8 @@ gtk_container_set_border_width (GTK_CONTAINER(pref_notebook), 4); + /* Library */ + library_vbox = pref_create_library_page(dialog); gtk_notebook_append_page(GTK_NOTEBOOK(pref_notebook), library_vbox, label_library); gtk_widget_show_all (library_vbox); @@ -1314,6 +1380,14 @@ /* Fose hide infobar */ pragha_preferences_set_lock_library (dialog->preferences, FALSE); + /* Playback */ + + playback_vbox = pref_create_playback_page (dialog); + gtk_notebook_append_page(GTK_NOTEBOOK(pref_notebook), playback_vbox, label_playback); + gtk_widget_show_all (playback_vbox); + + /* Audio */ + dialog->audio_tab = pragha_preferences_tab_new (_("Audio")); #ifndef G_OS_WIN32 audio_vbox = pref_create_audio_page(dialog); @@ -1346,11 +1420,13 @@ /* Add to dialog */ - header = sokoke_xfce_header_new (_("Preferences of Pragha"), "pragha"); + header = pragha_header_new (); + pragha_header_set_title (header, _("Preferences of Pragha")); + pragha_header_set_icon_name (header, "pragha"); - gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog->widget))), header, FALSE, FALSE, 0); + gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog->widget))), GTK_WIDGET(header), FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog->widget))), pref_notebook, TRUE, TRUE, 0); - gtk_widget_show_all (header); + gtk_widget_show_all (GTK_WIDGET(header)); gtk_widget_show (pref_notebook); /* Setup signal handlers */ diff -Nru pragha-1.3.3/src/pragha-preferences.h pragha-1.3.992/src/pragha-preferences.h --- pragha-1.3.3/src/pragha-preferences.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-preferences.h 2019-08-13 13:46:23.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2012-2013 matias */ +/* Copyright (C) 2012-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -23,6 +23,7 @@ G_BEGIN_DECLS +GType pragha_preferences_get_type (void) G_GNUC_CONST; #define PRAGHA_TYPE_PREFERENCES (pragha_preferences_get_type()) #define PRAGHA_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_PREFERENCES, PraghaPreferences)) #define PRAGHA_PREFERENCES_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_PREFERENCES, PraghaPreferences const)) @@ -63,7 +64,7 @@ #define KEY_CLOSE_TO_TRAY "close_to_tray" #define KEY_INSTANT_SEARCH "instant_filter" #define KEY_APPROXIMATE_SEARCH "aproximate_search" -#define KEY_USE_HINT "use_hint" +#define KEY_CACHE_SIZE "cache_size" #define GROUP_PLAYLIST "Playlist" #define KEY_SAVE_PLAYLIST "save_playlist" @@ -78,7 +79,6 @@ #define KEY_LIBRARY_SCANNED "library_scanned" #define KEY_LIBRARY_VIEW_ORDER "library_view_order" #define KEY_LIBRARY_LAST_SCANNED "library_last_scanned" -#define KEY_FUSE_FOLDERS "library_fuse_folders" #define KEY_SORT_BY_YEAR "library_sort_by_year" #define GROUP_AUDIO "Audio" @@ -86,6 +86,7 @@ #define KEY_AUDIO_DEVICE "audio_device" #define KEY_SOFTWARE_MIXER "software_mixer" #define KEY_SOFTWARE_VOLUME "software_volume" +#define KEY_IGNORE_ERRORS "ignore_errors" #define KEY_EQ_10_BANDS "equealizer_10_bands" #define KEY_EQ_PRESET "equalizer_preset" @@ -101,7 +102,6 @@ #define KEY_SHOW_ALBUM_ART "show_album_art" #define KEY_ALBUM_ART_SIZE "album_art_size" #define KEY_TOOLBAR_SIZE "toolbar_icon_size" -#define KEY_STATUS_BAR "status_bar" #define KEY_SYSTEM_TITLEBAR "system_titlebar" #define KEY_CONTROLS_BELOW "controls_below" #define KEY_SHOW_MENUBAR "show_menubar" @@ -129,8 +129,8 @@ #define ICONIFIED_STATE "iconified" -PraghaPreferences* pragha_preferences_get (void); -GType pragha_preferences_get_type (void) G_GNUC_CONST; +PraghaPreferences * +pragha_preferences_get (void); /* * Generic api to accessing other preferences. @@ -169,6 +169,17 @@ gdouble list[], gsize length); +gint +pragha_preferences_get_integer (PraghaPreferences *preferences, + const gchar *group_name, + const gchar *key); + +void +pragha_preferences_set_integer (PraghaPreferences *preferences, + const gchar *group_name, + const gchar *key, + gint integer); + gchar * pragha_preferences_get_string (PraghaPreferences *preferences, const gchar *group_name, @@ -238,11 +249,8 @@ void pragha_preferences_need_restart (PraghaPreferences *preferences); -GSList * -pragha_preferences_get_library_list (PraghaPreferences *preferences); void -pragha_preferences_set_library_list (PraghaPreferences *preferences, - GSList *list); +pragha_preferences_local_provider_changed (PraghaPreferences *preferences); const gchar * pragha_preferences_get_installed_version (PraghaPreferences *preferences); @@ -272,12 +280,6 @@ pragha_preferences_get_sort_by_year (PraghaPreferences *preferences); void -pragha_preferences_set_fuse_folders (PraghaPreferences *preferences, - gboolean fuse_folders); -gboolean -pragha_preferences_get_fuse_folders (PraghaPreferences *preferences); - -void pragha_preferences_set_shuffle (PraghaPreferences *preferences, gboolean shuffle); gboolean @@ -290,12 +292,6 @@ pragha_preferences_get_repeat (PraghaPreferences *preferences); void -pragha_preferences_set_use_hint (PraghaPreferences *preferences, - gboolean use_hint); -gboolean -pragha_preferences_get_use_hint (PraghaPreferences *preferences); - -void pragha_preferences_set_restore_playlist (PraghaPreferences *preferences, gboolean restore_playlist); gboolean @@ -330,6 +326,14 @@ gdouble software_volume); gboolean +pragha_preferences_get_ignore_errors (PraghaPreferences *preferences); + +void +pragha_preferences_set_ignore_errors (PraghaPreferences *preferences, + gboolean ignore_errors); + + +gboolean pragha_preferences_get_lateral_panel (PraghaPreferences *preferences); void @@ -372,13 +376,6 @@ GtkIconSize toolbar_size); gboolean -pragha_preferences_get_show_status_bar (PraghaPreferences *preferences); - -void -pragha_preferences_set_show_status_bar (PraghaPreferences *preferences, - gboolean show_status_bar); - -gboolean pragha_preferences_get_show_status_icon (PraghaPreferences *preferences); void diff -Nru pragha-1.3.3/src/pragha-provider.c pragha-1.3.992/src/pragha-provider.c --- pragha-1.3.3/src/pragha-provider.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-provider.c 2018-06-21 11:24:11.000000000 +0000 @@ -0,0 +1,248 @@ +/*************************************************************************/ +/* Copyright (C) 2016 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#include "pragha-provider.h" + +struct _PraghaProvider +{ + GObject parent_instance; +}; + +typedef struct _PraghaProviderPrivate PraghaProviderPrivate; + +struct _PraghaProviderPrivate +{ + gchar *name; + gchar *type; + gchar *friendly_name; + gchar *icon_name; + gboolean visible; + gboolean ignored; +}; + +G_DEFINE_TYPE_WITH_PRIVATE (PraghaProvider, pragha_provider, G_TYPE_OBJECT) + +enum +{ + PROP_NAME = 1, + PROP_TYPE, + PROP_FRIENDLY_NAME, + PROP_ICON_NAME, + PROP_VISIBLE, + PROP_IGNORED, + LAST_PROP +}; + +static GParamSpec *gParamSpecs[LAST_PROP]; + +/* Provider */ + +PraghaProvider * +pragha_provider_new (const gchar *name, + const gchar *kind, + const gchar *friendly_name, + const gchar *icon_name, + gboolean visible, + gboolean ignored) +{ + return g_object_new (PRAGHA_TYPE_PROVIDER, + "name", name, + "type", kind, + "friendly-name", friendly_name, + "icon-name", icon_name, + "visible", visible, + "ignored", ignored, + NULL); +} + +const gchar * +pragha_provider_get_name (PraghaProvider *provider) +{ + g_return_val_if_fail(PRAGHA_IS_PROVIDER(provider), NULL); + PraghaProviderPrivate *priv = pragha_provider_get_instance_private(provider); + return priv->name; +} + +const gchar * +pragha_provider_get_kind (PraghaProvider *provider) +{ + g_return_val_if_fail(PRAGHA_IS_PROVIDER(provider), NULL); + PraghaProviderPrivate *priv = pragha_provider_get_instance_private(provider); + return priv->type; +} + +const gchar * +pragha_provider_get_friendly_name (PraghaProvider *provider) +{ + g_return_val_if_fail(PRAGHA_IS_PROVIDER(provider), NULL); + PraghaProviderPrivate *priv = pragha_provider_get_instance_private(provider); + return priv->friendly_name; +} + +const gchar * +pragha_provider_get_icon_name (PraghaProvider *provider) +{ + g_return_val_if_fail(PRAGHA_IS_PROVIDER(provider), NULL); + PraghaProviderPrivate *priv = pragha_provider_get_instance_private(provider); + return priv->icon_name; +} + +gboolean +pragha_provider_get_visible (PraghaProvider *provider) +{ + g_return_val_if_fail(PRAGHA_IS_PROVIDER(provider), FALSE); + PraghaProviderPrivate *priv = pragha_provider_get_instance_private(provider); + return priv->visible; +} + +gboolean +pragha_provider_get_ignored (PraghaProvider *provider) +{ + g_return_val_if_fail(PRAGHA_IS_PROVIDER(provider), FALSE); + PraghaProviderPrivate *priv = pragha_provider_get_instance_private(provider); + return priv->ignored; +} + +/* + * PraghaProvider implementation. + */ + +static void +pragha_provider_finalize (GObject *object) +{ + PraghaProvider *provider = PRAGHA_PROVIDER(object); + PraghaProviderPrivate *priv = pragha_provider_get_instance_private(provider); + + g_free(priv->name); + g_free(priv->type); + g_free(priv->friendly_name); + g_free(priv->icon_name); + + G_OBJECT_CLASS(pragha_provider_parent_class)->finalize(object); +} + + +static void +pragha_provider_set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + PraghaProvider *provider = PRAGHA_PROVIDER(object); + PraghaProviderPrivate *priv = pragha_provider_get_instance_private(provider); + + switch (prop_id) { + case PROP_NAME: + priv->name = g_value_dup_string(value); + break; + case PROP_TYPE: + priv->type = g_value_dup_string(value); + break; + case PROP_FRIENDLY_NAME: + priv->friendly_name = g_value_dup_string(value); + break; + case PROP_ICON_NAME: + priv->icon_name = g_value_dup_string(value); + break; + case PROP_VISIBLE: + priv->visible = g_value_get_boolean (value); + break; + case PROP_IGNORED: + priv->ignored = g_value_get_boolean (value); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); + } +} + + +static void +pragha_provider_class_init (PraghaProviderClass *klass) +{ + GObjectClass *object_class; + + object_class = G_OBJECT_CLASS(klass); + object_class->finalize = pragha_provider_finalize; + object_class->set_property = pragha_provider_set_property; + //g_type_class_add_private(object_class, sizeof(PraghaProviderPrivate)); + + /** + * PraghaPovider:name: + * + */ + gParamSpecs[PROP_NAME] = + g_param_spec_string("name", + "Name", + "The name", + "", + G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); + /** + * PraghaPovider:type: + * + */ + gParamSpecs[PROP_TYPE] = + g_param_spec_string("type", + "Type", + "The type", + "", + G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); + /** + * PraghaPovider:friendly_name: + * + */ + gParamSpecs[PROP_FRIENDLY_NAME] = + g_param_spec_string("friendly-name", + "FriendyName", + "The fiendly name", + "", + G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); + /** + * PraghaPovider:icon_name: + * + */ + gParamSpecs[PROP_ICON_NAME] = + g_param_spec_string("icon-name", + "IconName", + "The icon name", + "", + G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); + /** + * PraghaPovider:visible: + * + */ + gParamSpecs[PROP_VISIBLE] = + g_param_spec_boolean ("visible", + "Visible", "The Visible status", + FALSE, + G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); + /** + * PraghaPovider:ignore: + * + */ + gParamSpecs[PROP_IGNORED] = + g_param_spec_boolean ("ignored", + "Ignored", "The Ignored status", + FALSE, + G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); + + g_object_class_install_properties(object_class, LAST_PROP, gParamSpecs); +} + +static void +pragha_provider_init (PraghaProvider *provider) +{ +} diff -Nru pragha-1.3.3/src/pragha-provider.h pragha-1.3.992/src/pragha-provider.h --- pragha-1.3.3/src/pragha-provider.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-provider.h 2018-06-21 11:24:11.000000000 +0000 @@ -0,0 +1,70 @@ +/*************************************************************************/ +/* Copyright (C) 2016 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_PROVIDER_H +#define PRAGHA_PROVIDER_H + +#include + +G_BEGIN_DECLS + +GType pragha_provider_get_type (void); + +#define PRAGHA_TYPE_PROVIDER (pragha_provider_get_type()) +#define PRAGHA_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_PROVIDER, PraghaProvider)) +#define PRAGHA_PROVIDER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_PROVIDER, PraghaProvider const)) +#define PRAGHA_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_PROVIDER, PraghaProviderClass)) +#define PRAGHA_IS_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_PROVIDER)) +#define PRAGHA_IS_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_PROVIDER)) +#define PRAGHA_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_PROVIDER, PraghaProviderClass)) + +typedef struct _PraghaProvider PraghaProvider; +typedef struct _PraghaProviderClass PraghaProviderClass; + +struct _PraghaProviderClass { + GObjectClass parent_class; +}; + +/* + * Public api. + */ + +PraghaProvider * +pragha_provider_new (const gchar *name, + const gchar *kind, + const gchar *friendly_name, + const gchar *icon_name, + gboolean visible, + gboolean ignored); + +const gchar * +pragha_provider_get_name (PraghaProvider *provider); +const gchar * +pragha_provider_get_kind (PraghaProvider *provider); +const gchar * +pragha_provider_get_friendly_name (PraghaProvider *provider); +const gchar * +pragha_provider_get_icon_name (PraghaProvider *provider); +gboolean +pragha_provider_get_visible (PraghaProvider *provider); +gboolean +pragha_provider_get_ignored (PraghaProvider *provider); + +G_END_DECLS + +#endif /* PRAGHA_PROVIDER_H */ + diff -Nru pragha-1.3.3/src/pragha-scanner.c pragha-1.3.992/src/pragha-scanner.c --- pragha-1.3.3/src/pragha-scanner.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-scanner.c 2019-07-05 13:31:20.000000000 +0000 @@ -1,17 +1,17 @@ /*************************************************************************/ -/* Copyright (C) 2013 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ +/* Copyright (C) 2013-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ /* along with this program. If not, see . */ /*************************************************************************/ @@ -30,22 +30,25 @@ #include #include +#include "pragha-background-task-bar.h" +#include "pragha-background-task-widget.h" +#include "pragha-database-provider.h" #include "pragha-file-utils.h" -#include "pragha-utils.h" #include "pragha-musicobject-mgmt.h" #include "pragha-playlists-mgmt.h" #include "pragha-simple-async.h" -#include "pragha-statusbar.h" +#include "pragha-utils.h" struct _PraghaScanner { /* Widgets */ - GtkWidget *hbox; - GtkWidget *progress_bar; + PraghaBackgroundTaskWidget *task_widget; + /* Cache */ GHashTable *tracks_table; GSList *folder_list; GSList *folder_scanned; GSList *playlists; + gchar *curr_provider; GTimeVal last_update; /* Threads */ @@ -88,15 +91,15 @@ if(no_files > 0) { fraction = (gdouble)files_scanned / (gdouble)no_files; - gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(scanner->progress_bar), fraction); + pragha_background_task_widget_set_job_progress (scanner->task_widget, fraction*100); - data = g_strdup_printf(_("%i files analized of %i detected"), files_scanned, no_files); - gtk_progress_bar_set_text(GTK_PROGRESS_BAR(scanner->progress_bar), data); + data = g_strdup_printf(_("%i files analyzed of %i detected"), files_scanned, no_files); + pragha_background_task_widget_set_description (scanner->task_widget, data); g_free(data); } else { - gtk_progress_bar_pulse(GTK_PROGRESS_BAR(scanner->progress_bar)); - gtk_progress_bar_set_text(GTK_PROGRESS_BAR(scanner->progress_bar), _("Searching files to analyze")); + pragha_background_task_widget_set_job_progress (scanner->task_widget, 0); + pragha_background_task_widget_set_description (scanner->task_widget, _("Searching files to analyze")); } return TRUE; @@ -222,10 +225,12 @@ static gboolean pragha_scanner_worker_finished (gpointer data) { - GtkWidget *msg_dialog; - gchar *last_scan_time = NULL; + PraghaBackgroundTaskBar *taskbar; PraghaPreferences *preferences; PraghaDatabase *database; + PraghaDatabaseProvider *provider; + GtkWidget *msg_dialog; + gchar *last_scan_time = NULL; GSList *list; PraghaScanner *scanner = data; @@ -235,14 +240,16 @@ g_source_remove(scanner->update_timeout); /* Ensure that the other thread has finished */ + g_thread_join (scanner->no_files_thread); /* If not cancelled, update database and show a dialog */ - if(!g_cancellable_is_cancelled (scanner->cancellable)) { - /* Hide the scanner and show the dialog */ - gtk_widget_hide(scanner->hbox); - msg_dialog = gtk_message_dialog_new(GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(scanner->hbox))), + if(!g_cancellable_is_cancelled (scanner->cancellable)) + { + /* Show the dialog and remove the scanner widget */ + + msg_dialog = gtk_message_dialog_new(GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(scanner->task_widget))), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, @@ -259,20 +266,34 @@ gtk_widget_show_all(msg_dialog); + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_remove_widget (taskbar, GTK_WIDGET(scanner->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + /* Save new database and update the library view */ set_watch_cursor(msg_dialog); - set_watch_cursor(scanner->hbox); database = pragha_database_get(); + provider = pragha_database_provider_get (); pragha_database_begin_transaction (database); - pragha_database_flush (database); + /* Remove songs of local providers */ + + for (list = scanner->folder_list; list != NULL; list = list->next) + pragha_provider_forget_songs (provider, list->data); + + /* Append new songs */ + g_hash_table_foreach (scanner->tracks_table, pragha_scanner_add_track_db, database); + /* Set local providers as visible */ + + for (list = scanner->folder_list; list != NULL; list = list->next) + pragha_provider_set_visible (provider, list->data, TRUE); /* Import playlist detected. */ @@ -281,10 +302,11 @@ pragha_database_commit_transaction (database); - pragha_database_change_tracks_done (database); + pragha_provider_update_done (provider); + + g_object_unref (provider); g_object_unref(database); - remove_watch_cursor(scanner->hbox); remove_watch_cursor(msg_dialog); /* Save finished time and folders scanned. */ @@ -298,11 +320,6 @@ last_scan_time); g_free(last_scan_time); - pragha_preferences_set_filename_list(preferences, - GROUP_LIBRARY, - KEY_LIBRARY_SCANNED, - scanner->folder_list); - pragha_preferences_set_lock_library (preferences, FALSE); g_object_unref(G_OBJECT(preferences)); @@ -312,11 +329,16 @@ pragha_preferences_set_lock_library (preferences, FALSE); g_object_unref(G_OBJECT(preferences)); - gtk_widget_hide(scanner->hbox); + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_remove_widget (taskbar, GTK_WIDGET(scanner->task_widget)); + g_object_unref(G_OBJECT(taskbar)); + } - gtk_progress_bar_set_text(GTK_PROGRESS_BAR(scanner->progress_bar), NULL); - gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(scanner->progress_bar), 0.0); + /* Reset background task widget */ + + pragha_background_task_widget_set_job_progress (scanner->task_widget, 0); + pragha_background_task_widget_set_description (scanner->task_widget, _("Searching files to analyze")); /* Clean memory */ @@ -373,7 +395,7 @@ file_type = pragha_file_get_media_type (ab_file); switch (file_type) { case MEDIA_TYPE_AUDIO: - mobj = new_musicobject_from_file(ab_file); + mobj = new_musicobject_from_file(ab_file, scanner->curr_provider); if (G_LIKELY(mobj)) g_hash_table_insert(scanner->tracks_table, g_strdup(pragha_musicobject_get_file(mobj)), @@ -412,6 +434,10 @@ if(g_cancellable_is_cancelled (scanner->cancellable)) break; + if (scanner->curr_provider) + g_free (scanner->curr_provider); + scanner->curr_provider = g_strdup (list->data); + pragha_scanner_scan_handler(scanner, list->data); } @@ -453,7 +479,7 @@ mobj = g_hash_table_lookup(scanner->tracks_table, ab_file); if(!mobj) { - mobj = new_musicobject_from_file(ab_file); + mobj = new_musicobject_from_file(ab_file, scanner->curr_provider); if (G_LIKELY(mobj)) g_hash_table_insert(scanner->tracks_table, g_strdup(pragha_musicobject_get_file(mobj)), @@ -463,7 +489,7 @@ else { if ((g_stat(ab_file, &sbuf) == 0) && (sbuf.st_mtime > scanner->last_update.tv_sec)) { - mobj = new_musicobject_from_file(ab_file); + mobj = new_musicobject_from_file(ab_file, scanner->curr_provider); if (G_LIKELY(mobj)) { g_hash_table_replace(scanner->tracks_table, g_strdup(pragha_musicobject_get_file(mobj)), @@ -512,8 +538,12 @@ if(g_cancellable_is_cancelled (scanner->cancellable)) break; - if(is_present_str_list(list->data, scanner->folder_scanned)) + if(is_present_str_list(list->data, scanner->folder_scanned)) { + if (scanner->curr_provider) + g_free (scanner->curr_provider); + scanner->curr_provider = g_strdup (list->data); pragha_scanner_update_handler(scanner, list->data); + } } /* Then add news folder in library */ @@ -521,8 +551,12 @@ if(g_cancellable_is_cancelled (scanner->cancellable)) break; - if(!is_present_str_list(list->data, scanner->folder_scanned)) + if(!is_present_str_list(list->data, scanner->folder_scanned)) { + if (scanner->curr_provider) + g_free (scanner->curr_provider); + scanner->curr_provider = g_strdup (list->data); pragha_scanner_scan_handler(scanner, list->data); + } } return scanner; @@ -531,11 +565,13 @@ void pragha_scanner_update_library(PraghaScanner *scanner) { + PraghaBackgroundTaskBar *taskbar; PraghaPreferences *preferences; PraghaDatabase *database; + PraghaDatabaseProvider *provider; PraghaPreparedStatement *statement; PraghaMusicobject *mobj = NULL; - gchar *mask = NULL, *last_scan_time = NULL; + gchar *last_scan_time = NULL; const gchar *sql = NULL; guint location_id; GSList *list; @@ -557,34 +593,35 @@ g_warning("Unable to convert last rescan time"); g_free(last_scan_time); } - - scanner->folder_list = - pragha_preferences_get_filename_list(preferences, - GROUP_LIBRARY, - KEY_LIBRARY_DIR); - scanner->folder_scanned = - pragha_preferences_get_filename_list(preferences, - GROUP_LIBRARY, - KEY_LIBRARY_SCANNED); g_object_unref(G_OBJECT(preferences)); - /* Update the gui */ + provider = pragha_database_provider_get (); + scanner->folder_list = pragha_database_provider_get_list_by_type (provider, "local"); + scanner->folder_scanned = pragha_provider_get_handled_list_by_type (provider, "local"); + g_object_unref (provider); - scanner->update_timeout = g_timeout_add_seconds(1, (GSourceFunc)pragha_scanner_update_progress, scanner); + /* Update the gui */ + scanner->update_timeout = + g_timeout_add_seconds(1, (GSourceFunc)pragha_scanner_update_progress, scanner); - pragha_preferences_set_show_status_bar (preferences, TRUE); - gtk_widget_show_all(scanner->hbox); + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_prepend_widget (taskbar, GTK_WIDGET(scanner->task_widget)); + g_object_unref(G_OBJECT(taskbar)); /* Append the files from database that no changed. */ database = pragha_database_get(); - for(list = scanner->folder_scanned ; list != NULL; list = list->next) { - if(is_present_str_list(list->data, scanner->folder_list)) { - sql = "SELECT id FROM LOCATION WHERE name LIKE ?"; + for (list = scanner->folder_scanned; list != NULL; list = list->next) + { + if (pragha_string_list_is_present (scanner->folder_list, list->data)) + { + sql = "SELECT location FROM TRACK WHERE provider = ?"; statement = pragha_database_create_statement (database, sql); - mask = g_strconcat (list->data, "%", NULL); - pragha_prepared_statement_bind_string (statement, 1, mask); + + pragha_prepared_statement_bind_int (statement, 1, + pragha_database_find_provider (database, list->data)); + while (pragha_prepared_statement_step (statement)) { location_id = pragha_prepared_statement_get_int (statement, 0); mobj = new_musicobject_from_db(database, location_id); @@ -597,7 +634,6 @@ pragha_process_gtk_events (); } pragha_prepared_statement_free (statement); - g_free(mask); } } g_object_unref(database); @@ -614,7 +650,9 @@ void pragha_scanner_scan_library(PraghaScanner *scanner) { + PraghaBackgroundTaskBar *taskbar; PraghaPreferences *preferences; + PraghaDatabaseProvider *provider; gchar *last_scan_time = NULL; if(scanner->update_timeout) @@ -633,23 +671,20 @@ g_warning("Unable to convert last rescan time"); g_free(last_scan_time); } - - scanner->folder_list = - pragha_preferences_get_filename_list(preferences, - GROUP_LIBRARY, - KEY_LIBRARY_DIR); - scanner->folder_scanned = - pragha_preferences_get_filename_list(preferences, - GROUP_LIBRARY, - KEY_LIBRARY_SCANNED); g_object_unref(G_OBJECT(preferences)); + provider = pragha_database_provider_get (); + scanner->folder_list = pragha_database_provider_get_list_by_type (provider, "local"); + scanner->folder_scanned = pragha_provider_get_handled_list_by_type (provider, "local"); + g_object_unref (provider); + /* Update the gui */ scanner->update_timeout = g_timeout_add_seconds(1, (GSourceFunc)pragha_scanner_update_progress, scanner); - pragha_preferences_set_show_status_bar (preferences, TRUE); - gtk_widget_show_all(scanner->hbox); + taskbar = pragha_background_task_bar_get (); + pragha_background_task_bar_prepend_widget (taskbar, GTK_WIDGET(scanner->task_widget)); + g_object_unref(G_OBJECT(taskbar)); /* Launch threads */ @@ -679,48 +714,28 @@ g_slice_free (PraghaScanner, scanner); } -static void -scanner_cancel_click_handler(GtkButton *button, - PraghaScanner *scanner) -{ - g_cancellable_cancel (scanner->cancellable); -} - PraghaScanner * pragha_scanner_new() { PraghaScanner *scanner; - PraghaStatusbar *statusbar; - GtkWidget *hbox, *progress_bar, *button, *image; + PraghaBackgroundTaskWidget *task_widget; scanner = g_slice_new0(PraghaScanner); - /* Create widgets */ - hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); - - progress_bar = gtk_progress_bar_new(); - gtk_widget_set_size_request(progress_bar, PROGRESS_BAR_WIDTH, -1); - - gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR(progress_bar), TRUE); + scanner->cancellable = g_cancellable_new (); + g_object_ref (G_OBJECT(scanner->cancellable)); - button = gtk_button_new (); - image = gtk_image_new_from_icon_name ("process-stop", GTK_ICON_SIZE_MENU); - gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE); - gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE); - gtk_container_add (GTK_CONTAINER (button), image); - - g_signal_connect(G_OBJECT (button), - "clicked", - G_CALLBACK(scanner_cancel_click_handler), - scanner); + /* Create background task widget */ - gtk_box_pack_start (GTK_BOX (hbox), progress_bar, FALSE, FALSE, 0); - gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0); + task_widget = pragha_background_task_widget_new (_("Searching files to analyze"), + "drive-harddisk", + 0, + scanner->cancellable); + g_object_ref (G_OBJECT(task_widget)); /* Init the rest and save references */ - scanner->progress_bar = progress_bar; - scanner->hbox = hbox; + scanner->task_widget = task_widget; scanner->tracks_table = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, @@ -729,14 +744,7 @@ g_mutex_init (&scanner->files_scanned_mutex); scanner->no_files = 0; g_mutex_init (&scanner->no_files_mutex); - scanner->cancellable = g_cancellable_new (); scanner->update_timeout = 0; - /* Append the widget */ - - statusbar = pragha_statusbar_get (); - pragha_statusbar_add_widget(statusbar, hbox); - g_object_unref(G_OBJECT(statusbar)); - return scanner; } diff -Nru pragha-1.3.3/src/pragha-scanner.h pragha-1.3.992/src/pragha-scanner.h --- pragha-1.3.3/src/pragha-scanner.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-scanner.h 2019-07-05 12:40:22.000000000 +0000 @@ -1,25 +1,23 @@ /*************************************************************************/ -/* Copyright (C) 2013 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ +/* Copyright (C) 2013-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ /* along with this program. If not, see . */ /*************************************************************************/ #ifndef PRAGHA_SCANNER_H #define PRAGHA_SCANNER_H -#define PROGRESS_BAR_WIDTH 300 - typedef struct _PraghaScanner PraghaScanner; void @@ -34,4 +32,4 @@ PraghaScanner * pragha_scanner_new(); -#endif /* PRAGHA_SCANNER_H */ \ No newline at end of file +#endif /* PRAGHA_SCANNER_H */ diff -Nru pragha-1.3.3/src/pragha-search-entry.c pragha-1.3.992/src/pragha-search-entry.c --- pragha-1.3.3/src/pragha-search-entry.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-search-entry.c 2019-07-27 02:18:37.000000000 +0000 @@ -113,6 +113,7 @@ search_entry = gtk_entry_new (); + gtk_entry_set_placeholder_text (GTK_ENTRY(search_entry), _("Search")); gtk_entry_set_icon_from_icon_name (GTK_ENTRY(search_entry), GTK_ENTRY_ICON_PRIMARY, "edit-find-symbolic"); g_signal_connect (search_entry, "icon-press", G_CALLBACK (pragha_search_bar_icon_pressed_cb), preferences); diff -Nru pragha-1.3.3/src/pragha-session.c pragha-1.3.992/src/pragha-session.c --- pragha-1.3.3/src/pragha-session.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-session.c 2018-10-03 14:28:58.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2018 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -27,47 +27,31 @@ #include "pragha.h" -#if HAVE_LIBXFCE4UI -static void -pragha_session_quit (XfceSMClient *sm_client, PraghaApplication *pragha) -{ - pragha_application_quit (pragha); -} - -static void -pragha_session_save_state (XfceSMClient *sm_client, PraghaApplication *pragha) -{ - /* Nothing here? */ -} - +#ifdef HAVE_LIBXFCE4UI void pragha_init_session_support(PraghaApplication *pragha) { XfceSMClient *client; GError *error = NULL; - + client = xfce_sm_client_get (); xfce_sm_client_set_priority (client, XFCE_SM_CLIENT_PRIORITY_DEFAULT); xfce_sm_client_set_restart_style (client, XFCE_SM_CLIENT_RESTART_NORMAL); xfce_sm_client_set_desktop_file(client, DESKTOPENTRY); - g_signal_connect (G_OBJECT (client), "quit", - G_CALLBACK (pragha_session_quit), pragha); - g_signal_connect (G_OBJECT (client), "save-state", - G_CALLBACK (pragha_session_save_state), pragha); + g_signal_connect_swapped (G_OBJECT (client), "quit", + G_CALLBACK (pragha_application_quit), pragha); if(!xfce_sm_client_connect (client, &error)) { g_warning ("Failed to connect to session manager: %s", error->message); g_error_free (error); + + // As fallback register DBUS session.. + g_warning ("As fallback try to use dbus session manager"); + g_object_set (GTK_APPLICATION(pragha), "register-session", TRUE, NULL); } } #else -#ifdef G_OS_WIN32 -void -pragha_init_session_support(PraghaApplication *pragha) -{ -} -#else void pragha_init_session_support(PraghaApplication *pragha) { @@ -80,6 +64,7 @@ role = g_strdup_printf ("Pragha-%p-%d-%d", window, (gint) getpid (), (gint) time (NULL)); gtk_window_set_role (GTK_WINDOW (window), role); g_free (role); + + g_object_set (GTK_APPLICATION(pragha), "register-session", TRUE, NULL); } #endif -#endif diff -Nru pragha-1.3.3/src/pragha-session.h pragha-1.3.992/src/pragha-session.h --- pragha-1.3.3/src/pragha-session.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-session.h 2018-10-03 14:28:58.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2018 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -18,10 +18,8 @@ #ifndef PRAGHA_SESSION_H #define PRAGHA_SESSION_H -#include - #include "pragha.h" void pragha_init_session_support(PraghaApplication *pragha); -#endif /* PRAGHA_SESSION_H */ \ No newline at end of file +#endif /* PRAGHA_SESSION_H */ diff -Nru pragha-1.3.3/src/pragha-sidebar.c pragha-1.3.992/src/pragha-sidebar.c --- pragha-1.3.3/src/pragha-sidebar.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-sidebar.c 2019-07-03 00:26:24.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2013 matias */ +/* Copyright (C) 2018-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -16,6 +16,7 @@ /*************************************************************************/ #include "pragha-sidebar.h" +#include "pragha-hig.h" struct _PraghaSidebar { GtkBox __parent__; @@ -26,7 +27,7 @@ GtkWidget *close_button; GtkWidget *title_box; - GtkMenu *popup_menu; + GtkWidget *popover; }; G_DEFINE_TYPE(PraghaSidebar, pragha_sidebar, GTK_TYPE_BOX) @@ -37,6 +38,7 @@ }; static int signals[LAST_SIGNAL] = { 0 }; + /* * Public Api. */ @@ -45,7 +47,7 @@ pragha_sidebar_attach_plugin (PraghaSidebar *sidebar, GtkWidget *widget, GtkWidget *title, - GtkMenu *popup_menu) + GtkWidget *popover) { if (!widget || !title) return; @@ -57,9 +59,9 @@ gtk_container_add (GTK_CONTAINER(sidebar->title_box), title); - if (popup_menu) { - gtk_menu_attach_to_widget(GTK_MENU(popup_menu), title, NULL); - sidebar->popup_menu = popup_menu; + if (popover) { + gtk_popover_set_relative_to (GTK_POPOVER(popover), sidebar->menu_button); + sidebar->popover = popover; } gtk_widget_show_all (title); @@ -78,7 +80,7 @@ if (page >= 0) { gtk_notebook_remove_page (GTK_NOTEBOOK(sidebar->container), page); - gtk_menu_detach (sidebar->popup_menu); + gtk_popover_set_relative_to (GTK_POPOVER(sidebar->popover), NULL); list = gtk_container_get_children (GTK_CONTAINER(sidebar->title_box)); if (list) { @@ -107,132 +109,53 @@ (position == GTK_POS_RIGHT) ? 0 : 1); } + /* * Internal Calbacks. */ static void -pragha_sidebar_menu_position (GtkMenu *menu, - gint *x, - gint *y, - gboolean *push_in, - gpointer user_data) -{ - GtkWidget *widget; - GtkAllocation allocation; - GtkRequisition requisition; - gint menu_xpos, menu_ypos; - - widget = GTK_WIDGET (user_data); - - gtk_widget_get_preferred_size (GTK_WIDGET(menu), &requisition, NULL); - - gdk_window_get_origin (gtk_widget_get_window(widget), &menu_xpos, &menu_ypos); - - gtk_widget_get_allocation(widget, &allocation); - - menu_xpos += allocation.x; - menu_ypos += allocation.y; - - if (menu_ypos > gdk_screen_get_height (gtk_widget_get_screen (widget)) / 2) - menu_ypos -= requisition.height; - else - menu_ypos += allocation.height; - - *x = menu_xpos; - *y = menu_ypos - 5; - - *push_in = TRUE; -} - -static void -pragha_sidebar_close_button_cb (GtkWidget *widget, PraghaSidebar *sidebar) +pragha_sidebar_close_button_cb (GtkWidget *widget, + PraghaSidebar *sidebar) { gtk_widget_hide (GTK_WIDGET(sidebar)); } -static gboolean -pragha_sidebar_right_click_cb(GtkWidget *widget, - GdkEventButton *event, - PraghaSidebar *sidebar) +static void +pragha_sidebar_button_press_cb (GtkWidget *widget, + PraghaSidebar *sidebar) { - gboolean ret = FALSE; - - if(!sidebar->popup_menu) - return FALSE; + if(!sidebar->popover) + return; if(!gtk_widget_get_sensitive(gtk_notebook_get_nth_page (GTK_NOTEBOOK(sidebar->container), 0))) - return FALSE; - - switch(event->button) { - case 3: - gtk_menu_popup(GTK_MENU(sidebar->popup_menu), - NULL, NULL, NULL, NULL, - event->button, event->time); - ret = TRUE; - break; - case 1: - if (widget == sidebar->menu_button) { - gtk_menu_popup(GTK_MENU(sidebar->popup_menu), - NULL, NULL, - (GtkMenuPositionFunc) pragha_sidebar_menu_position, - widget, - 0, - gtk_get_current_event_time()); - ret = TRUE; - } - break; - default: - break; - } + return; - return ret; + gtk_widget_show (GTK_WIDGET(sidebar->popover)); } + /** * Construction: **/ -void -pragha_sidebar_set_tiny_button (GtkWidget *button) -{ - GtkCssProvider *provider; - provider = gtk_css_provider_new (); - gtk_css_provider_load_from_data (provider, - "#s-tiny-button {\n" - " -GtkButton-default-border : 0px;\n" - " -GtkButton-default-outside-border : 0px;\n" - " -GtkButton-inner-border: 0px;\n" - " -GtkWidget-focus-line-width: 0px;\n" - " -GtkWidget-focus-padding: 0px;\n" - " padding: 1px;}", - -1, NULL); - gtk_style_context_add_provider (gtk_widget_get_style_context (button), - GTK_STYLE_PROVIDER (provider), - GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); - gtk_widget_set_name (button, "s-tiny-button"); - g_object_unref (provider); -} - -GtkWidget * +static GtkWidget * praga_sidebar_menu_button_new (PraghaSidebar *sidebar) { GtkWidget *button, *hbox, *arrow; hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); + gtk_widget_set_halign (hbox, GTK_ALIGN_CENTER); button = gtk_button_new(); gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE); + gtk_widget_set_halign (button, GTK_ALIGN_CENTER); -#if GTK_CHECK_VERSION (3, 14, 0) arrow = gtk_image_new_from_icon_name("pan-down-symbolic", GTK_ICON_SIZE_MENU); -#else - arrow = gtk_arrow_new(GTK_ARROW_DOWN, GTK_SHADOW_NONE); -#endif gtk_box_pack_start (GTK_BOX(hbox), sidebar->title_box, - TRUE, TRUE, 0); + FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX(hbox), arrow, FALSE, FALSE, 0); @@ -242,14 +165,14 @@ gtk_container_add (GTK_CONTAINER(button), hbox); g_signal_connect(G_OBJECT(button), - "button-press-event", - G_CALLBACK(pragha_sidebar_right_click_cb), + "clicked", + G_CALLBACK(pragha_sidebar_button_press_cb), sidebar); return button; } -GtkWidget * +static GtkWidget * pragha_sidebar_close_button_new(PraghaSidebar *sidebar) { GtkWidget *button; @@ -261,11 +184,18 @@ "window-close", NULL, }; - + button = gtk_button_new (); gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE); +#if GTK_CHECK_VERSION (3, 20, 0) + gtk_widget_set_focus_on_click (button, FALSE); +#else gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE); - pragha_sidebar_set_tiny_button (button); +#endif + pragha_hig_set_tiny_button (button); + gtk_widget_set_margin_start (button, 4); + gtk_widget_set_margin_end (button, 4); + gtk_widget_set_valign (button, GTK_ALIGN_CENTER); icon = g_themed_icon_new_from_names ((gchar **)fallback_icons, -1); gtk_button_set_image (GTK_BUTTON (button), @@ -335,8 +265,7 @@ sidebar->header = pragha_sidebar_header_new (sidebar); sidebar->container = pragha_sidebar_container_new (sidebar); - - sidebar->popup_menu = NULL; + sidebar->popover = NULL; gtk_box_pack_start (GTK_BOX(sidebar), sidebar->header, FALSE, FALSE, 0); diff -Nru pragha-1.3.3/src/pragha-sidebar.h pragha-1.3.992/src/pragha-sidebar.h --- pragha-1.3.3/src/pragha-sidebar.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-sidebar.h 2019-07-03 00:29:56.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2013 matias */ +/* Copyright (C) 2013-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -38,7 +38,7 @@ pragha_sidebar_attach_plugin (PraghaSidebar *sidebar, GtkWidget *widget, GtkWidget *title, - GtkMenu *popup_menu); + GtkWidget *popover); void pragha_sidebar_remove_plugin (PraghaSidebar *sidebar, @@ -53,4 +53,4 @@ PraghaSidebar *pragha_sidebar_new (void); -#endif /* PRAGHA_SIDEBAR_H */ \ No newline at end of file +#endif /* PRAGHA_SIDEBAR_H */ diff -Nru pragha-1.3.3/src/pragha-simple-async.c pragha-1.3.992/src/pragha-simple-async.c --- pragha-1.3.3/src/pragha-simple-async.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-simple-async.c 2019-07-04 02:16:57.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2012-2013 matias */ +/* Copyright (C) 2012-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -17,7 +17,7 @@ #include "pragha-simple-async.h" -#include "pragha-statusbar.h" +#include "pragha-app-notification.h" struct _AsyncSimple { gpointer userdata; @@ -26,23 +26,52 @@ GSourceFunc func_f; }; -/* Generic function to set a message when finished the async operation. - * You need set 'pragha_async_set_idle_message' as finish_func - * and then return a 'const gchar *' on worker_func. */ +struct _IdleMessage { + gchar *title; + gchar *message; + gboolean transient; +}; + +IdleMessage * +pragha_idle_message_new (gchar *title, + gchar *message, + gboolean transient) +{ + IdleMessage *im; + + im = g_slice_new0(IdleMessage); + + im->title = g_strdup(title); + im->message = g_strdup(message); + im->transient = transient; + + return im; +} + +void +pragha_idle_message_free (IdleMessage *im) +{ + g_free(im->title); + g_free(im->message); + g_slice_free(IdleMessage, im); +} gboolean pragha_async_set_idle_message (gpointer user_data) { - PraghaStatusbar *statusbar; + PraghaAppNotification *notification; - const gchar *message = user_data; + IdleMessage *im = user_data; - if (message == NULL) + if (im == NULL) return FALSE; - statusbar = pragha_statusbar_get (); - pragha_statusbar_set_misc_text(statusbar, message); - g_object_unref(G_OBJECT(statusbar)); + notification = pragha_app_notification_new (im->title, im->message); + if (im->transient) + pragha_app_notification_set_timeout(notification, 5); + pragha_app_notification_show (notification); + + pragha_idle_message_free(im); return FALSE; } diff -Nru pragha-1.3.3/src/pragha-simple-async.h pragha-1.3.992/src/pragha-simple-async.h --- pragha-1.3.3/src/pragha-simple-async.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-simple-async.h 2019-07-04 02:15:27.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2012-2013 matias */ +/* Copyright (C) 2012-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -22,10 +22,20 @@ typedef struct _AsyncSimple AsyncSimple; +typedef struct _IdleMessage IdleMessage; + +IdleMessage * +pragha_idle_message_new (gchar *title, + gchar *message, + gboolean transient); + +void +pragha_idle_message_free (IdleMessage *im); + gboolean pragha_async_set_idle_message (gpointer user_data); void pragha_async_launch (GThreadFunc worker_func, GSourceFunc finish_func, gpointer userdata); GThread *pragha_async_launch_full (GThreadFunc worker_func, GSourceFunc finish_func, gpointer userdata); -#endif /* PRAGHA_SIMPLE_ASYNC_H */ \ No newline at end of file +#endif /* PRAGHA_SIMPLE_ASYNC_H */ diff -Nru pragha-1.3.3/src/pragha-simple-widgets.c pragha-1.3.992/src/pragha-simple-widgets.c --- pragha-1.3.3/src/pragha-simple-widgets.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-simple-widgets.c 2019-07-01 22:46:29.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2009-2014 matias */ +/* Copyright (C) 2009-2018 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -23,113 +23,135 @@ #include #endif -/* Create a new haeder widget to use in preferences. - * Based in Midori Web Browser. Copyright (C) 2007 Christian Dywan. */ +/* + * PraghaHeader: + */ +#define PRAGHA_TYPE_HEADER (pragha_header_get_type()) +#define PRAGHA_HEADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_HEADER, PraghaHeader)) +#define PRAGHA_HEADER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_HEADER, PraghaHeader const)) +#define PRAGHA_HEADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_HEADER, PraghaHeaderClass)) +#define PRAGHA_IS_HEADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_HEADER)) +#define PRAGHA_IS_HEADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_HEADER)) +#define PRAGHA_HEADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_HEADER, PraghaHeaderClass)) -gpointer sokoke_xfce_header_new(const gchar* header, const gchar *icon_name) -{ - GtkWidget* xfce_heading; - GtkWidget* hbox; - GtkWidget* vbox; - GdkPixbuf* icon; - GtkWidget* image; - GtkWidget* label; - GtkWidget* separator; - gchar* markup; - gint width = 1, height = 1; +typedef struct _PraghaHeaderClass PraghaHeaderClass; - xfce_heading = gtk_event_box_new(); +struct _PraghaHeaderClass { + GtkBoxClass parent_class; +}; +struct _PraghaHeader { + GtkBox _parent; - hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); - gtk_container_set_border_width(GTK_CONTAINER(hbox), 6); + GtkWidget *image; + + GtkWidget *vbox; + GtkWidget *title; + GtkWidget *subtitle; +}; +G_DEFINE_TYPE(PraghaHeader, pragha_header, GTK_TYPE_BOX) + +void +pragha_header_set_icon_name (PraghaHeader *header, + const gchar *icon_name) +{ + GdkPixbuf *icon; + gint width = 1, height = 1; gtk_icon_size_lookup (GTK_ICON_SIZE_DIALOG, &width, &height); icon = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), icon_name ? icon_name : "dialog-information", width, GTK_ICON_LOOKUP_FORCE_SIZE, NULL); - image = gtk_image_new_from_pixbuf (GDK_PIXBUF(icon)); + gtk_image_set_from_pixbuf (GTK_IMAGE(header->image), icon); g_object_unref (icon); +} - label = gtk_label_new(NULL); - gtk_label_set_line_wrap(GTK_LABEL(label), TRUE); - markup = g_strdup_printf("%s", header); - gtk_label_set_markup(GTK_LABEL(label), markup); - gtk_misc_set_alignment (GTK_MISC(label), 0, 0.5); +void +pragha_header_set_title (PraghaHeader *header, + const gchar *title) +{ + gchar *markup = NULL; + markup = g_markup_printf_escaped("%s", title); + gtk_label_set_markup(GTK_LABEL(header->title), markup); g_free(markup); - - gtk_style_context_add_class (gtk_widget_get_style_context (xfce_heading), - GTK_STYLE_CLASS_ENTRY); - - gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0); - gtk_box_pack_start(GTK_BOX(hbox), label, TRUE, TRUE, 0); - - gtk_container_add(GTK_CONTAINER(xfce_heading), hbox); - - vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); - gtk_box_pack_start (GTK_BOX (vbox), xfce_heading, FALSE, FALSE, 0); - - separator = gtk_separator_new (GTK_ORIENTATION_VERTICAL); - gtk_box_pack_start (GTK_BOX (vbox), separator, FALSE, FALSE, 0); - - return vbox; } -/* - * PraghaTrackProgress: An extension of GtkProgressBar reducing their default size - */ -#define PRAGHA_TYPE_TRACK_PROGRESS (pragha_track_progress_get_type()) -#define PRAGHA_TRACK_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_TRACK_PROGRESS, PraghaTrackProgress)) -#define PRAGHA_TRACK_PROGRESS_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_TRACK_PROGRESS, PraghaTrackProgress const)) -#define PRAGHA_TRACK_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_TRACK_PROGRESS, PraghaTrackProgressClass)) -#define PRAGHA_IS_TRACK_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_TRACK_PROGRESS)) -#define PRAGHA_IS_TRACK_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_TRACK_PROGRESS)) -#define PRAGHA_TRACK_PROGRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_TRACK_PROGRESS, PraghaTrackProgressClass)) +void +pragha_header_set_subtitle (PraghaHeader *header, + const gchar *subtitle) +{ + GtkWidget *subtitlew = NULL; + gchar *markup = NULL; -typedef struct _PraghaTrackProgressClass PraghaTrackProgressClass; + if (!header->subtitle) { + subtitlew = gtk_label_new (NULL); + gtk_label_set_line_wrap (GTK_LABEL(subtitlew), TRUE); + gtk_widget_set_halign (subtitlew, GTK_ALIGN_START); + g_object_set (subtitlew, "xalign", 0.0, NULL); + gtk_box_pack_start(GTK_BOX(header->vbox), subtitlew, FALSE, FALSE, 0); + gtk_widget_show (GTK_WIDGET(subtitlew)); + header->subtitle = subtitlew; + } -struct _PraghaTrackProgressClass { - GtkProgressBarClass parent_class; -}; -struct _PraghaTrackProgress { - GtkProgressBar _parent; -}; -G_DEFINE_TYPE(PraghaTrackProgress, pragha_track_progress, GTK_TYPE_PROGRESS_BAR) + markup = g_markup_printf_escaped ("%s", subtitle); + gtk_label_set_markup (GTK_LABEL(header->subtitle), markup); + g_free(markup); +} static void -pragha_track_progress_get_preferred_height (GtkWidget *widget, - gint *minimum, - gint *natural) +pragha_header_class_init (PraghaHeaderClass *class) { - if (minimum) - *minimum = 14; - if (natural) - *natural = 14; } static void -pragha_track_progress_class_init (PraghaTrackProgressClass *class) +pragha_header_init (PraghaHeader *header) { - GtkWidgetClass *widget_class; + GtkWidget *hbox, *vbox; + GtkWidget *title; + GtkWidget *separator; - widget_class = GTK_WIDGET_CLASS (class); - widget_class->get_preferred_height = pragha_track_progress_get_preferred_height; -} + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 6); -static void -pragha_track_progress_init (PraghaTrackProgress *progress) -{ + header->image = gtk_image_new (); + + title = gtk_label_new (NULL); + gtk_label_set_line_wrap(GTK_LABEL(title), TRUE); + gtk_widget_set_halign (title, GTK_ALIGN_START); + g_object_set (title, "xalign", 0.0, NULL); + header->title = title; + + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + gtk_widget_set_valign (vbox, GTK_ALIGN_CENTER); + header->vbox = vbox; + + gtk_box_pack_start(GTK_BOX(vbox), title, FALSE, FALSE, 0); + + gtk_box_pack_start(GTK_BOX(hbox), header->image, FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(hbox), vbox, TRUE, TRUE, 0); + + separator = gtk_separator_new (GTK_ORIENTATION_VERTICAL); + + gtk_orientable_set_orientation (GTK_ORIENTABLE (header), GTK_ORIENTATION_VERTICAL); + gtk_box_pack_start (GTK_BOX(header), hbox, FALSE, FALSE, 0); + gtk_box_pack_start (GTK_BOX(header), separator, FALSE, FALSE, 0); + + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET(header)), + "view"); + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET(header)), + "XfceHeading"); } -PraghaTrackProgress * -pragha_track_progress_new (void) +PraghaHeader * +pragha_header_new (void) { - return g_object_new (PRAGHA_TYPE_TRACK_PROGRESS, NULL); + return g_object_new (PRAGHA_TYPE_HEADER, NULL); } /* * PraghaContainer: An extension of GtkContainer to expand their default size. */ +#if !GTK_CHECK_VERSION (3, 22, 0) #define PRAGHA_TYPE_CONTAINER (pragha_container_get_type()) #define PRAGHA_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_CONTAINER, PraghaContainer)) #define PRAGHA_CONTAINER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_CONTAINER, PraghaContainer const)) @@ -156,7 +178,7 @@ if (minimum) *minimum = 140; if (natural) - *natural = 1600; + *natural = 1800; } static void @@ -179,6 +201,7 @@ { return g_object_new (PRAGHA_TYPE_CONTAINER, NULL); } +#endif /* * PraghaToolbarButton @@ -286,12 +309,24 @@ } static void +pragha_toolbar_button_finalize (GObject *object) +{ + PraghaToolbarButton *button = PRAGHA_TOOLBAR_BUTTON (object); + if (button->icon_name) { + g_free (button->icon_name); + button->icon_name = NULL; + } + (*G_OBJECT_CLASS (pragha_toolbar_button_parent_class)->finalize) (object); +} + +static void pragha_toolbar_button_class_init (PraghaToolbarButtonClass *class) { GObjectClass *gobject_class = G_OBJECT_CLASS (class); gobject_class->set_property = pragha_toolbar_button_set_property; gobject_class->get_property = pragha_toolbar_button_get_property; + gobject_class->finalize = pragha_toolbar_button_finalize; g_object_class_install_property (gobject_class, PROP_ICON_NAME, g_param_spec_string ("icon-name", @@ -326,6 +361,7 @@ "image", image, "icon-name", icon_name, "icon-size", GTK_ICON_SIZE_LARGE_TOOLBAR, + "valign", GTK_ALIGN_CENTER, NULL); return button; @@ -430,12 +466,24 @@ } static void +pragha_toggle_button_finalize (GObject *object) +{ + PraghaToggleButton *button = PRAGHA_TOGGLE_BUTTON (object); + if (button->icon_name) { + g_free (button->icon_name); + button->icon_name = NULL; + } + (*G_OBJECT_CLASS (pragha_toggle_button_parent_class)->finalize) (object); +} + +static void pragha_toggle_button_class_init (PraghaToggleButtonClass *class) { GObjectClass *gobject_class = G_OBJECT_CLASS (class); gobject_class->set_property = pragha_toggle_button_set_property; gobject_class->get_property = pragha_toggle_button_get_property; + gobject_class->finalize = pragha_toggle_button_finalize; g_object_class_install_property (gobject_class, PROP_ICON_NAME, g_param_spec_string ("icon-name", @@ -470,7 +518,8 @@ "image", image, "icon-name", icon_name, "icon-size", GTK_ICON_SIZE_LARGE_TOOLBAR, + "valign", GTK_ALIGN_CENTER, NULL); return button; -} \ No newline at end of file +} diff -Nru pragha-1.3.3/src/pragha-simple-widgets.h pragha-1.3.992/src/pragha-simple-widgets.h --- pragha-1.3.3/src/pragha-simple-widgets.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-simple-widgets.h 2018-10-03 14:28:58.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2018 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -22,17 +22,26 @@ G_BEGIN_DECLS - +typedef struct _PraghaHeader PraghaHeader; typedef struct _PraghaTrackProgress PraghaTrackProgress; typedef struct _PraghaContainer PraghaContainer; typedef struct _PraghaToolbarButton PraghaToolbarButton; typedef struct _PraghaToggleButton PraghaToggleButton; -gpointer sokoke_xfce_header_new (const gchar *header, const gchar *icon); - -PraghaTrackProgress *pragha_track_progress_new (void); +PraghaHeader *pragha_header_new (void); +void +pragha_header_set_icon_name (PraghaHeader *header, + const gchar *icon_name); +void +pragha_header_set_title (PraghaHeader *header, + const gchar *title); +void +pragha_header_set_subtitle (PraghaHeader *header, + const gchar *subtitle); +#if !GTK_CHECK_VERSION (3, 22, 0) PraghaContainer *pragha_container_new (void); +#endif void pragha_toolbar_button_set_icon_name (PraghaToolbarButton *button, const gchar *icon_name); void pragha_toolbar_button_set_icon_size (PraghaToolbarButton *button, GtkIconSize icon_size); diff -Nru pragha-1.3.3/src/pragha-song-cache.c pragha-1.3.992/src/pragha-song-cache.c --- pragha-1.3.3/src/pragha-song-cache.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-song-cache.c 2018-06-21 11:24:11.000000000 +0000 @@ -0,0 +1,249 @@ +/*************************************************************************/ +/* Copyright (C) 2017 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#include "pragha-database.h" +#include "pragha-song-cache.h" +#include "pragha-preferences.h" + +#include +#include + +struct _PraghaSongCache { + GObject _parent; + PraghaDatabase *cdbase; + gchar *cache_dir; + gint cache_size; +}; + +G_DEFINE_TYPE(PraghaSongCache, pragha_song_cache, G_TYPE_OBJECT) + +static void +pragha_song_cache_finalize (GObject *object) +{ + PraghaSongCache *cache = PRAGHA_SONG_CACHE(object); + + g_free (cache->cache_dir); + + G_OBJECT_CLASS(pragha_song_cache_parent_class)->finalize(object); +} + +static void +pragha_song_cache_dispose (GObject *object) +{ + PraghaSongCache *cache = PRAGHA_SONG_CACHE(object); + + if (cache->cdbase) { + g_object_unref (cache->cdbase); + cache->cdbase = NULL; + } + G_OBJECT_CLASS(pragha_song_cache_parent_class)->dispose(object); +} + +static void +pragha_song_cache_class_init (PraghaSongCacheClass *klass) +{ + GObjectClass *object_class; + + object_class = G_OBJECT_CLASS(klass); + object_class->finalize = pragha_song_cache_finalize; + object_class->dispose = pragha_song_cache_dispose; +} + +static void +pragha_song_cache_init (PraghaSongCache *cache) +{ + PraghaPreferences *preferences; + + cache->cdbase = pragha_database_get (); + cache->cache_dir = g_build_path (G_DIR_SEPARATOR_S, g_get_user_cache_dir (), "pragha", "songs", NULL); + g_mkdir_with_parents (cache->cache_dir, S_IRWXU); + + preferences = pragha_preferences_get (); + cache->cache_size = pragha_preferences_get_integer (preferences, GROUP_GENERAL, KEY_CACHE_SIZE); + if (cache->cache_size == 0) + cache->cache_size = 1*1024*1024*1024; /* 1GB by default */ + g_object_unref (G_OBJECT(preferences)); +} + +PraghaSongCache * +pragha_song_cache_get (void) +{ + static PraghaSongCache *cache = NULL; + + if (G_UNLIKELY (cache == NULL)) { + cache = g_object_new (PRAGHA_TYPE_SONG_CACHE, NULL); + g_object_add_weak_pointer (G_OBJECT (cache), + (gpointer) &cache); + } + else { + g_object_ref (G_OBJECT(cache)); + } + + return cache; +} + +static gboolean +pragha_song_cache_drop_song (PraghaSongCache *cache, const gchar *basename) +{ + PraghaPreparedStatement *statement; + gchar *filename = NULL; + GFile *file; + gboolean done = FALSE; + + filename = g_strdup_printf ("%s%s%s", cache->cache_dir, G_DIR_SEPARATOR_S, basename); + file = g_file_new_for_path (filename); + + done = g_file_delete (file, NULL, NULL); + if (done) { + statement = pragha_database_create_statement (cache->cdbase, "DELETE FROM CACHE WHERE name = ?"); + pragha_prepared_statement_bind_string (statement, 1, basename); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + } + + g_free (filename); + g_object_unref (file); + + return done; +} + +static void +pragha_song_cache_purge (PraghaSongCache *cache) +{ + PraghaPreparedStatement *statement; + gint cache_used = 0, song_size = 0; + const gchar *basename = NULL; + + statement = pragha_database_create_statement (cache->cdbase, "SELECT SUM (size) FROM CACHE"); + if (pragha_prepared_statement_step (statement)) + cache_used = pragha_prepared_statement_get_int (statement, 0); + pragha_prepared_statement_free (statement); + + if (cache->cache_size < cache_used) + { + statement = pragha_database_create_statement (cache->cdbase, "SELECT name, size FROM CACHE ORDER BY timestamp"); + while (pragha_prepared_statement_step (statement)) + { + basename = pragha_prepared_statement_get_string (statement, 0); + song_size = pragha_prepared_statement_get_int (statement, 1); + if (pragha_song_cache_drop_song(cache, basename)) + { + cache_used -= song_size; + if (cache->cache_size > cache_used) + break; + } + } + pragha_prepared_statement_free (statement); + } +} + +void +pragha_song_cache_put_location (PraghaSongCache *cache, const gchar *location, const gchar *filename) +{ + PraghaPreparedStatement *statement; + GFile *file, *destination; + gchar *dest_filename = NULL, *file_basename = NULL; + gint size = 0, timestamp = 0; + gint location_id = 0; + struct stat sbuf; + + location_id = pragha_database_find_location (cache->cdbase, location); + + /* FIXME: Gstreamer 'download' even if it is a local file */ + statement = pragha_database_create_statement (cache->cdbase, "SELECT name FROM CACHE WHERE id = ?"); + pragha_prepared_statement_bind_int (statement, 1, location_id); + if (pragha_prepared_statement_step (statement)) { + pragha_prepared_statement_free (statement); + return; + } + pragha_prepared_statement_free (statement); + + /* TODO: Do it async... */ + file = g_file_new_for_path (filename); + file_basename = g_file_get_basename(file); + dest_filename = g_strdup_printf ("%s%s%s", cache->cache_dir, G_DIR_SEPARATOR_S, file_basename); + destination = g_file_new_for_path (dest_filename); + if (g_file_copy (file, destination, G_FILE_COPY_NONE, NULL, NULL, NULL, NULL)) { + if (g_stat(dest_filename, &sbuf) == 0) { + timestamp = sbuf.st_mtime; + size = sbuf.st_size; + } + + statement = pragha_database_create_statement (cache->cdbase, "INSERT INTO CACHE (id, name, size, playcount, timestamp) VALUES (?, ?, ?, ?, ?)"); + pragha_prepared_statement_bind_int (statement, 1, location_id); + pragha_prepared_statement_bind_string (statement, 2, file_basename); + pragha_prepared_statement_bind_int (statement, 3, size); + pragha_prepared_statement_bind_int (statement, 4, 1); + pragha_prepared_statement_bind_int (statement, 5, timestamp); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + } + + /* Clean cache if necessary. */ + pragha_song_cache_purge (cache); + + g_object_unref(file); + g_object_unref(destination); + g_free (file_basename); + g_free (dest_filename); +} + +gchar * +pragha_song_cache_get_from_location (PraghaSongCache *cache, const gchar *location) +{ + PraghaPreparedStatement *statement; + gchar *basename = NULL, *filename = NULL; + gint location_id = 0; + GTimeVal tv; + + location_id = pragha_database_find_location (cache->cdbase, location); + + statement = pragha_database_create_statement (cache->cdbase, "SELECT name FROM CACHE WHERE id = ?"); + pragha_prepared_statement_bind_int (statement, 1, location_id); + if (pragha_prepared_statement_step (statement)) + basename = g_strdup (pragha_prepared_statement_get_string (statement, 0)); + pragha_prepared_statement_free (statement); + + if (basename != NULL) { + filename = g_strdup_printf ("%s%s%s", cache->cache_dir, G_DIR_SEPARATOR_S, basename); + if (g_file_test(filename, G_FILE_TEST_EXISTS)) { + statement = pragha_database_create_statement (cache->cdbase, "UPDATE CACHE SET playcount = playcount + 1 WHERE id = ?"); + pragha_prepared_statement_bind_int (statement, 1, location_id); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + + g_get_current_time(&tv); + statement = pragha_database_create_statement (cache->cdbase, "UPDATE CACHE SET timestamp = ? WHERE id = ?"); + pragha_prepared_statement_bind_int (statement, 1, tv.tv_sec); + pragha_prepared_statement_bind_int (statement, 2, location_id); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + } + else { + statement = pragha_database_create_statement (cache->cdbase, "DELETE FROM CACHE WHERE id = ?"); + pragha_prepared_statement_bind_int (statement, 1, location_id); + pragha_prepared_statement_step (statement); + pragha_prepared_statement_free (statement); + g_free (filename); + filename = NULL; + } + g_free (basename); + } + + return filename; +} + diff -Nru pragha-1.3.3/src/pragha-song-cache.h pragha-1.3.992/src/pragha-song-cache.h --- pragha-1.3.3/src/pragha-song-cache.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-song-cache.h 2018-06-21 11:24:11.000000000 +0000 @@ -0,0 +1,50 @@ +/*************************************************************************/ +/* Copyright (C) 2017 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_SONG_CACHE_H +#define PRAGHA_SONG_CACHE_H + +#include +#include + +G_BEGIN_DECLS + +#define PRAGHA_TYPE_SONG_CACHE (pragha_song_cache_get_type()) +#define PRAGHA_SONG_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_SONG_CACHE, PraghaSongCache)) +#define PRAGHA_SONG_CACHE_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_SONG_CACHE, PraghaSongCache const)) +#define PRAGHA_SONG_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_SONG_CACHE, PraghaSongCacheClass)) +#define PRAGHA_IS_SONG_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_SONG_CACHE)) +#define PRAGHA_IS_SONG_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_SONG_CACHE)) +#define PRAGHA_SONG_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_SONG_CACHE, PraghaSongCacheClass)) + +typedef struct _PraghaSongCache PraghaSongCache; +typedef struct _PraghaSongCacheClass PraghaSongCacheClass; + +struct _PraghaSongCacheClass +{ + GObjectClass parent_class; +}; + +PraghaSongCache *pragha_song_cache_get (void); + +void pragha_song_cache_put_location (PraghaSongCache *cache, const gchar *location, const gchar *filename); +gchar *pragha_song_cache_get_from_location (PraghaSongCache *cache, const gchar *location); + + +G_END_DECLS + +#endif /* PRAGHA_SONG_CACHE_H */ diff -Nru pragha-1.3.3/src/pragha-statusbar.c pragha-1.3.992/src/pragha-statusbar.c --- pragha-1.3.3/src/pragha-statusbar.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-statusbar.c 2019-08-01 15:18:01.000000000 +0000 @@ -1,21 +1,22 @@ /*************************************************************************/ -/* Copyright (C) 2013 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ +/* Copyright (C) 2013-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ /* along with this program. If not, see . */ /*************************************************************************/ #include "pragha-statusbar.h" +#include "pragha-background-task-bar.h" #include "pragha-preferences.h" @@ -26,13 +27,12 @@ struct _PraghaStatusbar { - GtkStatusbar __parent__; + GtkBox __parent__; - guint main_context_id; - guint misc_context_id; + GtkWidget *label; }; -G_DEFINE_TYPE (PraghaStatusbar, pragha_statusbar, GTK_TYPE_STATUSBAR) +G_DEFINE_TYPE (PraghaStatusbar, pragha_statusbar, GTK_TYPE_BOX) static void pragha_statusbar_class_init (PraghaStatusbarClass *klass) @@ -42,19 +42,22 @@ static void pragha_statusbar_init (PraghaStatusbar *statusbar) { - PraghaPreferences *preferences; + GtkStyleContext *context; - const GBindingFlags binding_flags = - G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL; + statusbar->label = gtk_label_new (NULL); + g_object_set (statusbar->label, + "margin-top", 2, + "margin-bottom", 2, + "margin-start", 12, + "margin-end", 12, + NULL); - statusbar->main_context_id = gtk_statusbar_get_context_id (GTK_STATUSBAR (statusbar), "Main text"); - statusbar->misc_context_id = gtk_statusbar_get_context_id (GTK_STATUSBAR (statusbar), "Misc info text"); + gtk_container_add(GTK_CONTAINER(statusbar), statusbar->label); - preferences = pragha_preferences_get(); - g_object_bind_property (preferences, "show-status-bar", - GTK_WIDGET(statusbar), "visible", - binding_flags); - g_object_unref (G_OBJECT(preferences)); + context = gtk_widget_get_style_context (GTK_WIDGET (statusbar)); + gtk_style_context_add_class (context, "floating-bar"); + + gtk_widget_show_all (GTK_WIDGET(statusbar)); } /** @@ -71,71 +74,7 @@ g_return_if_fail (PRAGHA_IS_STATUSBAR (statusbar)); g_return_if_fail (text != NULL); - gtk_statusbar_pop (GTK_STATUSBAR (statusbar), statusbar->main_context_id); - gtk_statusbar_push (GTK_STATUSBAR (statusbar), statusbar->main_context_id, text); -} - -/** - * pragha_statusbar_clean_misc_text: - * @statusbar : a #PraghaStatusbar instance. - * - * Clean the last misc text for @statusbar. - **/ -static void -pragha_statusbar_clean_misc_text(PraghaStatusbar *statusbar) -{ - gtk_statusbar_pop (GTK_STATUSBAR (statusbar), statusbar->misc_context_id); -} - -gboolean -pragha_statusbar_clean_misc_text_idle(gpointer data) -{ - PraghaStatusbar *statusbar = data; - - pragha_statusbar_clean_misc_text(statusbar); - - return FALSE; -} - -/** - * pragha_statusbar_set_misc_text: - * @statusbar : a #PraghaStatusbar instance. - * @text : the misc text to be displayed in @statusbar. - * - * Sets up a new misc text for @statusbar. - **/ -void -pragha_statusbar_set_misc_text (PraghaStatusbar *statusbar, - const gchar *text) -{ - g_return_if_fail (PRAGHA_IS_STATUSBAR (statusbar)); - g_return_if_fail (text != NULL); - - pragha_statusbar_clean_misc_text(statusbar); - gtk_statusbar_push (GTK_STATUSBAR (statusbar), statusbar->misc_context_id, text); - - g_timeout_add_seconds(5, pragha_statusbar_clean_misc_text_idle, statusbar); -} - -/** - * pragha_statusbar_add_widget: - * @statusbar : a #PraghaStatusbar instance. - * @wdget : the widget to append in @statusbar. - * - * Sets up a new misc text for @statusbar. - **/ -void -pragha_statusbar_add_widget(PraghaStatusbar *statusbar, - GtkWidget *widget) -{ - GtkWidget *hbox; - - g_return_if_fail (PRAGHA_IS_STATUSBAR (statusbar)); - g_return_if_fail (widget != NULL); - - hbox = gtk_statusbar_get_message_area(GTK_STATUSBAR (statusbar)); - - gtk_box_pack_end (GTK_BOX (hbox), widget, FALSE, FALSE, 0); + gtk_label_set_text (GTK_LABEL (statusbar->label), text); } /** diff -Nru pragha-1.3.3/src/pragha-statusbar.h pragha-1.3.992/src/pragha-statusbar.h --- pragha-1.3.3/src/pragha-statusbar.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-statusbar.h 2019-07-05 12:52:25.000000000 +0000 @@ -1,20 +1,21 @@ /*************************************************************************/ -/* Copyright (C) 2013 matias */ -/* */ -/* This program is free software: you can redistribute it and/or modify */ -/* it under the terms of the GNU General Public License as published by */ -/* the Free Software Foundation, either version 3 of the License, or */ -/* (at your option) any later version. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ +/* Copyright (C) 2013-2019 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ /* along with this program. If not, see . */ /*************************************************************************/ + #ifndef __PRAGHA_STATUSBAR_H__ #define __PRAGHA_STATUSBAR_H__ @@ -36,13 +37,6 @@ pragha_statusbar_set_main_text (PraghaStatusbar *statusbar, const gchar *text); -void -pragha_statusbar_set_misc_text (PraghaStatusbar *statusbar, - const gchar *text); - -void -pragha_statusbar_add_widget(PraghaStatusbar *statusbar, - GtkWidget *widget); GType pragha_statusbar_get_type (void) G_GNUC_CONST; diff -Nru pragha-1.3.3/src/pragha-statusicon.c pragha-1.3.992/src/pragha-statusicon.c --- pragha-1.3.3/src/pragha-statusicon.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-statusicon.c 2019-07-26 22:54:03.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -33,98 +33,137 @@ #include "pragha-window.h" #include "pragha.h" +#include "pragha-window-ui.h" + struct _PraghaStatusIcon { - GtkStatusIcon __parent__; +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + GtkStatusIcon __parent__; +G_GNUC_END_IGNORE_DEPRECATIONS - PraghaApplication *pragha; + PraghaApplication *pragha; - GtkUIManager *ui_manager; + GtkBuilder *builder; + GSimpleActionGroup *actions; }; +G_GNUC_BEGIN_IGNORE_DEPRECATIONS G_DEFINE_TYPE(PraghaStatusIcon, pragha_status_icon, GTK_TYPE_STATUS_ICON) +G_GNUC_END_IGNORE_DEPRECATIONS + + +static void +pragha_systray_gmenu_about (GSimpleAction *action, + GVariant *parameter, + gpointer user_data); + +static void +pragha_systray_gmenu_open (GSimpleAction *action, + GVariant *parameter, + gpointer user_data); -static void systray_about_action (GtkAction *action, PraghaStatusIcon *status_icon); -static void systray_open_file_action (GtkAction *action, PraghaStatusIcon *status_icon); -static void systray_add_location_action (GtkAction *action, PraghaStatusIcon *status_icon); -static void systray_play_pause_action (GtkAction *action, PraghaStatusIcon *status_icon); -static void systray_stop_action (GtkAction *action, PraghaStatusIcon *status_icon); -static void systray_prev_action (GtkAction *action, PraghaStatusIcon *status_icon); -static void systray_next_action (GtkAction *action, PraghaStatusIcon *status_icon); -static void systray_edit_action (GtkAction *action, PraghaStatusIcon *status_icon); -static void systray_quit (GtkAction *action, PraghaStatusIcon *status_icon); - -static const gchar *systray_menu_xml = - " \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - "; - -static const GtkActionEntry systray_menu_aentries[] = { - {"About", "help-about", N_("About"), - "", NULL, G_CALLBACK(systray_about_action)}, - {"Add files", "document-open", N_("_Add files"), - "", NULL, G_CALLBACK(systray_open_file_action)}, - {"Add location", "network-workgroup", N_("Add _location"), - "", "Add a no local stream", G_CALLBACK(systray_add_location_action)}, - {"Prev", "media-skip-backward", N_("Previous track"), - "", "Previous track", G_CALLBACK(systray_prev_action)}, - {"Play_Pause", "media-playback-start", N_("Play / Pause"), - "", "Play / Pause", G_CALLBACK(systray_play_pause_action)}, - {"Stop", "media-playback-stop", N_("Stop"), - "", "Stop", G_CALLBACK(systray_stop_action)}, - {"Next", "media-skip-forward", N_("Next track"), - "", "Next track", G_CALLBACK(systray_next_action)}, - {"Edit tags", NULL, N_("Edit track information"), - "", "Edit information of current track", G_CALLBACK(systray_edit_action)}, - {"Quit", "application-exit", N_("_Quit"), - "", "Quit", G_CALLBACK(systray_quit)} +static void +pragha_systray_gmenu_location (GSimpleAction *action, + GVariant *parameter, + gpointer user_data); + +static void +pragha_systray_gmenu_playpause (GSimpleAction *action, + GVariant *parameter, + gpointer user_data); + +static void +pragha_systray_gmenu_stop (GSimpleAction *action, + GVariant *parameter, + gpointer user_data); + +static void +pragha_systray_gmenu_prev (GSimpleAction *action, + GVariant *parameter, + gpointer user_data); + +static void +pragha_systray_gmenu_next (GSimpleAction *action, + GVariant *parameter, + gpointer user_data); + +static void +pragha_systray_gmenu_edit (GSimpleAction *action, + GVariant *parameter, + gpointer user_data); + +static void +pragha_systray_gmenu_quit (GSimpleAction *action, + GVariant *parameter, + gpointer user_data); + +static const GActionEntry systray_menu_aentries[] = { + { "about", pragha_systray_gmenu_about, NULL, NULL, NULL }, + { "open", pragha_systray_gmenu_open, NULL, NULL, NULL }, + { "location", pragha_systray_gmenu_location, NULL, NULL, NULL }, + { "prev", pragha_systray_gmenu_prev, NULL, NULL, NULL }, + { "play", pragha_systray_gmenu_playpause, NULL, NULL, NULL }, + { "stop", pragha_systray_gmenu_stop, NULL, NULL, NULL }, + { "next", pragha_systray_gmenu_next, NULL, NULL, NULL }, + { "edit", pragha_systray_gmenu_edit, NULL, NULL, NULL }, + { "quit", pragha_systray_gmenu_quit, NULL, NULL, NULL } }; -gint -pragha_systray_append_plugin_action (PraghaStatusIcon *status_icon, - GtkActionGroup *action_group, - const gchar *menu_xml) +static GMenu * +pragha_systray_get_menu_section (PraghaStatusIcon *status_icon, + const char *id) { - GError *error = NULL; - gint merge_id; + GObject *object; + object = gtk_builder_get_object (status_icon->builder, id); - gtk_ui_manager_insert_action_group (status_icon->ui_manager, action_group, -1); + if (object == NULL || !G_IS_MENU (object)) + return NULL; - merge_id = gtk_ui_manager_add_ui_from_string (status_icon->ui_manager, - menu_xml, - -1, - &error); + return G_MENU (object); +} - if (error) { - g_warning ("Adding plugin to menubar: %s", error->message); - g_error_free (error); - } +void +pragha_systray_append_action (PraghaStatusIcon *status_icon, + const gchar *placeholder, + GSimpleAction *action, + GMenuItem *item) +{ + GMenu *place; - return merge_id; + place = pragha_systray_get_menu_section (status_icon, placeholder); + + g_action_map_add_action (G_ACTION_MAP (status_icon->actions), G_ACTION (action)); + + g_menu_append_item (G_MENU (place), item); } + void -pragha_systray_remove_plugin_action (PraghaStatusIcon *status_icon, - GtkActionGroup *action_group, - gint merge_id) -{ - gtk_ui_manager_remove_ui (status_icon->ui_manager, merge_id); - gtk_ui_manager_remove_action_group (status_icon->ui_manager, action_group); - g_object_unref (action_group); +pragha_systray_remove_action (PraghaStatusIcon *status_icon, + const gchar *placeholder, + const gchar *action_name) +{ + GMenu *menu; + gchar *action; + gboolean found = FALSE; + gint i; + + menu = G_MENU (gtk_builder_get_object (status_icon->builder, placeholder)); + + for (i = 0; i < g_menu_model_get_n_items (G_MENU_MODEL(menu)); i++) + { + if (g_menu_model_get_item_attribute (G_MENU_MODEL(menu), i, G_MENU_ATTRIBUTE_ACTION, "s", &action)) + { + if (g_strcmp0 (action + strlen ("syst."), action_name) == 0) + { + g_menu_remove (G_MENU (menu), i); + g_action_map_remove_action (G_ACTION_MAP (status_icon->actions), action_name); + found = TRUE; + } + g_free (action); + if (found) + break; + } + } } /* @@ -134,6 +173,7 @@ static gboolean status_icon_clicked (GtkWidget *widget, GdkEventButton *event, PraghaStatusIcon *status_icon) { + GMenu *menu; GtkWidget *popup_menu; switch (event->button) @@ -145,7 +185,9 @@ pragha_playback_play_pause_resume (status_icon->pragha); break; case 3: - popup_menu = gtk_ui_manager_get_widget(status_icon->ui_manager, "/popup"); + menu = G_MENU (gtk_builder_get_object (status_icon->builder, "statusicon-menu")); + popup_menu = gtk_menu_new_from_model (G_MENU_MODEL(menu)); + gtk_widget_insert_action_group (popup_menu, "syst", G_ACTION_GROUP(status_icon->actions)); gtk_menu_popup (GTK_MENU(popup_menu), NULL, NULL, NULL, NULL, event->button, gtk_get_current_event_time ()); default: break; @@ -215,113 +257,139 @@ } static void -systray_about_action (GtkAction *action, PraghaStatusIcon *status_icon) +pragha_systray_gmenu_about (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaStatusIcon *status_icon = user_data; pragha_application_about_dialog (status_icon->pragha); } + static void -systray_open_file_action (GtkAction *action, PraghaStatusIcon *status_icon) +pragha_systray_gmenu_open (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaStatusIcon *status_icon = user_data; pragha_application_open_files (status_icon->pragha); } static void -systray_add_location_action (GtkAction *action, PraghaStatusIcon *status_icon) +pragha_systray_gmenu_location (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaStatusIcon *status_icon = user_data; pragha_application_add_location (status_icon->pragha); } static void -systray_play_pause_action (GtkAction *action, PraghaStatusIcon *status_icon) +pragha_systray_gmenu_playpause (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaStatusIcon *status_icon = user_data; PraghaBackend *backend = pragha_application_get_backend (status_icon->pragha); if (pragha_backend_emitted_error (backend) == FALSE) pragha_playback_play_pause_resume(status_icon->pragha); } static void -systray_stop_action (GtkAction *action, PraghaStatusIcon *status_icon) +pragha_systray_gmenu_stop (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaStatusIcon *status_icon = user_data; PraghaBackend *backend = pragha_application_get_backend (status_icon->pragha); if (pragha_backend_emitted_error (backend) == FALSE) pragha_playback_stop(status_icon->pragha); } static void -systray_prev_action (GtkAction *action, PraghaStatusIcon *status_icon) +pragha_systray_gmenu_prev (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaStatusIcon *status_icon = user_data; PraghaBackend *backend = pragha_application_get_backend (status_icon->pragha); if (pragha_backend_emitted_error (backend) == FALSE) pragha_playback_prev_track(status_icon->pragha); } static void -systray_next_action (GtkAction *action, PraghaStatusIcon *status_icon) +pragha_systray_gmenu_next (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaStatusIcon *status_icon = user_data; PraghaBackend *backend = pragha_application_get_backend (status_icon->pragha); if (pragha_backend_emitted_error (backend) == FALSE) pragha_playback_next_track(status_icon->pragha); } static void -systray_edit_action (GtkAction *action, PraghaStatusIcon *status_icon) +pragha_systray_gmenu_edit (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaStatusIcon *status_icon = user_data; PraghaBackend *backend = pragha_application_get_backend (status_icon->pragha); if (pragha_backend_emitted_error (backend) == FALSE) pragha_playback_edit_current_track (status_icon->pragha); } static void -systray_quit (GtkAction *action, PraghaStatusIcon *status_icon) +pragha_systray_gmenu_quit (GSimpleAction *action, + GVariant *parameter, + gpointer user_data) { + PraghaStatusIcon *status_icon = user_data; pragha_application_quit (status_icon->pragha); } static void pragha_status_icon_update_state (PraghaBackend *backend, GParamSpec *pspec, PraghaStatusIcon *status_icon) { - GtkAction *action; - PraghaBackendState state = 0; + GAction *action; + PraghaBackendState state = ST_STOPPED; state = pragha_backend_get_state (backend); gboolean playing = (state != ST_STOPPED); - action = gtk_ui_manager_get_action (status_icon->ui_manager, "/popup/Prev"); - gtk_action_set_sensitive (GTK_ACTION (action), playing); + action = g_action_map_lookup_action (G_ACTION_MAP (status_icon->actions), "prev"); + g_object_set (action, "enabled", playing, NULL); - action = gtk_ui_manager_get_action (status_icon->ui_manager, "/popup/Stop"); - gtk_action_set_sensitive (GTK_ACTION (action), playing); + action = g_action_map_lookup_action (G_ACTION_MAP (status_icon->actions), "stop"); + g_object_set (action, "enabled", playing, NULL); - action = gtk_ui_manager_get_action (status_icon->ui_manager, "/popup/Next"); - gtk_action_set_sensitive (GTK_ACTION (action), playing); + action = g_action_map_lookup_action (G_ACTION_MAP (status_icon->actions), "next"); + g_object_set (action, "enabled", playing, NULL); - action = gtk_ui_manager_get_action (status_icon->ui_manager, "/popup/Edit tags"); - gtk_action_set_sensitive (GTK_ACTION (action), playing); + action = g_action_map_lookup_action (G_ACTION_MAP (status_icon->actions), "edit"); + g_object_set (action, "enabled", playing, NULL); } static void pragha_status_icon_set_application (PraghaStatusIcon *status_icon, PraghaApplication *pragha) { PraghaPreferences *preferences; - GtkActionGroup *actions; const GBindingFlags binding_flags = G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL; status_icon->pragha = pragha; - gtk_status_icon_set_from_icon_name (GTK_STATUS_ICON(status_icon), "pragha"); - - actions = gtk_action_group_new ("Systray Actions"); - gtk_action_group_set_translation_domain (actions, GETTEXT_PACKAGE); - - gtk_action_group_add_actions (actions, - systray_menu_aentries, - G_N_ELEMENTS(systray_menu_aentries), - (gpointer)status_icon); - gtk_ui_manager_insert_action_group (status_icon->ui_manager, actions, 0); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + gtk_status_icon_set_from_icon_name (GTK_STATUS_ICON(status_icon), "pragha-panel"); +G_GNUC_END_IGNORE_DEPRECATIONS + + status_icon->actions = g_simple_action_group_new (); + g_action_map_add_action_entries (G_ACTION_MAP(status_icon->actions), + systray_menu_aentries, + G_N_ELEMENTS(systray_menu_aentries), + (gpointer)status_icon); preferences = pragha_application_get_preferences (pragha); g_object_bind_property (preferences, "show-status-icon", @@ -329,9 +397,8 @@ g_signal_connect (pragha_application_get_backend (pragha), "notify::state", G_CALLBACK (pragha_status_icon_update_state), status_icon); - pragha_status_icon_update_state (pragha_application_get_backend (pragha), NULL, status_icon); - g_object_unref (actions); + pragha_status_icon_update_state (pragha_application_get_backend (pragha), NULL, status_icon); } static void @@ -339,9 +406,9 @@ { PraghaStatusIcon *status_icon = PRAGHA_STATUS_ICON(object); - if (status_icon->ui_manager) { - g_object_unref (status_icon->ui_manager); - status_icon->ui_manager = NULL; + if (status_icon->builder) { + g_object_unref (status_icon->builder); + status_icon->builder = NULL; } (*G_OBJECT_CLASS (pragha_status_icon_parent_class)->dispose) (object); @@ -361,9 +428,13 @@ { GError *error = NULL; - status_icon->ui_manager = gtk_ui_manager_new(); - if (!gtk_ui_manager_add_ui_from_string (status_icon->ui_manager, systray_menu_xml, -1, &error)) - g_critical("Unable to create systray menu, err : %s", error->message); + status_icon->builder = gtk_builder_new (); + gtk_builder_add_from_string (status_icon->builder, pragha_window_ui, -1, &error); + if (error) { + g_print ("GtkBuilder error: %s", error->message); + g_error_free (error); + error = NULL; + } g_signal_connect (status_icon, "button-press-event", G_CALLBACK (status_icon_clicked), status_icon); diff -Nru pragha-1.3.3/src/pragha-statusicon.h pragha-1.3.992/src/pragha-statusicon.h --- pragha-1.3.3/src/pragha-statusicon.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-statusicon.h 2019-03-12 15:24:52.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -32,20 +32,24 @@ #define PRAGHA_STATUS_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_STATUS_ICON, PraghaStatusIconClass)) typedef struct { +G_GNUC_BEGIN_IGNORE_DEPRECATIONS GtkStatusIconClass __parent__; +G_GNUC_END_IGNORE_DEPRECATIONS } PraghaStatusIconClass; typedef struct _PraghaStatusIcon PraghaStatusIcon; -gint -pragha_systray_append_plugin_action (PraghaStatusIcon *status_icon, - GtkActionGroup *action_group, - const gchar *menu_xml); void -pragha_systray_remove_plugin_action (PraghaStatusIcon *status_icon, - GtkActionGroup *action_group, - gint merge_id); +pragha_systray_append_action (PraghaStatusIcon *status_icon, + const gchar *placeholder, + GSimpleAction *action, + GMenuItem *item); + +void +pragha_systray_remove_action (PraghaStatusIcon *status_icon, + const gchar *placeholder, + const gchar *action_name); PraghaStatusIcon *pragha_status_icon_new (PraghaApplication *pragha); -#endif /* PRAGHA_STATUSICON_H */ \ No newline at end of file +#endif /* PRAGHA_STATUSICON_H */ diff -Nru pragha-1.3.3/src/pragha-tagger.c pragha-1.3.992/src/pragha-tagger.c --- pragha-1.3.3/src/pragha-tagger.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-tagger.c 2019-03-12 12:53:41.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2013 matias */ +/* Copyright (C) 2013-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -19,11 +19,10 @@ #include "pragha-musicobject.h" #include "pragha-database.h" +#include "pragha-database-provider.h" #include "pragha-library-pane.h" #include "pragha-tags-mgmt.h" -G_DEFINE_TYPE(PraghaTagger, pragha_tagger, G_TYPE_OBJECT) - struct _PraghaTaggerPrivate { PraghaMusicobject *mobj; @@ -35,6 +34,8 @@ PraghaDatabase *cdbase; }; +G_DEFINE_TYPE_WITH_PRIVATE(PraghaTagger, pragha_tagger, G_TYPE_OBJECT) + void pragha_tagger_set_changes(PraghaTagger *tagger, PraghaMusicobject *mobj, gint changed) { @@ -74,7 +75,7 @@ void pragha_tagger_apply_changes(PraghaTagger *tagger) { - PraghaPreferences *preferences; + PraghaDatabaseProvider *provider; PraghaTaggerPrivate *priv = tagger->priv; @@ -84,10 +85,9 @@ if(priv->loc_arr->len) { pragha_database_update_local_files_change_tag(priv->cdbase, priv->loc_arr, priv->changed, priv->mobj); - preferences = pragha_preferences_get(); - if(pragha_library_need_update_view(preferences, priv->changed)) - pragha_database_change_tracks_done(priv->cdbase); - g_object_unref(preferences); + provider = pragha_database_provider_get (); + pragha_provider_update_done (provider); + g_object_unref (provider); } } @@ -129,8 +129,6 @@ object_class = G_OBJECT_CLASS(klass); object_class->dispose = pragha_tagger_dispose; object_class->finalize = pragha_tagger_finalize; - - g_type_class_add_private(object_class, sizeof(PraghaTaggerPrivate)); } static void diff -Nru pragha-1.3.3/src/pragha-tagger.h pragha-1.3.992/src/pragha-tagger.h --- pragha-1.3.3/src/pragha-tagger.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-tagger.h 2019-03-12 12:53:35.000000000 +0000 @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Copyright (C) 2013 matias */ +/* Copyright (C) 2013-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -55,8 +55,6 @@ PraghaTagger *pragha_tagger_new (void); -GType pragha_tagger_get_type (void) G_GNUC_CONST; - G_END_DECLS #endif /* PRAGHA_TAGGER_H */ diff -Nru pragha-1.3.3/src/pragha-tags-dialog.c pragha-1.3.992/src/pragha-tags-dialog.c --- pragha-1.3.3/src/pragha-tags-dialog.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-tags-dialog.c 2018-06-21 11:24:11.000000000 +0000 @@ -20,6 +20,7 @@ #include #endif +#include "pragha-simple-widgets.h" #include "pragha-tags-dialog.h" #if defined(GETTEXT_PACKAGE) @@ -35,6 +36,20 @@ static void pragha_tags_dialog_dispose (GObject *object); static void pragha_tags_dialog_finalize (GObject *object); +static void pragha_title_entry_change (GtkEntry *entry, PraghaTagsDialog *dialog); +static void pragha_title_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog); + +static void pragha_artist_entry_change (GtkEntry *entry, PraghaTagsDialog *dialog); +static void pragha_artist_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog); + +static void pragha_album_entry_change (GtkEntry *entry, PraghaTagsDialog *dialog); +static void pragha_album_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog); + +static void pragha_genre_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog); +static void pragha_track_no_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog); +static void pragha_year_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog); +static void pragha_comment_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog); + static void pragha_tag_entry_change (GtkEntry *entry, GtkCheckButton *check); static void pragha_tag_entry_clear_pressed (GtkEntry *entry, gint position, GdkEventButton *event); static void pragha_tag_entry_directory_pressed (GtkEntry *entry, gint position, GdkEventButton *event, gpointer user_data); @@ -50,6 +65,8 @@ struct _PraghaTagsDialog { GtkDialog __parent__; + PraghaHeader *header; + GtkWidget *title_entry; GtkWidget *artist_entry; GtkWidget *album_entry; @@ -72,6 +89,37 @@ G_DEFINE_TYPE (PraghaTagsDialog, pragha_tags_dialog, GTK_TYPE_DIALOG); +/* + * Utils. + */ + +static gchar * +pragha_tags_dialog_get_title (const gchar *title, const gchar *file) +{ + gchar *stitle = NULL; + if (string_is_not_empty(title)) + stitle = g_strdup (title); + else if (string_is_not_empty(file)) + stitle = get_display_filename (file, FALSE); + else + stitle = g_strdup (_("Unknown")); + return stitle; +} + +static gchar * +pragha_tags_dialog_get_subtitle (const gchar *artist, const gchar *album) +{ + gchar *subtitle; + subtitle = g_strdup_printf ("%s - %s", + string_is_not_empty(artist) ? artist : _("Unknown Artist"), + string_is_not_empty(album) ? album : _("Unknown Album")); + return subtitle; +} + +/* + * PraghaTagDialog + */ + static void pragha_tags_dialog_class_init (PraghaTagsDialogClass *klass) { @@ -85,12 +133,13 @@ static void pragha_tags_dialog_init (PraghaTagsDialog *dialog) { + PraghaHeader *header; GtkWidget *tag_table; GtkWidget *label_title, *label_artist, *label_album, *label_genre, *label_tno, *label_year, *label_comment, *label_file; GtkWidget *chk_title, *chk_artist, *chk_album, *chk_genre, *chk_tno, *chk_year, *chk_comment; GtkWidget *entry_title, *entry_artist, *entry_album, *entry_genre, *entry_tno, *entry_year, *entry_comment, *entry_file; GtkWidget *hbox_title, *hbox_artist, *hbox_album, *hbox_genre, *hbox_tno, *hbox_year, *hbox_comment; - GtkWidget *hbox_spins, *comment_view_scroll, *chk_alignment; + GtkWidget *hbox_spins, *comment_view_scroll; GtkEntryCompletion *completion; /* Set dialog properties */ @@ -101,14 +150,17 @@ gtk_dialog_add_button (GTK_DIALOG (dialog), _("_Ok"), GTK_RESPONSE_OK); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); + header = pragha_header_new (); + pragha_header_set_icon_name (header, "media-optical"); + /* Create table */ tag_table = gtk_grid_new (); - gtk_grid_set_row_spacing (GTK_GRID(tag_table), 5); - gtk_grid_set_column_spacing (GTK_GRID(tag_table), 5); + gtk_grid_set_row_spacing (GTK_GRID(tag_table), 6); + gtk_grid_set_column_spacing (GTK_GRID(tag_table), 6); - gtk_container_set_border_width (GTK_CONTAINER(tag_table), 5); + gtk_container_set_border_width (GTK_CONTAINER(tag_table), 6); /* Create labels */ @@ -121,14 +173,22 @@ label_comment = gtk_label_new(_("Comment")); label_file = gtk_label_new(_("File")); - gtk_misc_set_alignment(GTK_MISC (label_title), 1, 0.5); - gtk_misc_set_alignment(GTK_MISC (label_artist), 1, 0.5); - gtk_misc_set_alignment(GTK_MISC (label_album), 1, 0.5); - gtk_misc_set_alignment(GTK_MISC (label_genre), 1, 0.5); - gtk_misc_set_alignment(GTK_MISC (label_tno), 1, 0.5); - gtk_misc_set_alignment(GTK_MISC (label_year), 1, 0.5); - gtk_misc_set_alignment(GTK_MISC (label_comment), 1, 0); - gtk_misc_set_alignment(GTK_MISC (label_file), 1, 0.5); + gtk_widget_set_halign (GTK_WIDGET(label_title), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_title), GTK_ALIGN_CENTER); + gtk_widget_set_halign (GTK_WIDGET(label_artist), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_artist), GTK_ALIGN_CENTER); + gtk_widget_set_halign (GTK_WIDGET(label_album), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_album), GTK_ALIGN_CENTER); + gtk_widget_set_halign (GTK_WIDGET(label_genre), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_genre), GTK_ALIGN_CENTER); + gtk_widget_set_halign (GTK_WIDGET(label_tno), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_tno), GTK_ALIGN_CENTER); + gtk_widget_set_halign (GTK_WIDGET(label_year), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_year), GTK_ALIGN_CENTER); + gtk_widget_set_halign (GTK_WIDGET(label_comment), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_comment), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(label_file), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_file), GTK_ALIGN_CENTER); gtk_label_set_attribute_bold(GTK_LABEL(label_title)); gtk_label_set_attribute_bold(GTK_LABEL(label_artist)); @@ -139,6 +199,15 @@ gtk_label_set_attribute_bold(GTK_LABEL(label_comment)); gtk_label_set_attribute_bold(GTK_LABEL(label_file)); + gtk_widget_show (GTK_WIDGET(label_title)); + gtk_widget_show (GTK_WIDGET(label_artist)); + gtk_widget_show (GTK_WIDGET(label_album)); + gtk_widget_show (GTK_WIDGET(label_genre)); + gtk_widget_show (GTK_WIDGET(label_tno)); + gtk_widget_show (GTK_WIDGET(label_year)); + gtk_widget_show (GTK_WIDGET(label_comment)); + gtk_widget_show (GTK_WIDGET(label_file)); + /* Create entry fields */ entry_title = gtk_entry_new(); @@ -197,13 +266,13 @@ g_signal_connect(G_OBJECT(entry_title), "changed", - G_CALLBACK(pragha_tag_entry_change), chk_title); + G_CALLBACK(pragha_title_entry_change), dialog); g_signal_connect(G_OBJECT(entry_artist), "changed", - G_CALLBACK(pragha_tag_entry_change), chk_artist); + G_CALLBACK(pragha_artist_entry_change), dialog); g_signal_connect(G_OBJECT(entry_album), "changed", - G_CALLBACK(pragha_tag_entry_change), chk_album); + G_CALLBACK(pragha_album_entry_change), dialog); g_signal_connect(G_OBJECT(entry_genre), "changed", G_CALLBACK(pragha_tag_entry_change), chk_genre); @@ -244,23 +313,40 @@ "populate-popup", G_CALLBACK (pragha_file_entry_populate_menu), dialog); + g_signal_connect (G_OBJECT(chk_title), "toggled", + G_CALLBACK(pragha_title_check_toggled), dialog); + g_signal_connect (G_OBJECT(chk_artist), "toggled", + G_CALLBACK(pragha_artist_check_toggled), dialog); + g_signal_connect (G_OBJECT(chk_album), "toggled", + G_CALLBACK(pragha_album_check_toggled), dialog); + g_signal_connect (G_OBJECT(chk_genre), "toggled", + G_CALLBACK(pragha_genre_check_toggled), dialog); + g_signal_connect (G_OBJECT(chk_tno), "toggled", + G_CALLBACK(pragha_track_no_check_toggled), dialog); + g_signal_connect (G_OBJECT(chk_year), "toggled", + G_CALLBACK(pragha_year_check_toggled), dialog); + g_signal_connect (G_OBJECT(chk_comment), "toggled", + G_CALLBACK(pragha_comment_check_toggled), dialog); + /* Create boxs and package all. */ - hbox_title = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); - hbox_artist = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); - hbox_album = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); - hbox_genre = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); - hbox_year = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); - hbox_tno = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); - hbox_comment = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); + hbox_title = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); + hbox_artist = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); + hbox_album = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); + hbox_genre = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); + hbox_year = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); + hbox_tno = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); + hbox_comment = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); - hbox_spins = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5); + hbox_spins = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); /* Create hobxs(ENTRY CHECHK) and attach in table */ gtk_box_pack_start (GTK_BOX(hbox_title), entry_title, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX(hbox_title), chk_title, FALSE, FALSE, 0); gtk_widget_set_hexpand (hbox_title, TRUE); + gtk_widget_show(GTK_WIDGET(entry_title)); + gtk_widget_show(GTK_WIDGET(hbox_title)); gtk_grid_attach (GTK_GRID(tag_table), label_title, 0, 0, 1, 1); gtk_grid_attach (GTK_GRID(tag_table), hbox_title, 1, 0, 1, 1); @@ -268,6 +354,8 @@ gtk_box_pack_start(GTK_BOX(hbox_artist), entry_artist, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(hbox_artist), chk_artist, FALSE, FALSE, 0); gtk_widget_set_hexpand (hbox_artist, TRUE); + gtk_widget_show(GTK_WIDGET(entry_artist)); + gtk_widget_show(GTK_WIDGET(hbox_artist)); gtk_grid_attach (GTK_GRID(tag_table), label_artist, 0, 1, 1, 1); gtk_grid_attach (GTK_GRID(tag_table), hbox_artist, 1, 1, 1, 1); @@ -275,6 +363,8 @@ gtk_box_pack_start (GTK_BOX(hbox_album), entry_album, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX(hbox_album), chk_album, FALSE, FALSE, 0); gtk_widget_set_hexpand (hbox_album, TRUE); + gtk_widget_show(GTK_WIDGET(entry_album)); + gtk_widget_show(GTK_WIDGET(hbox_album)); gtk_grid_attach (GTK_GRID(tag_table), label_album, 0, 2, 1, 1); gtk_grid_attach (GTK_GRID(tag_table), hbox_album, 1, 2, 1, 1); @@ -282,12 +372,16 @@ gtk_box_pack_start (GTK_BOX(hbox_genre), entry_genre, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX(hbox_genre), chk_genre, FALSE, FALSE, 0); gtk_widget_set_hexpand (hbox_genre, TRUE); + gtk_widget_show(GTK_WIDGET(entry_genre)); + gtk_widget_show(GTK_WIDGET(hbox_genre)); gtk_grid_attach (GTK_GRID(tag_table), label_genre, 0, 3, 1, 1); gtk_grid_attach (GTK_GRID(tag_table), hbox_genre, 1, 3, 1, 1); gtk_box_pack_start (GTK_BOX(hbox_tno), entry_tno, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(hbox_tno), chk_tno, FALSE, FALSE, 0); + gtk_widget_show(GTK_WIDGET(entry_tno)); + gtk_widget_show(GTK_WIDGET(hbox_tno)); gtk_box_pack_start (GTK_BOX(hbox_year), label_year, FALSE, FALSE, 5); gtk_box_pack_start (GTK_BOX(hbox_year), entry_year, TRUE, TRUE, 0); @@ -296,6 +390,9 @@ gtk_box_pack_start (GTK_BOX(hbox_spins), hbox_tno, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX(hbox_spins), hbox_year, TRUE, TRUE, 0); gtk_widget_set_hexpand (hbox_spins, TRUE); + gtk_widget_show(GTK_WIDGET(entry_year)); + gtk_widget_show(GTK_WIDGET(hbox_year)); + gtk_widget_show(GTK_WIDGET(hbox_spins)); gtk_grid_attach (GTK_GRID(tag_table), label_tno, 0, 4, 1, 1); gtk_grid_attach (GTK_GRID(tag_table), hbox_spins, 1, 4, 1, 1); @@ -307,23 +404,26 @@ GTK_SHADOW_IN); gtk_container_add(GTK_CONTAINER(comment_view_scroll), entry_comment); - chk_alignment = gtk_alignment_new(0.5, 0, 0, 0); - gtk_container_add(GTK_CONTAINER(chk_alignment), chk_comment); + gtk_widget_set_halign (GTK_WIDGET(chk_comment), GTK_ALIGN_CENTER); + gtk_widget_set_valign (GTK_WIDGET(chk_comment), GTK_ALIGN_START); gtk_box_pack_start (GTK_BOX(hbox_comment), comment_view_scroll, TRUE, TRUE, 0); - gtk_box_pack_start (GTK_BOX(hbox_comment), chk_alignment, FALSE, FALSE, 0); + gtk_box_pack_start (GTK_BOX(hbox_comment), chk_comment, FALSE, FALSE, 0); gtk_widget_set_hexpand (hbox_comment, TRUE); + gtk_widget_show_all(GTK_WIDGET(comment_view_scroll)); + gtk_widget_show(GTK_WIDGET(hbox_comment)); gtk_grid_attach (GTK_GRID(tag_table), label_comment, 0, 5, 1, 1); gtk_grid_attach (GTK_GRID(tag_table), hbox_comment, 1, 5, 1, 2); gtk_widget_set_hexpand (entry_file, TRUE); + gtk_widget_show(GTK_WIDGET(entry_file)); gtk_grid_attach (GTK_GRID(tag_table), label_file, 0, 7, 1, 1); gtk_grid_attach (GTK_GRID(tag_table), entry_file, 1, 7, 1, 1); /* Save changes when press enter. */ - + gtk_entry_set_activates_default (GTK_ENTRY(entry_title), TRUE); gtk_entry_set_activates_default (GTK_ENTRY(entry_artist), TRUE); gtk_entry_set_activates_default (GTK_ENTRY(entry_album), TRUE); @@ -333,6 +433,7 @@ /* Storage widgets and its to dialog. */ + dialog->header = header; dialog->title_entry = entry_title; dialog->artist_entry = entry_artist; dialog->album_entry = entry_album; @@ -350,8 +451,11 @@ dialog->year_check_change = chk_year; dialog->comment_check_change = chk_comment; + gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), GTK_WIDGET(header), FALSE, FALSE, 0); + gtk_widget_show_all(GTK_WIDGET(header)); + gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), tag_table, TRUE, TRUE, 0); - gtk_widget_show_all(tag_table); + gtk_widget_show (tag_table); /* Init flags */ dialog->mobj = pragha_musicobject_new(); @@ -405,6 +509,7 @@ const gchar *title, *artist, *album, *genre, *comment, *file; gint track_no, year; GtkTextBuffer *buffer; + gchar *str_title, *str_subtitle; g_object_unref(dialog->mobj); dialog->mobj = pragha_musicobject_dup (mobj); @@ -418,19 +523,27 @@ comment = pragha_musicobject_get_comment(mobj); file = pragha_musicobject_get_file(mobj); + str_title = pragha_tags_dialog_get_title (title, file); + pragha_header_set_title (dialog->header, str_title); + g_free (str_title); + + str_subtitle = pragha_tags_dialog_get_subtitle (artist, album); + pragha_header_set_subtitle (dialog->header, str_subtitle); + g_free (str_subtitle); + /* Block changed signal, and force text. */ - g_signal_handlers_block_by_func(G_OBJECT(dialog->title_entry), pragha_tag_entry_change, dialog->title_check_change); + g_signal_handlers_block_by_func(G_OBJECT(dialog->title_entry), pragha_title_entry_change, dialog); gtk_entry_set_text(GTK_ENTRY(dialog->title_entry), title); - g_signal_handlers_unblock_by_func(G_OBJECT(dialog->title_entry), pragha_tag_entry_change, dialog->title_check_change); + g_signal_handlers_unblock_by_func(G_OBJECT(dialog->title_entry), pragha_title_entry_change, dialog); - g_signal_handlers_block_by_func(G_OBJECT(dialog->artist_entry), pragha_tag_entry_change, dialog->artist_check_change); + g_signal_handlers_block_by_func(G_OBJECT(dialog->artist_entry), pragha_artist_entry_change, dialog); gtk_entry_set_text(GTK_ENTRY(dialog->artist_entry), artist); - g_signal_handlers_unblock_by_func(G_OBJECT(dialog->artist_entry), pragha_tag_entry_change, dialog->artist_check_change); + g_signal_handlers_unblock_by_func(G_OBJECT(dialog->artist_entry), pragha_artist_entry_change, dialog); - g_signal_handlers_block_by_func(G_OBJECT(dialog->album_entry), pragha_tag_entry_change, dialog->album_check_change); + g_signal_handlers_block_by_func(G_OBJECT(dialog->album_entry), pragha_album_entry_change, dialog); gtk_entry_set_text(GTK_ENTRY(dialog->album_entry), album); - g_signal_handlers_unblock_by_func(G_OBJECT(dialog->album_entry), pragha_tag_entry_change, dialog->album_check_change); + g_signal_handlers_unblock_by_func(G_OBJECT(dialog->album_entry), pragha_album_entry_change, dialog); g_signal_handlers_block_by_func(G_OBJECT(dialog->genre_entry), pragha_tag_entry_change, dialog->genre_check_change); gtk_entry_set_text(GTK_ENTRY(dialog->genre_entry), genre); @@ -581,13 +694,20 @@ label_filename = gtk_label_new(_("Filename")); label_mimetype = gtk_label_new(_("Mimetype")); - gtk_misc_set_alignment(GTK_MISC (label_length), 1, 0); - gtk_misc_set_alignment(GTK_MISC (label_bitrate), 1, 0); - gtk_misc_set_alignment(GTK_MISC (label_channels), 1, 0); - gtk_misc_set_alignment(GTK_MISC (label_samplerate), 1, 0); - gtk_misc_set_alignment(GTK_MISC (label_folder), 1, 0); - gtk_misc_set_alignment(GTK_MISC (label_filename), 1, 0); - gtk_misc_set_alignment(GTK_MISC (label_mimetype), 1, 0); + gtk_widget_set_halign (GTK_WIDGET(label_length), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_length), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(label_bitrate), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_bitrate), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(label_channels), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_channels), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(label_samplerate), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_samplerate), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(label_folder), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_folder), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(label_filename), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_filename), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(label_mimetype), GTK_ALIGN_END); + gtk_widget_set_valign (GTK_WIDGET(label_mimetype), GTK_ALIGN_START); gtk_label_set_attribute_bold(GTK_LABEL(label_length)); gtk_label_set_attribute_bold(GTK_LABEL(label_bitrate)); @@ -607,13 +727,20 @@ info_filename = gtk_label_new(filename); info_mimetype = gtk_label_new(mimetype); - gtk_misc_set_alignment(GTK_MISC (info_length), 0, 0); - gtk_misc_set_alignment(GTK_MISC (info_bitrate), 0, 0); - gtk_misc_set_alignment(GTK_MISC (info_channels), 0, 0); - gtk_misc_set_alignment(GTK_MISC (info_samplerate), 0, 0); - gtk_misc_set_alignment(GTK_MISC (info_folder), 0, 0); - gtk_misc_set_alignment(GTK_MISC (info_filename), 0, 0); - gtk_misc_set_alignment(GTK_MISC (info_mimetype), 0, 0); + gtk_widget_set_halign (GTK_WIDGET(info_length), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(info_length), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(info_bitrate), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(info_bitrate), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(info_channels), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(info_channels), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(info_samplerate), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(info_samplerate), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(info_folder), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(info_folder), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(info_filename), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(info_filename), GTK_ALIGN_START); + gtk_widget_set_halign (GTK_WIDGET(info_mimetype), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(info_mimetype), GTK_ALIGN_START); gtk_label_set_selectable(GTK_LABEL(info_length), TRUE); gtk_label_set_selectable(GTK_LABEL(info_bitrate), TRUE); @@ -682,9 +809,145 @@ */ static void +pragha_title_entry_change (GtkEntry *entry, PraghaTagsDialog *dialog) +{ + gchar *str_title = NULL; + const gchar *title = NULL, *file = NULL; + + title = gtk_entry_get_text (GTK_ENTRY(dialog->title_entry)); + file = gtk_entry_get_text (GTK_ENTRY(dialog->file_entry)); + + str_title = pragha_tags_dialog_get_title (title, file); + pragha_header_set_title (dialog->header, str_title); + g_free (str_title); + + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(dialog->title_check_change), TRUE); + gtk_widget_show (GTK_WIDGET(dialog->title_check_change)); +} + +static void +pragha_title_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog) +{ + const gchar *title = NULL; + if (!gtk_toggle_button_get_active(toggle)) + { + title = pragha_musicobject_get_title (dialog->mobj); + gtk_entry_set_text (GTK_ENTRY(dialog->title_entry), title); + gtk_widget_hide (GTK_WIDGET(dialog->title_check_change)); + } +} + +static void +pragha_artist_entry_change (GtkEntry *entry, PraghaTagsDialog *dialog) +{ + gchar *str_subtitle = NULL; + const gchar *artist = NULL, *album = NULL; + + artist = gtk_entry_get_text (GTK_ENTRY(dialog->artist_entry)); + album = gtk_entry_get_text (GTK_ENTRY(dialog->album_entry)); + + str_subtitle = pragha_tags_dialog_get_subtitle (artist, album); + pragha_header_set_subtitle (dialog->header, str_subtitle); + g_free (str_subtitle); + + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(dialog->artist_check_change), TRUE); + gtk_widget_show (GTK_WIDGET(dialog->artist_check_change)); +} + +static void +pragha_artist_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog) +{ + const gchar *artist = NULL; + if (!gtk_toggle_button_get_active(toggle)) + { + artist = pragha_musicobject_get_artist (dialog->mobj); + gtk_entry_set_text (GTK_ENTRY(dialog->artist_entry), artist); + gtk_widget_hide (GTK_WIDGET(dialog->artist_check_change)); + } +} + +static void +pragha_album_entry_change (GtkEntry *entry, PraghaTagsDialog *dialog) +{ + gchar *str_subtitle = NULL; + const gchar *artist = NULL, *album = NULL; + + artist = gtk_entry_get_text (GTK_ENTRY(dialog->artist_entry)); + album = gtk_entry_get_text (GTK_ENTRY(dialog->album_entry)); + + str_subtitle = pragha_tags_dialog_get_subtitle (artist, album); + pragha_header_set_subtitle (dialog->header, str_subtitle); + g_free (str_subtitle); + + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(dialog->album_check_change), TRUE); + gtk_widget_show (GTK_WIDGET(dialog->album_check_change)); +} + +static void +pragha_album_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog) +{ + const gchar *album = NULL; + if (!gtk_toggle_button_get_active(toggle)) + { + album = pragha_musicobject_get_album (dialog->mobj); + gtk_entry_set_text (GTK_ENTRY(dialog->album_entry), album); + gtk_widget_hide (GTK_WIDGET(dialog->album_check_change)); + } +} + +static void +pragha_genre_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog) +{ + const gchar *genre = NULL; + if (!gtk_toggle_button_get_active(toggle)) + { + genre = pragha_musicobject_get_genre (dialog->mobj); + gtk_entry_set_text (GTK_ENTRY(dialog->genre_entry), genre); + gtk_widget_hide (GTK_WIDGET(dialog->genre_check_change)); + } +} + +static void +pragha_track_no_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog) +{ + if (!gtk_toggle_button_get_active(toggle)) + { + gtk_spin_button_set_value (GTK_SPIN_BUTTON(dialog->track_no_entry), + pragha_musicobject_get_track_no (dialog->mobj)); + gtk_widget_hide (GTK_WIDGET(dialog->track_no_check_change)); + } +} + +static void +pragha_year_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog) +{ + if (!gtk_toggle_button_get_active(toggle)) + { + gtk_spin_button_set_value (GTK_SPIN_BUTTON(dialog->year_entry), + pragha_musicobject_get_year (dialog->mobj)); + gtk_widget_hide (GTK_WIDGET(dialog->year_check_change)); + } +} + +static void +pragha_comment_check_toggled (GtkToggleButton *toggle, PraghaTagsDialog *dialog) +{ + GtkTextBuffer *buffer; + const gchar *comment = NULL; + if (!gtk_toggle_button_get_active(toggle)) + { + comment = pragha_musicobject_get_comment (dialog->mobj); + buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (dialog->comment_entry)); + gtk_text_buffer_set_text (buffer, comment, -1); + gtk_widget_hide (GTK_WIDGET(dialog->comment_check_change)); + } +} + +static void pragha_tag_entry_change (GtkEntry *entry, GtkCheckButton *check) { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check), TRUE); + gtk_widget_show (GTK_WIDGET(check)); } static void diff -Nru pragha-1.3.3/src/pragha-temp-provider.c pragha-1.3.992/src/pragha-temp-provider.c --- pragha-1.3.3/src/pragha-temp-provider.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-temp-provider.c 2019-02-26 16:09:02.000000000 +0000 @@ -0,0 +1,261 @@ +/*************************************************************************/ +/* Copyright (C) 2018 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#include "pragha-temp-provider.h" + +#include "pragha-utils.h" +#include "pragha-database.h" +#include "pragha-musicobject-mgmt.h" + +struct _PraghaTempProvider { + GObject _parent; + + PraghaDatabase *database; + + gchar *name; + + GHashTable *db_table; + GHashTable *nw_table; + GHashTable *up_table; + GHashTable *rm_table; +}; + +G_DEFINE_TYPE(PraghaTempProvider, pragha_temp_provider, G_TYPE_OBJECT) + +/* + * Helpers + */ +static void +pragha_temp_provider_add_track_db (gpointer key, + gpointer value, + gpointer user_data) +{ + PraghaMusicobject *mobj = value; + PraghaDatabase *database = user_data; + pragha_database_add_new_musicobject (database, mobj); +} + +static void +pragha_temp_provider_forget_track_db (gpointer key, + gpointer value, + gpointer user_data) +{ + const gchar *file = key; + PraghaDatabase *database = user_data; + + pragha_database_forget_track (database, file); +} + +/* + * Public api + */ +void +pragha_temp_provider_save_database (PraghaTempProvider *provider) +{ + /* Remove old. */ + g_hash_table_foreach (provider->rm_table, + pragha_temp_provider_forget_track_db, + provider->database); + + /* Add song with changes. */ + g_hash_table_foreach (provider->up_table, + pragha_temp_provider_add_track_db, + provider->database); + + /* Add new songs. */ + g_hash_table_foreach (provider->nw_table, + pragha_temp_provider_add_track_db, + provider->database); + + /* Songs without changes remain there.. */ +} + +void +pragha_temp_provider_insert_track (PraghaTempProvider *provider, + PraghaMusicobject *mobj) +{ + const gchar *file = pragha_musicobject_get_file(mobj); + + if (string_is_empty(file)) + return; + + g_hash_table_insert (provider->nw_table, g_strdup(file), mobj); +} + +void +pragha_temp_provider_delete_track (PraghaTempProvider *provider, + PraghaMusicobject *mobj) +{ + const gchar *file = pragha_musicobject_get_file(mobj); + + if (string_is_empty(file)) + return; + + if (g_hash_table_remove (provider->db_table, file)) + g_hash_table_insert (provider->rm_table, g_strdup(file), mobj); +} + +void +pragha_temp_provider_replace_track (PraghaTempProvider *provider, + PraghaMusicobject *mobj) +{ + const gchar *file = pragha_musicobject_get_file(mobj); + + if (string_is_empty(file)) + return; + + if (g_hash_table_remove (provider->db_table, file)) { + g_hash_table_insert (provider->nw_table, g_strdup(file), mobj); + } +} + +void +pragha_temp_provider_foreach_purge (PraghaTempProvider *provider, + ProviderCheckFunc *check_func, + gpointer user_data) +{ + GHashTableIter iter; + gpointer key, value; + + g_hash_table_iter_init (&iter, provider->db_table); + while (g_hash_table_iter_next (&iter, &key, &value)) + { + if (!(* check_func) (key, value, user_data)) + { + gchar *file = key; + PraghaMusicobject *mobj = PRAGHA_MUSICOBJECT(value); + g_hash_table_insert (provider->rm_table, g_strdup(file), g_object_ref(mobj)); + g_hash_table_iter_remove(&iter); + } + } +} + + +/* + * + */ +static void +pragha_temp_provider_fill_cache (PraghaTempProvider *provider) +{ + PraghaDatabase *database; + PraghaPreparedStatement *statement; + PraghaMusicobject *mobj = NULL; + gint location_id = 0; + + database = pragha_database_get(); + + const gchar *sql = "SELECT location FROM TRACK WHERE provider = ?"; + statement = pragha_database_create_statement (database, sql); + + pragha_prepared_statement_bind_int (statement, 1, + pragha_database_find_provider (database, provider->name)); + + while (pragha_prepared_statement_step (statement)) { + location_id = pragha_prepared_statement_get_int (statement, 0); + mobj = new_musicobject_from_db(database, location_id); + if (G_LIKELY(mobj)) { + g_hash_table_insert(provider->db_table, + g_strdup(pragha_musicobject_get_file(mobj)), + mobj); + } + pragha_prepared_statement_free (statement); + } + g_object_unref(database); +} + +static void +pragha_temp_provider_dispose (GObject *object) +{ + PraghaTempProvider *provider = PRAGHA_TEMP_PROVIDER(object); + + if (provider->database) { + g_object_unref (provider->database); + provider->database = NULL; + } + + if (provider->db_table) { + g_hash_table_destroy (provider->db_table); + provider->db_table = NULL; + } + + if (provider->rm_table) { + g_hash_table_destroy (provider->rm_table); + provider->rm_table = NULL; + } + + if (provider->nw_table) { + g_hash_table_destroy (provider->nw_table); + provider->nw_table = NULL; + } + + G_OBJECT_CLASS(pragha_temp_provider_parent_class)->finalize(object); +} + +static void +pragha_temp_provider_finalize (GObject *object) +{ + PraghaTempProvider *provider = PRAGHA_TEMP_PROVIDER(object); + + g_free (provider->name); + + G_OBJECT_CLASS(pragha_temp_provider_parent_class)->finalize(object); +} + +static void +pragha_temp_provider_class_init (PraghaTempProviderClass *klass) +{ + GObjectClass *object_class; + + object_class = G_OBJECT_CLASS(klass); + object_class->dispose = pragha_temp_provider_dispose; + object_class->finalize = pragha_temp_provider_finalize; +} + +static void +pragha_temp_provider_init (PraghaTempProvider *provider) +{ + provider->database = pragha_database_get(); + + provider->db_table = g_hash_table_new_full (g_str_hash, + g_str_equal, + g_free, + g_object_unref); + + provider->rm_table = g_hash_table_new_full (g_str_hash, + g_str_equal, + g_free, + g_object_unref); + + provider->nw_table = g_hash_table_new_full (g_str_hash, + g_str_equal, + g_free, + g_object_unref); +} + +PraghaTempProvider * +pragha_temp_provider_new (const gchar *name) +{ + PraghaTempProvider *provider = NULL; + + provider = g_object_new (PRAGHA_TYPE_TEMP_PROVIDER, NULL); + + provider->name = g_strdup (name); + + pragha_temp_provider_fill_cache (provider); + + return provider; +} diff -Nru pragha-1.3.3/src/pragha-temp-provider.h pragha-1.3.992/src/pragha-temp-provider.h --- pragha-1.3.3/src/pragha-temp-provider.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-temp-provider.h 2019-02-26 16:09:02.000000000 +0000 @@ -0,0 +1,69 @@ +/*************************************************************************/ +/* Copyright (C) 2018 matias */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see . */ +/*************************************************************************/ + +#ifndef PRAGHA_TEMP_PROVIDER_H +#define PRAGHA_TEMP_PROVIDER_H + +#include +#include + +#include "pragha-musicobject.h" + +G_BEGIN_DECLS + +#define PRAGHA_TYPE_TEMP_PROVIDER (pragha_temp_provider_get_type()) +#define PRAGHA_TEMP_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_TEMP_PROVIDER, PraghaTempProvider)) +#define PRAGHA_TEMP_PROVIDER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRAGHA_TYPE_TEMP_PROVIDER, PraghaTempProvider const)) +#define PRAGHA_TEMP_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PRAGHA_TYPE_TEMP_PROVIDER, PraghaTempProviderClass)) +#define PRAGHA_IS_TEMP_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PRAGHA_TYPE_TEMP_PROVIDER)) +#define PRAGHA_IS_TEMP_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PRAGHA_TYPE_TEMP_PROVIDER)) +#define PRAGHA_TEMP_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PRAGHA_TYPE_TEMP_PROVIDER, PraghaTempProviderClass)) + +typedef struct _PraghaTempProvider PraghaTempProvider; +typedef struct _PraghaTempProviderClass PraghaTempProviderClass; + +struct _PraghaTempProviderClass +{ + GObjectClass parent_class; +}; + + +typedef gboolean (ProviderCheckFunc) (gpointer key, gpointer value, gpointer user_data); + + +void +pragha_temp_provider_insert_track (PraghaTempProvider *provider, + PraghaMusicobject *mobj); + +void +pragha_temp_provider_delete_track (PraghaTempProvider *provider, + PraghaMusicobject *mobj); + +void +pragha_temp_provider_replace_track (PraghaTempProvider *provider, + PraghaMusicobject *mobj); + +void +pragha_temp_provider_foreach_purge (PraghaTempProvider *provider, + ProviderCheckFunc *check_func, + gpointer user_data); + +PraghaTempProvider *pragha_temp_provider_new (const gchar *name); + +G_END_DECLS + +#endif /* PRAGHA_TEMP_PROVIDER_H */ diff -Nru pragha-1.3.3/src/pragha-toolbar.c pragha-1.3.992/src/pragha-toolbar.c --- pragha-1.3.3/src/pragha-toolbar.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-toolbar.c 2019-08-13 11:42:44.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2014 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -30,21 +30,17 @@ #include +#include "pragha-background-task-bar.h" #include "pragha-simple-widgets.h" +#include "pragha-hig.h" #include "pragha-utils.h" -static void pragha_toolbar_finalize (GObject *object); - static void pragha_toolbar_set_remaning_mode (PraghaToolbar *toolbar, gboolean remaning_mode); gboolean pragha_toolbar_get_remaning_mode (PraghaToolbar *toolbar); - struct _PraghaToolbar { -#if GTK_CHECK_VERSION (3, 12, 0) GtkHeaderBar __parent__; -#else - GtkToolbar __parent__; -#endif + PraghaAlbumArt *albumart; GtkWidget *track_progress_bar; @@ -54,8 +50,12 @@ PraghaToolbarButton *stop_button; PraghaToolbarButton *next_button; PraghaToolbarButton *unfull_button; + + GtkWidget *progress_button; GtkWidget *vol_button; + GtkWidget *extra_button_box; + GtkWidget *favorites_button; GtkWidget *track_length_label; GtkWidget *track_time_label; @@ -83,6 +83,7 @@ ALBUM_ART_ACTIVATED, TRACK_INFO_ACTIVATED, TRACK_PROGRESS_ACTIVATED, + TRACK_FAVORITE_TOGGLE, UNFULL_ACTIVATED, TRACK_TIME_ACTIVATED, LAST_SIGNAL @@ -90,11 +91,7 @@ static int signals[LAST_SIGNAL] = { 0 }; -#if GTK_CHECK_VERSION (3, 12, 0) G_DEFINE_TYPE(PraghaToolbar, pragha_toolbar, GTK_TYPE_HEADER_BAR) -#else -G_DEFINE_TYPE(PraghaToolbar, pragha_toolbar, GTK_TYPE_TOOLBAR) -#endif void pragha_toolbar_update_progress (PraghaToolbar *toolbar, gint length, gint progress) @@ -176,6 +173,7 @@ gtk_label_set_markup(GTK_LABEL(toolbar->track_time_label), "00:00"); gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(toolbar->track_progress_bar), 0); + pragha_toolbar_set_favorite_icon (toolbar, FALSE); pragha_album_art_set_path(toolbar->albumart, NULL); } @@ -195,6 +193,35 @@ pragha_album_art_set_path (toolbar->albumart, uri); } +void +pragha_toolbar_set_favorite_icon (PraghaToolbar *toolbar, gboolean love) +{ + GtkWidget *image; + GIcon *icon = NULL; + + const gchar *love_icons[] = { + "favorite", + "starred", + "starred-symbolic", + NULL, + }; + const gchar *unlove_icons[] = { + "not-favorite", + "not-starred", + "non-starred", + "not-starred-symbolic", + "non-starred-symbolic", + NULL, + }; + + gtk_widget_set_tooltip_text (GTK_WIDGET(toolbar->favorites_button), + love ? _("Remove from Favorites") : _("Add to Favorites")); + icon = g_themed_icon_new_from_names (love ? (gchar **)love_icons : (gchar **)unlove_icons, -1); + image = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_MENU); + gtk_image_set_pixel_size (GTK_IMAGE(image), 12); + gtk_button_set_image (GTK_BUTTON (toolbar->favorites_button), image); +} + /* Grab focus on current playlist when press Up or Down and move between controls with Left or Right */ /*static gboolean @@ -260,10 +287,8 @@ PraghaToolbar *toolbar) { if (event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS) -#if GTK_CHECK_VERSION (3, 12, 0) if (!gtk_header_bar_get_show_close_button(GTK_HEADER_BAR(toolbar))) -#endif - g_signal_emit (toolbar, signals[ALBUM_ART_ACTIVATED], 0); + g_signal_emit (toolbar, signals[ALBUM_ART_ACTIVATED], 0); return FALSE; } @@ -274,10 +299,8 @@ PraghaToolbar *toolbar) { if (event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS) -#if GTK_CHECK_VERSION (3, 12, 0) if (!gtk_header_bar_get_show_close_button(GTK_HEADER_BAR(toolbar))) -#endif - g_signal_emit (toolbar, signals[TRACK_INFO_ACTIVATED], 0); + g_signal_emit (toolbar, signals[TRACK_INFO_ACTIVATED], 0); return FALSE; } @@ -380,7 +403,6 @@ * Public api. */ -#if GTK_CHECK_VERSION (3, 12, 0) void pragha_toolbar_set_style (PraghaToolbar *toolbar, gboolean system_titlebar) { @@ -400,7 +422,6 @@ gtk_header_bar_set_show_close_button(GTK_HEADER_BAR(toolbar), !system_titlebar); } -#endif void pragha_toolbar_add_extention_widget(PraghaToolbar *toolbar, GtkWidget *widget) @@ -421,19 +442,15 @@ void pragha_toolbar_add_extra_button (PraghaToolbar *toolbar, GtkWidget *widget) { - GList *list; - GtkWidget *children; - - list = gtk_container_get_children (GTK_CONTAINER(toolbar->extra_button_box)); - if(list) { - children = list->data; - gtk_container_remove(GTK_CONTAINER(toolbar->extra_button_box), children); - gtk_widget_destroy(GTK_WIDGET(children)); - g_list_free(list); - } gtk_container_add(GTK_CONTAINER(toolbar->extra_button_box), widget); } +void +pragha_toolbar_remove_extra_button (PraghaToolbar *toolbar, GtkWidget *widget) +{ + gtk_container_remove(GTK_CONTAINER(toolbar->extra_button_box), widget); +} + const gchar* pragha_toolbar_get_progress_text(PraghaToolbar *toolbar) @@ -457,15 +474,23 @@ * Pragha toolbar creation and destruction. */ +static void +pragha_toolbar_favorites_clicked (GtkButton *button, PraghaToolbar *toolbar) +{ + g_signal_emit (toolbar, signals[TRACK_FAVORITE_TOGGLE], 0); +} + GtkWidget * pragha_toolbar_get_song_box (PraghaToolbar *toolbar) { PraghaPreferences *preferences; PraghaAlbumArt *albumart; +#if !GTK_CHECK_VERSION (3, 22, 0) PraghaContainer *box; - GtkWidget *hbox, *vbox_aling, *vbox, *top_hbox, *botton_hbox; - GtkWidget *album_art_frame,*title, *title_event_box, *extention_box; - GtkWidget *progress_bar, *progress_bar_event_box, *time_label, *time_align, *length_label, *length_align, *length_event_box; +#endif + GtkWidget *hbox, *vbox, *top_hbox, *botton_hbox; + GtkWidget *album_art_frame,*title, *title_event_box, *favorites_button, *extention_box; + GtkWidget *progress_bar, *progress_bar_event_box, *time_label, *length_label, *length_event_box; const GBindingFlags binding_flags = G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL; @@ -474,14 +499,15 @@ /* * Main box that allow expand. + * Main box: [Album][Song info] */ - box = pragha_container_new (); - - /* - * Main box: [Album][Song info] - */ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); +#if GTK_CHECK_VERSION (3, 22, 0) + gtk_widget_set_hexpand (GTK_WIDGET(hbox), TRUE); +#else + box = pragha_container_new (); gtk_box_pack_start (GTK_BOX(box), hbox, TRUE, TRUE, 0); +#endif album_art_frame = gtk_event_box_new (); gtk_event_box_set_visible_window(GTK_EVENT_BOX(album_art_frame), FALSE); @@ -500,10 +526,10 @@ /* * Song info vbox */ - vbox_aling = gtk_alignment_new(0.5, 0.5, 1, 0); - vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 2); - gtk_container_add(GTK_CONTAINER(vbox_aling), GTK_WIDGET(vbox)); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); + gtk_widget_set_halign (GTK_WIDGET(vbox), GTK_ALIGN_FILL); + gtk_widget_set_valign (GTK_WIDGET(vbox), GTK_ALIGN_CENTER); /* * Top box: [Title][extentions] @@ -522,10 +548,19 @@ title = gtk_label_new(NULL); gtk_label_set_ellipsize (GTK_LABEL(title), PANGO_ELLIPSIZE_END); gtk_label_set_markup(GTK_LABEL(title),_("Not playing")); - gtk_misc_set_alignment(GTK_MISC(title), 0, 0.5); + gtk_widget_set_halign (GTK_WIDGET(title), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(title), GTK_ALIGN_CENTER); gtk_container_add (GTK_CONTAINER(title_event_box), title); + /* Favorites button */ + + favorites_button = gtk_button_new (); + gtk_button_set_relief(GTK_BUTTON(favorites_button), GTK_RELIEF_NONE); + pragha_hig_set_tiny_button (favorites_button); + g_signal_connect (G_OBJECT(favorites_button), "clicked", + G_CALLBACK(pragha_toolbar_favorites_clicked), toolbar); + /* The extentions box. */ extention_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); @@ -536,6 +571,9 @@ GTK_WIDGET(title_event_box), TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX(top_hbox), + GTK_WIDGET(favorites_button), + FALSE, FALSE, 0); + gtk_box_pack_start (GTK_BOX(top_hbox), GTK_WIDGET(extention_box), FALSE, FALSE, 0); @@ -547,13 +585,9 @@ /* Time progress widget. */ - time_align = gtk_alignment_new(1, 0.5, 0, 0); - time_label = gtk_label_new(NULL); gtk_label_set_markup(GTK_LABEL(time_label),"00:00"); - gtk_container_add(GTK_CONTAINER(time_align), time_label); - /* Progress bar widget. */ progress_bar_event_box = gtk_event_box_new(); @@ -562,12 +596,8 @@ g_signal_connect (G_OBJECT(progress_bar_event_box), "button-press-event", G_CALLBACK(pragha_toolbar_progress_bar_event_seek), toolbar); -#if GTK_CHECK_VERSION (3, 14, 0) progress_bar = gtk_progress_bar_new (); gtk_widget_set_valign (GTK_WIDGET(progress_bar), GTK_ALIGN_CENTER); -#else - progress_bar = GTK_WIDGET(pragha_track_progress_new ()); -#endif gtk_container_add (GTK_CONTAINER(progress_bar_event_box), GTK_WIDGET(progress_bar)); @@ -579,18 +609,15 @@ g_signal_connect (G_OBJECT(length_event_box), "button-press-event", G_CALLBACK(pragha_toolbar_timer_label_event_change_mode), toolbar); - length_align = gtk_alignment_new(0, 0.5, 0, 0); - gtk_container_add(GTK_CONTAINER(length_event_box), length_align); - length_label = gtk_label_new(NULL); gtk_label_set_markup(GTK_LABEL(length_label),"--:--"); - gtk_container_add(GTK_CONTAINER(length_align), length_label); + gtk_container_add(GTK_CONTAINER(length_event_box), length_label); /* Pack widgets. */ gtk_box_pack_start (GTK_BOX(botton_hbox), - GTK_WIDGET(time_align), + GTK_WIDGET(time_label), FALSE, FALSE, 3); gtk_box_pack_start (GTK_BOX(botton_hbox), GTK_WIDGET(progress_bar_event_box), @@ -605,36 +632,26 @@ toolbar->now_playing_label = title; toolbar->track_time_label = time_label; toolbar->track_length_label = length_label; + toolbar->favorites_button = favorites_button; toolbar->extention_box = extention_box; - gtk_box_pack_start(GTK_BOX(hbox), vbox_aling, TRUE, TRUE, 2); + pragha_toolbar_set_favorite_icon (toolbar, FALSE); + + gtk_box_pack_start(GTK_BOX(hbox), vbox, TRUE, TRUE, 2); - gtk_widget_show_all(GTK_WIDGET(vbox_aling)); + gtk_widget_show_all(GTK_WIDGET(vbox)); gtk_widget_show(GTK_WIDGET(album_art_frame)); gtk_widget_show(GTK_WIDGET(hbox)); - gtk_widget_show(GTK_WIDGET(box)); g_object_unref(preferences); +#if GTK_CHECK_VERSION (3, 22, 0) + return GTK_WIDGET(hbox); +#else + gtk_widget_show(GTK_WIDGET(box)); return GTK_WIDGET(box); -} - -#if !GTK_CHECK_VERSION (3, 12, 0) -static void -gtk_tool_insert_generic_item(GtkToolbar *toolbar, GtkWidget *item) -{ - GtkWidget *align_box; - GtkToolItem *boxitem; - - boxitem = gtk_tool_item_new (); - - align_box = gtk_alignment_new(0, 0.5, 0, 0); - gtk_container_add(GTK_CONTAINER(align_box), item); - - gtk_container_add (GTK_CONTAINER(boxitem), align_box); - gtk_toolbar_insert (GTK_TOOLBAR(toolbar), GTK_TOOL_ITEM(boxitem), -1); -} #endif +} static void vol_button_value_changed (GtkVolumeButton *button, gdouble value, PraghaToolbar *toolbar) @@ -707,6 +724,18 @@ } static void +pragha_toolbar_finalize (GObject *object) +{ + (*G_OBJECT_CLASS (pragha_toolbar_parent_class)->finalize) (object); +} + +static void +pragha_toolbar_dispose (GObject *object) +{ + (*G_OBJECT_CLASS (pragha_toolbar_parent_class)->dispose) (object); +} + +static void pragha_toolbar_class_init (PraghaToolbarClass *klass) { GObjectClass *gobject_class; @@ -715,6 +744,7 @@ gobject_class->set_property = pragha_toolbar_set_property; gobject_class->get_property = pragha_toolbar_get_property; gobject_class->finalize = pragha_toolbar_finalize; + gobject_class->dispose = pragha_toolbar_dispose; /* * Properties: @@ -731,62 +761,78 @@ /* * Signals: */ - signals[PREV_ACTIVATED] = g_signal_new ("prev", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaToolbarClass, prev), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); - signals[PLAY_ACTIVATED] = g_signal_new ("play", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaToolbarClass, play), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); - signals[STOP_ACTIVATED] = g_signal_new ("stop", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaToolbarClass, stop), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); - signals[NEXT_ACTIVATED] = g_signal_new ("next", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaToolbarClass, next), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); - signals[ALBUM_ART_ACTIVATED] = g_signal_new ("album-art-activated", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaToolbarClass, album_art_activated), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); - signals[TRACK_INFO_ACTIVATED] = g_signal_new ("track-info-activated", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaToolbarClass, track_info_activated), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); - signals[TRACK_PROGRESS_ACTIVATED] = g_signal_new ("track-progress-activated", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaToolbarClass, track_progress_activated), - NULL, NULL, - g_cclosure_marshal_VOID__DOUBLE, - G_TYPE_NONE, 1, G_TYPE_DOUBLE); - signals[UNFULL_ACTIVATED] = g_signal_new ("unfull-activated", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (PraghaToolbarClass, unfull), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); + signals[PREV_ACTIVATED] = + g_signal_new ("prev", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaToolbarClass, prev), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + signals[PLAY_ACTIVATED] = + g_signal_new ("play", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaToolbarClass, play), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + signals[STOP_ACTIVATED] = + g_signal_new ("stop", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaToolbarClass, stop), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + signals[NEXT_ACTIVATED] = + g_signal_new ("next", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaToolbarClass, next), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + signals[ALBUM_ART_ACTIVATED] = + g_signal_new ("album-art-activated", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaToolbarClass, album_art_activated), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + signals[TRACK_INFO_ACTIVATED] = + g_signal_new ("track-info-activated", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaToolbarClass, track_info_activated), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + signals[TRACK_PROGRESS_ACTIVATED] = + g_signal_new ("track-progress-activated", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaToolbarClass, track_progress_activated), + NULL, NULL, + g_cclosure_marshal_VOID__DOUBLE, + G_TYPE_NONE, 1, G_TYPE_DOUBLE); + signals[TRACK_FAVORITE_TOGGLE] = + g_signal_new ("favorite-toggle", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaToolbarClass, favorite_toggle), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + signals[UNFULL_ACTIVATED] = + g_signal_new ("unfull-activated", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (PraghaToolbarClass, unfull), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); } static void @@ -796,7 +842,7 @@ PraghaToolbarButton *prev_button, *play_button, *stop_button, *next_button; PraghaToolbarButton *unfull_button; PraghaToggleButton *shuffle_button, *repeat_button; - GtkWidget *vol_button; + GtkWidget *vol_button, *progress_button; const GBindingFlags binding_flags = G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL; @@ -821,31 +867,10 @@ gtk_widget_set_tooltip_text(GTK_WIDGET(next_button), _("Next Track")); toolbar->next_button = next_button; -#if GTK_CHECK_VERSION (3, 12, 0) gtk_header_bar_pack_start(GTK_HEADER_BAR(toolbar), GTK_WIDGET(prev_button)); gtk_header_bar_pack_start(GTK_HEADER_BAR(toolbar), GTK_WIDGET(play_button)); gtk_header_bar_pack_start(GTK_HEADER_BAR(toolbar), GTK_WIDGET(stop_button)); gtk_header_bar_pack_start(GTK_HEADER_BAR(toolbar), GTK_WIDGET(next_button)); -#else - gtk_tool_insert_generic_item(GTK_TOOLBAR(toolbar), GTK_WIDGET(prev_button)); - gtk_tool_insert_generic_item(GTK_TOOLBAR(toolbar), GTK_WIDGET(play_button)); - gtk_tool_insert_generic_item(GTK_TOOLBAR(toolbar), GTK_WIDGET(stop_button)); - gtk_tool_insert_generic_item(GTK_TOOLBAR(toolbar), GTK_WIDGET(next_button)); -#endif - - /* Song info Box */ - -#if !GTK_CHECK_VERSION (3, 12, 0) - GtkToolItem *boxitem = gtk_tool_item_new (); - gtk_tool_item_set_expand (GTK_TOOL_ITEM(boxitem), TRUE); - gtk_toolbar_insert (GTK_TOOLBAR(toolbar), GTK_TOOL_ITEM(boxitem), -1); - - GtkWidget *box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); - gtk_container_add (GTK_CONTAINER(boxitem), box); - - GtkWidget *playing = pragha_toolbar_get_song_box (toolbar); - gtk_box_pack_start (GTK_BOX(box), playing, TRUE, TRUE, 5); -#endif /* Setup Right control buttons */ @@ -853,6 +878,9 @@ gtk_widget_set_tooltip_text(GTK_WIDGET(unfull_button), _("Leave Fullscreen")); toolbar->unfull_button = unfull_button; + progress_button = GTK_WIDGET(pragha_background_task_bar_get ()); + toolbar->progress_button = progress_button; + shuffle_button = pragha_toggle_button_new ("media-playlist-shuffle"); gtk_widget_set_tooltip_text(GTK_WIDGET(shuffle_button), _("Play songs in a random order")); @@ -863,23 +891,18 @@ g_object_set(vol_button, "use-symbolic", FALSE, NULL); gtk_button_set_relief(GTK_BUTTON(vol_button), GTK_RELIEF_NONE); g_object_set(G_OBJECT(vol_button), "size", GTK_ICON_SIZE_LARGE_TOOLBAR, NULL); + gtk_widget_set_valign (GTK_WIDGET(vol_button), GTK_ALIGN_CENTER); toolbar->vol_button = vol_button; - toolbar->extra_button_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + toolbar->extra_button_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); + gtk_widget_set_valign (GTK_WIDGET(toolbar->extra_button_box), GTK_ALIGN_CENTER); -#if GTK_CHECK_VERSION (3, 12, 0) gtk_header_bar_pack_end(GTK_HEADER_BAR(toolbar), GTK_WIDGET(toolbar->extra_button_box)); gtk_header_bar_pack_end(GTK_HEADER_BAR(toolbar), GTK_WIDGET(vol_button)); gtk_header_bar_pack_end(GTK_HEADER_BAR(toolbar), GTK_WIDGET(repeat_button)); gtk_header_bar_pack_end(GTK_HEADER_BAR(toolbar), GTK_WIDGET(shuffle_button)); gtk_header_bar_pack_end(GTK_HEADER_BAR(toolbar), GTK_WIDGET(unfull_button)); -#else - gtk_tool_insert_generic_item(GTK_TOOLBAR(toolbar), GTK_WIDGET(unfull_button)); - gtk_tool_insert_generic_item(GTK_TOOLBAR(toolbar), GTK_WIDGET(shuffle_button)); - gtk_tool_insert_generic_item(GTK_TOOLBAR(toolbar), GTK_WIDGET(repeat_button)); - gtk_tool_insert_generic_item(GTK_TOOLBAR(toolbar), GTK_WIDGET(vol_button)); - gtk_tool_insert_generic_item(GTK_TOOLBAR(toolbar), GTK_WIDGET(toolbar->extra_button_box)); -#endif + gtk_header_bar_pack_end(GTK_HEADER_BAR(toolbar), GTK_WIDGET(progress_button)); /* Connect signals */ @@ -920,10 +943,9 @@ g_object_bind_property(preferences, "repeat", repeat_button, "active", binding_flags); /* Fix styling */ -#if GTK_CHECK_VERSION (3, 12, 0) + pragha_toolbar_set_style(toolbar, pragha_preferences_get_system_titlebar (preferences)); -#endif g_object_bind_property(preferences, "toolbar-size", prev_button, "icon-size", binding_flags); g_object_bind_property(preferences, "toolbar-size", play_button, "icon-size", binding_flags); @@ -944,18 +966,13 @@ gtk_widget_show(GTK_WIDGET(toolbar->extra_button_box)); gtk_widget_hide(GTK_WIDGET(toolbar->unfull_button)); + gtk_widget_hide(GTK_WIDGET(toolbar->progress_button)); gtk_widget_show(GTK_WIDGET(toolbar)); g_object_unref(preferences); } -static void -pragha_toolbar_finalize (GObject *object) -{ - (*G_OBJECT_CLASS (pragha_toolbar_parent_class)->finalize) (object); -} - PraghaToolbar * pragha_toolbar_new (void) { diff -Nru pragha-1.3.3/src/pragha-toolbar.h pragha-1.3.992/src/pragha-toolbar.h --- pragha-1.3.3/src/pragha-toolbar.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-toolbar.h 2019-08-13 11:42:44.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -35,11 +35,8 @@ typedef struct _PraghaToolbar PraghaToolbar; typedef struct { -#if GTK_CHECK_VERSION (3, 12, 0) GtkHeaderBarClass __parent__; -#else - GtkToolbarClass __parent__; -#endif + void (*prev) (PraghaToolbar *toolbar); void (*play) (PraghaToolbar *toolbar); void (*stop) (PraghaToolbar *toolbar); @@ -47,11 +44,13 @@ void (*album_art_activated) (PraghaToolbar *toolbar); void (*track_info_activated) (PraghaToolbar *toolbar); void (*track_progress_activated) (PraghaToolbar *toolbar, gdouble fraction); + void (*favorite_toggle) (PraghaToolbar *toolbar); void (*unfull) (PraghaToolbar *toolbar); } PraghaToolbarClass; void pragha_toolbar_set_title (PraghaToolbar *toolbar, PraghaMusicobject *mobj); void pragha_toolbar_set_image_album_art (PraghaToolbar *toolbar, const gchar *uri); +void pragha_toolbar_set_favorite_icon (PraghaToolbar *toolbar, gboolean love); void pragha_toolbar_update_progress (PraghaToolbar *toolbar, gint length, gint progress); void pragha_toolbar_update_buffering_cb (PraghaBackend *backend, gint percent, gpointer user_data); @@ -61,11 +60,11 @@ gboolean pragha_toolbar_window_state_event (GtkWidget *widget, GdkEventWindowState *event, PraghaToolbar *toolbar); -#if GTK_CHECK_VERSION (3, 12, 0) void pragha_toolbar_set_style (PraghaToolbar *toolbar, gboolean gnome_style); -#endif void pragha_toolbar_add_extention_widget (PraghaToolbar *toolbar, GtkWidget *widget); + void pragha_toolbar_add_extra_button (PraghaToolbar *toolbar, GtkWidget *widget); +void pragha_toolbar_remove_extra_button (PraghaToolbar *toolbar, GtkWidget *widget); const gchar *pragha_toolbar_get_progress_text (PraghaToolbar *toolbar); const gchar *pragha_toolbar_get_length_text (PraghaToolbar *toolbar); diff -Nru pragha-1.3.3/src/pragha-utils.c pragha-1.3.992/src/pragha-utils.c --- pragha-1.3.3/src/pragha-utils.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-utils.c 2019-07-27 00:57:27.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -36,6 +36,244 @@ #endif +/* + * Charset taked from next link as UTF-8 using 'encoding of each cp1252 character' + * colum as dec. + * http://www.acc.umu.se/~saasha/charsets/ + */ +const gchar * +html_utf75_to_unicode_table[][2] = +{ + /* Common html*/ + {"&", "&"}, + {"<", "<"}, + {">", ">"}, + {""", "\""}, + {"'", "'"}, + {"–", "-"}, + /* Common letters */ + {"À", "À"}, + {"Á", "Á"}, + {"Â", "Â"}, + {"Ã", "Ã"}, + {"Ä", "Ä"}, + {"Ã…", "Å"}, + {"Æ", "Æ"}, + {"Ç", "Ç"}, + {"È", "È"}, + {"É", "É"}, + {"Ê", "Ê"}, + {"Ë", "Ë"}, + {"ÃŒ", "Ì"}, + {"Í", "Í"}, + {"ÃŽ", "Î"}, + {"Ï", "Ï"}, + {"Ð", "Ð"}, + {"Ñ", "Ñ"}, + {"Ã’", "Ò"}, + {"Ó", "Ó"}, + {"Ô", "Ô"}, + {"Õ", "Õ"}, + {"Ö", "Ö"}, + {"×", "×"}, + {"Ø", "Ø"}, + {"Ù", "Ù"}, + {"Ú", "Ú"}, + {"Û", "Û"}, + {"Ãœ", "Ü"}, + {"Ý", "Ý"}, + {"Þ", "Þ"}, + {"ß", "ß"}, + {"à", "à"}, + {"á", "á"}, + {"â", "â"}, + {"ã", "ã"}, + {"ä", "ä"}, + {"Ã¥", "å"}, + {"æ", "æ"}, + {"ç", "ç"}, + {"è", "è"}, + {"é", "é"}, + {"ê", "ê"}, + {"ë", "ë"}, + {"ì", "ì"}, + {"í", "í"}, + {"î", "î"}, + {"ï", "ï"}, + {"ð", "ð"}, + {"ñ", "ñ"}, + {"ò", "ò"}, + {"ó", "ó"}, + {"ô", "ô"}, + {"õ", "õ"}, + {"ö", "ö"}, + {"÷", "÷"}, + {"ø", "ø"}, + {"ù", "ù"}, + {"ú", "ú"}, + {"û", "û"}, + {"ü", "ü"}, + {"ý", "ý"}, + {"þ", "þ"}, + {"ÿ", "ÿ"}, + /* Others signs. */ + {"€", "€"}, + {"‚", "‚"}, + {"Æ’", "ƒ"}, + {"„", "„"}, + {"…", "…"}, + {"†", "†"}, + {"‡", "‡"}, + {"ˆ", "ˆ"}, + {"‰", "‰"}, + {"Å ", "Š"}, + {"‹", "‹"}, + {"Å’", "Œ"}, + {"Ž", "Ž"}, + {"‘", "‘"}, + {"’", "’"}, + {"“", "“"}, + {"”", "”"}, + {"•", "•"}, + {"–", "–"}, + {"—", "—"}, + {"Ëœ", "˜"}, + {"â„¢", "™"}, + {"Å¡", "š"}, + {"›", "›"}, + {"Å“", "œ"}, + {"ž", "ž"}, + {"Ÿ", "Ÿ"}, + {"¡", "¡"}, + {"¢", "¢"}, + {"£", "£"}, + {"¤", "¤"}, + {"Â¥", "¥"}, + {"¦", "¦"}, + {"§", "§"}, + {"¨", "¨"}, + {"©", "©"}, + {"ª", "ª"}, + {"«", "«"}, + {"¬", "¬"}, + {"®", "®"}, + {"¯", "¯"}, + {"°", "°"}, + {"±", "±"}, + {"²", "²"}, + {"³", "³"}, + {"´", "´"}, + {"µ", "µ"}, + {"¶", "¶"}, + {"·", "·"}, + {"¸", "¸"}, + {"¹", "¹"}, + {"º", "º"}, + {"»", "»"}, + {"¼", "¼"}, + {"½", "½"}, + {"¾", "¾"}, + {"¿", "¿"}, + { NULL, NULL } +}; + +gchar * +pragha_unescape_html_utf75 (const gchar *str) +{ + static GRegex *regex; + gchar *s_unicode = NULL, *temp = NULL; + gsize iter = 0; + + if (!str) + return NULL; + + s_unicode = g_strdup (str); + + while (html_utf75_to_unicode_table[iter][0] != NULL) + { + if (g_strrstr (s_unicode, html_utf75_to_unicode_table[iter][0])) + { + regex = g_regex_new (html_utf75_to_unicode_table[iter][0], 0, 0, NULL); + temp = g_regex_replace_literal (regex, s_unicode, -1, 0, + html_utf75_to_unicode_table[iter][1], + 0, NULL); + g_regex_unref (regex); + g_free (s_unicode); + s_unicode = temp; + } + iter++; + } + + return s_unicode; +} + +static gchar * +pragha_string_strip_utf8 (const gchar *string) +{ + GString *gstring; + gchar *normalized; + gunichar *unicode, *cur; + + g_return_val_if_fail (string != NULL, NULL); + + /* old behaviour is equivalent to: return g_utf8_casefold (string, -1); */ + + gstring = g_string_new (NULL); + normalized = g_utf8_normalize(string, -1, G_NORMALIZE_DEFAULT); + unicode = g_utf8_to_ucs4_fast (normalized, -1, NULL); + + + for (cur = unicode; *cur != 0; cur++) { + switch (g_unichar_type (*cur)) { + case G_UNICODE_COMBINING_MARK: + case G_UNICODE_ENCLOSING_MARK: + case G_UNICODE_NON_SPACING_MARK: + case G_UNICODE_CONNECT_PUNCTUATION: + case G_UNICODE_DASH_PUNCTUATION: + case G_UNICODE_CLOSE_PUNCTUATION: + case G_UNICODE_FINAL_PUNCTUATION: + case G_UNICODE_INITIAL_PUNCTUATION: + case G_UNICODE_OTHER_PUNCTUATION: + case G_UNICODE_OPEN_PUNCTUATION: + /* remove these */ + break; + + case G_UNICODE_LOWERCASE_LETTER: + case G_UNICODE_MODIFIER_LETTER: + case G_UNICODE_OTHER_LETTER: + case G_UNICODE_TITLECASE_LETTER: + case G_UNICODE_UPPERCASE_LETTER: + /* convert to lower case */ + *cur = g_unichar_tolower (*cur); + /* ... and fall through */\ + case G_UNICODE_DECIMAL_NUMBER: + case G_UNICODE_LETTER_NUMBER: + case G_UNICODE_OTHER_NUMBER: + /* should be keep symbols? */ + case G_UNICODE_CURRENCY_SYMBOL: + case G_UNICODE_MODIFIER_SYMBOL: + case G_UNICODE_MATH_SYMBOL: + case G_UNICODE_OTHER_SYMBOL: + g_string_append_unichar (gstring, *cur); + break; + + case G_UNICODE_UNASSIGNED: + g_critical ("unassigned unicode character type found"); + /* fall through */ + + default: + /* leave these in */ + g_string_append_unichar (gstring, *cur); + } + } + + g_free (unicode); + g_free (normalized); + + return g_string_free (gstring, FALSE); +} + + /** @brief duplicate utf8 string, truncated after @a num characters if the string is longer than that @param str the string to be duplicated @@ -168,11 +406,23 @@ gchar * pragha_strstr_lv(gchar *haystack, gchar *needle, PraghaPreferences *preferences) { - gboolean aproximate_search; + gboolean aproximate_search = FALSE; + gchar *ret = NULL, *st_haystack = NULL, *st_needle = NULL; + aproximate_search = pragha_preferences_get_approximate_search(preferences); + if (aproximate_search) + { + st_haystack = pragha_string_strip_utf8 (haystack); + st_needle = pragha_string_strip_utf8 (needle); + ret = g_strstr_lv(st_haystack, st_needle, 1); + g_free (st_haystack); + g_free (st_needle); + } + else { + ret = g_strstr_lv(haystack, needle, 0); + } - return g_strstr_lv(haystack, needle, - aproximate_search ? 1 : 0); + return ret; } /* Set and remove the watch cursor to suggest background work.*/ @@ -189,6 +439,10 @@ gdk_window_set_cursor (gtk_widget_get_window (toplevel), cursor); g_object_unref (cursor); + + gdk_flush(); + + pragha_process_gtk_events (); } } @@ -233,14 +487,14 @@ str = g_new0(char, 128); memset(tmp, '\0', 24); - if (length > 86400) { + if (length >= 86400) { days = length/86400; length = length%86400; g_sprintf(tmp, "%d %s, ", days, ngettext("day", "days", days)); g_strlcat(str, tmp, 24); } - if (length > 3600) { + if (length >= 3600) { hours = length/3600; length = length%3600; memset(tmp, '\0', 24); @@ -248,7 +502,7 @@ g_strlcat(str, tmp, 24); } - if (length > 60) { + if (length >= 60) { minutes = length/60; length = length%60; memset(tmp, '\0', 24); @@ -256,7 +510,7 @@ g_strlcat(str, tmp, 24); } else - g_strlcat(str, "00:", 4); + g_strlcat(str, "00:", 24); seconds = length; memset(tmp, '\0', 24); @@ -268,6 +522,62 @@ /* Check if str is present in list ( containing gchar* elements in 'data' ) */ +gboolean +pragha_string_list_is_present (GSList *list, const gchar *str) +{ + GSList *i; + gchar *lstr; + gboolean ret = FALSE; + + if (!str || !list) + return FALSE; + + for (i = list; i != NULL; i = i->next) { + lstr = i->data; + if (!g_ascii_strcasecmp(str, lstr)) { + ret = TRUE; + break; + } + } + return ret; +} + +gboolean +pragha_string_list_is_not_present (GSList *list, const gchar *str) +{ + return !pragha_string_list_is_present (list, str); +} + +GSList * +pragha_string_list_get_added (GSList *list, GSList *new_list) +{ + GSList *i, *ret_list = NULL; + gchar *lstr; + + for (i = new_list; i != NULL; i = i->next) { + lstr = i->data; + if (pragha_string_list_is_not_present(list, lstr)) { + ret_list = g_slist_append(ret_list, g_strdup(lstr)); + } + } + return ret_list; +} + +GSList * +pragha_string_list_get_removed (GSList *list, GSList *new_list) +{ + GSList *i, *ret_list = NULL; + gchar *lstr; + + for (i = list; i != NULL; i = i->next) { + lstr = i->data; + if (pragha_string_list_is_not_present(new_list, lstr)) { + ret_list = g_slist_append(ret_list, g_strdup(lstr)); + } + } + return ret_list; +} + gboolean is_present_str_list(const gchar *str, GSList *list) { GSList *i; diff -Nru pragha-1.3.3/src/pragha-utils.h pragha-1.3.992/src/pragha-utils.h --- pragha-1.3.3/src/pragha-utils.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-utils.h 2018-06-21 11:24:11.000000000 +0000 @@ -27,6 +27,8 @@ #define string_is_empty(s) (!(s) || !(s)[0]) #define string_is_not_empty(s) (s && (s)[0]) +gchar *pragha_unescape_html_utf75 (const gchar *str); + gchar *e2_utf8_ndup (const gchar *str, glong num); gsize levenshtein_strcmp(const gchar * s, const gchar * t); gsize levenshtein_safe_strcmp(const gchar * s, const gchar * t); @@ -38,6 +40,16 @@ GdkPixbuf * pragha_gdk_pixbuf_new_from_memory (gconstpointer data, gsize size); gchar* convert_length_str(gint length); + +gboolean +pragha_string_list_is_present (GSList *list, const gchar *str); +gboolean +pragha_string_list_is_not_present (GSList *list, const gchar *str); +GSList * +pragha_string_list_get_added (GSList *list, GSList *new_list); +GSList * +pragha_string_list_get_removed (GSList *list, GSList *new_list); + gboolean is_present_str_list(const gchar *str, GSList *list); GSList* delete_from_str_list(const gchar *str, GSList *list); gchar * path_get_dir_as_uri (const gchar *path); diff -Nru pragha-1.3.3/src/pragha-window.c pragha-1.3.992/src/pragha-window.c --- pragha-1.3.3/src/pragha-window.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-window.c 2019-08-13 14:47:18.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -34,6 +34,7 @@ #include "pragha-playlists-mgmt.h" #include "pragha-session.h" #include "pragha-utils.h" +#include "pragha-app-notification-container.h" /********************************/ /* Externally visible functions */ @@ -48,11 +49,13 @@ preferences = pragha_application_get_preferences (pragha); if (pragha_preferences_get_hide_instead_close (preferences)) { status_icon = pragha_application_get_status_icon (pragha); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS if (pragha_preferences_get_show_status_icon (preferences) && gtk_status_icon_is_embedded (GTK_STATUS_ICON(status_icon))) pragha_window_toggle_state(pragha, FALSE); else gtk_window_iconify (GTK_WINDOW(pragha_application_get_window(pragha))); +G_GNUC_END_IGNORE_DEPRECATIONS } else { pragha_application_quit (pragha); @@ -81,30 +84,45 @@ } } + static void -backend_error_dialog_response_cb (GtkDialog *dialog, gint response, PraghaApplication *pragha) +toggle_check_ignore_button_cb (GtkToggleButton *button, + PraghaApplication *pragha) +{ + PraghaPreferences *preferences; + preferences = pragha_preferences_get(); + pragha_preferences_set_ignore_errors (preferences, + gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button))); + g_object_unref(preferences); +} + +static void +backend_error_dialog_response_cb (GtkDialog *dialog, + gint response, + PraghaApplication *pragha) { switch (response) { - case GTK_RESPONSE_APPLY: { + case GTK_RESPONSE_APPLY: pragha_advance_playback (pragha); break; - } - case GTK_RESPONSE_ACCEPT: + case GTK_RESPONSE_CANCEL: case GTK_RESPONSE_DELETE_EVENT: - default: { + default: pragha_backend_stop (pragha_application_get_backend (pragha)); break; - } } gtk_widget_destroy(GTK_WIDGET(dialog)); } void -gui_backend_error_show_dialog_cb (PraghaBackend *backend, const GError *error, gpointer user_data) +pragha_window_show_backend_error_dialog (PraghaApplication *pragha) { - GtkWidget *dialog; + PraghaBackend *backend; + const GError *error; + GtkWidget *dialog, *check_ignore; - PraghaApplication *pragha = user_data; + backend = pragha_application_get_backend (pragha); + error = pragha_backend_get_error (backend); const gchar *file = pragha_musicobject_get_file (pragha_backend_get_musicobject (backend)); @@ -115,11 +133,18 @@ _("Error playing current track.\n(%s)\nReason: %s"), file, error->message); - gtk_dialog_add_button (GTK_DIALOG (dialog), _("_Stop"), GTK_RESPONSE_ACCEPT); + check_ignore = gtk_check_button_new_with_mnemonic (_("Ignore errors and continue playback")); + gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), + check_ignore, FALSE, FALSE, 0); + + gtk_dialog_add_button (GTK_DIALOG (dialog), _("_Stop"), GTK_RESPONSE_CANCEL); gtk_dialog_add_button (GTK_DIALOG (dialog), _("_Next"), GTK_RESPONSE_APPLY); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_APPLY); + g_signal_connect (G_OBJECT (check_ignore), "toggled", + G_CALLBACK (toggle_check_ignore_button_cb), pragha); + g_signal_connect(G_OBJECT(dialog), "response", G_CALLBACK(backend_error_dialog_response_cb), pragha); @@ -184,6 +209,22 @@ } } +static void +pragha_playlist_edge_reache (GtkScrolledWindow *scrolled_window, + GtkPositionType pos, + PraghaApplication *pragha) +{ + PraghaStatusbar *statusbar; + statusbar = pragha_application_get_statusbar (pragha); + + // TODO: Do it intelligently. Just hidden it when reach the end of the list. + if (pos == GTK_POS_BOTTOM) + gtk_widget_set_visible (GTK_WIDGET(statusbar), FALSE); + else if (pos == GTK_POS_TOP) + gtk_widget_set_visible (GTK_WIDGET(statusbar), TRUE); +} + + /* * Public api. */ @@ -390,6 +431,7 @@ } else if(!g_ascii_strcasecmp(start_mode, ICONIFIED_STATE)) { status_icon = pragha_application_get_status_icon (pragha); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS if(gtk_status_icon_is_embedded (GTK_STATUS_ICON(status_icon))) { gtk_widget_hide(GTK_WIDGET(window)); } @@ -398,6 +440,7 @@ gtk_window_iconify (GTK_WINDOW(window)); gtk_widget_show(window); } +G_GNUC_END_IGNORE_DEPRECATIONS } else { gtk_widget_show(window); @@ -415,11 +458,11 @@ { GIcon *icon = NULL; - const gchar *fallbacks_icon_menu[] = { - "open-menu-symbolic", - "emblem-system-symbolic", + const gchar *fallbacks_icon_menu[] = { "open-menu", "emblem-system", + "open-menu-symbolic", + "emblem-system-symbolic", NULL, }; @@ -434,27 +477,31 @@ { PraghaPreferences *preferences; GtkWidget *window; + PraghaAppNotificationContainer *container; PraghaPlaylist *playlist; PraghaLibraryPane *library; PraghaSidebar *sidebar1, *sidebar2; PraghaStatusbar *statusbar; PraghaToolbar *toolbar; - GtkWidget *menubar, *pane1, *pane2, *infobox; - GtkWidget *playlist_statusbar_vbox, *vbox_main; - GtkWidget *menu_button; + GtkWidget *menubar, *overlay, *pane1, *pane2, *infobox; + GtkWidget *main_stack, *playlist_overlay, *vbox_main; + GtkWidget *song_box, *menu_button; GtkBuilder *menu_ui; + GtkCssProvider *css_provider; GIcon *icon = NULL; + GError *error = NULL; gint *win_size, *win_position; + gchar *css_filename = NULL; gsize cnt = 0; const GBindingFlags binding_flags = G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL; const gchar *fallbacks_icon_menu[] = { - "open-menu-symbolic", - "emblem-system-symbolic", "open-menu", "emblem-system", + "open-menu-symbolic", + "emblem-system-symbolic", NULL, }; @@ -467,7 +514,9 @@ window = pragha_application_get_window (pragha); playlist = pragha_application_get_playlist (pragha); library = pragha_application_get_library (pragha); + overlay = pragha_application_get_overlay (pragha); sidebar1 = pragha_application_get_first_sidebar (pragha); + main_stack= pragha_application_get_main_stack (pragha); sidebar2 = pragha_application_get_second_sidebar (pragha); statusbar = pragha_application_get_statusbar (pragha); toolbar = pragha_application_get_toolbar (pragha); @@ -516,23 +565,34 @@ GTK_WIN_POS_CENTER); } - /* Pack widgets: [ Playlist ] - * [Status Bar] + /* Pack widgets: [ MainStack ] + * [ Playlist/Status Bar ] */ - playlist_statusbar_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + playlist_overlay = gtk_overlay_new(); + gtk_container_add (GTK_CONTAINER(playlist_overlay), + GTK_WIDGET(playlist)); + + gtk_widget_set_halign (GTK_WIDGET(statusbar), GTK_ALIGN_START); + gtk_widget_set_valign (GTK_WIDGET(statusbar), GTK_ALIGN_END); + gtk_overlay_add_overlay (GTK_OVERLAY(playlist_overlay), + GTK_WIDGET(statusbar)); - gtk_box_pack_start (GTK_BOX(playlist_statusbar_vbox), GTK_WIDGET(playlist), - TRUE, TRUE, 0); - gtk_box_pack_start (GTK_BOX(playlist_statusbar_vbox), GTK_WIDGET(statusbar), - FALSE, FALSE, 0); + gtk_stack_add_named (GTK_STACK(main_stack), + GTK_WIDGET(playlist_overlay), "playlist"); + + /* + * Show and hide the status bar automatically. + */ + g_signal_connect (G_OBJECT (playlist), "edge-reached", + G_CALLBACK(pragha_playlist_edge_reache), pragha); - /* Pack widgets: [Sidebar1][ Playlist ] + /* Pack widgets: [Sidebar1][Main Stack] * [ ][Status Bar] */ gtk_paned_pack1 (GTK_PANED (pane1), GTK_WIDGET(sidebar1), FALSE, TRUE); - gtk_paned_pack2 (GTK_PANED (pane1), playlist_statusbar_vbox, TRUE, FALSE); + gtk_paned_pack2 (GTK_PANED (pane1), main_stack, TRUE, FALSE); gtk_paned_set_position (GTK_PANED (pane1), pragha_preferences_get_sidebar_size (preferences)); @@ -547,6 +607,8 @@ gtk_paned_set_position (GTK_PANED (pane2), pragha_preferences_get_secondary_sidebar_size (preferences)); + gtk_container_add (GTK_CONTAINER (overlay), GTK_WIDGET (pane2)); + /* Pack widgets: [ Menubar ] * [ Toolbar ] * [ Infobox ] @@ -556,17 +618,28 @@ vbox_main = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + /* Add menubar */ gtk_box_pack_start (GTK_BOX(vbox_main), menubar, FALSE, FALSE, 0); -#if GTK_CHECK_VERSION (3, 12, 0) + + /* If not CSD add toolbar */ if (pragha_preferences_get_system_titlebar (preferences)) -#endif gtk_box_pack_start (GTK_BOX(vbox_main), GTK_WIDGET(toolbar), FALSE, FALSE, 0); + + /* Add infobox */ gtk_box_pack_start (GTK_BOX(vbox_main), infobox, FALSE, FALSE, 0); - gtk_box_pack_start (GTK_BOX(vbox_main), pane2, - TRUE, TRUE, 2); + + /* Append overlay that is the main widget. */ + gtk_box_pack_start (GTK_BOX(vbox_main), overlay, + TRUE, TRUE, 0); + + /* Add notification container within these overlay */ + container = pragha_app_notification_container_get_default (); + gtk_overlay_add_overlay (GTK_OVERLAY (overlay), GTK_WIDGET (container)); + + /* Configure menubar visibility */ g_object_bind_property (preferences, "show-menubar", menubar, "visible", @@ -575,9 +648,7 @@ /* Add menu-button to toolbar */ menu_button = gtk_menu_button_new (); -#if GTK_CHECK_VERSION (3, 12, 0) g_object_set(menu_button, "use-popover", FALSE, NULL); -#endif gtk_button_set_relief(GTK_BUTTON(menu_button), GTK_RELIEF_NONE); icon = g_themed_icon_new_from_names ((gchar **)fallbacks_icon_menu, -1); @@ -587,7 +658,7 @@ menu_ui = pragha_application_get_menu_ui(pragha); gtk_menu_button_set_menu_model (GTK_MENU_BUTTON(menu_button), - G_MENU_MODEL (gtk_builder_get_object (menu_ui, "menubar"))); + G_MENU_MODEL (gtk_builder_get_object (menu_ui, "button-menu"))); g_object_bind_property (preferences, "show-menubar", menu_button, "visible", @@ -603,7 +674,7 @@ pragha_sidebar_attach_plugin (sidebar1, pragha_library_pane_get_widget (library), pragha_library_pane_get_pane_title (library), - pragha_library_pane_get_popup_menu (library)); + pragha_library_pane_get_popover (library)); g_object_bind_property (preferences, "lateral-panel", sidebar1, "visible", @@ -622,22 +693,85 @@ gtk_widget_show (GTK_WIDGET(toolbar)); gtk_widget_show (infobox); gtk_widget_show (pane1); + gtk_widget_show (main_stack); gtk_widget_show (pane2); + gtk_widget_show (overlay); - gtk_widget_show(playlist_statusbar_vbox); + gtk_widget_show(playlist_overlay); gtk_widget_show_all (GTK_WIDGET(playlist)); /* Pack everyting on the main window. */ gtk_container_add(GTK_CONTAINER(window), vbox_main); -#if GTK_CHECK_VERSION (3, 12, 0) + /* Attach CSS to main window */ + + css_provider = gtk_css_provider_new (); + + css_filename = g_build_path(G_DIR_SEPARATOR_S, USRSTYLEDIR, "pragha.css", NULL); + gtk_css_provider_load_from_path (css_provider, css_filename, &error); + + if (error == NULL) + { + gtk_style_context_add_provider_for_screen (gtk_widget_get_screen (GTK_WIDGET (window)), + GTK_STYLE_PROVIDER (css_provider), + GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); + } + else + { + g_warning ("Could not attach pragha css style: %s", error->message); + g_error_free (error); + } + g_free (css_filename); + + /* Attach the custum CSS to main window */ + + css_filename = g_build_path(G_DIR_SEPARATOR_S, USRSTYLEDIR, "custom.css", NULL); + if (g_file_test(css_filename, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR)) + { + gtk_css_provider_load_from_path (css_provider, css_filename, &error); + + if (error == NULL) + { + gtk_style_context_add_provider_for_screen (gtk_widget_get_screen (GTK_WIDGET (window)), + GTK_STYLE_PROVIDER (css_provider), + GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); + } + else + { + g_warning ("Could not attach distro css style: %s", error->message); + g_error_free (error); + } + } + g_free (css_filename); + + css_filename = g_build_path(G_DIR_SEPARATOR_S, g_get_user_config_dir(), "/pragha/custom.css", NULL); + if (g_file_test(css_filename, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR)) + { + gtk_css_provider_load_from_path (css_provider, css_filename, &error); + + if (error == NULL) + { + gtk_style_context_add_provider_for_screen (gtk_widget_get_screen (GTK_WIDGET (window)), + GTK_STYLE_PROVIDER (css_provider), + GTK_STYLE_PROVIDER_PRIORITY_USER); + } + else + { + g_warning ("Could not attach user css style: %s", error->message); + g_error_free (error); + } + } + g_free (css_filename); + + g_object_unref (css_provider); + if (!pragha_preferences_get_system_titlebar (preferences)) gtk_window_set_titlebar (GTK_WINDOW (window), GTK_WIDGET(toolbar)); - GtkWidget *song = pragha_toolbar_get_song_box(toolbar); - gtk_header_bar_set_custom_title(GTK_HEADER_BAR(toolbar), GTK_WIDGET(song)); -#endif + song_box = pragha_toolbar_get_song_box(toolbar); + gtk_header_bar_set_custom_title(GTK_HEADER_BAR(toolbar), GTK_WIDGET(song_box)); + gtk_widget_show (GTK_WIDGET(toolbar)); pragha_window_init (pragha); diff -Nru pragha-1.3.3/src/pragha-window.h pragha-1.3.992/src/pragha-window.h --- pragha-1.3.3/src/pragha-window.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/pragha-window.h 2019-08-13 15:00:47.000000000 +0000 @@ -1,6 +1,6 @@ /*************************************************************************/ /* Copyright (C) 2007-2009 sujith */ -/* Copyright (C) 2009-2013 matias */ +/* Copyright (C) 2009-2019 matias */ /* */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ @@ -28,7 +28,8 @@ void pragha_destroy_window (GtkWidget *widget, PraghaApplication *pragha); void pragha_window_toggle_state (PraghaApplication *pragha, gboolean ignoreActivity); -void gui_backend_error_show_dialog_cb (PraghaBackend *backend, const GError *error, gpointer user_data); +void pragha_window_show_backend_error_dialog (PraghaApplication *pragha); + void gui_backend_error_update_current_playlist_cb (PraghaBackend *backend, const GError *error, PraghaApplication *pragha); void pragha_window_unfullscreen (GObject *object, PraghaApplication *pragha); @@ -44,4 +45,4 @@ void pragha_window_new (PraghaApplication *pragha); -#endif /* PRAGHA_WINDOW_H */ \ No newline at end of file +#endif /* PRAGHA_WINDOW_H */ diff -Nru pragha-1.3.3/src/pragha-window.ui pragha-1.3.992/src/pragha-window.ui --- pragha-1.3.3/src/pragha-window.ui 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-window.ui 2019-07-03 00:03:07.000000000 +0000 @@ -0,0 +1,438 @@ + + + + +
    + + _Add files + win.open + <Control>O + + + Add _location + win.location + + + _Add the library + win.library + +
    +
    +
    + + Edit track information + win.edit + <Control>E + + + E_qualizer + win.equalizer + +
    +
    + + Remove selection from playlist + win.remove + + + Crop playlist + win.crop + <Control>C + + + Clear playlist + win.clear + <Control>L + + + Save playlist +
    + + New playlist + win.new_playlist + <Control>S + + + Export + win.export_playlist + +
    +
    + + + Save selection +
    + + New playlist + win.new_selection + <Shift><Control>S + + + Export + win.export_selection + +
    +
    + +
    +
    + + _Search in playlist + win.search + <Control>F + + + Jump to playing song + win.jump-song + <Control>J + +
    +
    +
    +
    +
    + + Show lateral _panel + win.sidebar1 + F9 + + + Show secondary lateral panel + win.sidebar2 + <Shift>F9 + + + Show menubar + win.menubar + <Control>M + + + Show status bar + win.status-bar + +
    +
    +
    +
    +
    +
    + + _Rescan library + win.lib-rescan + + + _Update library + win.lib-update + +
    +
    +
    + + _Preferences + win.preferences + <Control>P + + + About + win.about + + + _Quit + win.quit + <Control>Q + +
    +
    + +
    + + About + help-about + syst.about + +
    +
    + + _Add files + document-open + syst.open + + + Add _location + network-workgroup + syst.location + +
    +
    +
    + + Previous track + media-skip-backward + syst.prev + + + Play / Pause + media-playback-start + syst.play + + + Stop + media-playback-stop + syst.stop + + + Next track + media-skip-forward + syst.next + +
    +
    + + Edit track information + syst.edit + +
    +
    + + _Quit + application-exit + syst.quit + +
    +
    + +
    + + _Expand library + lib.expand + + + _Collapse library + lib.collapse + +
    +
    + + Folders structure + lib.folder + + + Artist + lib.artist + + + Album + lib.album + + + Genre + lib.genre + + + Artist / Album + lib.artist_album + + + Genre / Album + lib.genre_album + + + Genre / Artist + lib.genre_artist + + + Genre / Artist / Album + lib.genre_artist_album + +
    +
    + +
    + + _Add to current playlist + list-add + lib.append + + + _Replace current playlist + lib.replace + + + Replace and _play + media-playback-start + lib.replace_play + + + Add and play + media-playback-start + lib.append_play + +
    +
    + +
    + + _Add to current playlist + list-add + lib.append + + + _Replace current playlist + lib.replace + + + Replace and _play + media-playback-start + lib.replace_play + + + Add and play + media-playback-start + lib.append_play + +
    +
    + + Rename + lib.rename + + + Delete + lib.delete + + + Export + lib.export + +
    +
    + +
    + + _Add to current playlist + list-add + lib.append + + + _Replace current playlist + lib.replace + + + Replace and _play + media-playback-start + lib.replace_play + + + Add and play + media-playback-start + lib.append_play + +
    +
    + + Rename + lib.rename + + + Delete + lib.delete + +
    +
    + +
    + + _Add to current playlist + list-add + lib.append + + + _Replace current playlist + lib.replace + + + Replace and _play + media-playback-start + lib.replace_play + + + Add and play + media-playback-start + lib.append_play + +
    +
    + + _Rescan library + system-run + lib.rescan + + + _Update library + system-run + lib.update + + + _Remove library + system-run + lib.remove_lib + +
    +
    + +
    + + _Add to current playlist + list-add + lib.append + + + _Replace current playlist + lib.replace + + + Replace and _play + media-playback-start + lib.replace_play + + + Add and play + media-playback-start + lib.append_play + +
    +
    + + Edit tags + lib.edit + +
    +
    + + Move to _trash + user-trash + lib.trash + + + Delete from library + list-remove + lib.remove + +
    +
    +
    + diff -Nru pragha-1.3.3/src/pragha-window-ui.h pragha-1.3.992/src/pragha-window-ui.h --- pragha-1.3.3/src/pragha-window-ui.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/pragha-window-ui.h 2019-08-13 12:52:18.000000000 +0000 @@ -0,0 +1,205 @@ +/* automatically generated from pragha-window.ui */ +#ifdef __SUNPRO_C +#pragma align 4 (pragha_window_ui) +#endif +#ifdef __GNUC__ +static const char pragha_window_ui[] __attribute__ ((__aligned__ (4))) = +#else +static const char pragha_window_ui[] = +#endif +{ + "
    _Add fileswin.open<Control>OAdd" + " _locationwin.location_Add the " + "librarywin.library
    Edit track informati" + "onwin.edit<Control>EE_qualizerwin.equalizer
    Remove selection from playl" + "istwin.remove" + "Crop playlistwin.crop<Control>CClear playlistwin.clear<Control>L<" + "/attribute>Save playlist
    New playlistw" + "in.new_playlist<Control>SE" + "xportwin.export_playlist
    Save selection
    New " + "playlistwin.new_selection<Shift><Control>SExportwin.export_selection
    _Search in p" + "laylistwin.search<Control>F
    Jump to playing songwin.jump-song<Control>J
    " + "
    Show lateral _panelwin.sidebar1F" + "9Show secondary lateral panelwin" + ".sidebar2<Shift>F9Show men" + "ubarwin.menubar<Control>MShow status barwin.status-bar
    _Rescan library" + "win.lib-rescan_Update librarywin.lib-update<" + "/section>
    _Preferenceswin.prefer" + "ences<Control>P" + "Aboutwin.about_Quitwin.quit<Contr" + "ol>Q
    Abouthelp-aboutsyst.about
    _Add filesdocument-opens" + "yst.openAdd _locationnetwork-work" + "groupsyst.location
    Previous trackmedia-skip-backwardsyst.prevPlay / Pausemedia-playback-startsyst.p" + "layStopmedia-playback-stopsyst.stopNext trackmedia-skip-forwardsyst.next
    Edit track informationsyst.edit
    <" + "item>_Quitapplication-exitsyst.quit
    _Expand librarylib.expand_C" + "ollapse librarylib.collapse
    Folders structure" + "lib.folderArtistlib.artistAlbu" + "mlib.albumGenrelib.genreArtist / Albumlib.artist_albumGenre / Albumlib.genre_albumGenre / Artistlib.genre_artistGenre / Artist / Albumlib.genre_artist_album
    _Add to current playlistlist-addl" + "ib.append_Replace current playlistlib.replaceReplace and _playme" + "dia-playback-startlib.replace_pl" + "ayAdd and playmedia-playback-star" + "tlib.append_play
    <" + "attribute name=\'label\' translatable=\'yes\'>_Add to current playlist<" + "/attribute>list-addlib.append_Replace current playlistlib.replaceReplace and _playmedia-playback-startli" + "b.replace_playAdd and playmedia-p" + "layback-startlib.append_play
    Renamelib.rename" + "Deletelib.deleteExportlib.export
    <" + "/menu>
    _Add to current playlistlist-addlib.a" + "ppend_Replace current playlistl" + "ib.replaceReplace and _playmedia-" + "playback-startlib.replace_playA" + "dd and playmedia-playback-startlib.append_play<" + "/section>
    " + "Renamelib.renameDeletelib.delete
    _Add to current playlistlist-addlib" + ".append_Replace current playlistlib.replaceReplace and _playmedi" + "a-playback-startlib.replace_play" + "Add and playmedia-playback-start<" + "/attribute>lib.append_play
    _Rescan librarysystem-runlib.rescan_Update librarysystem-runlib.update_Remove librarysystem-" + "runlib.remove_lib
    _Add to current playlistlist-addlib.append_Replace current playlistlib.replaceReplace and _playmedia-playback-startlib.r" + "eplace_playAdd and playmedia-play" + "back-startlib.append_play
    Edit tagslib.edit
    Move to _trashus" + "er-trashlib.trashDelete from li" + "brarylist-removelib.remove
    " +}; + +static const unsigned pragha_window_ui_length = 12948u; + diff -Nru pragha-1.3.3/src/win32/Makefile.am pragha-1.3.992/src/win32/Makefile.am --- pragha-1.3.3/src/win32/Makefile.am 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/win32/Makefile.am 2019-08-13 11:42:44.000000000 +0000 @@ -0,0 +1,12 @@ +noinst_LTLIBRARIES=libwin32.la + +libwin32_la_SOURCES = \ + win32dep.c \ + win32dep.h + +libwin32_la_CFLAGS = $(PRAGHA_CFLAGS) +libwin32_la_LIBADD = $(PRAGHA_LIBS) + +EXTRA_DIST = \ + pragha.ico \ + pragha.rc diff -Nru pragha-1.3.3/src/win32/Makefile.in pragha-1.3.992/src/win32/Makefile.in --- pragha-1.3.3/src/win32/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/win32/Makefile.in 2019-08-13 12:52:10.000000000 +0000 @@ -0,0 +1,733 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = src/win32 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +LTLIBRARIES = $(noinst_LTLIBRARIES) +am__DEPENDENCIES_1 = +libwin32_la_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_libwin32_la_OBJECTS = libwin32_la-win32dep.lo +libwin32_la_OBJECTS = $(am_libwin32_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libwin32_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libwin32_la_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ./$(DEPDIR)/libwin32_la-win32dep.Plo +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libwin32_la_SOURCES) +DIST_SOURCES = $(libwin32_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp README +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GRILO2_CFLAGS = @GRILO2_CFLAGS@ +GRILO2_LIBS = @GRILO2_LIBS@ +GRILO2_REQUIRED_VERSION = @GRILO2_REQUIRED_VERSION@ +GRILO2_VERSION = @GRILO2_VERSION@ +GRILO3_CFLAGS = @GRILO3_CFLAGS@ +GRILO3_LIBS = @GRILO3_LIBS@ +GRILO3_REQUIRED_VERSION = @GRILO3_REQUIRED_VERSION@ +GRILO3_VERSION = @GRILO3_VERSION@ +GRILO_NET2_CFLAGS = @GRILO_NET2_CFLAGS@ +GRILO_NET2_LIBS = @GRILO_NET2_LIBS@ +GRILO_NET2_REQUIRED_VERSION = @GRILO_NET2_REQUIRED_VERSION@ +GRILO_NET2_VERSION = @GRILO_NET2_VERSION@ +GRILO_NET3_CFLAGS = @GRILO_NET3_CFLAGS@ +GRILO_NET3_LIBS = @GRILO_NET3_LIBS@ +GRILO_NET3_REQUIRED_VERSION = @GRILO_NET3_REQUIRED_VERSION@ +GRILO_NET3_VERSION = @GRILO_NET3_VERSION@ +GSTREAMER_AUDIO_CFLAGS = @GSTREAMER_AUDIO_CFLAGS@ +GSTREAMER_AUDIO_LIBS = @GSTREAMER_AUDIO_LIBS@ +GSTREAMER_AUDIO_REQUIRED_VERSION = @GSTREAMER_AUDIO_REQUIRED_VERSION@ +GSTREAMER_AUDIO_VERSION = @GSTREAMER_AUDIO_VERSION@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +GUDEV_REQUIRED_VERSION = @GUDEV_REQUIRED_VERSION@ +GUDEV_VERSION = @GUDEV_VERSION@ +HAVE_XDT_CSOURCE = @HAVE_XDT_CSOURCE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JSON_GLIB_REQUIRED_VERSION = @JSON_GLIB_REQUIRED_VERSION@ +JSON_GLIB_VERSION = @JSON_GLIB_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@ +LIBCDDB_LIBS = @LIBCDDB_LIBS@ +LIBCDDB_REQUIRED_VERSION = @LIBCDDB_REQUIRED_VERSION@ +LIBCDDB_VERSION = @LIBCDDB_VERSION@ +LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@ +LIBCDIO_LIBS = @LIBCDIO_LIBS@ +LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@ +LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@ +LIBCDIO_PARANOIA_REQUIRED_VERSION = @LIBCDIO_PARANOIA_REQUIRED_VERSION@ +LIBCDIO_PARANOIA_VERSION = @LIBCDIO_PARANOIA_VERSION@ +LIBCDIO_REQUIRED_VERSION = @LIBCDIO_REQUIRED_VERSION@ +LIBCDIO_VERSION = @LIBCDIO_VERSION@ +LIBCLASTFM_CFLAGS = @LIBCLASTFM_CFLAGS@ +LIBCLASTFM_LIBS = @LIBCLASTFM_LIBS@ +LIBCLASTFM_REQUIRED_VERSION = @LIBCLASTFM_REQUIRED_VERSION@ +LIBCLASTFM_VERSION = @LIBCLASTFM_VERSION@ +LIBGLYR_CFLAGS = @LIBGLYR_CFLAGS@ +LIBGLYR_LIBS = @LIBGLYR_LIBS@ +LIBGLYR_REQUIRED_VERSION = @LIBGLYR_REQUIRED_VERSION@ +LIBGLYR_VERSION = @LIBGLYR_VERSION@ +LIBKEYBINDER_CFLAGS = @LIBKEYBINDER_CFLAGS@ +LIBKEYBINDER_LIBS = @LIBKEYBINDER_LIBS@ +LIBKEYBINDER_REQUIRED_VERSION = @LIBKEYBINDER_REQUIRED_VERSION@ +LIBKEYBINDER_VERSION = @LIBKEYBINDER_VERSION@ +LIBMTP_CFLAGS = @LIBMTP_CFLAGS@ +LIBMTP_LIBS = @LIBMTP_LIBS@ +LIBMTP_REQUIRED_VERSION = @LIBMTP_REQUIRED_VERSION@ +LIBMTP_VERSION = @LIBMTP_VERSION@ +LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ +LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ +LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ +LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPEAS_CFLAGS = @LIBPEAS_CFLAGS@ +LIBPEAS_GTK_CFLAGS = @LIBPEAS_GTK_CFLAGS@ +LIBPEAS_GTK_LIBS = @LIBPEAS_GTK_LIBS@ +LIBPEAS_GTK_REQUIRED_VERSION = @LIBPEAS_GTK_REQUIRED_VERSION@ +LIBPEAS_GTK_VERSION = @LIBPEAS_GTK_VERSION@ +LIBPEAS_LIBS = @LIBPEAS_LIBS@ +LIBPEAS_REQUIRED_VERSION = @LIBPEAS_REQUIRED_VERSION@ +LIBPEAS_VERSION = @LIBPEAS_VERSION@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_REQUIRED_VERSION = @LIBSOUP_REQUIRED_VERSION@ +LIBSOUP_VERSION = @LIBSOUP_VERSION@ +LIBTOOL = @LIBTOOL@ +LIBXFCE4UI_CFLAGS = @LIBXFCE4UI_CFLAGS@ +LIBXFCE4UI_LIBS = @LIBXFCE4UI_LIBS@ +LIBXFCE4UI_REQUIRED_VERSION = @LIBXFCE4UI_REQUIRED_VERSION@ +LIBXFCE4UI_VERSION = @LIBXFCE4UI_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PLPARSER_CFLAGS = @PLPARSER_CFLAGS@ +PLPARSER_LIBS = @PLPARSER_LIBS@ +PLPARSER_REQUIRED_VERSION = @PLPARSER_REQUIRED_VERSION@ +PLPARSER_VERSION = @PLPARSER_VERSION@ +PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PRAGHA_CFLAGS = @PRAGHA_CFLAGS@ +PRAGHA_LIBS = @PRAGHA_LIBS@ +RANLIB = @RANLIB@ +RYGEL_CFLAGS = @RYGEL_CFLAGS@ +RYGEL_LIBS = @RYGEL_LIBS@ +RYGEL_REQUIRED_VERSION = @RYGEL_REQUIRED_VERSION@ +RYGEL_VERSION = @RYGEL_VERSION@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_ARGS = @XGETTEXT_ARGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +noinst_LTLIBRARIES = libwin32.la +libwin32_la_SOURCES = \ + win32dep.c \ + win32dep.h + +libwin32_la_CFLAGS = $(PRAGHA_CFLAGS) +libwin32_la_LIBADD = $(PRAGHA_LIBS) +EXTRA_DIST = \ + pragha.ico \ + pragha.rc + +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/win32/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu src/win32/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +libwin32.la: $(libwin32_la_OBJECTS) $(libwin32_la_DEPENDENCIES) $(EXTRA_libwin32_la_DEPENDENCIES) + $(AM_V_CCLD)$(libwin32_la_LINK) $(libwin32_la_OBJECTS) $(libwin32_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwin32_la-win32dep.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libwin32_la-win32dep.lo: win32dep.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwin32_la_CFLAGS) $(CFLAGS) -MT libwin32_la-win32dep.lo -MD -MP -MF $(DEPDIR)/libwin32_la-win32dep.Tpo -c -o libwin32_la-win32dep.lo `test -f 'win32dep.c' || echo '$(srcdir)/'`win32dep.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libwin32_la-win32dep.Tpo $(DEPDIR)/libwin32_la-win32dep.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='win32dep.c' object='libwin32_la-win32dep.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwin32_la_CFLAGS) $(CFLAGS) -c -o libwin32_la-win32dep.lo `test -f 'win32dep.c' || echo '$(srcdir)/'`win32dep.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/libwin32_la-win32dep.Plo + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/libwin32_la-win32dep.Plo + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-noinstLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: Binary files /tmp/tmpytIb3W/tB9JJfAVoh/pragha-1.3.3/src/win32/pragha.ico and /tmp/tmpytIb3W/Y_gFMiTsf0/pragha-1.3.992/src/win32/pragha.ico differ diff -Nru pragha-1.3.3/src/win32/pragha.rc pragha-1.3.992/src/win32/pragha.rc --- pragha-1.3.3/src/win32/pragha.rc 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/win32/pragha.rc 2019-08-06 17:13:48.000000000 +0000 @@ -0,0 +1 @@ +A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "pragha.ico" diff -Nru pragha-1.3.3/src/win32/README pragha-1.3.992/src/win32/README --- pragha-1.3.3/src/win32/README 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/win32/README 2019-08-06 17:13:48.000000000 +0000 @@ -0,0 +1,30 @@ +OVERVIEW: + +Here is a brief description of how to compile Pragha to Windows using MinGW +from an Fedora host system. Note that these were my tests. Surely there are +better ways of doing it. In any case send me a mail. + +Install deps: + # sudo yum install mingw32-gcc mingw32-gtk3 mingw32-gstreamer1 \ + mingw32-gstreamer1-plugins-base mingw32-sqlite mingw32-taglib + +Prepare the build: + # git clone https://github.com/matiasdelellis/pragha.git PraghaWin32 + # cd PraghaWin32 + # ./autogen.sh --host=i586-mingw32msvc --enable-debug + # mingw32-configure --host=i586-mingw32msvc --enable-debug + +Build and install: + # make -j5 + # sudo make install + +How to test: + # sudo yum install wine + # wine /usr/i686-w64-mingw32/sys-root/mingw/bin/pragha.exe + +It work properly? + Probably not, due to lack the support to directsound, and all proprietary + codecs. You need install a complete version of Gstreamer SDK + +Please, continue with the next section: + https://github.com/pragha-music-player/pragha-win32-installer diff -Nru pragha-1.3.3/src/win32/win32dep.c pragha-1.3.992/src/win32/win32dep.c --- pragha-1.3.3/src/win32/win32dep.c 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/win32/win32dep.c 2019-08-07 23:12:57.000000000 +0000 @@ -0,0 +1,124 @@ +/* + * easytag + * + * File: win32dep.c + * Date: June, 2002 + * Description: Windows dependant code for Easytag + * this code if largely taken from win32 Gaim and Purple + * + * Copyright (C) 2002-2003, Herman Bloggs + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +/* Needed for G_OS_WIN32. */ +#include + +#ifdef G_OS_WIN32 + +#include + +#include "win32dep.h" + +/* + * DEFINES & MACROS + */ +#define _(x) gettext(x) + +/* + * LOCALS + */ +static char *install_dir = NULL, *locale_dir = NULL; + +/* + * PUBLIC CODE + */ + +/* Determine Easytag Paths during Runtime */ +const gchar * +weasytag_install_dir (void) +{ + static gboolean initialized = FALSE; + + if (!initialized) + { + gchar *tmp; + + tmp = g_win32_get_package_installation_directory_of_module (NULL); + + if (tmp == NULL) + { + tmp = g_win32_error_message (GetLastError ()); + g_debug ("GetModuleFileName error: %s", tmp); + g_free (tmp); + return NULL; + } + else + { + install_dir = tmp; + initialized = TRUE; + } + } + + return install_dir; +} + +const gchar * +weasytag_locale_dir (void) +{ + static gboolean initialized = FALSE; + + if (!initialized) + { + const gchar *inst_dir = weasytag_install_dir (); + + if (inst_dir != NULL) + { + locale_dir = g_build_filename (inst_dir, "share", "locale", NULL); + initialized = TRUE; + } + else + { + return NULL; + } + } + return locale_dir; +} + +const gchar * +weasytag_pixbuf_dir (void) +{ + static gboolean initialized = FALSE; + + if (!initialized) + { + const gchar *inst_dir = weasytag_install_dir (); + + if (inst_dir != NULL) + { + locale_dir = g_build_filename (inst_dir, "share", "pixmaps", "pragha", NULL); + initialized = TRUE; + } + else + { + return NULL; + } + } + + return locale_dir; +} + +#endif /* G_OS_WIN32 */ diff -Nru pragha-1.3.3/src/win32/win32dep.h pragha-1.3.992/src/win32/win32dep.h --- pragha-1.3.3/src/win32/win32dep.h 1970-01-01 00:00:00.000000000 +0000 +++ pragha-1.3.992/src/win32/win32dep.h 2019-08-06 17:13:48.000000000 +0000 @@ -0,0 +1,53 @@ +/* + * easytag + * + * File: win32dep.h + * + * Copyright (C) 2002-2003, Herman Bloggs + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + */ +#ifndef _WIN32DEP_H_ +#define _WIN32DEP_H_ + +#include /* Needed for G_OS_WIN32. */ + +#ifdef G_OS_WIN32 + +G_BEGIN_DECLS + +/* + * Windows helper functions + */ + +/* Determine Pragha paths */ + +const gchar * weasytag_install_dir (void); +const gchar * weasytag_locale_dir (void); +const gchar * weasytag_pixbuf_dir (void); + +#undef DATADIR +#undef PACKAGE_LOCALE_DIR +#undef PIXMAPDIR +#define DATADIR weasytag_install_dir() +#define PACKAGE_LOCALE_DIR weasytag_locale_dir() +#define PIXMAPDIR weasytag_pixbuf_dir() + +G_END_DECLS + +#endif /* G_OS_WIN32 */ + +#endif /* _WIN32DEP_H_ */ diff -Nru pragha-1.3.3/src/xml_helper.c pragha-1.3.992/src/xml_helper.c --- pragha-1.3.3/src/xml_helper.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/src/xml_helper.c 2018-06-21 11:24:11.000000000 +0000 @@ -16,6 +16,8 @@ const char *HTML_ESCAPE[] = { "&", "&", + "<", "<", + ">", ">", ""","\"", "–","-", NULL Binary files /tmp/tmpytIb3W/tB9JJfAVoh/pragha-1.3.3/win32/pragha.ico and /tmp/tmpytIb3W/Y_gFMiTsf0/pragha-1.3.992/win32/pragha.ico differ diff -Nru pragha-1.3.3/win32/pragha.rc pragha-1.3.992/win32/pragha.rc --- pragha-1.3.3/win32/pragha.rc 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/win32/pragha.rc 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "pragha.ico" diff -Nru pragha-1.3.3/win32/README pragha-1.3.992/win32/README --- pragha-1.3.3/win32/README 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/win32/README 1970-01-01 00:00:00.000000000 +0000 @@ -1,30 +0,0 @@ -OVERVIEW: - -Here is a brief description of how to compile Pragha to Windows using MinGW -from an Fedora host system. Note that these were my tests. Surely there are -better ways of doing it. In any case send me a mail. - -Install deps: - # sudo yum install mingw32-gcc mingw32-gtk3 mingw32-gstreamer1 \ - mingw32-gstreamer1-plugins-base mingw32-sqlite mingw32-taglib - -Prepare the build: - # git clone https://github.com/matiasdelellis/pragha.git PraghaWin32 - # cd PraghaWin32 - # ./autogen.sh --host=i586-mingw32msvc --enable-debug - # mingw32-configure --host=i586-mingw32msvc --enable-debug - -Build and install: - # make -j5 - # sudo make install - -How to test: - # sudo yum install wine - # wine /usr/i686-w64-mingw32/sys-root/mingw/bin/pragha.exe - -It work properly? - Probably not, due to lack the support to directsound, and all proprietary - codecs. You need install a complete version of Gstreamer SDK - -Please, continue with the next section: - https://github.com/pragha-music-player/pragha-win32-installer diff -Nru pragha-1.3.3/win32/win32dep.c pragha-1.3.992/win32/win32dep.c --- pragha-1.3.3/win32/win32dep.c 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/win32/win32dep.c 1970-01-01 00:00:00.000000000 +0000 @@ -1,124 +0,0 @@ -/* - * easytag - * - * File: win32dep.c - * Date: June, 2002 - * Description: Windows dependant code for Easytag - * this code if largely taken from win32 Gaim and Purple - * - * Copyright (C) 2002-2003, Herman Bloggs - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ - -/* Needed for G_OS_WIN32. */ -#include - -#ifdef G_OS_WIN32 - -#include - -#include "win32dep.h" - -/* - * DEFINES & MACROS - */ -#define _(x) gettext(x) - -/* - * LOCALS - */ -static char *install_dir = NULL, *locale_dir = NULL; - -/* - * PUBLIC CODE - */ - -/* Determine Easytag Paths during Runtime */ -const gchar * -weasytag_install_dir (void) -{ - static gboolean initialized = FALSE; - - if (!initialized) - { - gchar *tmp; - - tmp = g_win32_get_package_installation_directory_of_module (NULL); - - if (tmp == NULL) - { - tmp = g_win32_error_message (GetLastError ()); - g_debug ("GetModuleFileName error: %s", tmp); - g_free (tmp); - return NULL; - } - else - { - install_dir = tmp; - initialized = TRUE; - } - } - - return install_dir; -} - -const gchar * -weasytag_locale_dir (void) -{ - static gboolean initialized = FALSE; - - if (!initialized) - { - const gchar *inst_dir = weasytag_install_dir (); - - if (inst_dir != NULL) - { - locale_dir = g_build_filename (inst_dir, "share", "locale", NULL); - initialized = TRUE; - } - else - { - return NULL; - } - } - return locale_dir; -} - -const gchar * -weasytag_pixbuf_dir (void) -{ - static gboolean initialized = FALSE; - - if (!initialized) - { - const gchar *inst_dir = weasytag_install_dir (); - - if (inst_dir != NULL) - { - locale_dir = g_build_filename (inst_dir, "share", "pixmaps", "pragha", NULL); - initialized = TRUE; - } - else - { - return NULL; - } - } - - return locale_dir; -} - -#endif /* G_OS_WIN32 */ diff -Nru pragha-1.3.3/win32/win32dep.h pragha-1.3.992/win32/win32dep.h --- pragha-1.3.3/win32/win32dep.h 2015-09-23 23:31:59.000000000 +0000 +++ pragha-1.3.992/win32/win32dep.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,53 +0,0 @@ -/* - * easytag - * - * File: win32dep.h - * - * Copyright (C) 2002-2003, Herman Bloggs - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ -#ifndef _WIN32DEP_H_ -#define _WIN32DEP_H_ - -#include /* Needed for G_OS_WIN32. */ - -#ifdef G_OS_WIN32 - -G_BEGIN_DECLS - -/* - * Windows helper functions - */ - -/* Determine Pragha paths */ - -const gchar * weasytag_install_dir (void); -const gchar * weasytag_locale_dir (void); -const gchar * weasytag_pixbuf_dir (void); - -#undef DATADIR -#undef PACKAGE_LOCALE_DIR -#undef PIXMAPDIR -#define DATADIR weasytag_install_dir() -#define PACKAGE_LOCALE_DIR weasytag_locale_dir() -#define PIXMAPDIR weasytag_pixbuf_dir() - -G_END_DECLS - -#endif /* G_OS_WIN32 */ - -#endif /* _WIN32DEP_H_ */