Skip to content
Commits on Source (7)
# created with git log --pretty=format:"%ad %h %s %aN <%aE>" --no-merges --date=short
2018-03-19 1e1166e Use correct player names and icons in the preferences dialog Sean Davis <smd.seandavis@gmail.com>
2018-03-19 266d1f4 I18n: Update translation pt (100%). José Vieira <jvieira33@sapo.pt>
2018-03-19 c08b3e0 I18n: Update translation pt (91%). José Vieira <jvieira33@sapo.pt>
2018-03-18 3c3c7a0 I18n: Update translation it (97%). Emanuele Petriglia <inbox@emanuelepetriglia.me>
2018-03-17 c622b53 I18n: Update translation fr (100%). Charles Monzat <superboa@hotmail.fr>
2018-03-13 d991d15 I18n: Update translation zh_CN (100%). 玉堂白鹤 <yjwork@qq.com>
2018-03-11 db7c049 I18n: Update translation ms (100%). abuyop <abuyop@gmail.com>
2018-03-10 eaa8ffe I18n: Update translation nb (80%). Erlend Østlie <erlendandreas12368@gmail.com>
2018-03-05 7f66b42 I18n: Update translation tr (100%). Necdet Yücel <necdetyucel@gmail.com>
2018-03-03 e6decf2 I18n: Update translation hr (100%). Ivica Kolić <ikoli@yahoo.com>
2018-03-02 6cd0c72 I18n: Update translation sv (100%). Xfce Bot <transifex@xfce.org>
2018-03-02 ded8eed I18n: Update translation es (100%). Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ] <prflr88@gmail.com>
2018-03-01 1cf7a53 I18n: Update translation sr (100%). Саша Петровић <salepetronije@gmail.com>
2018-03-01 774a085 I18n: Update translation pt_BR (100%). Andre Miranda <andre42m@gmail.com>
2018-02-27 4d5b61e I18n: Update translation zh_CN (88%). SamHX <samzh@outlook.com>
2018-02-27 4cb75b6 I18n: Update translation kk (100%). Baurzhan Muftakhidinov <baurthefirst@gmail.com>
2018-02-27 616490f I18n: Update translation he (100%). Elishai Eliyahu <e1907@mm.st>
2018-02-27 6137982 I18n: Update translation ca (100%). Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>
2018-02-26 142ec01 Back to development Sean Davis <smd.seandavis@gmail.com>
2018-02-26 7400990 Update changelog Sean Davis <smd.seandavis@gmail.com>
2018-02-26 3e15dfa Preparing for the release Sean Davis <smd.seandavis@gmail.com>
2018-02-27 884f50d I18n: Update translation nl (100%). Pjotr <pjotrvertaalt@gmail.com>
2018-02-27 6d87883 I18n: Update translation lt (100%). Anonymous <noreply@xfce.org>
......
0.4.0
=====
Stable Release!
- Preferences: Use correct player names and icons in the media player section
- Translation Updates: Catalan, Chinese (China), Croatian, French, Hebrew,
Italian, Kazakh, Malay, Norwegian Bokmål, Portuguese, Portuguese (Brazil),
Serbian, Spanish, Swedish, Turkish
0.3.5
=====
......
......@@ -47,7 +47,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
#
# Modified to require ngettext
# Matthias Clasen <mclasen@redhat.com> 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
......
This diff is collapsed.
#! /bin/sh
# Configuration validation subroutine script.
# Copyright 1992-2017 Free Software Foundation, Inc.
# Copyright 1992-2018 Free Software Foundation, Inc.
timestamp='2017-11-23'
timestamp='2018-02-22'
# 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
......@@ -67,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
version="\
GNU config.sub ($timestamp)
Copyright 1992-2017 Free Software Foundation, Inc.
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."
......@@ -94,7 +94,7 @@ while test $# -gt 0 ; do
*local*)
# First pass through any local machine types.
echo $1
echo "$1"
exit ;;
* )
......@@ -112,7 +112,7 @@ esac
# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
......@@ -120,16 +120,16 @@ case $maybe_os in
kopensolaris*-gnu* | cloudabi*-eabi* | \
storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;;
android-linux)
os=-linux-android
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
;;
*)
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
if [ $basic_machine != $1 ]
then os=`echo $1 | sed 's/.*-/-/'`
basic_machine=`echo "$1" | sed 's/-[^-]*$//'`
if [ "$basic_machine" != "$1" ]
then os=`echo "$1" | sed 's/.*-/-/'`
else os=; fi
;;
esac
......@@ -178,44 +178,44 @@ case $os in
;;
-sco6)
os=-sco5v6
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
;;
-sco5)
os=-sco3.2v5
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
;;
-sco4)
os=-sco3.2v4
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
;;
-sco3.2.[4-9]*)
os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
;;
-sco3.2v[4-9]*)
# Don't forget version if it is 3.2v4 or newer.
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
;;
-sco5v6*)
# Don't forget version if it is 3.2v4 or newer.
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
;;
-sco*)
os=-sco3.2v2
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
;;
-udk*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
;;
-isc)
os=-isc2.2
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
;;
-clix*)
basic_machine=clipper-intergraph
;;
-isc*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
;;
-lynx*178)
os=-lynxos178
......@@ -227,7 +227,7 @@ case $os in
os=-lynxos
;;
-ptx*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`
;;
-psos*)
os=-psos
......@@ -296,7 +296,7 @@ case $basic_machine in
| nios | nios2 | nios2eb | nios2el \
| ns16k | ns32k \
| open8 | or1k | or1knd | or32 \
| pdp10 | pdp11 | pj | pjl \
| pdp10 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle \
| pru \
| pyramid \
......@@ -333,7 +333,7 @@ case $basic_machine in
basic_machine=$basic_machine-unknown
os=-none
;;
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
;;
ms1)
basic_machine=mt-unknown
......@@ -362,7 +362,7 @@ case $basic_machine in
;;
# Object if more than one company name word.
*-*-*)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
exit 1
;;
# Recognize the basic CPU types with company name.
......@@ -457,7 +457,7 @@ case $basic_machine in
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
386bsd)
basic_machine=i386-unknown
basic_machine=i386-pc
os=-bsd
;;
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
......@@ -491,7 +491,7 @@ case $basic_machine in
basic_machine=x86_64-pc
;;
amd64-*)
basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
amdahl)
basic_machine=580-amdahl
......@@ -536,7 +536,7 @@ case $basic_machine in
os=-linux
;;
blackfin-*)
basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
os=-linux
;;
bluegene*)
......@@ -544,13 +544,13 @@ case $basic_machine in
os=-cnk
;;
c54x-*)
basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
c55x-*)
basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
c6x-*)
basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
c90)
basic_machine=c90-cray
......@@ -648,7 +648,7 @@ case $basic_machine in
os=$os"spe"
;;
e500v[12]-*)
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
os=$os"spe"
;;
ebmon29k)
......@@ -740,9 +740,6 @@ case $basic_machine in
hp9k8[0-9][0-9] | hp8[0-9][0-9])
basic_machine=hppa1.0-hp
;;
hppa-next)
os=-nextstep3
;;
hppaosf)
basic_machine=hppa1.1-hp
os=-osf
......@@ -755,26 +752,26 @@ case $basic_machine in
basic_machine=i370-ibm
;;
i*86v32)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
os=-sysv32
;;
i*86v4*)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
os=-sysv4
;;
i*86v)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
os=-sysv
;;
i*86sol2)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
os=-solaris2
;;
i386mach)
basic_machine=i386-mach
os=-mach
;;
i386-vsta | vsta)
vsta)
basic_machine=i386-unknown
os=-vsta
;;
......@@ -793,19 +790,16 @@ case $basic_machine in
os=-sysv
;;
leon-*|leon[3-9]-*)
basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
;;
m68knommu)
basic_machine=m68k-unknown
os=-linux
;;
m68knommu-*)
basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
os=-linux
;;
m88k-omron*)
basic_machine=m88k-omron
;;
magnum | m3230)
basic_machine=mips-mips
os=-sysv
......@@ -837,10 +831,10 @@ case $basic_machine in
os=-mint
;;
mips3*-*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
;;
mips3*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
;;
monitor)
basic_machine=m68k-rom68k
......@@ -859,7 +853,7 @@ case $basic_machine in
os=-msdos
;;
ms1-*)
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
;;
msys)
basic_machine=i686-pc
......@@ -946,6 +940,9 @@ case $basic_machine in
nsr-tandem)
basic_machine=nsr-tandem
;;
nsv-tandem)
basic_machine=nsv-tandem
;;
nsx-tandem)
basic_machine=nsx-tandem
;;
......@@ -981,7 +978,7 @@ case $basic_machine in
os=-linux
;;
parisc-*)
basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
os=-linux
;;
pbd)
......@@ -997,7 +994,7 @@ case $basic_machine in
basic_machine=i386-pc
;;
pc98-*)
basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
pentium | p5 | k5 | k6 | nexgen | viac3)
basic_machine=i586-pc
......@@ -1012,16 +1009,16 @@ case $basic_machine in
basic_machine=i786-pc
;;
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
pentiumpro-* | p6-* | 6x86-* | athlon-*)
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
pentium4-*)
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
pn)
basic_machine=pn-gould
......@@ -1031,23 +1028,23 @@ case $basic_machine in
ppc | ppcbe) basic_machine=powerpc-unknown
;;
ppc-* | ppcbe-*)
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
ppcle | powerpclittle)
basic_machine=powerpcle-unknown
;;
ppcle-* | powerpclittle-*)
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
ppc64) basic_machine=powerpc64-unknown
;;
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
ppc64le | powerpc64little)
basic_machine=powerpc64le-unknown
;;
ppc64le-* | powerpc64little-*)
basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
ps2)
basic_machine=i386-ibm
......@@ -1101,17 +1098,10 @@ case $basic_machine in
sequent)
basic_machine=i386-sequent
;;
sh)
basic_machine=sh-hitachi
os=-hms
;;
sh5el)
basic_machine=sh5le-unknown
;;
sh64)
basic_machine=sh64-unknown
;;
sparclite-wrs | simso-wrs)
simso-wrs)
basic_machine=sparclite-wrs
os=-vxworks
;;
......@@ -1130,7 +1120,7 @@ case $basic_machine in
os=-sysv4
;;
strongarm-* | thumb-*)
basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
;;
sun2)
basic_machine=m68000-sun
......@@ -1244,9 +1234,6 @@ case $basic_machine in
basic_machine=a29k-wrs
os=-vxworks
;;
wasm32)
basic_machine=wasm32-unknown
;;
w65*)
basic_machine=w65-wdc
os=-none
......@@ -1266,20 +1253,12 @@ case $basic_machine in
basic_machine=xps100-honeywell
;;
xscale-* | xscalee[bl]-*)
basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
;;
ymp)
basic_machine=ymp-cray
os=-unicos
;;
z8k-*-coff)
basic_machine=z8k-unknown
os=-sim
;;
z80-*-coff)
basic_machine=z80-unknown
os=-sim
;;
none)
basic_machine=none-none
os=-none
......@@ -1308,10 +1287,6 @@ case $basic_machine in
vax)
basic_machine=vax-dec
;;
pdp10)
# there are many clones, so DEC is not a safe bet
basic_machine=pdp10-unknown
;;
pdp11)
basic_machine=pdp11-dec
;;
......@@ -1321,9 +1296,6 @@ case $basic_machine in
sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
basic_machine=sh-unknown
;;
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
basic_machine=sparc-sun
;;
cydra)
basic_machine=cydra-cydrome
;;
......@@ -1343,7 +1315,7 @@ case $basic_machine in
# Make sure to match an already-canonicalized machine name.
;;
*)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
exit 1
;;
esac
......@@ -1351,10 +1323,10 @@ esac
# Here we canonicalize certain aliases for manufacturers.
case $basic_machine in
*-digital*)
basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
;;
*-commodore*)
basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
;;
*)
;;
......@@ -1377,15 +1349,16 @@ case $os in
-solaris)
os=-solaris2
;;
-svr4*)
os=-sysv4
;;
-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
;;
# Now accept the basic system types.
# The portable systems comes first.
# Each alternative MUST end in a * to match a version number.
......@@ -1398,7 +1371,7 @@ case $os in
| -aos* | -aros* | -cloudabi* | -sortix* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
| -hiux* | -knetbsd* | -mirbsd* | -netbsd* \
| -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
......@@ -1409,14 +1382,15 @@ case $os in
| -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -morphos* | -superux* | -rtmk* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
| -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*)
| -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
| -midnightbsd*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
......@@ -1433,12 +1407,12 @@ case $os in
-nto*)
os=`echo $os | sed -e 's|nto|nto-qnx|'`
;;
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
| -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
-sim | -xray | -os68k* | -v88r* \
| -windows* | -osx | -abug | -netware* | -os9* \
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
;;
-mac*)
os=`echo $os | sed -e 's|mac|macos|'`
os=`echo "$os" | sed -e 's|mac|macos|'`
;;
-linux-dietlibc)
os=-linux-dietlibc
......@@ -1447,10 +1421,10 @@ case $os in
os=`echo $os | sed -e 's|linux|linux-gnu|'`
;;
-sunos5*)
os=`echo $os | sed -e 's|sunos5|solaris2|'`
os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
;;
-sunos6*)
os=`echo $os | sed -e 's|sunos6|solaris3|'`
os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
;;
-opened*)
os=-openedition
......@@ -1461,12 +1435,6 @@ case $os in
-wince*)
os=-wince
;;
-osfrose*)
os=-osfrose
;;
-osf*)
os=-osf
;;
-utek*)
os=-bsd
;;
......@@ -1513,7 +1481,7 @@ case $os in
-oss*)
os=-sysv3
;;
-svr4)
-svr4*)
os=-sysv4
;;
-svr3)
......@@ -1528,18 +1496,9 @@ case $os in
-ose*)
os=-ose
;;
-es1800*)
os=-ose
;;
-xenix)
os=-xenix
;;
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
os=-mint
;;
-aros*)
os=-aros
;;
-zvmoe)
os=-zvmoe
;;
......@@ -1568,7 +1527,7 @@ case $os in
*)
# Get rid of the `-' at the beginning of $os.
os=`echo $os | sed 's/[^-]*-//'`
echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
exit 1
;;
esac
......@@ -1664,9 +1623,6 @@ case $basic_machine in
*-be)
os=-beos
;;
*-haiku)
os=-haiku
;;
*-ibm)
os=-aix
;;
......@@ -1721,9 +1677,6 @@ case $basic_machine in
i370-*)
os=-mvs
;;
*-next)
os=-nextstep3
;;
*-gould)
os=-sysv
;;
......@@ -1833,11 +1786,11 @@ case $basic_machine in
vendor=stratus
;;
esac
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
;;
esac
echo $basic_machine$os
echo "$basic_machine$os"
exit
# Local variables:
......
#! /bin/sh
# From configure.ac 7400990.
# From configure.ac 1e1166e.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for xfce4-pulseaudio-plugin 0.3.5.
# Generated by GNU Autoconf 2.69 for xfce4-pulseaudio-plugin 0.4.0.
#
# Report bugs to <http://bugzilla.xfce.org/>.
#
......@@ -594,8 +594,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='xfce4-pulseaudio-plugin'
PACKAGE_TARNAME='xfce4-pulseaudio-plugin'
PACKAGE_VERSION='0.3.5'
PACKAGE_STRING='xfce4-pulseaudio-plugin 0.3.5'
PACKAGE_VERSION='0.4.0'
PACKAGE_STRING='xfce4-pulseaudio-plugin 0.4.0'
PACKAGE_BUGREPORT='http://bugzilla.xfce.org/'
PACKAGE_URL=''
 
......@@ -1467,7 +1467,7 @@ 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 xfce4-pulseaudio-plugin 0.3.5 to adapt to many kinds of systems.
\`configure' configures xfce4-pulseaudio-plugin 0.4.0 to adapt to many kinds of systems.
 
Usage: $0 [OPTION]... [VAR=VALUE]...
 
......@@ -1544,7 +1544,7 @@ fi
 
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of xfce4-pulseaudio-plugin 0.3.5:";;
short | recursive ) echo "Configuration of xfce4-pulseaudio-plugin 0.4.0:";;
esac
cat <<\_ACEOF
 
......@@ -1685,7 +1685,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
xfce4-pulseaudio-plugin configure 0.3.5
xfce4-pulseaudio-plugin configure 0.4.0
generated by GNU Autoconf 2.69
 
Copyright (C) 2012 Free Software Foundation, Inc.
......@@ -2057,7 +2057,7 @@ 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 xfce4-pulseaudio-plugin $as_me 0.3.5, which was
It was created by xfce4-pulseaudio-plugin $as_me 0.4.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
 
$ $0 $@
......@@ -3035,7 +3035,7 @@ fi
 
# Define the identity of the package.
PACKAGE='xfce4-pulseaudio-plugin'
VERSION='0.3.5'
VERSION='0.4.0'
 
 
cat >>confdefs.h <<_ACEOF
......@@ -17646,7 +17646,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by xfce4-pulseaudio-plugin $as_me 0.3.5, which was
This file was extended by xfce4-pulseaudio-plugin $as_me 0.4.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
 
CONFIG_FILES = $CONFIG_FILES
......@@ -17712,7 +17712,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
xfce4-pulseaudio-plugin config.status 0.3.5
xfce4-pulseaudio-plugin config.status 0.4.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
 
......
......@@ -12,10 +12,10 @@ dnl ***************************
dnl *** Version information ***
dnl ***************************
m4_define([pulseaudio_version_major], [0])
m4_define([pulseaudio_version_minor], [3])
m4_define([pulseaudio_version_micro], [5])
m4_define([pulseaudio_version_minor], [4])
m4_define([pulseaudio_version_micro], [0])
m4_define([pulseaudio_version_nano], []) dnl leave this empty to have no nano version
m4_define([pulseaudio_version_build], [7400990])
m4_define([pulseaudio_version_build], [1e1166e])
m4_define([pulseaudio_version_tag], [])
m4_define([pulseaudio_version], [pulseaudio_version_major().pulseaudio_version_minor().pulseaudio_version_micro()ifelse(pulseaudio_version_nano(), [], [], [.pulseaudio_version_nano()])ifelse(pulseaudio_version_tag(), [git], [pulseaudio_version_tag()-pulseaudio_version_build()], [pulseaudio_version_tag()])])
......@@ -28,7 +28,7 @@ AC_INIT([xfce4-pulseaudio-plugin], [pulseaudio_version], [http://bugzilla.xfce.o
AC_PREREQ([2.50])
AC_CONFIG_HEADERS([config.h])
AC_CANONICAL_TARGET()
AC_REVISION([7400990])
AC_REVISION([1e1166e])
dnl ***************************
dnl *** Initialize automake ***
......
xfce4-pulseaudio-plugin (0.4.0-1) unstable; urgency=medium
* New upstream version 0.4.0
* bump compat to 10, update debhelper build-dep accordingly
* d/rules: drop --parallel since dh 10 will do it for us
* d/rules: run xdt-autogen with autoreconf
* Upload to unstable.
-- Yves-Alexis Perez <corsac@debian.org> Tue, 27 Mar 2018 12:03:43 +0200
xfce4-pulseaudio-plugin (0.3.5-1) experimental; urgency=medium
* Moved the package to git on salsa.debian.org
......
......@@ -7,7 +7,7 @@ Uploaders: Yves-Alexis Perez <corsac@debian.org>,
Sean Davis <smd.seandavis@gmail.com>
Build-Depends: autoconf,
automake,
debhelper (>= 9),
debhelper (>= 10),
intltool,
libdbus-glib-1-dev,
libexo-1-dev,
......@@ -20,7 +20,8 @@ Build-Depends: autoconf,
libxfce4panel-2.0-dev,
libxfce4ui-2-dev,
libxfce4util-dev,
libxfconf-0-dev
libxfconf-0-dev,
xfce4-dev-tools
Standards-Version: 4.1.2
Homepage: http://goodies.xfce.org/projects/panel-plugins/xfce4-pulseaudio-plugin
Vcs-Browser: https://salsa.debian.org/xfce-team/goodies/xfce4-pulseaudio-plugin
......
#!/usr/bin/make -f
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
......@@ -9,7 +7,10 @@ export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,-O1 -Wl,-z,defs
%:
dh $@ --parallel
dh $@
override_dh_autoreconf:
noconfigure=1 dh_autoreconf xdt-autogen
override_dh_auto_configure:
dh_auto_configure -- \
......
......@@ -29,6 +29,7 @@
#endif
#include "mprismenuitem.h"
#include "pulseaudio-mpris.h"
#include <gdk/gdk.h>
#include <gdk/gdkkeysyms.h>
......@@ -114,7 +115,6 @@ static void gtk_label_set_markup_printf_escaped (GtkLabel *lab
const gchar *format,
...);
static void update_packing (MprisMenuItem *item);
static gchar * find_desktop_entry (const gchar *player_name);
......@@ -156,35 +156,17 @@ GtkWidget*
mpris_menu_item_new_from_player_name (const gchar *player)
{
GtkWidget *widget = NULL;
GKeyFile *key_file;
gchar *file;
gchar *filename;
gchar *name;
gchar *icon_name;
gchar *full_path;
filename = find_desktop_entry (player);
if (filename == NULL)
{
return NULL;
}
file = g_strconcat("applications/", filename, NULL);
g_free (filename);
key_file = g_key_file_new();
if (g_key_file_load_from_data_dirs (key_file, file, &full_path, G_KEY_FILE_NONE, NULL))
{
gchar *name = g_key_file_get_string (key_file, "Desktop Entry", "Name", NULL);
gchar *icon_name = g_key_file_get_string (key_file, "Desktop Entry", "Icon", NULL);
if (pulseaudio_mpris_get_player_summary (player, &name, &icon_name, &full_path)) {
widget = mpris_menu_item_new_with_player (player, name, icon_name, full_path);
g_free (name);
g_free (icon_name);
g_free (full_path);
}
g_key_file_free (key_file);
g_free (file);
return widget;
}
......@@ -844,46 +826,3 @@ G_GNUC_END_IGNORE_DEPRECATIONS
gtk_container_add (GTK_CONTAINER (item), priv->hbox);
}
static gchar *
find_desktop_entry (const gchar *player_name)
{
GKeyFile *key_file;
gchar *file;
gchar *filename = NULL;
gchar *full_path;
file = g_strconcat ("applications/", player_name, ".desktop", NULL);
key_file = g_key_file_new();
if (g_key_file_load_from_data_dirs (key_file, file, &full_path, G_KEY_FILE_NONE, NULL))
{
filename = g_strconcat (player_name, ".desktop", NULL);
}
else
{
/* Support reverse domain name (RDN) formatted launchers. */
gchar ***results = g_desktop_app_info_search (player_name);
gint i, j;
for (i = 0; results[i]; i++)
{
for (j = 0; results[i][j]; j++)
{
if (filename == NULL)
{
filename = g_strdup (results[i][j]);
}
}
g_strfreev (results[i]);
}
g_free (results);
}
g_key_file_free (key_file);
g_free (file);
return filename;
}
......@@ -42,6 +42,7 @@
#include "pulseaudio-dialog.h"
#include "pulseaudio-dialog_ui.h"
#include "pulseaudio-mpris.h"
#define PLUGIN_WEBSITE "https://docs.xfce.org/apps/pulseaudio-plugin/start"
......@@ -164,11 +165,11 @@ pulseaudio_dialog_player_toggled_cb (GtkCellRendererToggle *toggle, gchar *path,
gtk_tree_model_get_iter (model, &iter, treepath);
gtk_tree_model_get_value (model, &iter, 1, &player_val);
gtk_tree_model_get_value (model, &iter, 2, &hidden_val);
gtk_tree_model_get_value (model, &iter, 3, &hidden_val);
hidden = !g_value_get_boolean(&hidden_val);
player = g_value_get_string(&player_val);
gtk_list_store_set(GTK_LIST_STORE(model), &iter, 2, hidden, -1);
gtk_list_store_set(GTK_LIST_STORE(model), &iter, 3, hidden, -1);
if (hidden)
pulseaudio_config_player_blacklist_add (dialog->config, player);
......@@ -294,14 +295,21 @@ pulseaudio_dialog_build (PulseaudioDialog *dialog)
{
for (i = 0; i < g_strv_length (players); i++)
{
gchar *name = NULL;
gchar *icon_name = NULL;
gchar *full_path = NULL;
if (pulseaudio_mpris_get_player_summary (players[i], &name, &icon_name, &full_path)) {
gtk_list_store_append(liststore, &iter);
gtk_list_store_set(liststore, &iter,
0, players[i],
0, icon_name,
1, players[i],
2, pulseaudio_config_player_blacklist_lookup(dialog->config, players[i]),
2, name,
3, pulseaudio_config_player_blacklist_lookup(dialog->config, players[i]),
-1);
}
}
}
g_strfreev (players);
object = gtk_builder_get_object(builder, "col_hidden_renderer");
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.2 -->
<!-- Generated with glade 3.22.0 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<requires lib="libxfce4ui-2" version="4.11"/>
......@@ -17,6 +17,8 @@
<columns>
<!-- column-name icon_name -->
<column type="gchararray"/>
<!-- column-name player -->
<column type="gchararray"/>
<!-- column-name label -->
<column type="gchararray"/>
<!-- column-name hidden -->
......@@ -425,7 +427,7 @@
<child>
<object class="GtkCellRendererText" id="col_label_renderer"/>
<attributes>
<attribute name="text">1</attribute>
<attribute name="text">2</attribute>
</attributes>
</child>
</object>
......@@ -436,7 +438,7 @@
<child>
<object class="GtkCellRendererToggle" id="col_hidden_renderer"/>
<attributes>
<attribute name="active">2</attribute>
<attribute name="active">3</attribute>
</attributes>
</child>
</object>
......
This diff is collapsed.
......@@ -24,6 +24,7 @@
#include <gio/gio.h>
#include <glib.h>
#include <gtk/gtk.h>
#include <gio/gdesktopappinfo.h>
#include "pulseaudio-mpris.h"
#include "pulseaudio-mpris-player.h"
......@@ -66,6 +67,54 @@ G_DEFINE_TYPE (PulseaudioMpris, pulseaudio_mpris, G_TYPE_OBJECT)
static gchar *
find_desktop_entry (const gchar *player_name)
{
GKeyFile *key_file;
gchar *file = NULL;
gchar *filename = NULL;
gchar *full_path = NULL;
file = g_strconcat ("applications/", player_name, ".desktop", NULL);
key_file = g_key_file_new();
if (g_key_file_load_from_data_dirs (key_file, file, &full_path, G_KEY_FILE_NONE, NULL))
{
filename = g_strconcat (player_name, ".desktop", NULL);
}
else
{
/* Support reverse domain name (RDN) formatted launchers. */
gchar ***results = g_desktop_app_info_search (player_name);
gint i, j;
for (i = 0; results[i]; i++)
{
for (j = 0; results[i][j]; j++)
{
if (filename == NULL)
{
filename = g_strdup (results[i][j]);
}
}
g_strfreev (results[i]);
}
g_free (results);
}
g_key_file_free (key_file);
if (file)
g_free (file);
if (full_path)
g_free (full_path);
return filename;
}
static void
pulseaudio_mpris_class_init (PulseaudioMprisClass *klass)
{
......@@ -264,6 +313,43 @@ pulseaudio_mpris_get_player_snapshot (PulseaudioMpris *mpris,
gboolean
pulseaudio_mpris_get_player_summary (const gchar *player,
gchar **name,
gchar **icon_name,
gchar **full_path)
{
GKeyFile *key_file;
gchar *file;
gchar *filename;
gchar *path;
filename = find_desktop_entry (player);
if (filename == NULL)
{
return FALSE;
}
file = g_strconcat("applications/", filename, NULL);
g_free (filename);
key_file = g_key_file_new();
if (g_key_file_load_from_data_dirs (key_file, file, &path, G_KEY_FILE_NONE, NULL))
{
*name = g_key_file_get_string (key_file, "Desktop Entry", "Name", NULL);
*icon_name = g_key_file_get_string (key_file, "Desktop Entry", "Icon", NULL);
*full_path = g_strdup (path);
g_free (path);
}
g_key_file_free (key_file);
g_free (file);
return TRUE;
}
gboolean
pulseaudio_mpris_notify_player (PulseaudioMpris *mpris,
const gchar *name,
......
......@@ -55,6 +55,11 @@ gboolean pulseaudio_mpris_get_player_snapshot (PulseaudioMpris
gboolean *can_raise,
GList **playlists);
gboolean pulseaudio_mpris_get_player_summary (const gchar *player,
gchar **name,
gchar **icon_name,
gchar **full_path);
gboolean pulseaudio_mpris_notify_player (PulseaudioMpris *mpris,
const gchar *name,
const gchar *message);
......
......@@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: Xfce Panel Plugins\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-25 18:32+0100\n"
"PO-Revision-Date: 2018-02-26 20:15+0000\n"
"PO-Revision-Date: 2018-02-27 08:30+0000\n"
"Last-Translator: Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>\n"
"Language-Team: Catalan (http://www.transifex.com/xfce/xfce-panel-plugins/language/ca/)\n"
"MIME-Version: 1.0\n"
......@@ -108,7 +108,7 @@ msgstr "Reinicieu el vostre plafó per tal que tinguin visibilitat els reproduct
#: ../panel-plugin/pulseaudio-dialog.glade.h:19
msgid "Known Media Players"
msgstr "Reproductor multimèdia coneguts"
msgstr "Reproductors multimèdia coneguts"
#: ../panel-plugin/pulseaudio-dialog.glade.h:20
msgid "Media Players"
......
......@@ -5,15 +5,15 @@
# Translators:
# acutbal <acutbal@gmail.com>, 2018
# Jaime Marquínez Ferrándiz, 2017-2018
# Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ] <prflr88@gmail.com>, 2017
# Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ] <prflr88@gmail.com>, 2017-2018
# Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ] <prflr88@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Xfce Panel Plugins\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-25 18:32+0100\n"
"PO-Revision-Date: 2018-02-26 20:38+0000\n"
"Last-Translator: Jaime Marquínez Ferrándiz\n"
"PO-Revision-Date: 2018-03-02 05:14+0000\n"
"Last-Translator: Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ] <prflr88@gmail.com>\n"
"Language-Team: Spanish (http://www.transifex.com/xfce/xfce-panel-plugins/language/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
......@@ -101,7 +101,7 @@ msgstr "Ocultar"
#: ../panel-plugin/pulseaudio-dialog.glade.h:17
msgid "Clear Known Items"
msgstr ""
msgstr "Limpiar elementos conocidos"
#: ../panel-plugin/pulseaudio-dialog.glade.h:18
msgid "Please restart your panel for additional players to be displayed."
......
......@@ -3,7 +3,8 @@
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
# Charles Monzat <superboa@hotmail.fr>, 2017
# Charles Monzat <superboa@hotmail.fr>, 2017-2018
# Louis Moureaux <inactive+louis94@transifex.com>, 2015
# Louis Moureaux <inactive+louis94@transifex.com>, 2015
# Yannick Le Guen <leguen.yannick@gmail.com>, 2015,2017-2018
msgid ""
......@@ -11,8 +12,8 @@ msgstr ""
"Project-Id-Version: Xfce Panel Plugins\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-25 18:32+0100\n"
"PO-Revision-Date: 2018-02-26 08:12+0000\n"
"Last-Translator: Yannick Le Guen <leguen.yannick@gmail.com>\n"
"PO-Revision-Date: 2018-03-16 22:43+0000\n"
"Last-Translator: Charles Monzat <superboa@hotmail.fr>\n"
"Language-Team: French (http://www.transifex.com/xfce/xfce-panel-plugins/language/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
......@@ -42,7 +43,7 @@ msgid ""
"Enables volume control using multimedia keys. Make sure no other application"
" that listens to these keys (e.g. xfce4-volumed) is running in the "
"background."
msgstr "Active le contrôle du volume avec les touches multimédia. Assurez-vous qu'aucune autre application écoutant ces touches (p. ex. xfce4-volumed) ne tourne en arrière-plan."
msgstr "Active le contrôle du volume avec les touches multimédia. Assurez-vous quaucune autre application écoutant ces touches (p. ex. xfce4-volumed) ne tourne en arrière-plan."
#: ../panel-plugin/pulseaudio-dialog.glade.h:4
msgid "Show _notifications when volume changes"
......@@ -125,7 +126,7 @@ msgid ""
"<big><b>Failed to execute command \"%s\".</b></big>\n"
"\n"
"%s"
msgstr "<big><b>L'exécution de la commande « %s » a échoué.</b></big>\n\n%s"
msgstr "<big><b>Lexécution de la commande « %s » a échoué.</b></big>\n\n%s"
#: ../panel-plugin/pulseaudio-dialog.c:142
#: ../panel-plugin/pulseaudio-menu.c:267
......