diff -Nru pulseaudio-0.9.22~git20100719/ABOUT-NLS pulseaudio-0.9.22/ABOUT-NLS --- pulseaudio-0.9.22~git20100719/ABOUT-NLS 2010-07-19 12:43:04.000000000 +0000 +++ pulseaudio-0.9.22/ABOUT-NLS 2010-11-26 00:58:57.000000000 +0000 @@ -18,35 +18,7 @@ available translations. They tell how people wanting to contribute and work on translations can contact the appropriate team. - When reporting bugs in the `intl/' directory or bugs which may be -related to internationalization, you should tell about the version of -`gettext' which is used. The information can be found in the -`intl/VERSION' file, in internationalized packages. - -1.1 Quick configuration advice -============================== - -If you want to exploit the full power of internationalization, you -should configure it using - - ./configure --with-included-gettext - -to force usage of internationalizing routines provided within this -package, despite the existence of internationalizing capabilities in the -operating system where this package is being installed. So far, only -the `gettext' implementation in the GNU C library version 2 provides as -many features (such as locale alias, message inheritance, automatic -charset conversion or plural form handling) as the implementation here. -It is also not possible to offer this additional functionality on top -of a `catgets' implementation. Future versions of GNU `gettext' will -very likely convey even more functionality. So it might be a good idea -to change to GNU `gettext' as soon as possible. - - So you need _not_ provide this option if you are using GNU libc 2 or -you have installed a recent copy of the GNU gettext package with the -included `libintl'. - -1.2 INSTALL Matters +1.1 INSTALL Matters =================== Some packages are "localizable" when properly installed; the programs @@ -56,36 +28,19 @@ By default, this package will be installed to allow translation of messages. It will automatically detect whether the system already -provides the GNU `gettext' functions. If not, the included GNU -`gettext' library will be used. This library is wholly contained -within this package, usually in the `intl/' subdirectory, so prior -installation of the GNU `gettext' package is _not_ required. -Installers may use special options at configuration time for changing -the default behaviour. The commands: +provides the GNU `gettext' functions. Installers may use special +options at configuration time for changing the default behaviour. The +command: - ./configure --with-included-gettext ./configure --disable-nls -will, respectively, bypass any pre-existing `gettext' to use the -internationalizing routines provided within this package, or else, -_totally_ disable translation of messages. +will _totally_ disable translation of messages. When you already have GNU `gettext' installed on your system and run configure without an option for your new package, `configure' will -probably detect the previously built and installed `libintl.a' file and -will decide to use this. This might not be desirable. You should use -the more recent version of the GNU `gettext' library. I.e. if the file -`intl/VERSION' shows that the library which comes with this package is -more recent, you should use - - ./configure --with-included-gettext - -to prevent auto-detection. - - The configuration process will not test for the `catgets' function -and therefore it will not be used. The reason is that even an -emulation of `gettext' on top of `catgets' could not provide all the -extensions of the GNU `gettext' library. +probably detect the previously built and installed `libintl' library +and will decide to use it. If not, you may have to to use the +`--with-libintl-prefix' option to tell `configure' where to look for it. Internationalized packages usually have many `po/LL.po' files, where LL gives an ISO 639 two-letter code identifying the language. Unless @@ -96,7 +51,7 @@ `LINGUAS' should then contain a space separated list of two-letter codes, stating which languages are allowed. -1.3 Using This Package +1.2 Using This Package ====================== As a user, if your language has been installed for this package, you @@ -148,7 +103,7 @@ to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' (Portuguese as spoken in Portugal) in this context. -1.4 Translating Teams +1.3 Translating Teams ===================== For the Free Translation Project to be a success, we need interested @@ -177,859 +132,1118 @@ the terminology in use. Proven linguistic skills are praised more than programming skills, here. -1.5 Available Packages +1.4 Available Packages ====================== Languages are not equally supported in all packages. The following -matrix shows the current state of internationalization, as of November -2007. The matrix shows, in regard of each package, for which languages +matrix shows the current state of internationalization, as of June +2010. The matrix shows, in regard of each package, for which languages PO files have been submitted to translation coordination, with a translation percentage of at least 50%. - Ready PO files af am ar az be bg bs ca cs cy da de el en en_GB eo - +----------------------------------------------------+ - Compendium | [] [] [] [] | - a2ps | [] [] [] [] [] | - aegis | () | - ant-phone | () | - anubis | [] | - ap-utils | | - aspell | [] [] [] [] [] | - bash | [] | - bfd | | - bibshelf | [] | - binutils | | - bison | [] [] | - bison-runtime | [] | - bluez-pin | [] [] [] [] [] | - cflow | [] | - clisp | [] [] [] | - console-tools | [] [] | - coreutils | [] [] [] [] | - cpio | | - cpplib | [] [] [] | - cryptonit | [] | - dialog | | - diffutils | [] [] [] [] [] [] | - doodle | [] | - e2fsprogs | [] [] | - enscript | [] [] [] [] | - fetchmail | [] [] () [] [] | - findutils | [] | - findutils_stable | [] [] [] | - flex | [] [] [] | - fslint | | - gas | | - gawk | [] [] [] | - gcal | [] | - gcc | [] | - gettext-examples | [] [] [] [] [] | - gettext-runtime | [] [] [] [] [] | - gettext-tools | [] [] | - gip | [] | - gliv | [] [] | - glunarclock | [] | - gmult | [] [] | - gnubiff | () | - gnucash | [] [] () () [] | - gnuedu | | - gnulib | [] | - gnunet | | - gnunet-gtk | | - gnutls | [] | - gpe-aerial | [] [] | - gpe-beam | [] [] | - gpe-calendar | | - gpe-clock | [] [] | - gpe-conf | [] [] | - gpe-contacts | | - gpe-edit | [] | - gpe-filemanager | | - gpe-go | [] | - gpe-login | [] [] | - gpe-ownerinfo | [] [] | - gpe-package | | - gpe-sketchbook | [] [] | - gpe-su | [] [] | - gpe-taskmanager | [] [] | - gpe-timesheet | [] | - gpe-today | [] [] | - gpe-todo | | - gphoto2 | [] [] [] [] | - gprof | [] [] | - gpsdrive | | - gramadoir | [] [] | - grep | [] [] | - gretl | () | - gsasl | | - gss | | - gst-plugins-bad | [] [] | - gst-plugins-base | [] [] | - gst-plugins-good | [] [] [] | - gst-plugins-ugly | [] [] | - gstreamer | [] [] [] [] [] [] [] | - gtick | () | - gtkam | [] [] [] [] | - gtkorphan | [] [] | - gtkspell | [] [] [] [] | - gutenprint | [] | - hello | [] [] [] [] [] | - herrie | [] | - hylafax | | - idutils | [] [] | - indent | [] [] [] [] | - iso_15924 | | - iso_3166 | [] [] [] [] [] [] [] [] [] [] [] | - iso_3166_2 | | - iso_4217 | [] [] [] | - iso_639 | [] [] [] [] | - jpilot | [] | - jtag | | - jwhois | | - kbd | [] [] [] [] | - keytouch | [] [] | - keytouch-editor | [] | - keytouch-keyboa... | [] | - latrine | () | - ld | [] | - leafpad | [] [] [] [] [] | - libc | [] [] [] [] | - libexif | [] | - libextractor | [] | - libgpewidget | [] [] [] | - libgpg-error | [] | - libgphoto2 | [] [] | - libgphoto2_port | [] [] | - libgsasl | | - libiconv | [] [] | - libidn | [] [] [] | - lifelines | [] () | - lilypond | [] | - lingoteach | | - lprng | | - lynx | [] [] [] [] | - m4 | [] [] [] [] | - mailfromd | | - mailutils | [] | - make | [] [] | - man-db | [] [] [] | - minicom | [] [] [] | - nano | [] [] [] | - opcodes | [] | - parted | [] [] | - pilot-qof | | - popt | [] [] [] | - psmisc | [] | - pwdutils | | - qof | | - radius | [] | - recode | [] [] [] [] [] [] | - rpm | [] | - screem | | - scrollkeeper | [] [] [] [] [] [] [] [] | - sed | [] [] [] | - shared-mime-info | [] [] [] [] () [] [] [] | - sharutils | [] [] [] [] [] [] | - shishi | | - skencil | [] () | - solfege | | - soundtracker | [] [] | - sp | [] | - system-tools-ba... | [] [] [] [] [] [] [] [] [] | - tar | [] [] | - texinfo | [] [] [] | - tin | () () | - tuxpaint | [] [] [] [] [] [] | - unicode-han-tra... | | - unicode-transla... | | - util-linux | [] [] [] [] | - util-linux-ng | [] [] [] [] | - vorbis-tools | [] | - wastesedge | () | - wdiff | [] [] [] [] | - wget | [] [] [] | - xchat | [] [] [] [] [] [] [] | - xkeyboard-config | [] | - xpad | [] [] [] | - +----------------------------------------------------+ - af am ar az be bg bs ca cs cy da de el en en_GB eo - 6 0 2 1 8 26 2 40 48 2 56 88 15 1 15 18 - - es et eu fa fi fr ga gl gu he hi hr hu id is it + Ready PO files af am an ar as ast az be be@latin bg bn_IN bs ca +--------------------------------------------------+ - Compendium | [] [] [] [] [] | - a2ps | [] [] [] () | + a2ps | [] [] | aegis | | - ant-phone | [] | - anubis | [] | - ap-utils | [] [] | - aspell | [] [] [] | - bash | [] | - bfd | [] [] | - bibshelf | [] [] [] | - binutils | [] [] [] | - bison | [] [] [] [] [] [] | - bison-runtime | [] [] [] [] [] | - bluez-pin | [] [] [] [] [] | - cflow | [] | - clisp | [] [] | - console-tools | | - coreutils | [] [] [] [] [] [] | - cpio | [] [] [] | - cpplib | [] [] | - cryptonit | [] | - dialog | [] [] [] | - diffutils | [] [] [] [] [] [] [] [] [] | - doodle | [] [] | - e2fsprogs | [] [] [] | - enscript | [] [] [] | - fetchmail | [] | - findutils | [] [] [] | - findutils_stable | [] [] [] [] | - flex | [] [] [] | - fslint | | - gas | [] [] | - gawk | [] [] [] [] () | - gcal | [] [] | - gcc | [] | - gettext-examples | [] [] [] [] [] [] [] | - gettext-runtime | [] [] [] [] [] [] | - gettext-tools | [] [] [] [] | - gip | [] [] [] [] | - gliv | () | - glunarclock | [] [] [] | - gmult | [] [] [] | - gnubiff | () () | - gnucash | () () () | - gnuedu | [] | - gnulib | [] [] [] | - gnunet | | - gnunet-gtk | | - gnutls | | - gpe-aerial | [] [] | - gpe-beam | [] [] | - gpe-calendar | | - gpe-clock | [] [] [] [] | - gpe-conf | [] | - gpe-contacts | [] [] | - gpe-edit | [] [] [] [] | - gpe-filemanager | [] | - gpe-go | [] [] [] | - gpe-login | [] [] [] | - gpe-ownerinfo | [] [] [] [] [] | - gpe-package | [] | - gpe-sketchbook | [] [] | - gpe-su | [] [] [] [] | - gpe-taskmanager | [] [] [] | - gpe-timesheet | [] [] [] [] | - gpe-today | [] [] [] [] | - gpe-todo | [] | - gphoto2 | [] [] [] [] [] | - gprof | [] [] [] [] [] | - gpsdrive | [] | - gramadoir | [] [] | - grep | [] [] [] | - gretl | [] [] [] () | - gsasl | [] [] | - gss | [] [] | - gst-plugins-bad | [] [] [] [] | - gst-plugins-base | [] [] [] [] | - gst-plugins-good | [] [] [] [] [] | - gst-plugins-ugly | [] [] [] [] | - gstreamer | [] [] [] | - gtick | [] [] [] | - gtkam | [] [] [] [] | - gtkorphan | [] [] | - gtkspell | [] [] [] [] [] [] [] | - gutenprint | [] | - hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | - herrie | [] | - hylafax | | - idutils | [] [] [] [] [] | - indent | [] [] [] [] [] [] [] [] [] [] | - iso_15924 | [] | - iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] | - iso_3166_2 | [] | - iso_4217 | [] [] [] [] [] [] | - iso_639 | [] [] [] [] [] [] | - jpilot | [] [] | - jtag | [] | - jwhois | [] [] [] [] [] | - kbd | [] [] | - keytouch | [] [] [] | - keytouch-editor | [] | - keytouch-keyboa... | [] [] | - latrine | [] [] | - ld | [] [] [] [] | - leafpad | [] [] [] [] [] [] | - libc | [] [] [] [] [] | - libexif | [] | - libextractor | [] | - libgpewidget | [] [] [] [] [] | - libgpg-error | [] | - libgphoto2 | [] [] [] | - libgphoto2_port | [] [] | - libgsasl | [] [] | - libiconv | [] [] [] | - libidn | [] [] | - lifelines | () | - lilypond | [] [] [] | - lingoteach | [] [] [] | - lprng | | - lynx | [] [] [] | - m4 | [] [] [] [] | - mailfromd | | - mailutils | [] [] | - make | [] [] [] [] [] [] [] [] | - man-db | [] | - minicom | [] [] [] [] | - nano | [] [] [] [] [] [] [] | - opcodes | [] [] [] [] | - parted | [] [] [] | - pilot-qof | | - popt | [] [] [] [] | - psmisc | [] [] | - pwdutils | | - qof | [] | - radius | [] [] | - recode | [] [] [] [] [] [] [] [] | - rpm | [] [] | - screem | | - scrollkeeper | [] [] [] | - sed | [] [] [] [] [] | - shared-mime-info | [] [] [] [] [] [] | - sharutils | [] [] [] [] [] [] [] [] | - shishi | [] | - skencil | [] [] | - solfege | [] | - soundtracker | [] [] [] | - sp | [] | - system-tools-ba... | [] [] [] [] [] [] [] [] [] | - tar | [] [] [] [] [] | - texinfo | [] [] [] | - tin | [] () | - tuxpaint | [] [] | - unicode-han-tra... | | - unicode-transla... | [] [] | - util-linux | [] [] [] [] [] [] [] | - util-linux-ng | [] [] [] [] [] [] [] | - vorbis-tools | | - wastesedge | () | - wdiff | [] [] [] [] [] [] [] [] | - wget | [] [] [] [] [] [] [] [] | - xchat | [] [] [] [] [] [] [] | - xkeyboard-config | [] [] [] [] | - xpad | [] [] [] | - +--------------------------------------------------+ - es et eu fa fi fr ga gl gu he hi hr hu id is it - 85 22 14 2 48 101 61 12 2 8 2 6 53 29 1 52 - - ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn - +--------------------------------------------------+ - Compendium | [] | - a2ps | () [] [] | - aegis | () | - ant-phone | [] | - anubis | [] [] [] | - ap-utils | [] | - aspell | [] [] | - bash | [] | + ant-phone | | + anubis | | + aspell | [] [] | + bash | | bfd | | - bibshelf | [] | + bibshelf | [] | binutils | | - bison | [] [] [] | - bison-runtime | [] [] [] | - bluez-pin | [] [] [] | + bison | | + bison-runtime | [] | + bluez-pin | [] [] | + bombono-dvd | | + buzztard | | cflow | | - clisp | [] | - console-tools | | - coreutils | [] | - cpio | [] | - cpplib | [] | - cryptonit | [] | - dialog | [] [] | - diffutils | [] [] [] | + clisp | | + coreutils | [] [] | + cpio | | + cppi | | + cpplib | [] | + cryptsetup | | + dfarc | | + dialog | [] [] | + dico | | + diffutils | [] | + dink | | doodle | | - e2fsprogs | [] | - enscript | [] | - fetchmail | [] [] | - findutils | [] | - findutils_stable | [] | - flex | [] [] | - fslint | | + e2fsprogs | [] | + enscript | [] | + exif | | + fetchmail | [] | + findutils | [] | + flex | [] | + freedink | | gas | | - gawk | [] [] | - gcal | | + gawk | [] [] | + gcal | [] | gcc | | - gettext-examples | [] [] [] | - gettext-runtime | [] [] [] | - gettext-tools | [] [] | - gip | [] [] | - gliv | [] | - glunarclock | [] [] | - gmult | [] [] [] | + gettext-examples | [] [] [] [] | + gettext-runtime | [] [] | + gettext-tools | [] [] | + gip | [] | + gjay | | + gliv | [] | + glunarclock | [] [] | gnubiff | | - gnucash | () () () | + gnucash | [] | gnuedu | | - gnulib | [] [] | + gnulib | | gnunet | | gnunet-gtk | | - gnutls | [] | - gpe-aerial | [] | - gpe-beam | [] | - gpe-calendar | [] | - gpe-clock | [] [] [] | - gpe-conf | [] [] [] | - gpe-contacts | [] | - gpe-edit | [] [] [] | - gpe-filemanager | [] [] | - gpe-go | [] [] [] | - gpe-login | [] [] [] | - gpe-ownerinfo | [] [] | - gpe-package | [] [] | - gpe-sketchbook | [] [] | - gpe-su | [] [] [] | - gpe-taskmanager | [] [] [] [] | - gpe-timesheet | [] | - gpe-today | [] [] | - gpe-todo | [] | - gphoto2 | [] [] | - gprof | [] | - gpsdrive | [] | - gramadoir | () | - grep | [] [] | - gretl | | - gsasl | [] | + gnutls | | + gold | | + gpe-aerial | | + gpe-beam | | + gpe-bluetooth | | + gpe-calendar | | + gpe-clock | [] | + gpe-conf | | + gpe-contacts | | + gpe-edit | | + gpe-filemanager | | + gpe-go | | + gpe-login | | + gpe-ownerinfo | [] | + gpe-package | | + gpe-sketchbook | | + gpe-su | [] | + gpe-taskmanager | [] | + gpe-timesheet | [] | + gpe-today | [] | + gpe-todo | | + gphoto2 | | + gprof | [] | + gpsdrive | | + gramadoir | | + grep | | + grub | [] [] | + gsasl | | gss | | - gst-plugins-bad | [] | - gst-plugins-base | [] | - gst-plugins-good | [] | - gst-plugins-ugly | [] | - gstreamer | [] | - gtick | [] | - gtkam | [] [] | - gtkorphan | [] | - gtkspell | [] [] | - gutenprint | [] | - hello | [] [] [] [] [] [] [] | - herrie | [] | + gst-plugins-bad | [] | + gst-plugins-base | [] | + gst-plugins-good | [] | + gst-plugins-ugly | [] | + gstreamer | [] [] [] | + gtick | | + gtkam | [] | + gtkorphan | [] | + gtkspell | [] [] [] | + gutenprint | | + hello | [] | + help2man | | hylafax | | - idutils | [] | - indent | [] [] | - iso_15924 | [] | - iso_3166 | [] [] [] [] [] [] [] [] | - iso_3166_2 | [] | - iso_4217 | [] [] [] | - iso_639 | [] [] [] [] | - jpilot | () () | - jtag | | - jwhois | [] | - kbd | [] | - keytouch | [] | - keytouch-editor | [] | - keytouch-keyboa... | | - latrine | [] | - ld | | - leafpad | [] [] | - libc | [] [] [] | - libexif | | + idutils | | + indent | [] [] | + iso_15924 | | + iso_3166 | [] [] [] [] [] [] [] | + iso_3166_2 | | + iso_4217 | | + iso_639 | [] [] [] [] | + iso_639_3 | | + jwhois | | + kbd | | + keytouch | [] | + keytouch-editor | | + keytouch-keyboa... | [] | + klavaro | [] | + latrine | | + ld | [] | + leafpad | [] [] | + libc | [] [] | + libexif | () | libextractor | | - libgpewidget | [] | + libgnutls | | + libgpewidget | | libgpg-error | | - libgphoto2 | [] | - libgphoto2_port | [] | - libgsasl | [] | - libiconv | [] | - libidn | [] [] | - lifelines | [] | - lilypond | [] | - lingoteach | [] | + libgphoto2 | | + libgphoto2_port | | + libgsasl | | + libiconv | [] | + libidn | | + lifelines | | + liferea | [] [] | + lilypond | | + linkdr | [] | + lordsawar | | lprng | | - lynx | [] [] | - m4 | [] [] | + lynx | [] | + m4 | | mailfromd | | mailutils | | - make | [] [] [] | + make | | man-db | | - minicom | [] | - nano | [] [] [] | - opcodes | [] | - parted | [] [] | - pilot-qof | | - popt | [] [] [] | - psmisc | [] [] [] | + man-db-manpages | | + minicom | | + mkisofs | | + myserver | | + nano | [] [] | + opcodes | | + parted | | + pies | | + popt | | + psmisc | | + pspp | [] | pwdutils | | - qof | | - radius | | - recode | [] | - rpm | [] [] | - screem | [] | - scrollkeeper | [] [] [] [] | - sed | [] [] | - shared-mime-info | [] [] [] [] [] [] [] | - sharutils | [] [] | + radius | [] | + recode | [] [] | + rosegarden | | + rpm | | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] [] | + sed | [] [] | + sharutils | [] [] | shishi | | skencil | | - solfege | () () | + solfege | | + solfege-manual | | soundtracker | | - sp | () | - system-tools-ba... | [] [] [] [] | - tar | [] [] [] | - texinfo | [] [] | + sp | | + sysstat | | + tar | [] | + texinfo | | tin | | - tuxpaint | () [] [] | unicode-han-tra... | | unicode-transla... | | - util-linux | [] [] | - util-linux-ng | [] [] | + util-linux-ng | [] | + vice | | + vmm | | vorbis-tools | | - wastesedge | [] | - wdiff | [] [] | - wget | [] [] | - xchat | [] [] [] [] | - xkeyboard-config | [] [] [] | - xpad | [] [] [] | - +--------------------------------------------------+ - ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn - 51 2 25 3 2 0 6 0 2 2 20 0 11 1 103 6 - - or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta - +--------------------------------------------------+ - Compendium | [] [] [] [] [] | - a2ps | () [] [] [] [] [] [] | - aegis | () () | - ant-phone | [] [] | - anubis | [] [] [] | - ap-utils | () | - aspell | [] [] [] | - bash | [] [] | - bfd | | - bibshelf | [] | - binutils | [] [] | - bison | [] [] [] [] [] | - bison-runtime | [] [] [] [] [] | - bluez-pin | [] [] [] [] [] [] [] [] [] | - cflow | [] | - clisp | [] | - console-tools | [] | - coreutils | [] [] [] [] | - cpio | [] [] [] | - cpplib | [] | - cryptonit | [] [] | - dialog | [] | - diffutils | [] [] [] [] [] [] | - doodle | [] [] | - e2fsprogs | [] [] | - enscript | [] [] [] [] [] | - fetchmail | [] [] [] | - findutils | [] [] [] | - findutils_stable | [] [] [] [] [] [] | - flex | [] [] [] [] [] | - fslint | [] | - gas | | - gawk | [] [] [] [] | - gcal | [] | - gcc | [] [] | - gettext-examples | [] [] [] [] [] [] [] [] | - gettext-runtime | [] [] [] [] [] [] [] [] | - gettext-tools | [] [] [] [] [] [] [] | - gip | [] [] [] [] | - gliv | [] [] [] [] [] [] | - glunarclock | [] [] [] [] [] [] | - gmult | [] [] [] [] | - gnubiff | () [] | - gnucash | () [] | - gnuedu | | - gnulib | [] [] [] | - gnunet | | - gnunet-gtk | [] | - gnutls | [] [] | - gpe-aerial | [] [] [] [] [] [] [] | - gpe-beam | [] [] [] [] [] [] [] | - gpe-calendar | [] [] [] [] | - gpe-clock | [] [] [] [] [] [] [] [] | - gpe-conf | [] [] [] [] [] [] [] | - gpe-contacts | [] [] [] [] [] | - gpe-edit | [] [] [] [] [] [] [] [] [] | - gpe-filemanager | [] [] | - gpe-go | [] [] [] [] [] [] [] [] | - gpe-login | [] [] [] [] [] [] [] [] | - gpe-ownerinfo | [] [] [] [] [] [] [] [] | - gpe-package | [] [] | - gpe-sketchbook | [] [] [] [] [] [] [] [] | - gpe-su | [] [] [] [] [] [] [] [] | - gpe-taskmanager | [] [] [] [] [] [] [] [] | - gpe-timesheet | [] [] [] [] [] [] [] [] | - gpe-today | [] [] [] [] [] [] [] [] | - gpe-todo | [] [] [] [] | - gphoto2 | [] [] [] [] [] [] | - gprof | [] [] [] | - gpsdrive | [] [] | - gramadoir | [] [] | - grep | [] [] [] [] | - gretl | [] [] [] | - gsasl | [] [] [] | - gss | [] [] [] [] | - gst-plugins-bad | [] [] [] | - gst-plugins-base | [] [] | - gst-plugins-good | [] [] | - gst-plugins-ugly | [] [] [] | - gstreamer | [] [] [] [] | - gtick | [] | - gtkam | [] [] [] [] [] | - gtkorphan | [] | - gtkspell | [] [] [] [] [] [] [] [] | - gutenprint | [] | - hello | [] [] [] [] [] [] [] [] | - herrie | [] [] [] | - hylafax | | - idutils | [] [] [] [] [] | - indent | [] [] [] [] [] [] [] | - iso_15924 | | - iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] | - iso_3166_2 | | - iso_4217 | [] [] [] [] [] [] [] | - iso_639 | [] [] [] [] [] [] [] | - jpilot | | - jtag | [] | - jwhois | [] [] [] [] | - kbd | [] [] [] | - keytouch | [] | - keytouch-editor | [] | - keytouch-keyboa... | [] | - latrine | | - ld | [] | - leafpad | [] [] [] [] [] [] | - libc | [] [] [] [] | - libexif | [] [] | - libextractor | [] [] | - libgpewidget | [] [] [] [] [] [] [] [] | - libgpg-error | [] [] [] | - libgphoto2 | [] | - libgphoto2_port | [] [] [] | - libgsasl | [] [] [] [] | - libiconv | [] [] [] | - libidn | [] [] () | - lifelines | [] [] | - lilypond | | - lingoteach | [] | - lprng | [] | - lynx | [] [] [] | - m4 | [] [] [] [] [] | - mailfromd | [] | - mailutils | [] [] [] | - make | [] [] [] [] | - man-db | [] [] [] [] | - minicom | [] [] [] [] [] | - nano | [] [] [] [] | - opcodes | [] [] | - parted | [] | - pilot-qof | | - popt | [] [] [] [] | - psmisc | [] [] | - pwdutils | [] [] | - qof | [] [] | - radius | [] [] | - recode | [] [] [] [] [] [] [] | - rpm | [] [] [] [] | - screem | | - scrollkeeper | [] [] [] [] [] [] [] | - sed | [] [] [] [] [] [] [] [] [] | - shared-mime-info | [] [] [] [] [] [] | - sharutils | [] [] [] [] | - shishi | [] | - skencil | [] [] [] | - solfege | [] | - soundtracker | [] [] | - sp | | - system-tools-ba... | [] [] [] [] [] [] [] [] [] | - tar | [] [] [] [] | - texinfo | [] [] [] [] | - tin | () | - tuxpaint | [] [] [] [] [] [] | - unicode-han-tra... | | - unicode-transla... | | - util-linux | [] [] [] [] | - util-linux-ng | [] [] [] [] | - vorbis-tools | [] | wastesedge | | - wdiff | [] [] [] [] [] [] [] | - wget | [] [] [] [] | - xchat | [] [] [] [] [] [] [] | - xkeyboard-config | [] [] [] | - xpad | [] [] [] | + wdiff | | + wget | [] [] | + wyslij-po | | + xchat | [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] | +--------------------------------------------------+ - or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta - 0 5 77 31 53 4 58 72 3 45 46 9 45 122 3 + af am an ar as ast az be be@latin bg bn_IN bs ca + 6 0 1 2 3 19 1 10 3 28 3 1 38 + + crh cs da de el en en_GB en_ZA eo es et eu fa + +-------------------------------------------------+ + a2ps | [] [] [] [] [] [] [] | + aegis | [] [] [] | + ant-phone | [] () | + anubis | [] [] | + aspell | [] [] [] [] [] | + bash | [] [] [] | + bfd | [] | + bibshelf | [] [] [] | + binutils | [] | + bison | [] [] | + bison-runtime | [] [] [] [] | + bluez-pin | [] [] [] [] [] [] | + bombono-dvd | [] | + buzztard | [] [] [] | + cflow | [] [] | + clisp | [] [] [] [] | + coreutils | [] [] [] [] | + cpio | | + cppi | | + cpplib | [] [] [] | + cryptsetup | [] | + dfarc | [] [] [] | + dialog | [] [] [] [] [] | + dico | | + diffutils | [] [] [] [] [] [] | + dink | [] [] [] | + doodle | [] | + e2fsprogs | [] [] [] | + enscript | [] [] [] | + exif | () [] [] | + fetchmail | [] [] () [] [] [] | + findutils | [] [] [] | + flex | [] [] | + freedink | [] [] [] | + gas | [] | + gawk | [] [] [] | + gcal | [] | + gcc | [] [] | + gettext-examples | [] [] [] [] | + gettext-runtime | [] [] [] [] | + gettext-tools | [] [] [] | + gip | [] [] [] [] | + gjay | [] | + gliv | [] [] [] | + glunarclock | [] [] | + gnubiff | () | + gnucash | [] () () () () | + gnuedu | [] [] | + gnulib | [] [] | + gnunet | | + gnunet-gtk | [] | + gnutls | [] [] | + gold | [] | + gpe-aerial | [] [] [] [] | + gpe-beam | [] [] [] [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] | + gpe-clock | [] [] [] [] | + gpe-conf | [] [] [] | + gpe-contacts | [] [] [] | + gpe-edit | [] [] | + gpe-filemanager | [] [] [] | + gpe-go | [] [] [] [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] [] | + gpe-package | [] [] [] | + gpe-sketchbook | [] [] [] [] | + gpe-su | [] [] [] [] | + gpe-taskmanager | [] [] [] [] | + gpe-timesheet | [] [] [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] [] [] | + gphoto2 | [] [] () [] [] [] | + gprof | [] [] [] | + gpsdrive | [] [] [] | + gramadoir | [] [] [] | + grep | [] | + grub | [] [] | + gsasl | [] | + gss | | + gst-plugins-bad | [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] () [] | + gtkam | [] [] () [] [] | + gtkorphan | [] [] [] [] | + gtkspell | [] [] [] [] [] [] [] | + gutenprint | [] [] [] | + hello | [] [] [] [] | + help2man | [] | + hylafax | [] [] | + idutils | [] [] | + indent | [] [] [] [] [] [] [] | + iso_15924 | [] () [] [] | + iso_3166 | [] [] [] [] () [] [] [] () | + iso_3166_2 | () | + iso_4217 | [] [] [] () [] [] | + iso_639 | [] [] [] [] () [] [] | + iso_639_3 | [] | + jwhois | [] | + kbd | [] [] [] [] [] | + keytouch | [] [] | + keytouch-editor | [] [] | + keytouch-keyboa... | [] | + klavaro | [] [] [] [] | + latrine | [] () | + ld | [] [] | + leafpad | [] [] [] [] [] [] | + libc | [] [] [] [] | + libexif | [] [] () | + libextractor | | + libgnutls | [] | + libgpewidget | [] [] | + libgpg-error | [] [] | + libgphoto2 | [] () | + libgphoto2_port | [] () [] | + libgsasl | | + libiconv | [] [] [] [] [] | + libidn | [] [] [] | + lifelines | [] () | + liferea | [] [] [] [] [] | + lilypond | [] [] [] | + linkdr | [] [] [] | + lordsawar | [] | + lprng | | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailfromd | | + mailutils | [] | + make | [] [] [] | + man-db | | + man-db-manpages | | + minicom | [] [] [] [] | + mkisofs | | + myserver | | + nano | [] [] [] | + opcodes | [] [] | + parted | [] [] | + pies | | + popt | [] [] [] [] [] | + psmisc | [] [] [] | + pspp | [] | + pwdutils | [] | + radius | [] | + recode | [] [] [] [] [] [] | + rosegarden | () () () | + rpm | [] [] [] | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] [] [] [] | + sed | [] [] [] [] [] [] | + sharutils | [] [] [] [] | + shishi | | + skencil | [] () [] | + solfege | [] [] [] | + solfege-manual | [] [] | + soundtracker | [] [] [] | + sp | [] | + sysstat | [] [] [] | + tar | [] [] [] [] | + texinfo | [] [] [] | + tin | [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] [] [] [] | + vice | () () | + vmm | [] | + vorbis-tools | [] [] | + wastesedge | [] | + wdiff | [] [] | + wget | [] [] [] | + wyslij-po | | + xchat | [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] [] [] [] | + +-------------------------------------------------+ + crh cs da de el en en_GB en_ZA eo es et eu fa + 5 64 105 117 18 1 8 0 28 89 18 19 0 + + fi fr ga gl gu he hi hr hu hy id is it ja ka kn + +----------------------------------------------------+ + a2ps | [] [] [] [] | + aegis | [] [] | + ant-phone | [] [] | + anubis | [] [] [] [] | + aspell | [] [] [] [] | + bash | [] [] [] [] | + bfd | [] [] [] | + bibshelf | [] [] [] [] [] | + binutils | [] [] [] | + bison | [] [] [] [] | + bison-runtime | [] [] [] [] [] [] | + bluez-pin | [] [] [] [] [] [] [] [] | + bombono-dvd | [] | + buzztard | [] | + cflow | [] [] [] | + clisp | [] | + coreutils | [] [] [] [] [] | + cpio | [] [] [] [] | + cppi | [] [] | + cpplib | [] [] [] | + cryptsetup | [] [] [] | + dfarc | [] [] [] | + dialog | [] [] [] [] [] [] [] | + dico | | + diffutils | [] [] [] [] [] [] [] [] [] | + dink | [] | + doodle | [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] | + exif | [] [] [] [] [] [] | + fetchmail | [] [] [] [] | + findutils | [] [] [] [] [] [] | + flex | [] [] [] | + freedink | [] [] [] | + gas | [] [] | + gawk | [] [] [] [] () [] | + gcal | [] | + gcc | [] | + gettext-examples | [] [] [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] [] | + gettext-tools | [] [] [] [] | + gip | [] [] [] [] [] [] | + gjay | [] | + gliv | [] () | + glunarclock | [] [] [] [] | + gnubiff | () [] () | + gnucash | () () () () () [] | + gnuedu | [] [] | + gnulib | [] [] [] [] [] [] | + gnunet | | + gnunet-gtk | [] | + gnutls | [] [] | + gold | [] [] | + gpe-aerial | [] [] [] | + gpe-beam | [] [] [] [] | + gpe-bluetooth | [] [] [] [] | + gpe-calendar | [] [] | + gpe-clock | [] [] [] [] [] | + gpe-conf | [] [] [] [] | + gpe-contacts | [] [] [] [] | + gpe-edit | [] [] [] | + gpe-filemanager | [] [] [] [] | + gpe-go | [] [] [] [] [] | + gpe-login | [] [] [] | + gpe-ownerinfo | [] [] [] [] [] | + gpe-package | [] [] [] | + gpe-sketchbook | [] [] [] [] | + gpe-su | [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] | + gpe-timesheet | [] [] [] [] [] | + gpe-today | [] [] [] [] [] [] [] | + gpe-todo | [] [] [] | + gphoto2 | [] [] [] [] [] [] | + gprof | [] [] [] [] | + gpsdrive | [] [] [] | + gramadoir | [] [] [] | + grep | [] [] | + grub | [] [] [] [] | + gsasl | [] [] [] [] [] | + gss | [] [] [] [] [] | + gst-plugins-bad | [] [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] [] [] [] [] | + gtkam | [] [] [] [] [] | + gtkorphan | [] [] [] | + gtkspell | [] [] [] [] [] [] [] [] [] | + gutenprint | [] [] [] [] | + hello | [] [] [] | + help2man | [] [] | + hylafax | [] | + idutils | [] [] [] [] [] [] | + indent | [] [] [] [] [] [] [] [] | + iso_15924 | [] () [] [] | + iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] | + iso_3166_2 | () [] [] [] | + iso_4217 | [] () [] [] [] [] | + iso_639 | [] () [] [] [] [] [] [] [] | + iso_639_3 | () [] [] | + jwhois | [] [] [] [] [] | + kbd | [] [] | + keytouch | [] [] [] [] [] [] | + keytouch-editor | [] [] [] [] [] | + keytouch-keyboa... | [] [] [] [] [] | + klavaro | [] [] | + latrine | [] [] [] | + ld | [] [] [] [] | + leafpad | [] [] [] [] [] [] [] () | + libc | [] [] [] [] [] | + libexif | [] | + libextractor | | + libgnutls | [] [] | + libgpewidget | [] [] [] [] | + libgpg-error | [] [] | + libgphoto2 | [] [] [] | + libgphoto2_port | [] [] [] | + libgsasl | [] [] [] [] [] | + libiconv | [] [] [] [] [] [] | + libidn | [] [] [] [] | + lifelines | () | + liferea | [] [] [] [] | + lilypond | [] [] | + linkdr | [] [] [] [] [] | + lordsawar | | + lprng | [] | + lynx | [] [] [] [] [] | + m4 | [] [] [] [] [] [] | + mailfromd | | + mailutils | [] [] | + make | [] [] [] [] [] [] [] [] [] | + man-db | [] [] | + man-db-manpages | [] | + minicom | [] [] [] [] [] | + mkisofs | [] [] [] [] | + myserver | | + nano | [] [] [] [] [] [] | + opcodes | [] [] [] [] | + parted | [] [] [] [] | + pies | | + popt | [] [] [] [] [] [] [] [] [] | + psmisc | [] [] [] | + pspp | | + pwdutils | [] [] | + radius | [] [] | + recode | [] [] [] [] [] [] [] [] | + rosegarden | () () () () () | + rpm | [] [] | + rush | | + sarg | [] | + screem | [] [] | + scrollkeeper | [] [] [] [] | + sed | [] [] [] [] [] [] [] [] | + sharutils | [] [] [] [] [] [] [] | + shishi | [] | + skencil | [] | + solfege | [] [] [] [] | + solfege-manual | [] [] | + soundtracker | [] [] | + sp | [] () | + sysstat | [] [] [] [] [] | + tar | [] [] [] [] [] [] [] | + texinfo | [] [] [] [] | + tin | [] | + unicode-han-tra... | | + unicode-transla... | [] [] | + util-linux-ng | [] [] [] [] [] [] | + vice | () () () | + vmm | [] | + vorbis-tools | [] | + wastesedge | () () | + wdiff | [] | + wget | [] [] [] [] [] [] [] [] | + wyslij-po | [] [] [] | + xchat | [] [] [] [] [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] [] [] | + +----------------------------------------------------+ + fi fr ga gl gu he hi hr hu hy id is it ja ka kn + 105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4 + + ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne + +-----------------------------------------------+ + a2ps | [] | + aegis | | + ant-phone | | + anubis | [] [] | + aspell | [] | + bash | | + bfd | | + bibshelf | [] [] | + binutils | | + bison | [] | + bison-runtime | [] [] [] [] [] | + bluez-pin | [] [] [] [] [] | + bombono-dvd | | + buzztard | | + cflow | | + clisp | | + coreutils | [] | + cpio | | + cppi | | + cpplib | | + cryptsetup | | + dfarc | [] | + dialog | [] [] [] [] [] | + dico | | + diffutils | [] [] | + dink | | + doodle | | + e2fsprogs | | + enscript | | + exif | [] | + fetchmail | | + findutils | | + flex | | + freedink | [] | + gas | | + gawk | | + gcal | | + gcc | | + gettext-examples | [] [] [] [] | + gettext-runtime | [] | + gettext-tools | [] | + gip | [] [] | + gjay | | + gliv | | + glunarclock | [] | + gnubiff | | + gnucash | () () () () | + gnuedu | | + gnulib | | + gnunet | | + gnunet-gtk | | + gnutls | [] | + gold | | + gpe-aerial | [] | + gpe-beam | [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] | + gpe-clock | [] [] [] [] [] | + gpe-conf | [] [] | + gpe-contacts | [] [] | + gpe-edit | [] | + gpe-filemanager | [] [] | + gpe-go | [] [] [] | + gpe-login | [] | + gpe-ownerinfo | [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] | + gpe-su | [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] [] | + gpe-timesheet | [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] [] | + gphoto2 | | + gprof | [] | + gpsdrive | | + gramadoir | | + grep | | + grub | | + gsasl | | + gss | | + gst-plugins-bad | [] [] [] [] | + gst-plugins-base | [] [] | + gst-plugins-good | [] [] | + gst-plugins-ugly | [] [] [] [] [] | + gstreamer | | + gtick | | + gtkam | [] | + gtkorphan | [] [] | + gtkspell | [] [] [] [] [] [] [] | + gutenprint | | + hello | [] [] [] | + help2man | | + hylafax | | + idutils | | + indent | | + iso_15924 | [] [] | + iso_3166 | [] [] () [] [] [] [] [] | + iso_3166_2 | | + iso_4217 | [] [] | + iso_639 | [] [] | + iso_639_3 | [] | + jwhois | [] | + kbd | | + keytouch | [] | + keytouch-editor | [] | + keytouch-keyboa... | [] | + klavaro | [] | + latrine | [] | + ld | | + leafpad | [] [] [] | + libc | [] | + libexif | | + libextractor | | + libgnutls | [] | + libgpewidget | [] [] | + libgpg-error | | + libgphoto2 | | + libgphoto2_port | | + libgsasl | | + libiconv | | + libidn | | + lifelines | | + liferea | | + lilypond | | + linkdr | | + lordsawar | | + lprng | | + lynx | | + m4 | | + mailfromd | | + mailutils | | + make | [] | + man-db | | + man-db-manpages | | + minicom | [] | + mkisofs | | + myserver | | + nano | [] [] | + opcodes | | + parted | | + pies | | + popt | [] [] [] | + psmisc | | + pspp | | + pwdutils | | + radius | | + recode | | + rosegarden | | + rpm | | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] | + sed | | + sharutils | | + shishi | | + skencil | | + solfege | [] | + solfege-manual | | + soundtracker | | + sp | | + sysstat | [] | + tar | [] | + texinfo | [] | + tin | | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | | + vice | | + vmm | | + vorbis-tools | | + wastesedge | | + wdiff | | + wget | [] | + wyslij-po | | + xchat | [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] | + +-----------------------------------------------+ + ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne + 20 5 10 1 13 48 4 2 2 4 24 10 20 3 1 + + nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr + +---------------------------------------------------+ + a2ps | [] [] [] [] [] [] [] [] | + aegis | [] [] [] | + ant-phone | [] [] | + anubis | [] [] [] | + aspell | [] [] [] [] [] | + bash | [] [] | + bfd | [] | + bibshelf | [] [] | + binutils | [] [] | + bison | [] [] [] | + bison-runtime | [] [] [] [] [] [] [] | + bluez-pin | [] [] [] [] [] [] [] [] | + bombono-dvd | [] () | + buzztard | [] [] | + cflow | [] | + clisp | [] [] | + coreutils | [] [] [] [] [] [] | + cpio | [] [] [] | + cppi | [] | + cpplib | [] | + cryptsetup | [] | + dfarc | [] | + dialog | [] [] [] [] | + dico | [] | + diffutils | [] [] [] [] [] [] | + dink | () | + doodle | [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] [] | + exif | [] [] [] () [] | + fetchmail | [] [] [] [] | + findutils | [] [] [] [] [] | + flex | [] [] [] [] [] | + freedink | [] [] | + gas | | + gawk | [] [] [] [] | + gcal | | + gcc | [] | + gettext-examples | [] [] [] [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] [] [] [] [] | + gettext-tools | [] [] [] [] [] [] | + gip | [] [] [] [] [] | + gjay | | + gliv | [] [] [] [] [] [] | + glunarclock | [] [] [] [] [] | + gnubiff | [] () | + gnucash | [] () () () | + gnuedu | [] | + gnulib | [] [] [] [] | + gnunet | | + gnunet-gtk | | + gnutls | [] [] | + gold | | + gpe-aerial | [] [] [] [] [] [] [] | + gpe-beam | [] [] [] [] [] [] [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] [] [] [] | + gpe-clock | [] [] [] [] [] [] [] [] | + gpe-conf | [] [] [] [] [] [] [] | + gpe-contacts | [] [] [] [] [] | + gpe-edit | [] [] [] | + gpe-filemanager | [] [] [] | + gpe-go | [] [] [] [] [] [] [] [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] [] [] [] [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] [] [] [] [] [] | + gpe-su | [] [] [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] [] [] [] | + gpe-timesheet | [] [] [] [] [] [] [] [] | + gpe-today | [] [] [] [] [] [] [] [] | + gpe-todo | [] [] [] [] [] | + gphoto2 | [] [] [] [] [] [] [] [] | + gprof | [] [] [] | + gpsdrive | [] [] | + gramadoir | [] [] | + grep | [] [] [] [] | + grub | [] [] [] | + gsasl | [] [] [] [] | + gss | [] [] [] | + gst-plugins-bad | [] [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] [] [] | + gtkam | [] [] [] [] [] [] | + gtkorphan | [] | + gtkspell | [] [] [] [] [] [] [] [] [] [] | + gutenprint | [] [] | + hello | [] [] [] [] | + help2man | [] [] | + hylafax | [] | + idutils | [] [] [] [] [] | + indent | [] [] [] [] [] [] [] | + iso_15924 | [] [] [] [] | + iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] | + iso_3166_2 | [] [] [] | + iso_4217 | [] [] [] [] [] [] [] [] | + iso_639 | [] [] [] [] [] [] [] [] [] | + iso_639_3 | [] [] | + jwhois | [] [] [] [] | + kbd | [] [] [] | + keytouch | [] [] [] | + keytouch-editor | [] [] [] | + keytouch-keyboa... | [] [] [] | + klavaro | [] [] | + latrine | [] [] | + ld | | + leafpad | [] [] [] [] [] [] [] [] [] | + libc | [] [] [] [] | + libexif | [] [] () [] | + libextractor | | + libgnutls | [] [] | + libgpewidget | [] [] [] | + libgpg-error | [] [] | + libgphoto2 | [] [] | + libgphoto2_port | [] [] [] [] [] | + libgsasl | [] [] [] [] [] | + libiconv | [] [] [] [] [] | + libidn | [] [] | + lifelines | [] [] | + liferea | [] [] [] [] [] () () [] | + lilypond | [] | + linkdr | [] [] [] | + lordsawar | | + lprng | [] | + lynx | [] [] [] | + m4 | [] [] [] [] [] | + mailfromd | [] | + mailutils | [] | + make | [] [] [] [] | + man-db | [] [] [] | + man-db-manpages | [] [] [] | + minicom | [] [] [] [] | + mkisofs | [] [] [] | + myserver | | + nano | [] [] [] [] | + opcodes | [] [] | + parted | [] [] [] [] | + pies | [] | + popt | [] [] [] [] | + psmisc | [] [] [] | + pspp | [] [] | + pwdutils | [] | + radius | [] [] [] | + recode | [] [] [] [] [] [] [] [] | + rosegarden | () () | + rpm | [] [] [] | + rush | [] [] | + sarg | | + screem | | + scrollkeeper | [] [] [] [] [] [] [] [] | + sed | [] [] [] [] [] [] [] [] [] | + sharutils | [] [] [] [] | + shishi | [] | + skencil | [] [] | + solfege | [] [] [] [] | + solfege-manual | [] [] [] | + soundtracker | [] | + sp | | + sysstat | [] [] [] [] | + tar | [] [] [] [] | + texinfo | [] [] [] [] | + tin | [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] [] [] [] [] | + vice | [] | + vmm | [] | + vorbis-tools | [] [] | + wastesedge | [] | + wdiff | [] [] | + wget | [] [] [] [] [] [] [] | + wyslij-po | [] [] [] | + xchat | [] [] [] [] [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] | + +---------------------------------------------------+ + nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr + 135 10 4 7 105 1 29 62 47 91 3 54 46 9 37 - tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu + sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW +---------------------------------------------------+ - Compendium | [] [] [] [] | 19 - a2ps | [] [] [] | 19 - aegis | [] | 1 - ant-phone | [] [] | 6 - anubis | [] [] [] | 11 - ap-utils | () [] | 4 - aspell | [] [] [] | 16 - bash | [] | 6 - bfd | | 2 - bibshelf | [] | 7 - binutils | [] [] [] [] | 9 - bison | [] [] [] [] | 20 - bison-runtime | [] [] [] [] | 18 - bluez-pin | [] [] [] [] [] [] | 28 - cflow | [] [] | 5 - clisp | | 9 - console-tools | [] [] | 5 - coreutils | [] [] [] | 18 - cpio | [] [] [] [] | 11 - cpplib | [] [] [] [] [] | 12 - cryptonit | [] | 6 - dialog | [] [] [] | 9 - diffutils | [] [] [] [] [] | 29 - doodle | [] | 6 - e2fsprogs | [] [] | 10 - enscript | [] [] [] | 16 - fetchmail | [] [] | 12 - findutils | [] [] [] | 11 - findutils_stable | [] [] [] [] | 18 - flex | [] [] | 15 - fslint | [] | 2 - gas | [] | 3 - gawk | [] [] [] | 16 - gcal | [] | 5 - gcc | [] [] [] | 7 - gettext-examples | [] [] [] [] [] [] | 29 - gettext-runtime | [] [] [] [] [] [] | 28 - gettext-tools | [] [] [] [] [] | 20 - gip | [] [] | 13 - gliv | [] [] | 11 - glunarclock | [] [] [] | 15 - gmult | [] [] [] [] | 16 - gnubiff | [] | 2 - gnucash | () [] | 5 - gnuedu | [] | 2 - gnulib | [] | 10 - gnunet | | 0 - gnunet-gtk | [] [] | 3 - gnutls | | 4 - gpe-aerial | [] [] | 14 - gpe-beam | [] [] | 14 - gpe-calendar | [] [] | 7 - gpe-clock | [] [] [] [] | 21 - gpe-conf | [] [] [] | 16 - gpe-contacts | [] [] | 10 - gpe-edit | [] [] [] [] [] | 22 - gpe-filemanager | [] [] | 7 - gpe-go | [] [] [] [] | 19 - gpe-login | [] [] [] [] [] | 21 - gpe-ownerinfo | [] [] [] [] | 21 - gpe-package | [] | 6 - gpe-sketchbook | [] [] | 16 - gpe-su | [] [] [] [] | 21 - gpe-taskmanager | [] [] [] [] | 21 - gpe-timesheet | [] [] [] [] | 18 - gpe-today | [] [] [] [] [] | 21 - gpe-todo | [] [] | 8 - gphoto2 | [] [] [] [] | 21 - gprof | [] [] | 13 - gpsdrive | [] | 5 - gramadoir | [] | 7 - grep | [] | 12 - gretl | | 6 - gsasl | [] [] [] | 9 - gss | [] | 7 - gst-plugins-bad | [] [] [] | 13 - gst-plugins-base | [] [] | 11 - gst-plugins-good | [] [] [] [] [] | 16 - gst-plugins-ugly | [] [] [] | 13 - gstreamer | [] [] [] | 18 - gtick | [] [] | 7 - gtkam | [] | 16 - gtkorphan | [] | 7 - gtkspell | [] [] [] [] [] [] | 27 - gutenprint | | 4 - hello | [] [] [] [] [] | 38 - herrie | [] [] | 8 - hylafax | | 0 - idutils | [] [] | 15 - indent | [] [] [] [] [] | 28 - iso_15924 | [] [] | 4 - iso_3166 | [] [] [] [] [] [] [] [] [] | 54 - iso_3166_2 | [] [] | 4 - iso_4217 | [] [] [] [] [] | 24 - iso_639 | [] [] [] [] [] | 26 - jpilot | [] [] [] [] | 7 - jtag | [] | 3 - jwhois | [] [] [] | 13 - kbd | [] [] [] | 13 - keytouch | [] | 8 - keytouch-editor | [] | 5 - keytouch-keyboa... | [] | 5 - latrine | [] [] | 5 - ld | [] [] [] [] | 10 - leafpad | [] [] [] [] [] | 24 - libc | [] [] [] | 19 - libexif | [] | 5 - libextractor | [] | 5 - libgpewidget | [] [] [] | 20 - libgpg-error | [] | 6 - libgphoto2 | [] [] | 9 - libgphoto2_port | [] [] [] | 11 - libgsasl | [] | 8 - libiconv | [] [] | 11 - libidn | [] [] | 11 - lifelines | | 4 - lilypond | [] | 6 - lingoteach | [] | 6 - lprng | [] | 2 - lynx | [] [] [] | 15 - m4 | [] [] [] | 18 - mailfromd | [] [] | 3 - mailutils | [] [] | 8 - make | [] [] [] | 20 - man-db | [] | 9 - minicom | [] | 14 - nano | [] [] [] | 20 - opcodes | [] [] | 10 - parted | [] [] [] | 11 - pilot-qof | [] | 1 - popt | [] [] [] [] | 18 - psmisc | [] [] | 10 - pwdutils | [] | 3 - qof | [] | 4 - radius | [] [] | 7 - recode | [] [] [] | 25 - rpm | [] [] [] [] | 13 - screem | [] | 2 - scrollkeeper | [] [] [] [] | 26 - sed | [] [] [] [] | 23 - shared-mime-info | [] [] [] | 29 - sharutils | [] [] [] | 23 - shishi | [] | 3 - skencil | [] | 7 - solfege | [] | 3 - soundtracker | [] [] | 9 - sp | [] | 3 - system-tools-ba... | [] [] [] [] [] [] [] | 38 - tar | [] [] [] | 17 - texinfo | [] [] [] | 15 - tin | | 1 - tuxpaint | [] [] [] | 19 + a2ps | [] [] [] [] [] | 27 + aegis | [] | 9 + ant-phone | [] [] [] [] | 9 + anubis | [] [] [] [] | 15 + aspell | [] [] [] | 20 + bash | [] [] [] | 12 + bfd | [] | 6 + bibshelf | [] [] [] | 16 + binutils | [] [] | 8 + bison | [] [] | 12 + bison-runtime | [] [] [] [] [] [] | 29 + bluez-pin | [] [] [] [] [] [] [] [] | 37 + bombono-dvd | [] | 4 + buzztard | [] | 7 + cflow | [] [] [] | 9 + clisp | | 10 + coreutils | [] [] [] [] | 22 + cpio | [] [] [] [] [] [] | 13 + cppi | [] [] | 5 + cpplib | [] [] [] [] [] [] | 14 + cryptsetup | [] [] | 7 + dfarc | [] | 9 + dialog | [] [] [] [] [] [] [] | 30 + dico | [] | 2 + diffutils | [] [] [] [] [] [] | 30 + dink | | 4 + doodle | [] [] | 7 + e2fsprogs | [] [] [] | 11 + enscript | [] [] [] [] | 17 + exif | [] [] [] | 16 + fetchmail | [] [] [] | 17 + findutils | [] [] [] [] [] | 20 + flex | [] [] [] [] | 15 + freedink | [] | 10 + gas | [] | 4 + gawk | [] [] [] [] | 18 + gcal | [] [] | 5 + gcc | [] [] [] | 7 + gettext-examples | [] [] [] [] [] [] [] | 34 + gettext-runtime | [] [] [] [] [] [] [] | 29 + gettext-tools | [] [] [] [] [] [] | 22 + gip | [] [] [] [] | 22 + gjay | [] | 3 + gliv | [] [] [] | 14 + glunarclock | [] [] [] [] [] | 19 + gnubiff | [] [] | 4 + gnucash | () [] () [] () | 10 + gnuedu | [] [] | 7 + gnulib | [] [] [] [] | 16 + gnunet | [] | 1 + gnunet-gtk | [] [] [] | 5 + gnutls | [] [] [] | 10 + gold | [] | 4 + gpe-aerial | [] [] [] | 18 + gpe-beam | [] [] [] | 19 + gpe-bluetooth | [] [] [] | 13 + gpe-calendar | [] [] [] [] | 12 + gpe-clock | [] [] [] [] [] | 28 + gpe-conf | [] [] [] [] | 20 + gpe-contacts | [] [] [] | 17 + gpe-edit | [] [] [] | 12 + gpe-filemanager | [] [] [] [] | 16 + gpe-go | [] [] [] [] [] | 25 + gpe-login | [] [] [] | 11 + gpe-ownerinfo | [] [] [] [] [] | 25 + gpe-package | [] [] [] | 13 + gpe-sketchbook | [] [] [] | 20 + gpe-su | [] [] [] [] [] | 30 + gpe-taskmanager | [] [] [] [] [] | 29 + gpe-timesheet | [] [] [] [] [] | 25 + gpe-today | [] [] [] [] [] [] | 30 + gpe-todo | [] [] [] [] | 17 + gphoto2 | [] [] [] [] [] | 24 + gprof | [] [] [] | 15 + gpsdrive | [] [] [] | 11 + gramadoir | [] [] [] | 11 + grep | [] [] [] | 10 + grub | [] [] [] | 14 + gsasl | [] [] [] [] | 14 + gss | [] [] [] | 11 + gst-plugins-bad | [] [] [] [] | 26 + gst-plugins-base | [] [] [] [] [] | 24 + gst-plugins-good | [] [] [] [] | 24 + gst-plugins-ugly | [] [] [] [] [] | 29 + gstreamer | [] [] [] [] | 22 + gtick | [] [] [] | 13 + gtkam | [] [] [] | 20 + gtkorphan | [] [] [] | 14 + gtkspell | [] [] [] [] [] [] [] [] [] | 45 + gutenprint | [] | 10 + hello | [] [] [] [] [] [] | 21 + help2man | [] [] | 7 + hylafax | [] | 5 + idutils | [] [] [] [] | 17 + indent | [] [] [] [] [] [] | 30 + iso_15924 | () [] () [] [] | 16 + iso_3166 | [] [] () [] [] () [] [] [] () | 53 + iso_3166_2 | () [] () [] | 9 + iso_4217 | [] () [] [] () [] [] | 26 + iso_639 | [] [] [] () [] () [] [] [] [] | 38 + iso_639_3 | [] () | 8 + jwhois | [] [] [] [] [] | 16 + kbd | [] [] [] [] [] | 15 + keytouch | [] [] [] | 16 + keytouch-editor | [] [] [] | 14 + keytouch-keyboa... | [] [] [] | 14 + klavaro | [] | 11 + latrine | [] [] [] | 10 + ld | [] [] [] [] | 11 + leafpad | [] [] [] [] [] [] | 33 + libc | [] [] [] [] [] | 21 + libexif | [] () | 7 + libextractor | [] | 1 + libgnutls | [] [] [] | 9 + libgpewidget | [] [] [] | 14 + libgpg-error | [] [] [] | 9 + libgphoto2 | [] [] | 8 + libgphoto2_port | [] [] [] [] | 14 + libgsasl | [] [] [] | 13 + libiconv | [] [] [] [] | 21 + libidn | () [] [] | 11 + lifelines | [] | 4 + liferea | [] [] [] | 21 + lilypond | [] | 7 + linkdr | [] [] [] [] [] | 17 + lordsawar | | 1 + lprng | [] | 3 + lynx | [] [] [] [] | 17 + m4 | [] [] [] [] | 19 + mailfromd | [] [] | 3 + mailutils | [] | 5 + make | [] [] [] [] | 21 + man-db | [] [] [] | 8 + man-db-manpages | | 4 + minicom | [] [] | 16 + mkisofs | [] [] | 9 + myserver | | 0 + nano | [] [] [] [] | 21 + opcodes | [] [] [] | 11 + parted | [] [] [] [] [] | 15 + pies | [] [] | 3 + popt | [] [] [] [] [] [] | 27 + psmisc | [] [] | 11 + pspp | | 4 + pwdutils | [] [] | 6 + radius | [] [] | 9 + recode | [] [] [] [] | 28 + rosegarden | () | 0 + rpm | [] [] [] | 11 + rush | [] [] | 4 + sarg | | 1 + screem | [] | 3 + scrollkeeper | [] [] [] [] [] | 27 + sed | [] [] [] [] [] | 30 + sharutils | [] [] [] [] [] | 22 + shishi | [] | 3 + skencil | [] [] | 7 + solfege | [] [] [] [] | 16 + solfege-manual | [] | 8 + soundtracker | [] [] [] | 9 + sp | [] | 3 + sysstat | [] [] | 15 + tar | [] [] [] [] [] [] | 23 + texinfo | [] [] [] [] [] | 17 + tin | | 4 unicode-han-tra... | | 0 unicode-transla... | | 2 - util-linux | [] [] [] | 20 - util-linux-ng | [] [] [] | 20 - vorbis-tools | [] [] | 4 - wastesedge | | 1 - wdiff | [] [] | 23 - wget | [] [] [] | 20 - xchat | [] [] [] [] | 29 - xkeyboard-config | [] [] [] | 14 - xpad | [] [] [] | 15 + util-linux-ng | [] [] [] [] | 20 + vice | () () | 1 + vmm | [] | 4 + vorbis-tools | [] | 6 + wastesedge | | 2 + wdiff | [] [] | 7 + wget | [] [] [] [] [] | 26 + wyslij-po | [] [] | 8 + xchat | [] [] [] [] [] [] | 36 + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63 + xkeyboard-config | [] [] [] | 22 +---------------------------------------------------+ - 76 teams tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu - 163 domains 0 3 1 74 51 0 143 21 1 57 7 45 0 2036 + 85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW + 178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are @@ -1042,12 +1256,12 @@ lag between the mere existence a PO file and its wide availability in a distribution. - If November 2007 seems to be old, you may fetch a more recent copy -of this `ABOUT-NLS' file on most GNU archive sites. The most -up-to-date matrix with full percentage details can be found at + If June 2010 seems to be old, you may fetch a more recent copy of +this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date +matrix with full percentage details can be found at `http://translationproject.org/extra/matrix.html'. -1.6 Using `gettext' in new packages +1.5 Using `gettext' in new packages =================================== If you are writing a freely available program and want to diff -Nru pulseaudio-0.9.22~git20100719/aclocal.m4 pulseaudio-0.9.22/aclocal.m4 --- pulseaudio-0.9.22~git20100719/aclocal.m4 2010-07-19 12:43:07.000000000 +0000 +++ pulseaudio-0.9.22/aclocal.m4 2010-11-26 00:59:03.000000000 +0000 @@ -13,8 +13,8 @@ m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, -[m4_warning([this file was generated for autoconf 2.65. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],, +[m4_warning([this file was generated for autoconf 2.66. 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'.])]) @@ -301,7 +301,7 @@ 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.in. + dnl in configure.ac. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" @@ -430,7 +430,7 @@ dnl dnl Now the definitions that aclocal will find dnl -ifdef(glib_configure_in,[],[ +ifdef(glib_configure_ac,[],[ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) ])dnl @@ -589,7 +589,7 @@ Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. -_PKG_TEXT])dnl +_PKG_TEXT]) ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) @@ -600,7 +600,7 @@ _PKG_TEXT -To get pkg-config, see .])dnl +To get pkg-config, see .]) ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS diff -Nru pulseaudio-0.9.22~git20100719/bootstrap.sh pulseaudio-0.9.22/bootstrap.sh --- pulseaudio-0.9.22~git20100719/bootstrap.sh 2010-07-19 12:40:44.000000000 +0000 +++ pulseaudio-0.9.22/bootstrap.sh 2010-11-26 00:45:22.000000000 +0000 @@ -52,10 +52,10 @@ echo "Activated pre-commit hook." fi -#if [ -f .tarball-version ]; then -# echo "Marking tarball version as modified." -# echo -n `cat .tarball-version | sed 's/-rebootstrapped$//'`-rebootstrapped >.tarball-version -#fi +if [ -f .tarball-version ]; then + echo "Marking tarball version as modified." + echo -n `cat .tarball-version | sed 's/-rebootstrapped$//'`-rebootstrapped >.tarball-version +fi # We check for this here, because if pkg-config is not found in the # system, it's likely that the pkg.m4 macro file is also not present, diff -Nru pulseaudio-0.9.22~git20100719/ChangeLog pulseaudio-0.9.22/ChangeLog --- pulseaudio-0.9.22~git20100719/ChangeLog 2010-07-19 12:43:04.000000000 +0000 +++ pulseaudio-0.9.22/ChangeLog 2010-11-26 01:12:33.000000000 +0000 @@ -1,9 +1,7586 @@ -2010-07-19 gettextize - * configure.ac (AC_CONFIG_FILES): Add po/Makefile.in. +2010-11-26 Lennart Poettering + 70f69ac: build-sys: simplify things for building on fedora + 1af3253: i18n: update POTFILES.in + 3a67dde: build-sys: bump soname -2010-07-19 gettextize +2010-11-25 Daniel T Chen + dad4b4e: Handle 'Internal Mic 1' as an 'Input Source' - * Makefile.am (EXTRA_DIST): Add config.rpath, m4/ChangeLog. - * configure.ac (AC_CONFIG_FILES): Add po/Makefile.in. +2010-11-19 David Henningsson + 167a9a4: Add "Rear Mic" to alsa mixer paths. +2010-11-25 Lennart Poettering + b53f06a: alsa-source: fix enum types + 9472d7a: alsa-mixer: make a few strings translatable + +2010-11-25 Jan Kratochvil + 745f59a: pulse: make sure legacy_dir is not static + +2010-11-18 Wanming.Zhang@tieto.com + b173f9c: man: Remove repeated lines + +2010-11-14 Stephen Moehle + 8036598: upnp: Implement the MediaServer2 D-Bus interface + +2010-11-17 Colin Guthrie + 70a060d: combine: Only check if the sink is h/w etc. in automatic mode + +2010-11-12 Antti-Ville Jansson + 33ea7b7: combine: Handle reappearing slave sinks in non-automatic mode. + +2010-11-11 Pierre-Louis Bossart + 34fd605: alsa: remove redundant call to snd_pcm_nonblock() + +2010-10-03 David Fries + 2c9c908: doxygen: Add 'See also' linking to the overview page + +2010-10-12 David Fries + f2593da: doxygen: Documentation improvements + 14bc454: doxygen: Fix the "all" comments regarding volume helper functions. + +2010-09-18 David Fries + b7303e2: doxygen: Fix documentation typos + +2010-10-01 Colin Guthrie + 352ae22: sink-input: Fix comment + +2010-10-16 Colin Guthrie + 848dd37: intended-roles: Mark devices with a form factor of 'headset' as being appropriate for 'phone' streams + +2010-10-15 Daniel Mack + 8a30d4c: alsa-mixer: add profile for Native Instruments Korecontroller + +2010-10-08 David Henningsson + a8d76e9: SSE/MMX/ARM: Fix high frequency noise with unusual number of channels + +2010-10-06 Colin Guthrie + a378c02: augment-properties: Fix debug messages and statement bracketing. + +2010-10-01 Colin Guthrie + 9109a18: suspend: Do not assert when checking for device suspended status and a stream is not linked. + +2010-06-04 Colin Guthrie + a21b832: device-manager: Ensure that sinks/sources populate the device manager lists in order of their priority. + +2010-01-31 Colin Guthrie + 858abe6: augment-properties: Search for .desktop files in subfolders too. + +2010-02-05 Colin Guthrie + a7a6f44: stream-restore: Clear the save_sink/save_source flags on apply_entry. + +2009-12-06 Arun Raghavan + 9729966: Add a configure option to change 'udevrulesdir' + +2010-09-18 Colin Guthrie + 165cb87: x11: Use the default screen for X11 properties. + 5c0bc09: xcb: xcb_get_setup() can return 0, so make sure we check it before using + 2c564f2: xcb: Ensure the XCB connection is valid before using it. + +2010-09-14 Colin Guthrie + eef247b: alsa: Only set the 'first' flag to false when we actually call snd_pcm_start() + +2010-09-11 Daniel Mack + 28f4aeb: alsa-mixer: add profile for Traktor Kontrol S4 + +2010-09-09 Wim Taymans + 1ff360c: alsa: make defines for smoother configuration + +2010-09-08 Wim Taymans + 1c29f55: alsa: work around slightly broken _delay implementations + +2010-09-06 Wim Taymans + 74c117f: alsa-time-test: make test usable for capture too + 1503b8c: alsa-source: refactor smoother and device start + 3d9b710: smoother: avoid losing precision + +2010-09-04 Colin Guthrie + a65825f: alsa: Set the rewind safeguard proportionally to sample spec + +2010-08-24 Tanu Kaskinen + 8748ebd: alsa-sink: Get rid of a compiler warning regarding rewind_safeguard type. + +2010-04-29 Pierre-Louis Bossart + 514fd1e: add rewind-safeguard parameter + +2010-02-23 Lennart Poettering + e2ef3a1: alsa: don't make use of tsched related variables when tsched is disabled + +2010-09-03 Wim Taymans + 4fb02d8: alsa: increase the smoother window + +2010-08-23 Wim Taymans + 9375019: alsa: resume smoother after unsuspend + +2010-05-29 Colin Guthrie + 2b88634: x11: Partially convert to XCB. + +2010-07-19 Lennart Poettering + 4a1072e: udev: fix hex decoding + +2010-07-13 Pierre-Louis Bossart + aaae99d: alsa: disable rewinds when using ALSA plugins + +2010-06-06 Colin Guthrie + 6c8660a: alsa: Fix assertion on mmap_write (triggered via a52 plugin) + +2010-05-08 Colin Guthrie + 65f89dc: rtp: Fix bracketing in pa_rtp_recv. + +2010-05-03 David Henningsson + d519ca4: jack: Prevent crash on jack server shutdown + +2010-05-03 Lennart Poettering + bc7314f: thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm + +2010-03-22 Lennart Poettering + 22f708a: Revert "Fix crash on jack server shutdown" + +2010-03-22 Jez Austin + e8b83fa: socket-client: properly handle asyncns failures + +2010-03-17 Colin Guthrie + a7c1778: intended-roles: Do not pick monitor sources when doing automatic role-based device selection + +2010-03-14 David Henningsson + e756467: Fix crash on jack server shutdown + +2010-03-10 Daniel T Chen + 29845be: Handle 'Digital Mic' as an 'Input Source' + +2010-03-02 Kees Cook + d3efa43: core-util: ensure that we chmod only the dir we ourselves created + +2010-02-23 Lennart Poettering + 0d1154d: core: rework how stream volumes affect sink volumes + 30f28eb: esd,simple: use pa_memblockq_pop_missing() + +2010-02-21 Lennart Poettering + 195069c: core-util: introduce generic function pa_strip() + +2010-02-22 Lennart Poettering + dd682d6: alsa: reset max_rewind/max_request while suspending + +2010-02-21 Lennart Poettering + 522c446: alsa-util: strip spaces from ALSA card/pcm names + +2010-02-22 Lennart Poettering + 4a32103: native: improve logging for buffer_attrs + a469d44: suspend-on-idle: resume audio device even for initially corked streams + +2010-02-21 Lennart Poettering + b2e9fb6: pacat: pass buffer_attr to recording streams too + f9b9579: scache: when playing a sample from the cache make sure not queue them up when the sink is suspended + 1805895: sample-cache: use the sample name as unmodified fallback in the properties when playing a sample from the cache + 8adf536: stream-restore: be a little bit more verbose why we don't reastore a sink + ddabaa3: proplist: explicitly mention a role 'test' + 117c99d: vala: fix wrapping of port setting calls + 3f44bf0: channelmap: Use "Subwoofer" as pretty name for LFE + +2010-02-19 Daniel T Chen + 047e16f: Add missing profile and alsa-mixer/paths to src/Makefile.am + +2010-02-19 Lennart Poettering + 6bbdd20: vala: fix definition of the GLib mainloop adapter + 5ce18c3: vala: fix definition of INVALID_INDEX + dfe27f6: shm: don't complain about missing SHM segments + +2010-02-18 Lennart Poettering + 6e064d1: pacmd: don't enter busy loop when reading from stdin very early + 96ec29c: pacmd: store away fd type + 19fa81b: pacat: always fully fulfill write requests + +2010-02-16 Lennart Poettering + 5e2af2d: fdsem: be more verbose when reading from eventfd fails. + 96592c2: dbus: first restart timer, then dispatch it + ff2474e: padsp: emulate /dev/audio, too + f9b31fe: build-sys: add gobject to build dependencies + 307bd14: alsa: use default output port names + 0c836aa: alsa: cover "Internal Mic" elements + +2010-02-15 Lennart Poettering + 7d6bab0: alsa: cover 'Shared Mic/Line in', 'Analog Source' + e8cb96c: alsa: cover "Desktop Speaker" mixer elements + +2010-02-09 Colin Guthrie + a631bee: core: Fix macro typo - PA_SINK_IS_LINKED -> PA_SINK_INPUT_IS_LINKED + +2010-01-18 Lennart Poettering + 84782f2: native: rework handling of seeks that depend on variables the client does not know anything about + +2009-12-03 Tanu Kaskinen + 52c66b4: libpulse: Store pa_stream pointers to hashmaps instead of dynarrays. + +2009-12-16 Daniel T Chen + fd5c802: Fix the following warnings (which now cause buildd failures in Ubuntu 10.04): + 09c416e: More src/pulsecore/cpu-arm.c FTBFS fixes + +2010-01-04 Daniel T Chen + 8c7148a: udev: Use SOUND_CLASS instead of SOUND_FORM_FACTOR when checking for modem + a2418ef: threaded-mainloop: Properly initialise m->n_waiting_for_accept to prevent deadlock + +2010-01-05 David KÃ¥gedal + 66e1a2d: alsa: add profile set for M-Audio FastTrack Pro USB + +2010-01-14 Lennart Poettering + 86144ee: client: include dolby channel names in comments + +2010-01-15 Lennart Poettering + fa64230: client: implement $PULSE_LATENCY_MSEC + 27df027: pacat: allow configuration of latency in msec + +2010-01-14 Lennart Poettering + e129f85: udev: use ID_MODEL_ENC instead of ID_MODEL if it is set + +2009-12-06 Arun Raghavan + 366e6d7: Mark shared variables as volatile + +2010-01-14 Lennart Poettering + 48e0f68: alsa: cover bass boost mixer element + 93cb75d: daemon: first take name on the bus, then return in starter process + acb4996: udev: rework modem detection a bit + +2010-01-14 Daniel T. Chen + 63c968b: udev: handle sound cards with both modem and audio properly + +2010-01-13 Colin Guthrie + 291cd09: alsa: Cover the 'Int Mic Boost' element. + 67c6535: alsa: cover Input Source:Int Mic + +2010-01-13 Lennart Poettering + 1708127: cpu: check for CMOV flag before using this intsruction in assembly + 540ec7b: alsa: ignore volume changes from the hw if we are not on the active console + 9b37dce: udev: make sure we get events only for sound devices + 21b484e: log: add an easy way to disable log rate limiting + 4bcb1a9: bluetooth: fix invalid memory access + +2010-01-12 Lennart Poettering + 73ae1fc: once: make once related variables volatile + 15a3018: udev: don't forget to unref devices we are not interested in + 78811c5: client: verify connection state in pa_stream_connect_upload() + bf50dc4: client: detect forking in sample cache API, too + +2010-01-08 Lennart Poettering + e7d9f89: bluetooth: don't hit an assert if latency is queried for a stooped recording stream + 11688ec: bluetooth: destruct stream only if it is not already destructed + 3eed219: core: make sure we always return a valid memblock in sink_input_pop() callbacks + 8d35665: native: fix request counter miscalculations + c41ee00: dbus: remove filter functions only if they were actually set before + +2009-11-23 Lennart Poettering + 06327b1: bump soname + +2009-11-20 Lennart Poettering + 7ab8e83: alsa: fix minor sampling rate deviations before adjusting the buffer size + 366e3eb: alsa: fix log output when the audio device refuses to give us again the same period settings we had before + a281aad: pulse: ask for timing updates both *before* and *after* triggering a stream state change so that in the STARTED/UNDERFLOW callbacks we accurate transport latency information + c13bf3d: pulse: delay smoother update only when unpausing, not when pausing, since we don't want the timer to advance when we are supposedly already paused + d6a851c: pulse: try to fix inaccuracy with uncork timing for streams that are created in corked state + 5c90723: daemon: complain if user passes too many arguments + +2009-11-20 Colin Guthrie + 3014081: Merge branch '0.9.20-stable' into stable-queue + +2009-11-18 Lennart Poettering + 231417c: rygel: fix itemCount property for sources + +2009-11-16 Colin Guthrie + 9f41584: build-sys: Fix missing trailing slash in 14eaf2 + +2009-11-14 Sjoerd Simons + 8edf2f0: build-sys: Make sure all alsa path config files are installed + +2009-11-11 Colin Guthrie + 25537ff: device-manager: Update docs version -> 0.9.20 + +2009-11-09 Colin Guthrie + 725ab6c: device-manager: Update docs version -> 0.9.20 + +2009-10-19 Colin Guthrie + ff71cbf: device-manager: Fix compiler warning. + +2009-10-10 Colin Guthrie + 5382455: device-manager: Rather than flagging the device as available, just include the sink/source index with PA_INVALID_INDEX meaning unavailable + +2009-10-02 Colin Guthrie + af55f07: device-manager: Play nice with module-stream-restore. + 1b31d8a: device-manager: Make use of PA_IDXSET_FOREACH when applying entries. + ab3502f: device-manager: Keep track as to whether or not the user specifically renamed the device. + 654df0f: device-manager: No need to check the version after calling read_entry() + 324eb21: device-manager: Fix typo in module loading script. + +2009-10-01 Colin Guthrie + 3130403: device-manager: Add some scripts that are only run under KDE to load/initialise module-device-manager with routing turned on. + 996fc1f: device-manager: Misc fixes to co-exist with other stream management/routing modules. + 6e0dde1: device-manager: Misc fixes. + 763de9e: device-manager: Fix the writing of the database when priority doesn't change. + d5dc700: device-manager: Add extra debug messages + 8a5778d: device-manager: Change the prefer/defer options to a single 'reorder' command. + +2009-09-27 Colin Guthrie + 45a4d26: device-manager: Don't notify clients on every subscription (it happens all the time). + ff633cb: device-manager: Save icon and report current availability over protocol. + +2009-09-26 Colin Guthrie + 055ad89: device-manager: Expose the priority lists in the protocol extension. + +2009-09-21 Colin Guthrie + aa93410: device-manager: Add a function to dump the database which we do whenever we save it (and on startup) + +2009-09-20 Colin Guthrie + d9a3131: device-manager: Reroute streams when they change allowing the media.role to be updated mid-stream. + 3072f65: device-manager: Refactor the routing method to allow the routing of a single stream + 888a515: device-manager: More sensible names for internal functions + d81fa00: device-manager: Reroute the streams on startup and update our cache on enable. + df893f6: device-manager: Keep a cache of the highest priority devices for each role. + 009d087: device-manager: Fix the database write mode + 8863dbe: device-manager: Update exports + 6e67653: device-manager: Some efficiency and safety tweaks + 26f1ec7: device-manager: Allow the routing component to be turned on via a module argument as well as via protocol extn. + 8d3d0d3: device-manager: Remove unused variables + 5077fe1: device-manager: Set the most appropriate sink/source when new streams are created + 470b625: device-manager: Add routing functions that are triggered when sinks/soruces are added/removed. + 8c99667: device-manager: Add a function to get a list of the highest priority device indexes for each role. + d69eba3: device-manager: Remove unneeded logic for checking for and (un)loading module-stream-restore. We can co-exist + a0567fb: device-manager: Rough framework (slots etc.) for handling routing. + fd5a508: device-manager: debug and comments + 2b71480: device-manager: Fix the freeing of the datum on prefer/defer. + 0541028: device-manager: When a new device is encountered, initialise the priority list to an appropriate value + 5e3f1c2: device-manager: Let subscribed clients know when something changes. + 6d4afac: device-manager: Change the write function to a rename function. + +2009-09-19 Colin Guthrie + 4981268: device-manager: Provide a method for prefering/defering a device. + a9bd1ab: device-manager: Fix copy+paste code that looped over the tagstruct when not necessary + c1ece6c: device-manager: Provide a way for clients to enable/disable role-based device-priority routing. + 25f0545: device-manager: Update docs version -> 0.9.19 (predicted) + +2009-07-05 Colin Guthrie + bddebbf: device-manager: Fix copy+paste leftover + +2009-06-29 Colin Guthrie + 58bc037: device-manager: Only store and save details for non-monitor sources + +2009-06-28 Colin Guthrie + 276e953: device-restore: Fix the application of an entry to allow changing the name of devices. + b8b28ef: device-manager: Fix tagstruct description extraction (copy+paste blunder) + 89c1f57: device-manager: Link native protocol library. + 11f01de: device-manager: Export device-manager extension functions + +2009-06-27 Colin Guthrie + 97eb065: device-manager: Fix indentation + 0f6ace7: device-manager: Add an untested protocol extension. + 4c68fe7: device-manager: Add a new module to keep track of the names and descriptions of various sinks. + +2009-11-11 Lennart Poettering + a79585e: i18n: fix LINGUAS + 5471643: Merge remote branch 'origin/master-tx' into 0.9.19-stable + de2654c: daemon: add missing tty_fd definition + bff94c1: build-sys: bump soname + 2c12df9: core: make cpuid code compile cleanly with 32bit PIC + ed5af77: core: adjust volume only when there is actually a memory block + +2009-11-10 Wim Taymans + 9ad5671: protocol: use the right sample rate for sources + +2009-11-05 Lennart Poettering + 409a9d0: jack: never try to autoconnect to MIDI ports + 75f3b19: man: fix build with --disable-manpages + 3b25302: alsa: disable timer-based scheduling inside a VM + 5da0297: daemon: during startup say whether we run in a VM + 1460374: core-util: add call to detect if we are called from within a VM + b47a9e7: alsa: introduce more standard path names + +2009-11-04 Lennart Poettering + ab573f2: alsa: cover 'Analog Output' control + +2009-10-31 Lennart Poettering + 4323c9f: alsa: create a seperate mixer path for Speaker elements + 8a26fbf: alsa: leave other headphone control enabled if possible + 08d0654: alsa: lower priority for Headphone2 path + 18018b3: alsa: cover Input Source:AUX IN + d711caa: alsa: cover Headphone2 mixer element + 82d7b75: alsa: cover 'Digital Input Source' element + 6fad765: alsa: cover Mic Jack Mode element + 70da8d6: bluetooth: do not hand out access to devices that are not fully configured yet + +2009-10-30 David Yoder + bfb1735: daemon: realpath segfault fix + +2009-10-29 Wim Taymans + 973a4eb: sink: simplify silence checks + +2009-10-30 Lennart Poettering + 320d76f: daemon: don't crash if pa_realpath() fails + +2009-10-28 Lennart Poettering + 732b468: protocol-native: if a client set volume/mute/device store it since it is user input + 3dcdab6: libpulse: explain semantics of pa_stream_connect_playback() in more detail + 0c31723: protocol-native: declare that user configured volumes are always absolute + +2009-10-12 Lennart Poettering + 84e77cb: libpulse: add missing includes + +2009-10-07 Diego Elio 'Flameeyes' Pettenò + 8d612d5: Fix build when using -fweb, accept both register and memory constraints. + +2009-10-06 Lennart Poettering + 3201aec: position-event-sounds: never position test sounds in space + 833bf30: alsa: disable period event only with tsched=1 + +2009-10-02 Tor-Björn Claesson + c15bd97: loopback: Setting latency of module-loopback + +2009-10-04 Lennart Poettering + df49370: bluetooth: don't set auto_connect flag when discovering bt devices + +2009-11-09 vpv + ecaf971: Sending translation for Finnish + 05ccf10: Sending translation for Finnish + 7d5d76e: Sending translation for Finnish + +2009-10-30 kmilos + 151c746: Sending translation for Serbian (Latin) + 4392888: Sending translation for Serbian + +2009-10-29 Wim Taymans + cc1e90f: svolume: fix MMX error + +2009-10-26 thalia + e4259e7: Sending translation for Greek + +2009-10-23 igor + 99dcbc7: Sending translation for Brazilian Portuguese + +2009-10-22 igor + 6d8d0ff: Sending translation for Brazilian Portuguese + +2009-10-22 kami911 + 037df85: Sending translation for Hungarian + 80e43f6: Sending translation for Hungarian + +2009-10-18 perplex + 45409d5: Sending translation for Italian + +2009-10-17 pmkovar + 662986f: Sending translation for Czech + +2009-10-17 kami911 + 6e8c64f: Sending translation for Hungarian + 6614be9: Sending translation for Hungarian + 497b981: Sending translation for Hungarian + +2009-10-15 kami911 + 55ccda6: Sending translation for Hungarian + +2009-10-14 reinouts + a620a39: Sending translation for Dutch + +2009-10-09 kami911 + 72ac187: Sending translation for Hungarian + +2009-10-06 mvdz + 5331e60: Sending translation for Ukrainian + +2009-10-04 fgonz + 3aec580: Sending translation for Spanish + +2009-10-02 warrink + e8bab13: Sending translation for Dutch + +2009-10-01 kami911 + 8cfd01e: Sending translation for po/hu.po + +2009-09-30 pmkovar + 7e0bccf: Sending translation for Czech + +2009-09-30 raven + fc74fc1: Sending translation for Polish + +2009-09-30 warrink + f2f37b5: Sending translation for Dutch + +2009-09-30 Lennart Poettering + afd1b6d: build-sys: bump soname + c622f77: i18n: run make update-po + +2009-09-29 Lennart Poettering + 6a3b51a: i18n: ad more .c files to POTFILES.in + b8de3bd: polkit: drop left-over polkit policy file from git tree + +2009-09-26 Nix + eac5662: Don't refuse to start on systems using GNU stow, graft, STORE et al + +2009-09-29 Lennart Poettering + faf113d: i18n: run make update-po + 0c84757: Merge remote branch 'origin/master-tx' + +2009-09-28 Lennart Poettering + d06f2ea: reserve: downgrade reserve logic messages, so that reusing pa in two sessions does not create spew in syslog + +2009-09-28 jsimon + c992ad2: Sending translation for German + 966a259: Sending translation for German + +2009-09-27 raven + 31d59de: Sending translation for Polish + +2009-09-23 Wim Taymans + 5eecd8e: svolume: tweak constraints for 32 bits + +2009-09-22 ruigo + c04b75a: Sending translation for Portuguese + +2009-09-22 Colin Guthrie + 8f4940b: libpulse: Add *_NOFLAGS flags with value 0 for various enums + +2009-09-22 shanky + 183c9ab: Sending translation for Kannada + +2009-09-21 anipeter + c4b154b: Sending translation for Malayalam + +2009-09-21 sandeeps + f078e69: Sending translation for Marathi + +2009-09-21 kkrothap + 20a5b0e: Sending translation for Telugu + +2009-09-21 rajesh + e8692bc: Sending translation for Hindi + +2009-09-20 Colin Guthrie + c194db7: tunnel: fix parsing of source info from newer servers + cc6932c: stream-restore: Comment fix + +2009-09-20 Emil Renner Berthing + 592345f: tunnel: fix parsing of sink info from newer servers + +2009-09-20 Lennart Poettering + e7686a6: core: dump proplist when creating stream similar to how we already to it for sinks/sources + 88b7773: alsa: make build gcc clean on 32bit + +2009-09-19 Lennart Poettering + 33b45cd: Merge remote branch 'origin/master-tx' + 6c0317d: build-sys: bump soname for release + ab6ed06: vala: install .vapi file by default + 3fe9f8f: vala: numerous updates + +2009-09-18 ricardopinto + e141ddc: Sending translation for Portuguese + +2009-09-19 Lennart Poettering + 996051e: memtrap: properly add items to linked list + +2009-09-18 Lennart Poettering + 56e1290: gconf: run the wrapper script when running gconf-helper from build tree + 8ad8e39: namereg: choose default sink/source as soon as one becomes available + 1d19d6b: i18n: run make update-po + 3cb8e01: Merge remote branch 'origin/master-tx' + 9697c5d: memblock: don't try to reuse PA_MEMBLOCK_APPENDED memblocks since they usually are much bigger than we want them + f84d755: mainloop: fix detection of rt clocks + cd5d6e7: socket-client: modernizations + c010172: memblock: modernizations + d629151: mainloop: pass monotonic times back to user if he passed monotonic times to us + c024aea: timeval: make timeval conversion routines handle PA_USEC_INVALID special + a1da83b: timeval: add UNLIKELY annotation + 05f6236: timeval: make pa_timeval_sub saturating + fdec460: core-rtclock: introduce pa_timespec_store() akin pa_timeval_store() + f7d3896: timeval: introduce PA_USEC_MAX + 56f217f: macro: introduce PA_INT_TYPE_MIN, PA_INT_TYPE_MAX, PA_INT_TYPE_SIGNED macros + fb4a2a1: mainloop: sum up dispatched events in an unsigned to clarify range + 18d69c5: mainloop: use PA_LLIST_FOREACH macros where applicable + b32f599: mainloop: don't initialize fields we don't have to + a049909: mainloop: calculate in pa_usec_t everywhere + a43118b: mainloop: properly convert time to wallclock time when handing it to the user + a37e48a: alsa: fix Surround mixer element name + +2009-09-18 Colin Guthrie + 8f29968: conf: Fix typo in daemon.conf: rlimit-rtttime - too many t's + fd25e8f: alsa: Give all ports a human name to allow UI tools to present the choice to users. + 0323e48: rtp: Remove 'fix me' comment after it was actually fixed in [56b6e1] + 56b6e18: rtp: Factor out direct io writing and use ioline instead. + +2009-09-18 ifelix + 62b8780: Sending translation for Tamil + +2009-09-18 ricardopinto + 774b37e: Sending translation for Portuguese + +2009-09-16 Colin Guthrie + 94d20a5: raop: Use pa_module_unload_request_by_index as per module-zeroconf-discover + +2009-09-17 Lennart Poettering + 7b76ea3: core-util: unify how we determine the temporary directory + 2d9168c: Improve TMPDIR handling + 3de5c49: cli: properly destruct cli object + b4d4f2b: cli: don't accidentaly set O_NDELAY on stderr + 94f28b9: proplist: introduce PA_PROP_WINDOW_DESKTOP property + add4cbf: position-event-sounds: don't warn that loud about vpos/hpos out of range + cdbeac6: libpulse: as a special exception, don't require a non-NULL context in pa_context_errno + 231c17b: svolume_mmx: disable test accidentaly left on + 4e6dce5: Merge remote branch 'wtay/optimize' + 1a6974a: pacat: use fully automatic buffer sizes if possible + e2899f8: memblock: make it easy to disable mempool usage with $PULSE_MEMPOOL_DISABLE + 6b8fdc4: CANCELLED vs. CANCELED + +2009-09-17 Vladimir Kokarev + e63c867: alsa: correct assumptions about channels an element lacks + +2009-09-16 kmilos + 15da2f2: Sending translation for Serbian (Latin) + 0c8498a: Sending translation for Serbian + +2009-09-12 Wim Taymans + 3d5a572: svolume_mmx: optimize some more + d397a82: svolume_sse: fix comment + +2009-09-15 vpv + 3c89dc0: Sending translation for Finnish + +2009-09-15 Lennart Poettering + 12f2111: gccmacro: enable weakrefs only on ELF + +2009-09-14 fab + 19968fe: Sending translation for Swiss German + 7c80d2c: Sending translation for German + +2009-09-14 mvdz + 4382519: Sending translation for Ukrainian + +2009-09-12 xconde + e35101b: Sending translation for Catalan + +2009-09-12 raven + 6e76544: Sending translation for Polish + +2009-09-11 warrink + 66eb022: Sending translation for Dutch + +2009-09-11 beckerde + cc597d6: Sending translation for Spanish + +2009-09-11 swkothar + 030dfad: Sending translation for Gujarati + +2009-09-11 mgiri + 9267201: Sending translation for Oriya + +2009-09-11 jassy + e706a84: Sending translation for Punjabi + +2009-09-11 Lennart Poettering + 180ef1e: position-event-sounds: apply volume factor after, not before resampling + a015d56: core: add an additional volume factor that is applied after resampling took place + 6fa2445: position-event-sounds: honour window position if set, position both vertically and horizontally + 5919337: proplist: define properties for storing window position + 42b795b: doxygen: don't confuse doxygen with spurious .. + 4e3f7d5: doxygen: add rtclock.h to documentation + 297f318: doxygen: drop references to pacat.c and paplay.c as examples since tehy are not useful as such and in the case of paplay not even existant anymore + 7e43371: build-sys: increase library version + a7ab04f: i18n: run make update-po + 2f11884: i18n: add ja to LINGUAS + 67bed86: Merge remote branch 'origin/master-tx' + 80b4457: alsa: properly report suspension error codes + bb36bb4: alsa: properly convert sample buffer sizes + 5460967: libpulse: add new error code PA_ERR_BUSY + +2009-09-10 warrink + 64e8eb7: Sending translation for Dutch + +2009-09-10 hyuuga + 8bdec63: Sending translation for po/ja.po + +2009-09-10 kkrothap + 27b3a74: Sending translation for Telugu + +2009-09-10 runab + 5d264fd: Sending translation for Bengali (India) + +2009-09-10 rajesh + c67c46e: Sending translation for Hindi + +2009-09-10 ifelix + d0df346: Sending translation for Tamil + +2009-09-10 sandeeps + a81ee39: Sending translation for Marathi + +2009-09-10 swkothar + c49f3f9: Sending translation for Gujarati + +2009-09-10 anipeter + c471d4d: Sending translation for Malayalam + +2009-09-10 jassy + 3fd8e7d: Sending translation for Punjabi + +2009-09-10 amitakhya + 7f799d4: Sending translation for Assamese + +2009-09-10 Lennart Poettering + 12c7460: libpulse: don't support pa_context_get_card_info_list() on servers that cannot handle it + 807f2a9: native: send PA_COMMAND_PLAYBACK_BUFFER_ATTR_CHANGED messages only to clients that understand it + b043207: i18n: run make update-po + a41c510: Merge remote branch 'origin/master-tx' + f3879f8: i18n: run make update-po + b2de8d8: i18n: get rid of ko.po/ru.po since they contain exactly 0 translated strings + 9c65e5b: add ml to LINGUAS + 43c3164: Merge remote branch 'origin/master-tx' + +2009-09-09 Lennart Poettering + d5f43bd: alsa: disable tsched for software devices before we configure the buffer metrics so that we don't accidently set a buffer size that is suitable for tsched where we don't use tsched + 8364b95: alsa: when probing for profiles configure buffer/period sizes since some broken drivers apparently need that + 84ade21: alsa: pass SND_PCM_NONBLOCK when opening device during unsuspend, the same way we do it for initial opening + 557c429: alsa: rework buffer/period configuration + 71e066c: simd: be more precise which SIMD optimizations we activate + 1f0904b: sample-util: add pa_convert_size() call for converting sizes between two sample specs + c2f1994: udev: ratelimit device initializations + 12df686: ratelimit: allow non-static ratelimit structs + +2009-09-09 kmilos + 4f24a62: Sending translation for Serbian (Latin) + 8a9166f: Sending translation for Serbian + +2009-09-09 soko + 4dee032: Sending translation for Serbian (Latin) + 3984dd5: Sending translation for Serbian + +2009-09-09 mgiri + 399b0ad: Sending translation for Oriya + +2009-09-09 kkrothap + 4539250: Sending translation for Telugu + +2009-09-09 pmkovar + 3a47c80: Sending translation for Czech + +2009-09-08 Lennart Poettering + 7cc100d: padsp: properly return return values (llvm-clang-analyzer) + b51f5e5: pacat: don't convert stream name twice (llvm-clang-analyzer) + 49bc6bc: stripnul: initialize 'found' bool properly (llvm-clang-analyzer) + 31d1d90: protocol-native: log explicitly when someone asks us to quit + 31ae7de: core-util: properly fill in exception array for pa_reset_sigs() (llvm-clang-analyzer) + 1516b7c: conf-parser: properly initialize variable we free() later (llvm-clang-analyzer) + 3c9a09b: cli-command: don't necessarily ovveride failure code of files (llvm-clang-analyzer) + 5fd751f: cli-command: modernizations + 05506d7: utf8: minor simplification + f3be47f: rtsp: document that rtsp_exec() needs fixing (llvm-clang-analyzer) + 157ec79: hal: check properly for failure of libhal_find_device_by_capability() (llvm-clang-analyzer) + 1380f18: blueooth: actually honour 'room' variable (llvm-clang-analyzer) + 382eced: alsa-sink: init after_avail earlier (llvm-clang-analyzer) + f504675: llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes + +2009-09-08 shanky + 98fcf4e: Sending translation for Kannada + +2009-09-08 mvdz + 6bdda4c: Sending translation for Ukrainian + +2009-09-07 Lennart Poettering + b2606cf: i18n: move \r out of translatable string + 508c462: Merge remote branch 'wtay/optimize' + 08a4d57: libpulse: allow invocation of pa_context_play_sample_with_proplist() with NULL proplist + f8f8cdc: vala: reindent + b705a9b: vector: don't try to build vector stuff on altivec + a02861e: vala: s/PropList/Proplist/g since the C version does not use an underscore there + 0b8f239: vala: add vala .vapi file for the PulseAudio APIs, but don't include them in the tarball for now + 41a0dc1: volume: if pa_cvolume_set_{balance d000dd6: volume: when passing NULL as channel map to pa_cvolume_scale_mask() handle this the same way as pa_cvolume_scale() + 9755bfa: volume: drop some redundant but expensive validity checks + cc6c4fe: volume: add a couple of validity checks for pa_volume_t arguments + 3bbc5e6: volume: fix definition of PA_VOLUME_MAX and introduce PA_VOLUME_INVALID and use it wherever applicable + +2009-09-07 shanky + 6c385eb: Sending translation for Kannada + +2009-09-07 jassy + b96de8e: Sending translation for Punjabi + +2009-09-07 Wim Taymans + 7234994: x86: also call see init for SSE2 + b5ac383: x86: only install some functions when SSE2 + +2009-09-07 warrink + 942bd46: Sending translation for Dutch + +2009-09-07 mgiri + f969ce6: Sending translation for Oriya + +2009-09-07 sandeeps + 35ffd1b: Sending translation for Marathi + +2009-09-07 ifelix + efebe09: Sending translation for Tamil + +2009-09-06 Lennart Poettering + 5cf0c1e: introspect: rearrange order of functions a bit + e6a666d: libpulse: introduce PA_BYTES_SNPRINT_MAX and make use of it wherever applicable + +2009-09-05 xconde + 646f666: Sending translation for Catalan + +2009-09-04 vpv + 14ec32f: Sending translation for Finnish + +2009-09-04 warrink + 124e3dc: Sending translation for Dutch + +2009-09-04 runab + d5fb6d3: Sending translation for Bengali (India) + 8d03381: Sending translation for Bengali (India) + +2009-09-04 anipeter + b6030d3: Sending translation for po/ml.po + +2009-09-04 rajesh + 2ad5e33: Sending translation for Hindi + +2009-09-04 Lennart Poettering + 812be32: daemon: disable CPU load limiter by default + 5daecea: always-sink: rename null sink created to 'dummy sink' and make it translatable + 0ad6a57: null: make name of null sink translatable + +2009-09-03 beckerde + ab1af38: Sending translation for Spanish + +2009-09-03 raven + 71dd5a0: Sending translation for Polish + +2009-09-03 swkothar + ef9138d: Sending translation for Gujarati + +2009-09-03 Lennart Poettering + 8cd635b: alsa: add more input sources to path set + 7ca81bd: i18n: run make update-po + 8539539: i18n: fix LINGUAS + 1213a7c: Merge commit 'origin/master-tx' + 6f396c8: remap: build sse code only on x86 + 14a9771: core: drop unnecessary variable initialization + d088c8f: daemon: make use of SIMD optional via config variable to ease debugging + 9f4f374: remap_sse: fix inner loop increment on SSE + 51423ca: remap_sse: reindent macro so that diff to MMX is nicer + +2009-09-02 Wim Taymans + 26164ff: sconv_sse: fix leftover counter + +2009-09-02 Lennart Poettering + 51fc176: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + 39e4652: daemon: drop polkit code from git repo we weren't using anymore + 297afad: core-util: don't leak memory in pa_unset_env_recorded() + 767c7c7: core-util: call dbus_connection_set_exit_on_disconnect() on shared busses to make sure dbus_shutdown() isn't fatal + 470e9a8: build-sys: drop LIBOIL_{FLAGS 1200a0b: sink: simplify pa_sink_render_full() by replacing it by a pa_sink_render() plus a couple of pa_sink_render_full() + a8c0f65: daemon: clean up environment when forking off children + 5f92996: core-util: add api for setting env vars and record them so that we can undo them n fork + +2009-09-01 Lennart Poettering + 45513a2: core: fill up memblock with pa_sink_render_into_full() in pa_sink_render_full() instead of doing our own loop + 17f609a: core: handle suspended state in pa_sink_render_full() similar to the other render functions + ce6dff4: core: add missing sink_unref() + b245b54: ladspa,remap: make description of sink follow moves + 46b9ca7: alsa: by default increase watermarks only on real underruns, don't try to be smart + 6b6d146: alsa: distuingish real underruns from left_to_play=0 + dfe3f90: daemon: don't override path env vars if they are already set + +2009-09-01 sandeeps + 350b8ac: Sending translation for Marathi + +2009-09-01 ifelix + 605fa59: Sending translation for Tamil + +2009-08-29 Wim Taymans + dc221f2: remap: fix counters for mmx and sse remap + +2009-08-31 Lennart Poettering + dee2aa3: pactl: drop unnecessary newlines from pa_log() invocations + 5b61a19: pactl: implement pactl commands for changing volumes/mute stati + e20d906: cli: make sure 'dump' uses pa_cvolume_max() to deduce a single-channel volume from a multi-channel volume + 7c6a0ec: cli: apply single-channel volume changes equally to all channels + 2970c11: core: always allow volume setting with single-channel pa_cvolume + +2009-08-31 perplex + 9efc2af: Sending translation for Italian + +2009-08-30 vpv + b143a8f: Sending translation for Finnish + 8774166: Sending translation for Finnish + +2009-08-29 raven + 844399d: Sending translation for po/LINGUAS + +2009-08-29 Lennart Poettering + e1ce365: native: make sure clients cannot trigger an assert by sending us invalid volume info + 8bf2e3f: core: initialize sink/source priorities automatically based on their proplists + 18b13a8: namereg: select default sink by priority + a7b3125: protocol-native: replace use of pa_namereg_is_valid_name() by pa_namereg_is_valid_name_or_wildcard() where applicable to allow use of @@ wildcards + 85a683f: namereg: add new pa_namereg_is_valid_name_or_wildcard() call + +2009-08-28 pmkovar + 5111101: Sending translation for Czech + +2009-08-28 Lennart Poettering + 3b54849: core: add priority field to pa_sink/pa_source + ca2c0f2: sconv: quieten gcc a bit + f029041: suspend-on-idle: don't resume devices for corked streams + 84eb661: core: move 'flags' field into 'pa_sink_input_new_data' structure so that hooks can access it + 9011c4e: build-sys: make proximity helper properly suid + 63f3dc0: bluetooth: remove left-over debug line + +2009-08-28 Andy Shevchenko + 300384c: Fix checking for NULL after usage + ae38353: core-util: Fix logic of pa_make_path_absolute() + 4e8562c: raop: Fix memory leak + +2009-08-27 Lennart Poettering + db835de: Merge commit 'vudentz/master' + +2009-08-27 Luiz Augusto von Dentz + 8169a6a: Handle DisconnectRequested in bluetooth module. + +2009-08-26 Wim Taymans + beb180b: convert: add sse/sse2 s16 to float32ne conversions + 27bfb76: macro: add macro to align variables + 5907089: remap: cleanup assembler a little + +2009-08-25 Wim Taymans + 9d25467: sample-util: avoid stack overrun + 509d9f0: remap: add sse optimized mono to stereo + +2009-08-24 Wim Taymans + 26bd090: sconv: fix indentation + +2009-08-27 Lennart Poettering + 35fcb27: proplist: allow setting of zero-length data properties + 5df842d: sink-input: extend comments on rewinding logic a bit + c372b52: protocol-native: print more volume change debug messages to easy tracking down of feedback loops + cab48d4: protocol-native: compare uint64_t variable with (uint64_t) -1 instead of (size_t) -1 for compat with 32bit archs + +2009-08-26 Lennart Poettering + 44b7982: pdispatch: various modernizations + 34829eb: pdispatch: add missing commands to command table + 4e1298d: llist: add PA_LLIST_FOREACH_SAFE macro for iteration that allows deleting + 368c3e3: loopback: quieten gcc on 32bit + 4614412: loopback: update description and icons when moving loopback streams + d909f59: loopback: make sure a monitor can't be looped back to its sink + 99d3e6b: combine: store adjust time in usec + ea4b65b: loopback: add loopback module for direct connections of sinks and sources + 827ae07: macro: add PA_CLIP_SUB() for saturated subtraction + +2009-08-25 mvdz + 4544873: Sending translation for Ukrainian + +2009-08-25 giallu + 956ff24: Sending translation for Italian + +2009-08-25 ypoyarko + cdf7e02: Sending translation for po/ru.po + +2009-08-25 Finn Thain + 457b973: Solaris: debug my latest enbugging, take 2 + +2009-08-24 igor + 7a2d1d3: Sending translation for Brazilian Portuguese + +2009-08-24 Lennart Poettering + 57e1f84: Merge commit 'jprvita2/master' + 57fb771: remap: fix build for non-x86 builds + 419b071: detect: recommend module-udev-detect instead of module-hal-detect + ba17ff4: build-sys: add missing header files to tarball + +2009-07-24 João Paulo Rechi Vita + 2772521: bluetooth: add discover of bluetooth sources + +2009-07-30 João Paulo Rechi Vita + 65c3e65: bluetooth: handle bluetooth source + +2009-08-24 Lennart Poettering + be46eaa: i18n: run make update-po + 60a3502: Merge commit 'origin/master-tx' + 050a3a9: alsa: automatically decrease watermark after a time of stability + +2009-08-23 Lennart Poettering + 80c6937: alsa: increase interval between smoother updates exponentially for alsa sources, following the scheme for sinks + a0f01dd: port a few things over to use xmalloc and friends instead of low-level libc malloc/free directly + ab5ac06: Merge commit 'wtay/optimize' + +2009-08-23 beckerde + 57117d4: Sending translation for Spanish + +2009-08-22 Lennart Poettering + d6fb8d1: udev: check busy status of alsa cards before loading alsa modules and hence initiating profile probing + 560da5b: udev: process all inotify events queued up, not just the first one in the queue + 1a05d67: core: relex validity checks when destructing half-set up source outputs/sink inputs + 5b0683d: ladspa/remap: handle failing stream moves properly + 2595b9d: add usergroup-test to .gitignore + aa54298: daemon: don't free script_commands twice + +2009-08-22 raven + 857e055: Sending translation for Polish + +2009-08-21 Ted Percival + 17dc410: core: Remove wrong doc on how to free returned data + 15eb03a: core: Add thread-safe group info functions with dynamic buffers + +2009-08-21 Finn Thain + 601fb63: Solaris: fixed latency (resent) + 87d2dde: Solaris: use smoother (resent) + 44c7aa5: Solaris: build fixes (resent) + b96390f: Solaris: bootstrap portability + +2009-08-22 Lennart Poettering + 9d1cc13: i18n: run make update-po + aaf0d5a: Merge commit 'origin/master-tx' + +2009-08-21 Scott Reeves + de19bdd: daemon: fix leak of script_commands + +2009-08-21 Lennart Poettering + 066e160: udev: tell inotify to actually inform us about ACL changes + 2d01204: udev: watch for both ACL changes and processes closing devices + 4ec701a: udev: don't access string after free() + d06680a: udev: always verify access before loading modules + 14c27c7: gconf: use correct path for gconf-helper tool when running from build tree + 9abc010: object: speed up type verification by not relying on strcmp() + 5317e35: udev: when a device appears that we cannot access right-away try again later on inotify + fe9a577: alsa: leave headphone jack enabled in normal mixer paths + ac05619: combine: quieten gcc a bit + 8a2a6b2: adjust various data/library paths automatically if we are run from a build tree + a562978: ladspa: forward volume changes from ladspa sink to stream and hence via flat volume logic to master sink + 9f97b7c: sink-input: add callbacks that are called whenever the mute/volume changes + +2009-08-21 igor + c5d7860: Sending translation for Brazilian Portuguese + +2009-08-20 Wim Taymans + 6076cef: remap: make the MMX code pretier + 6e5dbed: remap: add MMX mono to stereo + e961efc: remap: init the do_remap function to NULL + 28baa53: remap: allow specialisations to install NULL + ac1f2e0: remap: move remapping code in separate file + a3f4a4f: resamples; refactor the channel remapping bits + 05fef5f: sconv: allow for setting custom functions + c1b6a87: alsa-sink: reduce the amount of smoother updates + f8ffe0d: svolume: cleanups + f09b511: whitespace fixes + +2009-08-19 Wim Taymans + 3cc1278: resampler: avoid some multiplies when we can + aeae567: svolume: add comment + 8aa86f5: arm: implement ARM cpu detection + 078bde1: x86: keep the cpu flags local + 370016c: svolume: fix compilation in 32bits + d2389ef: sample: manually inline table lookups + 548b735: resampler: fix identity check + d04a6e9: resample: fix counters + b4e9942: resample: refactor the channel remapping a little + bd49d43: svolume: add CPU guards around code + 951bf1b: svolume: add ARM optimized volume scaling + a98fa95: svolume: remove unneeded compare + +2009-08-17 Wim Taymans + 601e5f1: resampler: cache integer channel_map + +2009-08-14 Wim Taymans + 25724cd: Get rid of liboil + 591baac: volume: remove ref functions + f24c24c: volume: improved comments + a123544: volume: make the benchmark more meaningfull + dcae9a3: svolume: add some comments + +2009-08-13 Wim Taymans + e396fe6: cpu-x86: guard header with ifdef + 563cb2d: main: hook up cpu detection code + a83f552: cpu-x86: add cpu detection code and helpers + 5998cf9: svolume: improve SSE and MMX code + +2009-08-12 Wim Taymans + 7086784: volume_sse: add sse optimisations + 08f3e16: volume_mmx: fix mmx code a bit + 3a0b012: volume: add first mmx optimized function + 2d73f13: samples-util: add padding to volume array + +2009-08-11 Wim Taymans + 3d00896: sample-util: move volume code to separate file + e71e644: sample-util: move some functions around + 5b8b654: sample-utils: coding style cleanup + 26839c4: sample-utils: split out functions from case + +2009-06-30 Xabier Rodriguez Calvar + 52e5d4b: Modification of the thread-mainloop doc to ensure that nobody frees the api as it is owned by the loop. + 65f86ef: Modification of the mainloop doc to ensure that nobody frees the api as it is owned by the loop. + 30ba903: Modification of the glib-mainloop doc to ensure that nobody frees the api as it is owned by the loop. + +2009-08-20 Lennart Poettering + c5bd725: core: check return value of getgrnam_r() instead of errno + +2009-08-19 raven + d2f50ea: Sending translation for Polish + +2009-08-19 beckerde + 9b6add3: Sending translation for Spanish + +2009-08-19 Lennart Poettering + f4f16ab: i18n: run make update-po + 8f29090: i18n: add ko to LINGUAS + b2cb8ef: Merge commit 'origin/master-tx' + 7af3833: lirc: replace manual code by pa_cvolume_{inc 2f54798: mmkbd: replace manual code by pa_cvolume_{inc 8c31974: sink: volume handling rework, new flat volume logic + 5207e19: match: document how broken the module-match logic is + cfef930: volume: introduce pa_cvolume_{inc 1421eff: volume: use PA_VOLUME_MAX instead of (pa_volume_t) -1 + d6f598a: udev: allow passing of ignore_dB= parameter to alsa modules + 24e5828: source: rework volume handling + 2838b78: macro: extend comments a bit + a69b729: voltest: extend test to verify correctness of _multiply() and _divide() + 2223a9f: dbus: never return DBUS_HANDLER_RESULT_HANDLED in filter callbacks, since other callbacks might stell want to have the messages + ef01baf: volume: round properly when showing human readable volume percentages + 96f01b8: volume: simplify volume multiplifactions, do them in integer only + d634555: volume: introduce pa_cvolume_min() and pa_cvolume_min_mask() + +2009-08-17 Lennart Poettering + 8f928b2: macro: simplify page/word alignment macros a bit + fe3a21f: macro: add PA_ROUND_UP/PA_ROUND_DOWN macros + 319d187: bluetooth: fix match syntax + 90a0743: bluetooth: make NameOwnerChanged filter matches more focussed + ffeb1b8: volume: document when arguments of certain functions may overlap + caa7928: libpulse: some minor optimizations when checking equality + 50de2d8: channelmap: minor doxygen fix + 6dd580d: channelmap: document where the WAVEX channelmap is documented + 32a1ef3: channelmap: adjust RFC3551 channel maps to follow spec more closely + c579cb5: reserver: update from upstream git + 8208214: volume: add pa_cvolume_merge() call + +2009-08-17 pmkovar + 91e06c1: Sending translation for Czech + +2009-08-16 Lennart Poettering + 01e4b61: aupdate: implicitly call _write_swap() if it wasn't called explicitly + 8dd0d87: core: add to FIXMEs + 4c29ba9: modules: add various checks to avoid selecting objects that are not linked or in another unclear state + 2a39663: bluetooth: move installation of mq's earlier to avoid context asserts to be triggered + +2009-08-15 Lennart Poettering + de4968c: bluetooth: ask first for Headset and AudioSink properties, followed by Audio + fa52a91: bluetooth: recognize only those BT devices that implement both the Audio and either AudioSink or Headset interfaces + 5c90cf2: bluetooth: drop PA_BT_AUDIO_STATE_LAST since it is unused and we normally call that _MAX anyway + 011add1: thread-mq: do final q flush only when we aren't dispatching anyway + 0c20e74: asyncmsgq: introduce pa_asyncmsgq_dispatching() + e5b08a8: ladspa/remap: sync latency flags from master sink when moving between sinks + 0c08dbd: core: introduce pa_{sink +2009-07-20 Marc-André Lureau + d8a90a3: pulse: even in case of record stream, let's initialize req_bytes to 0 + 3ecb80e: bluetooth: fix typo with service_{read,write}_type + +2009-07-06 Marc-André Lureau + fd32fee: bluetooth: don't call pa_sink_render with 0 bytes request + +2009-08-12 Juho Hämäläinen + ea5cdcb: database: simple hashmap based database implementation + +2009-08-15 Maarten Bosmans + 61105df: combine: determine sample parameters of combined sink from underlying sinks + +2009-08-15 Lennart Poettering + 1eeddd8: combine: warn when the latency of a stream gets too high + e1f3f5e: combine: big rework + 8947d65: combine: drop adjust_timestamp variable because it is unused + a5b2dee: ladspa: name sink after human readable plugin name, not the id string + 7638662: module-ladspa: allow moving of sink, forward fixed latency + 1b3848e: module-remap: allow moving of sink, forward fixed latency + c44f518: ladspa: move LADSPA_Data size check to compile time + fb5205d: remap: unify argument order with other modules + d9e4605: hook-list: make use of PA_LLIST_FOREACH + d7d86e3: native-protocol: downgrade volume change log messages + 3c271ae: core: document difference between IO and main thread view on requested latency + c6080d8: core: don't update latency range if not changed + 3f9c67a: core: call pa_sink_get_latency_within_thread() instead of going directly via process_msg() + 350a2bc: core: make fixed latency dynamically changeable + 4eb59fb: core: move rtpoll to thread_info sub structure + 58d441f: log: place more rate limit invocations + fd1266c: rescure-stream: handle failed moves as well as dying sinks/sources + e4db56b: core: split of FAIL_ON_SUSPEND into KILL_ON_SUSPEND and NO_CREATE_ON_SUSPEND + e53d2fc: native: handle moving() callback with NULL destination properly + 0989be1: core: introduce pa_{sink_input +2009-08-14 Lennart Poettering + 7891f96: module-stream-restore: don't fiddle with sinks/sources/streams that are not fully set up yet + 0f2a4ed: volume: guarantee dB/linear conversion is reversible + 72d2540: protocol-native: log explicitly each time a client triggers a volume change + a1598c7: daemon: reset gids too, not just uids + fecd0dc: resampler: round up when estimating input/output sizes + 9e21182: thread-mq: never drop queued messages for the main loop + 446fb2c: asyncmsgq: add pa_asyncmsgq_flush() call + a42c597: memblockq: add pa_memblockq_get_maxrewind() API + b0cabfe: shm: bump shm size limit to 1GB + aae7054: pacmd: handle multi word commands in argv[] properly + +2009-08-13 eukim + 82b7e72: Sending translation for po/ko.po + +2009-08-13 Lennart Poettering + 5ee4069: core: add functions to query max_rewind/max_request values from streams + 9a95fe4: core: add assert macros for verifying calling context + +2009-08-12 Lennart Poettering + 17d5741: start-child: clean up child environment a bit better + 5fcb8a3: pacmd: port pacmd from select() to poll() so that we notice writer side hangups + 286ab2f: memblock: rate limit 'Pool full' message + 5921324: context: document why we only do minimal cleanups before the autospawn exec() + 27b8cd7: daemon: reset scheduling priority on startup, too + ef176ec: core-util: move personality resetting into core-util + 9f53aa5: daemon: unconditionally clean up priviliges + facae1f: conf: invert all negative boolean configuration option + 8998cba: conf: add pa_config_parse_not_bool() for parsing inverse boolean configuration options + eb40da2: daemon: install D-Bus system policy file for PA system instances + e834034: alsa: enable ext. amplifier by default + 462cdf4: alsa: adjust priority bonus of mappings that match the configured default channel map + +2009-08-11 Lennart Poettering + d27e26d: volume-restore: forward module load return value of stream-restore back to caller + c117feb: hal: replace subdevs= parameter by subdevices= parameter + c1039c9: udev: drop definition of LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE + c904f97: hal: add stub module that loads module-udev-detect instead of module-hal-detect + +2009-08-10 Lennart Poettering + ebe3596: Revert "build-sys: drop libcap checks, since we don't use caps anymore" + a99e3b5: Merge commit 'origin/master-tx' + d8d2697: Merge commit 'flameeyes/master' + +2009-08-09 Maxim Levitsky + 23a294c: Correctly deal with events in the past in calc_next_timeout + +2009-08-10 logan + 0f77afe: Sending translation for Spanish + +2009-08-08 igor + de68d36: Sending translation for Brazilian Portuguese + +2009-08-08 Lennart Poettering + 9bd3398: mix-test: fix test for s24-32 samples + 9ade136: build-sys: drop libcap checks, since we don't use caps anymore + +2009-08-08 Diego Elio 'Flameeyes' Pettenò + 10e4171: Update the end-of-configuration summary for OSS output/wrapper split. + 4c15115: Split OSS support in output and wrapper. + +2009-08-07 Lennart Poettering + 7d49163: ladspa/remap: make sure we process all requested rewinds unconditionally + 51b3899: core: save volume/mute changes coming from the hardware automatically + +2009-08-05 Lennart Poettering + aa7408b: run make update-po + 42f92a8: Merge commit 'origin/master-tx' + 8483de4: simple: bump libpulse-simple library revision + ff52588: smoother: readd #ifdef protection + +2009-08-05 ruigo + 19f2ffb: Sending translation for Portuguese + 40b2dde: Sending translation for Portuguese + +2009-08-04 ruigo + 20d62e2: Sending translation for Portuguese + +2009-08-05 Lennart Poettering + 2cab6a2: simple: check for == RUNNING instead of != DONE when waiting for operations + 5bbeb51: simple: split data/length validity checks into two + 53fcf3a: simple: call pa_context_disconnect() just to be sure + a73c615: simple: always loop around pa_threaded_mainloop_wait() to handle spurious wakeups properly + b553e72: simple: use pa_xnew0 instead of manual reset to 0 + a4bc41a: simple: use PA_xxx_IS_GOOD for state checks + +2009-08-04 Luke Yelavich + 5e61111: POTFILES - Remove references to more non-existant files in the source tree + +2009-08-04 Lennart Poettering + 9b2534b: alsa: properly treat ESTRPIPE as system suspend + +2009-08-03 Lennart Poettering + 3e2ab9b: client: extend documentation on pa_operation_cancel() a bit + a44cb64: build-sys: take preset CFLAGS into account + +2009-08-02 Lubomir Rintel + 34f31f6: Recover stream when it's suspended upon rewind + +2009-08-01 Lennart Poettering + 2778220: autospawn: if creating the lock file fails, pass error code cleanly back to main process + 49fd8ee: core-util: replace remaining fixed size destination string functions by _malloc() versions + c6ea9fe: core-util: rework pa_strlcpy() to not rely on strncpy() + e5c2256: pipe: replace PIPE_BUF macro pa pa_pipe_buf call + +2009-07-31 Lennart Poettering + 0113e72: hal: add option to initialize all subdevices of an OSS device + 478f325: client: documented that pa_stream_drain() may only have a single operation active at a time + 2952f28: client: fix documentation for threaded mainloop + +2009-07-01 Alam Arias + 66db0c8: update pulse-daemon.conf.5.xml.in about realtime-scheduling + 6d0c5a1: update pulse-daemon.conf.5.xml.in about exit-idle-time + +2009-07-31 Lennart Poettering + 39aa1cf: alsa: revert to first set number of periods, then set buffer size + c14f6c1: tunnel: don't assert on misaligned reads, closes #597 and rhbz #496310 + +2009-07-30 Lennart Poettering + 4f5e2b7: threaded-mainloop: loop around pa_cond_wait() invocation in pa_threaded_mainloop_signal() + +2009-07-28 igor + 7463edd: Sending translation for Brazilian Portuguese + +2009-07-28 raven + 1cc375c: Sending translation for Polish + +2009-07-28 Lennart Poettering + f8873ab: build-sys: bump binary version + 115d853: i18n: run make-update-po + 09e57c2: Merge branch 'master' into master-tx + +2009-07-25 Lennart Poettering + 8343360: client: minor modernizations + 6ce7d20: client: if a child we created was already reaped, assume that it was successful + +2009-07-24 Lennart Poettering + 59659e1: interpol-test: allow configuration of latency + 211d0f3: client: limit block size for zero-copy operations to mempool block size + e7ca058: client: make volume struct const + 5efb072: alsa: throw timing data away after device resume + f676391: autospawn: refuse autospawning if process disabled waitpid() + 5e24b6d: memblock: try to hit an assert earlier when ref counting doesn't work + 2bbdf63: udev: explain what happened when inotify_add_watch() returned ENOSPC, rhbz #513571 + 18433c1: alsa: handle correctly if alsa returns us 0 or EAGAIN on snd_pcm_mmap_begin if we didn't call snd_pcm_avail immediately before + +2009-07-23 logan + 835a2ae: Sending translation for Spanish + +2009-07-23 Lennart Poettering + a81244a: pacat: use zero-copy write calls when playing audio file + e02e025: client: include zerocopy write calls in map file + c325b93: alsa: don't reset volume/mute when selecting path + 5a0ef5f: daemon: replace colons by dash in per-machine directory names for compat with weird filesystems + ac38c4d: build-sys: add a couple of stub Makefiles + 1160cad: alsa: control 'Speaker' element as well + efe5b65: po: run make update-po + 638f9a5: Merge branch 'master-tx' + 88d5749: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + 3d6278b: Merge commit 'flameeyes/osx' + +2009-07-23 raven + 097c0cb: Sending translation for Polish + +2009-07-23 Wim Taymans + 3b01d3a: protocol-native: use the right samplerate + +2009-07-22 Lennart Poettering + 41ad33d: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + e3b0ce5: udev: don't fail if /dev/snd is not available right-away + 2f54b5d: daemon: reset personality, to make the autospawn env cleaup complete + 7e2afff: alsa: deal properly with IO functions asking us to write 0 bytes + +2009-07-20 Lennart Poettering + 0225ef6: memtrap: clarify that we are not interested in the return value of write() + 23039af: client: allow zero-copy writing to the stream + a2b207e: daemon: before exec'ing ourselves, make sure nobody plays games with /proc/self/exe + +2009-07-18 xconde + 0aca5ad: Sending translation for Catalan + +2009-07-17 Diego Elio 'Flameeyes' Pettenò + d18eb61: Again make sure that the wait() definition is not shadowed. + 542607f: Make the rtstutter tests mostly pointless without CLOCK_REALTIME. + 8c85c99: Further simplify on Daniel's patch for bootstrap.sh. + 0a5257b: Also request Darwin extensions, as they are needed for stuff like NSIG. + a6d6718: Request explicitly POSIX.1-2001 for clock_gettime. + 673112b: Check for support of -z nodelete LD flag, don't use it unconditionally. + +2009-07-17 Daniel Mack + 191c57e: make bootstrap.sh aware of Darwin environment + +2009-07-16 Colin Guthrie + 7e4509f: Merge commit 'flameeyes/master' + +2009-07-07 Diego Elio 'Flameeyes' Pettenò + 84200b4: Remove exploitable LD_BIND_NOW hack (CVE-2009-1894). + +2009-07-12 Colin Guthrie + 61fefd6: introspect: Fix two memory issues in port handling code. + +2009-07-07 pmkovar + cea1b8c: Sending translation for Czech + +2009-07-04 Diego Elio 'Flameeyes' Pettenò + ff252cb: Check for the library containing the backtrace() function. + +2009-07-01 Lennart Poettering + 6fdd584: stream-restore: mark volume changes from instant apply as saved ones + +2009-06-29 Marc-André Lureau + 95d3faa: bluetooth: don't connect on unconnected profile + +2009-07-01 Marc-André Lureau + e93c6c3: bluetooth: warn on EAGAIN after POLLOUT + +2009-07-01 Lennart Poettering + 7dabe05: memtrap: properly lock access to memtrap changer + 28e4625: memblock: rearrange locking order + efdd3d0: reserve: update from upstream git repo + 5d4769b: alsa: fix a few comments + 5bb1883: build-sys: add missing dependency to libcli + b174a51: libpulse: minor cleanups + a10b7cd: native: don't hit assert when user uploads zero-sized sample + cd70d7f: bluetooth: don't busy loop when device is not writable but we want to write + c3958aa: bluetooth: handle absence of bluez D-Bus service properly + +2009-06-30 Lennart Poettering + 1104141: reserve: fix build without D-Bus + +2009-06-28 Colin Guthrie + 00c392d: bootstrap: Ship git-version-gen with the tarball. + 59376b0: introspect: Fix a bug in sink/source info protocol handling related to ports. + +2009-06-27 Colin Guthrie + a007d47: combine: Do not set (and update) description if the user passed one in during load. + 7ee1b47: udev: Don't install the udev rules if we're not compiling udev support + +2009-06-25 Diego Elio 'Flameeyes' Pettenò + 1ca7603: Add missing headers includes for FreeBSD. + bce211e: Rename the flock variable to f_lock. + 6f44792: Only declare saved_errno when it's going to be used (on Linux). + 9a2ac32: Rename the wait parameter to wait_op, to avoid shadowing wait(). + 2266a39: Remove the call for pa_rtpoll_install() in the Solaris module. + 24564af: Fix the moved rtclock.h header in the Solaris module. + +2009-06-24 Diego Elio 'Flameeyes' Pettenò + de40e41: Also alias MAP_ANONYMOUS to MAP_ANON in shm.c, for FreeBSD. + 2f7bce9: Add a missing sys/stat.h include for FreeBSD to declare umask(). + fc649ad: Don't try to compile the rtkit sources when dbus is not enabled. + ad4e025: Implement mix-test for s24le and s24be sample formats. + 595f80f: Use static constants to keep the generated sample blocks. + 080f630: Ignore IPv6 tests, if IPv6 was built in but the system doesn't have it. + cd375da: Use the new CC_CHECK_CFLAGS_APPEND macro instead of a manual for. + e7c3a12: Properly link module-zeroconf-publish against libnative-protocol. + a4703ce: Check for and use flags to reject undefined symbols in libraries. + e61795c: Update attributes.m4 file from xine-lib. + +2009-06-13 Diego Elio 'Flameeyes' Pettenò + e832383: Make it more clear that PulseAudio needs libtool 2.2. + +2009-06-23 Lennart Poettering + 2654eb7: sndfile: fix build on BE archs + 0b52bf4: build-sys: don't make pulseaudio binary suid on install anymore + 390c275: build-sys: properly drop '-' from major/minor/micro strings + b4b1f03: build-sys: teacch git versioning script to not kill - in version strings + 5651c03: build-sys: drop compat with old git versions so that tarballs for -test1 style evrsions are properly created + 5b78752: intended-roles: drop quite a few unnecessary includes + ef85558: modules: pass properly initialized userdata pointers to various hooks + b6d0b0e: intended-roles: properly initialize split state + d965000: rtclock: make use of constants when converting between nsec and usec + b627d68: intended-roles: fix symdef header inclusion + bcae796: build-sys: use pax tar format to allow longer file names + da6b156: builds-sys: work around automake 1.11 borkage + 38e3d83: build-sys: bump udev revision to pull in new rules files + 882cdfc: rtclock: fix type of PA_TIMEVAL_RTCLOCK + 9217b47: timeval: don't create the wrong illusion that nsecs should be stored in pa_usec_t + f3bbbd0: rtclock: document that we fallback to wallclock time if monotonic time is not supported + +2009-06-22 Lennart Poettering + f753ef2: rtclock: enable rtclock for our own mainloop implementations + 3ee2900: rtclock: fix build after merge + fc33f7e: Merge most of elmarco/rtclock2 + 048e576: build-sys: dropo shave support, depend on automake's new silent build support instead + de5219a: daemon: enable module-intended-roles by default + 374efbd: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + aa2570c: rescue: make sure module-rescue-streams is used only as last fallback + 60d36c7: module-stream-restore: recheck stream database on hotplug/unplug and potentially move streams + 27af460: modules: add module-intended-roles that automatically puts streams marked with a role on devices that are intended for that role + c4d90ea: restore: change 'save' flag behaviour to reflect whether an entry shall and/or is in the on-disk databases + +2009-06-20 Marc-André Lureau + e4d914c: rtclock: fix issues found by Lennart + +2009-04-05 Marc-André Lureau + 0955e3d: Base mainloop on pa_rtclock_now() + +2009-04-04 Marc-André Lureau + 125c528: pulse: move pa_rtclock_now in pulsecommon + +2009-06-19 Lennart Poettering + 32e2cd6: core: get rid of rt sig/timer handling since modern Linux' ppooll() is finally fixed for granularity + a62db27: daemon: enable real-time by default + 06ec5fd: mergo + +2009-04-04 Marc-André Lureau + 5dcdd5e: perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'` + +2009-06-19 Lennart Poettering + 9c438bc: daemon: strip all special suid/caps log from our startup code, we'll now rely on RealtimeKit for all high-priority/RT scheduling policy issues + bacc5ca: core: use rtkit to acquire high-priority scheduling + 8474fd7: core: ask RealtimeKit for RT scheduling + 6ad3855: alsa: synthesize volume values more sensibly for channels that are not controllable in hw + b1ea7c0: alsa: document alsa mixer path/profile sets a bit more + b70b5ed: alsa: add copyright blobs and comments to all mixer paths/profile sets + +2009-06-19 logan + f21457e: Sending translation for Spanish + +2009-06-19 barney + 8f81555: Sending translation for German + +2009-06-18 Lennart Poettering + 11d2a7e: alsa: move udev rules file behind the other sound related rules + 131f76a: alsa: move mixer config files to subdir in /usr/share + 0fd17c6: alsa: document default profile set a bit better + 8a5f8f4: alsa: add profile set for Native Instruments 4 DJ + 348dcd6: alsa: unify alsa log handling and snd_config_update_free_global() handling in one place + 25e5197: alsa: merge mic boost into volume slider + 8fe50b0: alsa,core: include mapping name in description strings + ca560cc: alsa: add profile set for Native Instruments Audio 8 DJ sound card + 60df970: alsa: properly count mappings of manually defined profiles + b5cea8d: alsa: fix duplicate mapping detection + 34b4888: alsa: when creating alsa sinks/sources include mapping name in device name to allow profiles mit multiple sinks or multiple sources + 8d3362c: device-restore: properly check save_muted flag when storing muted state + 39b37a2: core: be a bit more verbose when registering a sink/source fails + 4951e08: card,stream-restore: minor cleanups + 0e4ac56: device-restore: save last used port in database + 59bd793: card-restore: we don't need to save card data that came from the database + d773638: stream-restore: e don't need to save stream data that came from the database + +2009-06-18 raven + 4dccbe3: Sending translation for Polish + +2009-06-17 Lennart Poettering + 53b8703: Merge commit 'origin/master' into master-tx + a9f82f1: i18n: update i18n + f1ef2f6: Merge commit 'origin/master-tx' + 75256fb: pactl: show list of supported ports + 46b8ca2: native-protocol: allow enumerating ports + c65ebee: raop: move all raop files to subdir + 6b2ca09: pactl: implement pactl set-{sink 914ef89: libpulse: implement client side for sink/source port selection commands + 6d7cf14: native: implement command to change sink/source port + bd8e043: bluetooth: return sensible error code in set_profile() + 334325e: alsa: allow placing device id in alsa device strings at arbitrary positions + 31575f7: alsa: rework mixer logic + e9c70ac: pdispatch: fix s/recieve/receive/ typos + 1ec33f3: pstream: fix s/recieve/receive/ typos + dddb4b0: gdbm: set default block size to 1K + 279e0d6: card: get rid of description field which is unused + 4f44fe8: card: make sure to always hand failure code back in some calls + 325c01b: card: some modernizations + dda0f5a: rtp: fix s/recieve/receive/ typo + 0fa1ddf: core-util: implement pa_maybe_prefix_path() + 7fa05be: core-util: implement pa_split_spaces_strv() + c5dbf75: core-util: implement pa_xstrfreev() + 7de7b01: conf-parse: implement .include directive + 083b17b: volume,channelmap: reimplement a couple of calls based on channel masks + 77901e5: channelmap: define a couple of standard channel masks + 697b8de: malloc: implement pa_xrenew() + 4f36cc7: channelmap: make sure a mask is generated is 64 bit int + 26d5f28: version: fix prefix in PA_CHECK_VERSION macro + d993969: channelmap: implement pa_channel_position_from_string() + 64b0f38: volume: implement functions for multiplicating a cvolume with a scalar + c6830bd: hashmap: implement pa_hashmap_last() + a1d84e3: hashmap: implement api to iterate a hashmap backwards + 277e8c5: idxset: implement pa_idxset_copy() + 0b479ff: daemon: write a warning blurb to syslog when folks use --system mode + +2009-06-13 ruigo + 550b619: Sending translation for Portuguese + +2009-06-12 xconde + f0f30fb: Sending translation for Catalan + +2009-06-12 dennistobar + 88730fd: Sending translation for Spanish + +2009-06-10 Lennart Poettering + 1e8a374: alsa: fix bad memory access for devices that lack a mixer + +2009-06-08 raven + a87f8a2: Sending translation for Polish + +2009-06-08 Lennart Poettering + 89e3adf: sample: fix build on BE archs + 3c4c1f4: udev: reshuffle the properties we read from udev a bit + f13bbd5: prop: introduce new PA_PROP_DEVICE_INTENDED_ROLES property + 12d5382: i18n: update po data + 983aa5d: Merge commit 'origin/master-tx' + e7a6d53: core: replace tabs by spaces + 587fc2a: core: make sure soft mute status stays in sync with hw mute status + +2009-06-08 rajesh + cc9354f: Sending translation for po/hi.po + +2009-06-07 Lennart Poettering + ab5adce: rtstutter: increase log level by default + +2009-06-07 ruigo + 00cc168: Sending translation for Portuguese + +2009-05-14 Jyri Sarha + 8eaea3a: optimization: Optimized pa_sink_render_full. + +2009-06-07 Lennart Poettering + 8adf1d5: man: document that tsched doesn't use fragment settings + 3aefc45: man: document 24bit sample types in man page + 5be1cc5: man: document log related daemon.conf options + 78bccde: conf: remove obsolete module-idle-time directive from default config file/man page + a9b38b3: daemon: optionally call mlockall() on startup + 71ce195: udev: properly initialize userdata to 0 + +2009-06-06 Lennart Poettering + 3a118f2: build-sys: bump libsndfile dependency + bab4b94: udev: try to unsuspend devices whenever they are closed by other processes + d1646f7: core: monitor sources need to inherit the suspend cause from their sinks + 69eab1e: core: suppress suspending/resume when we are already in the right state + 496be21: hashmap: introduce PA_HASHMAP_FOREACH macro + e84644a: hal,udev: deprecate HAL support in favour of udev + 8080ab1: udev: add module-udev-detect for discovering and configuring devices + +2009-06-06 aalam + 86f3961: Sending translation for Punjabi + +2009-06-05 Lennart Poettering + e5dd9df: rtp: remove gcc warning + f398407: augment: try to deduce the media role from the menu category + 561c0af: alsa: monitor device reservation status and resume automatically when device becomes unused + 00797b8: core: add a suspend cause flags field + 3af5f8c: reserve: wrap device reservation monitor reference implementation + 1748fd2: reserve: update reserve.[ch] from upstream git + +2009-06-04 Lennart Poettering + 3e10f3f: tdb: include signal.h before tdb.h for compat reasons + 4d87475: utils: use pa_path_get_filename() where applicable + +2009-05-28 Lennart Poettering + 8bada74: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + c224aac: modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated + 1c4393a: modules: add {sink +2009-05-27 Lennart Poettering + 6044aab: Merge commit 'flameeyes/master' + 2088626: null: introduce sink_properties= argument + 6601e09: simple: set ADJUST_LATENCY by default + 19d7ced: modargs: introduce pa_modargs_get_proplist() + +2009-05-27 jassy + 8c6c8e5: Sending translation for Punjabi + +2009-05-26 Lennart Poettering + 699bd54: libpulse: introduce PA_CHECK_VERSION macro + e8f7eb6: oss: don't deadlock when we try to resume an OSS device that lacks a mixer + d2198c9: alsa: fix wording, we are speaking of card profiles, not output profiles + 5c10b84: sndfile: big rework of libsndfile interfacing code + +2009-05-26 jassy + ed105ef: Sending translation for Punjabi + +2009-05-25 Lennart Poettering + 759a9d0: core-util: introduce pa_disable_sigpipe() + ebce318: cli: allow easy repeating of commands with '/' + 8b180b6: volume: implement pa_cvolume_{scale 5f2d848: map-file: add missing channel map/cvolume position functions + 8f23a2e: proplist: add two new generic properties, media.copyright and media.software + 01fa34b: channelmap: introduce pa_channel_map_mask() and pa_channel_position_mask_t + 261a483: sample: introduce pa_proplist_setp() + 346a708: sample: introduce pa_sample_format_is_{le,be,ne,re}() + 3533599: upnp: s/org.Rygel./org.gnome.UPnP/ following the newest version of the spec + +2009-05-24 ruigo + 911f890: Sending translation for Portuguese + +2009-05-24 Lennart Poettering + f809284: channelmap: document how apple's/microsoft's channel names map to ours + +2009-05-22 Lennart Poettering + e2aba15: core-util: fall back to sysconf(_SC_OPEN_MAX) to find maximum file descriptor + ce3fbb5: tests: show dB in volume-ui.py + 000bdb8: volume: change pa_volume_t mapping to cubic + +2009-05-21 ruigo + 4b9aac2: Sending translation for Portuguese + +2009-05-20 ruigo + 0ba756b: Sending translation for po/LINGUAS + 0e23210: Sending translation for po/pt.po + +2009-05-19 Lennart Poettering + e7bca90: upnp: s/url/URL/ in GetAll() D-Bus call + +2009-05-17 Diego Elio 'Flameeyes' Pettenò + ce6643e: Use the _ONCE variation of AC_CHECKs where applicable. + +2009-05-15 Diego Elio 'Flameeyes' Pettenò + ff5b7fb: Add missing headers' include to build on FreeBSD 7.1. + 99f2541: Add missing include directory path for OSS modules. + d45c909: When MAP_ANONYMOUS is missing, fallback to MAP_ANON. + 0de6877: Don't use == for comparison in tests. Fix build with non-bash shells. + +2009-05-15 Lennart Poettering + 862a05f: upnp: update to newest spec + +2009-05-14 Lennart Poettering + 0921b1b: shm: rework alignment when punching memory + 763954c: upnp: convert all property names to CamelCase to follow D-Bus spec + 1a39acc: rescue: make we don't end up in an endless loop when we can't move a sink input + 234c61b: upnp: implement item-count/container-count properties + 0cb3837: alsa: be a bit more verbose when a hwparam call fails + b7e2223: database: port restore modules to new database API + 003e03d: macro: include string.h because we need it for memset + 6df14e0: database: add tdb backend + 46bceed: database: add gdbm backend + c69ed91: database: add abstracted database API + +2009-05-13 Lennart Poettering + 905c800: volume: introduce pa_cvolume_{get 28069ef: core: automatically add icons for headsets/headphones/speakers for devices + +2009-05-12 Lennart Poettering + dfd6b61: alsa: include mixer name in sink/source properties + 21ab720: http: fix segfault on connection termination + +2009-05-12 Marc-André Lureau + 86caf45: context: don't fail if session bus is not there + 4c3aef3: suspend-on-idle: add per-device timeout property + +2009-05-11 Lennart Poettering + a7a7358: git: activate default commit hook + 37c3620: upnp: rework property handling + 35b7ce5: upnp: use new rygel @HOSTNAME@ wildcard for server name + dc5dce5: upnp: properly issue method not found exception when we don't now it + 98a6454: upnp: update to newest spec, generate 'Updated' signal + 6c4c61d: upnp: fix URL of MediaServer spec + eb20564: mime: drop additional whitespace from mime types + +2009-05-07 Jyri Sarha + 35faedb: core: Take samples from silence cache rather than write zeros + d7b8947: core: optimize pa_sink_render_full() + +2009-05-08 Lennart Poettering + a714861: channelmap: add pa_channel_map_has_position() + 7f767e5: core: liberalize 99a6a4 a bit + 8d9c26e: core: cache requested latency only when we are running, not while we are still constructing + 99a6a47: core: make sure we fix up flags/monitor flags already in pa_sink_new() instead of pa_sink_put() + 3766850: core: introduce pa_{sink,source}_set_fixed_latency() + +2009-05-08 Jyri Sarha + 44e566a: bluetooth-device: Add safe guard against BT streaming irregularities. + +2009-05-07 Lennart Poettering + 92a6141: macro: add macros for initializing memory + +2009-05-05 troubi51 + 9dd1af6: Sending translation for French + dd1cd9e: Sending translation for French + +2009-05-03 pmkovar + 4caa33b: Sending translation for Czech + +2009-05-01 Lennart Poettering + e0f0821: sconv: fix a few minor conversion issues + 5caf09d: resampler-test: add tests for 24bit sample formats + 76caa27: resampler-test: use global PA_FLOAT32_SWAP implementation + 4bffc78: alsa: initialize buffer size before number of periods to improve compat with some backends + d2b5ae5: sample-util: fix iteration loop when adjusting volume of s24 samples + 3a7b287: sample-util: properly allocate silence block for s24-32 formats + 076830a: endian: fix LE/BE order for 24 bit accessor functions + 947bf5d: zeroconf: properly unref native protocol object + d4b10d8: sample: correctly pass s24-32 formats + 4129f51: alsa: don't hit an assert when invalid module arguments are passed + +2009-04-30 Lennart Poettering + 5a2898d: zeroconf: use pa_get_{user 3522b7d: zeroconf: copy more sink/source properties into DNS-SD TXT data + 407a810: zeroconf: computer native protocol port automatically + d696416: headers: minor cleanups + 5326f5f: rygel: get rid of forgotten debug trap + 93db3cb: rygel: instead of always handing out wildcard address find out the actual address we are listening on + 8dfdfd4: http: export information about currently active server strings + 23a798c: strlist: add new calls pa_strlist_{next 9208b86: parseaddr: add new call pa_is_ip_address() + +2009-04-29 Lennart Poettering + d5f9057: rygel: make server name configurable + c95cc9e: rygel: add module that interfaces with Rygel UPnP + 390fe02: http: split out mime type handling calls + 84a92f2: protocol-http: allow listening into sinks/sources via HTTP + c215011: ioline: add new calls pa_ioline_detach_iochannel() and pa_ioline_is_drained() + a64097a: ioline: add callback that can be called when the ioline object is fully drained + 4cb6ea2: simple-protocol: don't hit an assert when we call connection_unlink() early + 0b2d96d: protocol-http: substantial modernizations + d871071: alsa: allow configuration of fallback device strings in profiles + ad5a1f3: protocol-native,proplist-util: port to pa_get_{user a8f0d7e: core-util: introduce pa_get_host_name_malloc() and pa_get_user_name_malloc() + 4abd5fa: memtrap: implicitly page align memory areas + bd0e4ce: macro: make pa_page_align roung up instead of down + 68f3ca9: macro: add new macro pa_align_ptr() + 8247e45: shm: minor modernizations + 595c22a: shm: page align shm size when mmap()ing it + 9745483: strbuf: add new call pa_strbuf_putc() + 5d39b8d: idxset: add enumeration macro PA_IDXSET_FOREACH + +2009-04-28 Lennart Poettering + 0368d6e: build-system: move x11 and jack modules into subdirectories + +2009-04-24 Lennart Poettering + 908b0e6: build-system: hide .version from git + af8f058: build-system: run make update-shave + +2009-04-23 Marc-André Lureau + 35382d6: build: there is no such thing as SHAVE_OUTPUT anymore + ebe22ad: build: generate git tarball using git describe + +2009-04-22 Lennart Poettering + edba78c: start-pulseaudio-x11: don't start a local sound server if a remote sound server is configured + ad12d7d: memtrap,aupdate: split atomic update from memtrap into seperate aupdate framework + +2009-04-21 Lennart Poettering + bb07c16: i18n: run make update-po + 79c8826: i18n: add missing file to LINGUAS ... again + 6919424: Merge commit 'origin/master-tx' + 26383c6: memtrap: add a bit of documentation for memtrap + 67efc76: memtrap: fix parameter type + 684b4c1: memtrap: hook up core to memtrap system + 928adf4: memtrap: make installation of SIGBUS handler explicit to ease integration into libraries + 7b00861: memtrap: when we fail to handle sigbus say so + 6224fac: memtrap: add new logic to trap and handle SIGBUS + fbbcfae: semaphore: introduce static semaphores + 391d50c: mutex: add initializer for static mutexes + b304a98: mutex: when we fail to fill in mutex into static mutex ptr free it again + 12065f3: llist: add PA_LLIST_FOREACH + +2009-04-20 marionline + 3c36836: Sending translation for Italian + +2009-04-19 mvdz + ed10a15: Sending translation for po/uk.po + +2009-04-19 Lennart Poettering + 8fbf626: object: revert to old unref() behaviour + eb04d0f: object: fix ref counting of objects on destruction + ad2a0ab: alsa: remove debug code + 98a25c5: alsa: properly convert return values of snd_strerror() to utf8 + 39a26d8: log: use pa_logl() instead of pa_log_level() + b9f1af4: log: print file name only when we have it + 6773d00: util: if NULL is passed to pa_path_get_filename() just hand it through + +2009-04-15 Erich Boleyn + b03a650: reserve-device: allow building without D-Bus + +2009-04-17 Finn Thain + 1c0667d: solaris: 0.9.15 solaris module build failure + +2009-04-18 Lennart Poettering + 12c5afe: object: keep refcount at 1 while destructing objects + ad447d1: core-util: handle EINTR already inside of pa_read/pa_write + +2009-04-18 beckerde + 4ec5375: Sending translation for Spanish + +2009-04-18 fab + 0093379: Sending translation for po/LINGUAS + ae3caa6: Sending translation for po/de_CH.po + 8a1938c: Sending translation for German + +2009-04-04 Marc-André Lureau + 099b328: bluetoth-device: be less strict on CONNECTED state to switch profile + +2009-04-17 Marc-André Lureau + 344eea4: pulse/context: when NOFAIL, don't try_next_connection() if c->client + +2009-04-17 Lennart Poettering + d775cf6: rescue-streams: when one stream move fails try to continue with the remaining ones + +2009-04-15 warrink + 83e7186: Sending translation for Dutch + +2009-04-14 warrink + 0846b68: Sending translation for Dutch + +2009-04-14 raven + 5faacd8: Sending translation for Polish + +2009-04-14 Lennart Poettering + ca9cd14: add a few missing initializations + 40d71e1: explcitly ignore return values of some functions marked with gcc's warn_unused_result attribute + 845b312: bump version for final 0.9.15 release + a4cea4e: core: when applying delay memblockq take monitored sink latency into account + 2d94c93: pacat: add missing newline + 4ee4a55: core: use pa_{source +2009-04-13 Lennart Poettering + 16324fc: sort LINGUAS + a654155: run make update-po + c96f6f3: update LINGUAS + 0948dca: Merge commit 'origin/master-tx' + fe8b10c: core: introduce new 'reference' volume for sinks + 49dcf09: alsa: include the alsa mixer control that is used in the property list + 6fd8fd1: alsa: store mixer controls to use in profile data + 89f74cb: alsa: when passing emptry mixer control name, force sw volume + 237a9e1: volume: increase dB range to -90dB + 0ac038e: client-conf-x11: unbreak autospawn due to stale X11 properties + 0aed5ea: client-conf: when is set, disable autospawn setting + 4cc4cbd: client-conf: make setting a default server independant from the autospawn setting + 20aba71: proplist-util: use pa_session_id() instead of accessing 7b816367b01393ed3e3e650047d78f6e-1239640487.203609-1061245823 directly + 43650de: client-conf: modernize a few things + a36197c: print session id when starting up + 1d8da03: core-util: filter utf8 in pa_machine_id() + 1b4e5f1: core-util: add pa_session_id() + 17f1784: cork-music-on-phone: make sure that we don't check the refcnt of pa_core when the daemon goes down + 62db10c: lirc: fix logic behind mute buttons + 66d2184: mmkbd: get rid of support for ancient kernels + f1d3dfb: mmkbd,lirc: make use of pa_assert_not_reached() + 270a698: lirc, mmkbd: extend controllable volume range to PA_VOLUME_MAX + 6d218e9: api: introduce PA_VOLUME_MAX + e9dd7a5: lirc: drop lirc_in_use, it's made redundant by PA_MODULE_LOAD_ONCE + d8de5d3: make sure we never overflow when calculating sleep time + +2009-04-13 warrink + 2ba882c: Sending translation for po/nl.po + +2009-04-11 ifelix + 362ec7b: Sending translation for Tamil + +2009-04-10 Lennart Poettering + 6eaeaea: Downgrade default log level to NOTICE to follow documentation + a26c945: add missing languages to LINGUAS + 3e29fd7: prepare another snapshot + 991cb06: set fixed latencies at more places where appropriate + +2009-04-06 Finn Thain + 80e18c8: make dbus optional during build + +2009-04-10 Lennart Poettering + e011230: run make update-po + d6f019e: Merge commit 'origin/master-tx' + 5388b44: alsa: when printing warning about bogus data from alsa include snd_pcm_dump() + ee6657a: bluetooth: when starting up HSP stream, send 2 packets first, only afterwards enter one-read-one-write logic + d77b28c: bluetooth: rework timing logic, properly implement latency callbacks + e9a4dec: bluetooth: be a bit more verbose if we exit due to bad poll() revents flag + 48cff5b: bluetooth: rename sco to hsp also for the user + f7c229d: core: add a seperate fixed_latency field for sinks/sources with fixed latency + 9ae8ca2: core: memory leak, fix ref counting when moving streams + dcd4a73: dbus: memory leak, actually free dbus wrapper + d827ecd: dbus: drop pa_ prefix from static symbol + f8ebe85: protocol-native: downgrade message if we receive pcm block for dead stream + 5b87196: protocol-native: print underrun message only once for each underrun + 3507d1e: socket-server: memory leak, free machine id after use + 669703d: dbus: memory leak, free pending calls + 9ba9883: dbus: memory leak, free server id after use + 9ee6a41: bluetooth: memory leak, actually free discovery struct itself + f65b276: interpol-test: make it easier to test corking only optionally + +2009-04-09 elsupergomez + dac687d: Sending translation for Spanish + +2009-04-09 mgiri + d1cf6eb: Sending translation for Oriya + 6c5bbd3: Sending translation for Oriya + +2009-04-08 mgiri + 8e1a9b7: Sending translation for Oriya + +2009-04-08 kkrothap + 27784c4: Sending translation for Telugu + +2009-04-08 ifelix + 0474762: Sending translation for po/ta.po + +2009-04-08 runab + bb7beeb: Sending translation for Bengali (India) + +2009-04-08 amitakhya + 89f5da8: Sending translation for Assamese + b445f79: Sending translation for po/as.po + +2009-04-08 Lennart Poettering + 6c04a1c: bluetooth: make sure to set max_request + c32c6c8: introduce relative_volume field in sink_input and make use of it on sink flat volume change + 14e89d4: when calculating volume from dB use ceil() + 4ff41ec: print smallest attenuation/sample + +2009-04-07 kkrothap + 091a0f2: Sending translation for po/te.po + +2009-04-07 kmilos + f5eca5d: Sending translation for po/sr@latin.po + 7202d52: Sending translation for Serbian + +2009-04-07 mgiri + 5b0d1bf: Sending translation for Oriya + 54c895c: Sending translation for po/or.po + +2009-04-07 runab + 7154f06: Sending translation for po/bn_IN.po + +2009-04-07 Lennart Poettering + aacb11b: update documentation regarding stream timing a bit + c523b16: after propagating a sink volume change to the sink inputs recalculate their soft volumes + 93e14d3: we need to make our multiplications with linear values + 02686cc: reduce number of conversions to/from linear volumes + d612fbb: compare with doubles, not integer + e356a03: If the sink volume is lowered to 0 and then increased again, make sure all stream volumes follow instead of staying at 0 + 2c2713a: make use of SO_TIMESTAMP timestamp for accuracy and leave smoother paused until we have data + f204c0f: mark null sink as support dynamic latency + 298bd0b: adjust max_rewind/max_request whenever the latency changes + e976034: send the source latency based on the MTU size + 61b0776: add suspend_within_thread() callbacks to pa_sink_input/pa_source_output + 35a4a0b: enable debugging output based on if DEBUG_DATA macro is set + +2009-04-07 swkothar + ff2dc1b: Sending translation for Gujarati + +2009-04-07 shanky + 682c101: Sending translation for po/kn.po + +2009-04-06 Lennart Poettering + 886ddc3: make sure we don't apply sampling rate fixes that bring the sampling freq > PA_RATE_MAX + e61728e: Make sure we don't get stuck when prebuf is too high + ff8d66d: extend documentation for pa_stream_cork() a bit + 7fc2382: properly handle interpolation when queried x is left of last data position + daa945a: don't fail device reservation if the D-Bus connection is dead + 4b521e5: be a bit more verbose about the busses we are connected to + 90f4fdb: make sure we keep a reference of the bus connection during the whole runtime if we manage to acquire the bus name + +2009-04-06 swkothar + f598776: Sending translation for Gujarati + b9b470e: Sending translation for Gujarati + 4c0a2e0: Sending translation for po/gu.po + +2009-04-06 sandeeps + a55c236: Sending translation for po/mr.po + +2009-04-06 leahliu + f709f2b: Sending translation for Chinese (Simplified) + +2009-04-05 soko + 6c0ce4d: Sending translation for po/sr@latin.po + c66e3fd: Sending translation for Serbian + +2009-04-05 raven + 015d66e: Sending translation for Polish + +2009-04-05 vpv + 4053e35: Sending translation for Finnish + d5e8488: Sending translation for Finnish + f5ec110: Sending translation for Finnish + +2009-04-05 Lennart Poettering + ecba42b: run make po-update + 9416cdf: Merge commit 'origin/master-tx' + 6ba3333: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + 923c5bc: make it easy to disable interpolation in the interpolation test tool + 14e11e4: Fix a couple of races in native protocol + 7dafa87: don't try to outsmart the transport + ce73e71: introduce pa_{sink d035f4a: Modify smoothing code to make cubic interpolation optional and allow 'quick fixups' on resuming + +2009-04-04 vpv + 82d1301: Sending translation for Finnish + +2009-04-04 Lennart Poettering + ca39fa2: initialize sound cards only after the 'control' object appeared + 9bea250: increase log buffer further + 77a1e38: refuse to initialize on modem devices + f708328: add missing files to POTFILES.in + 99f45a6: run make update-po + f446f0e: Merge commit 'origin/master-tx' + +2009-04-01 Maarten Bosmans + 8bcb9c6: various spelling fixes + +2009-04-01 Luke Yelavich + ccaf765: POTFILES.IN: Refer to src/pulsecore/dbus-util.c + +2009-04-03 soko + a12f4e6: Sending translation for po/sr@latin.po + 310d47a: Sending translation for Serbian + 398e381: Sending translation for po/sr@latin.po + a0e46c2: Sending translation for Serbian + +2009-04-03 Lennart Poettering + 6152c52: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + 143e1ba: downgrade a few messages + +2009-04-02 soko + 089a081: Sending translation for Serbian + +2009-04-02 leahliu + cb40e85: Sending translation for Chinese (Simplified) + +2009-04-01 Lennart Poettering + 1c26d7e: plot the difference between system and sound card time + 373b5ef: properly account for seeks in the requested_bytes counter + 380e97a: use machine id instead of hostname to identify local connections + dcb24f5: load bt discover module only when installed + 707acab: prepare test7 + 75a8d18: pass destination source/sink when moving streams so that we can access them + c2f6d09: don't access i->sink if it is not set + d9b19f8: prepare test6 + 5348cc1: increase timing update interval exponentially + aa1ad0d: in verbose mode log buffer attr changes + 0aa99c4: add buffer_attr callback stuff to exported symbol list + +2009-04-01 tombo + 1fa761a: Sending translation for Italian + +2009-03-31 Lennart Poettering + 4e8ceae: fix buffer defaults + 76c44d1: be a bit more verbose about max_request changes + cebaa98: Log underruns + 917e8cd: handle buffer_attr changed messages properly + 5cbd4b7: update command name table + ef5af55: fix an error where a signal was accidently freed when it is tried to register it twice + 2a32de1: Merge commit 'origin/master-tx' + +2009-03-31 beckerde + c29e9cf: Sending translation for Spanish + 2cd93ab: Sending translation for Spanish + 1e99255: Sending translation for Spanish + +2009-03-07 Finn Thain + 5e11972: revive solaris module + +2009-03-30 Kyle Cronan + 92ae5f1: Specifying ALSA mixer control + +2009-03-29 Maarten Bosmans + facc46d: fix some typos in doxygen comments + +2009-03-30 Maarten Bosmans + 4a40aed: handle failure to parse proplist in cli-command gracefully + +2009-03-31 Lennart Poettering + cab1e54: explain ff7033c11d9248fe837204b03c8397231dc511fe + ff7033c: Revert "make sure we always read in all properties" + +2009-03-30 Lennart Poettering + 29a282a: allow nofail mode only when no server string was specified + b6135b3: minor cleanups + 3df9eef: take org.pulseaudio.Server instead of org.pulseaudio to match the interface name already used in the HAL module + 857a1f4: fix compiler warning + 90fbc03: make sure we never access an invalid pa_bluetooth_device object + 1c8f968: make sure we always read in all properties + 66b80e9: get rid of old 'Connected' property parsing and make sure we don't execute two case branches + 91355a1: introduce typedef for pa_bt_audio_state and use it everywhere + 1390564: Merge commit 'elmarco/bluetooth-fixes' + d33be12: Merge commit 'elmarco/dbus' + 649c982: Use pa_source_set_max_rewind_within_thread() for updating the monitor source's max_rewind + +2009-03-27 Marc-André Lureau + 8491b47: gtk-test: updated to use PA_CONTEXT_NOAUTOSPAWN +2009-03-20 Marc-André Lureau + 1dad83b: pulse: client connect to dbus + b4ef64d: daemon: take org.pulseaudio + +2009-03-19 Marc-André Lureau + eb93e25: dbus: split dbus-util into dbus-shared + +2009-03-30 Lennart Poettering + 1743322: Merge commit 'coling/master' + 061344f: Merge commit 'origin/master' + aa68036: rework tunneling code + 65b787d: notify clients about tlength changes + 491aafd: typo fix + b349dae: add pa_memblockq_apply_attr()/pa_memblockq_get_attr() + 7c37c37: document more often the context certain functions are called in + 7f5481e: simplify latency config functions a bit and make them callable in more contexts + d04f3e1: Trigger move callback a little bit earlier so that no IO thread is running + e3f1510: don't enabled tsched on software ALSA devices + +2009-03-27 Marc-André Lureau + 87fcb3d: bluetooth: use new audio State properties + 38825d7: bluetooth: GetProperties after profile UUID show up + 20bd1c6: bluetooth: remove racy GetProperties to check profile + +2009-03-26 Marc-André Lureau + 9e8c2d3: bluetooth: don't access outside array range + +2009-03-24 Marc-André Lureau + 61cd6d4: bluetooth: fail when switching on non-connected profile + 62a4e36: bluetooth: connected can be -1, check > 0 + +2009-03-27 Lennart Poettering + 87d63b1: Small fix for MacOSX compat + db714bf: fix typo + +2009-03-26 Luiz Augusto von Dentz + 13f1c44: Do not reconfigure capabilities. + +2009-03-24 Luiz Augusto von Dentz + 168c741: Query and make use of the current configuration. + +2009-03-25 Luiz Augusto von Dentz + 071b3e7: Update ipc to match new message headers introduced on BlueZ 4.34. + +2009-03-23 Luiz Augusto von Dentz + b03c545: Fix misuse of 'frame.joint' when estimating the frame length. + f80a1f6: Maintain the original code style for sbc. + +2009-03-25 Colin Guthrie + 205cbe8: raop: Add call to pa_sink_set_max_request() + +2009-03-25 Lennart Poettering + 3813034: add missing initialization + cbbd986: make sure the discovery module is only loaded once + 39576ec: on monitor source be fine with any latency range set by the sink + 6defb1a: add missing whitespace + 2c1eaa7: copy latency flags from sink to monitor source + 4edb109: use u->use_tsched everywhere + 8282efc: fix value of DYNAMIC_LATENCY + c367a88: fix misplace _ref() calls that should have been _assert_ref() + f6a6d01: optionally skip initial frames in backtrace + 8460fac: don't show full so path in backtrace + e41ec51: add simple ref counting debugging framework + 577259b: trivial simplification + 119698a: beef up esd sink properties a bit + fdbe054: initialize max_request to SO_SNDBUF + 98a5f4a: don't fiddle with latency range in sources with static latency + d0bd3d9: initialize max_request + bcfe51f: again, don't fiddle with latency range in sinks with static latency + 59b7e53: Don't initialize userdata twice + b815a1c: don't fiddle with latency range because we cannot adjust it dynamically + 0316dba: set latency range only in tsched mode + 171c88f: link jack modules's max_request to the jack buffer size + 892a839: simplify things and make sure timing setters can be called in most contexts + 44ca897: introduce new flag that marks sinks/sources which can adjust the latency dynamically + 9bca59e: make pa_source_set_max_rewind() work similar to pa_sink_set_max_rewind() + 9151107: get rid of 'default' min/max latencies, simplify things by just having absolute boundaries + +2009-03-24 Marc-André Lureau + a7246bd: bluetooth: fix #NOKIA, correctly unlink sink/src + +2009-03-24 Lennart Poettering + 5b523d0: fix bad memory access when destroying m-b-d + c64d8cb: Allow calling pa_{sink 50695d9: minimal reordering + 2f9a784: set request/rewind sizes only via accessor functions + aa92ff4: simplify latency range by not allowing stored 'wildcard' ranges anymore + e6be948: only decrease timer slack, never increase + +2009-03-23 Lennart Poettering + bcbfd5b: don't fail when no session bus is available + 52dcb95: add pa_assert_cc() for compile time assertions + +2009-03-16 Marc-André Lureau + a467bec: pulse: check context (do not user pstream when NULL) + +2009-03-23 Lennart Poettering + 0815455: only store card profile if flagged for that + 124de50: enable bluetooth default by support + 906fd57: Merge commit 'origin/master-tx' + +2009-03-21 kmilos + 4c381cd: Sending translation for po/sr@latin.po + 29d1db6: Sending translation for po/sr.po + +2009-03-21 Lennart Poettering + c14da67: readd volume control logic + b3675c2: add functions that modules can call whenever they now the volume changed + 8d5b375: at a couple of #ifdef NOKIAs for now + 3aa3972: rework device discovery to share a single device list among all modules + 20488fb: add pa_hook_is_firing + +2009-03-20 Lennart Poettering + f5c8990: make sure we dispatch messages in order + 77a1db1: fix a misplaced assert + 888e44f: rework bluetooth IO loops + d2bee57: fix prototypes of remaining sbc.[ch] API regarding size_t/const + 99dae9b: don't try to unref reserve stuff if we don't use it + 0251078: fix channel mapping for a52 devices. Closes #508 + 33a8f53: simply bluetooth nrec handling a bit + dfb3d2e: always remap relative volume properly + a998038: introduce pa_sink_input_get_relative_volume() + bd3154a: introduce pa_assert_fp() for fast path assertions + +2009-03-19 Xavier Conde + 5cc7d00: Update catalan po + +2009-03-19 Lennart Poettering + fe3709c: fix a comment + dd40006: document things that need to be fixed with FIXME + 3762299: unfuck i18n + 86439a4: Merge commit 'origin/master-tx' + 0a1af8e: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + 4a98312: Merge commit 'elmarco/bluetooth-fixes' + 291d21c: fix prototypes of sbc functions a bit + 794775b: document todo items discussed at bt meeting + 303cd90: get rid of setsockopt() calls since they have never been implemented upstream + +2009-03-19 Marc-André Lureau + e836217: bluetooth: rework the info_valid logic to be more tolerant + f1daa28: bluetooth: mark info_valid when receive Connected + +2009-03-06 Marc-André Lureau + af9f92b: bluetooth: update SCO over PCM with latest changes + +2009-03-19 Marc-André Lureau + df3f4ee: bluetooth: load bluetooth device with connected profile + +2009-03-19 Lennart Poettering + 9744595: Merge commit '2d903bae9a2e57f997a3d3f335379c3880f95c77' + 4ebdee5: deduce a proper icon for TV sets + 3e8c7ac: Ignore HAL NoSuchProperty errors when looking for capabilities field. Closes rhbz #489394 + +2009-03-12 Lennart Poettering + 2928b44: Merge commit 'elmarco/bluetooth-fixes' + +2009-03-12 A S Alam + 000f0b8: Adding Punjabi Language + +2009-03-05 Marc-André Lureau + 9e93b9c: bluetooth: stream also when source is suspended + 018cadd: bluetooth: restart timer when write begin + 362d196: bluetooth: accept temporarily unavailable error + 2d903ba: bluetooth: s/handled/not_yet_handled for signals + 12ea570: bluetooth: reset read/write index when starting to stream + +2009-03-05 Piotr Drąg + 5d00693: Updated Polish translation + +2009-03-05 Lennart Poettering + 47bc3b7: prepare test5 + c589da7: prepare release 0.9.15-test4 + c6ed0e8: run make update-po + 57baff5: Merge commit 'origin/master-tx' + 420ee3f: Merge commit 'elmarco/bluetooth-fixes' + 81323b5: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + 3122008: try to detect when stupid clients forks and refuse all service from then on + 9d29b96: make interpol test more interesting by corking/uncorking multiple times + +2009-03-05 Diego Elio 'Flameeyes' Pettenò + 21547d7: Properly check for versioning flags. + cad3dd2: Make sure to set 'no' on the variable cached. + +2009-03-04 Lennart Poettering + dcee888: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + 3dd8800: fix typo in FOREIGN_CFLAGS + 6427c70: try more things to get a proper icon for sinks/sources + +2009-03-04 Marc-André Lureau + 7a8be7f: bluetooth: don't init profile when off + +2009-02-27 Marc-André Lureau + 683548e: bluetooth: service_fd could be 0 + +2009-02-25 Marc-André Lureau + fa73688: bluetooth: hsp case, check l for appropriate error message + +2009-03-04 Lennart Poettering + 656fc66: never try to suspend monitor sources, suspend the sinks they belong to instead + ec1c923: print error code when suspend/resume fails + 0dd8a33: handle negative error codes + 341f44f: fix handling of _suspend_all(), return first failure error code + ecbc320: make suspend state of monitor source follow the suspend state of the sink it belongs to + bffa8be: Don't allow suspending of monitor sources. + d09287d: Fix a NULL pointer access when sutting down esound/simple connections + 8693417: various smaller cleanups + c8abe64: pa_xnew cannot fail -- that's what the x is in the name + 946d072: document more closely from which context certain functions may be called + +2009-03-03 Lennart Poettering + f3de61e: fix device reservation for system mode + +2009-02-26 Finn Thain + 0329edd: revive solaris module + +2009-03-03 Lennart Poettering + ff38eaf: Merge commit 'coling/lgpl21' + 297515a: pass profile priority value to clients + +2009-03-03 Colin Guthrie + 86dee05: Use LGPL 2.1 on all files previously using LGPL 2 + +2009-03-02 Lennart Poettering + f8a085f: properly handle directed card info requests + 7794108: Merge commit 'coling/master' + 45ae4ab: run make update-ffmpeg + 505df22: run make update-sbc + e435241: run update-reserve + 4e86a4c: run make update-shave + ea1d429: add update-shave target + 77514c1: Merge commit 'coling/master' + 5c514aa: make dependency on udev versioned + +2009-03-02 Colin Guthrie + c083177: Use pa_assert_se() when the containing code has side effects. + +2009-03-01 Colin Guthrie + 8a00c00: raop: Handle the reponse header memory allocation more sensibly. + b75a4b4: raop: Log teardown explicitly + d293f08: raop: Allow for nice sink descriptions to be set (interpolated from avahi) + +2009-03-01 Lennart Poettering + ba4765a: For now don't list icon property (in favour of icon name property) since icon negotiation is probably much more complex (i.e. sizes...) than just putting icon data somewhere. + 671b927: add logic for initializing a useful icon name + 784ac5b: get additional device data from udev + cc8d51a: rename PA_PROP_DEVICE_CONNECTOR to PA_PROP_DEVICE_BUS + cce56ab: revise form factor list a bit, simplify and use singular everywhere + e008333: introduce seperate vendor/product id fields + abdffe9: make example code a bit more robust/change-proof + +2009-02-28 Colin Guthrie + 8fc9b19: Don't assume that device reservation is enabled. + +2009-02-27 Xavier Conde + 34cefed: Updated catalan po + +2009-02-27 Lennart Poettering + 116b38c: Merge commit 'coling/master' + 798e39a: when alsa tweaks our sample_spec make sure we adjust the watermark accordingly + 1c86267: when an underrun happens, increase watermark by 10ms instead of doubling it + 0d8f67b: revise list of form factors a little + +2009-02-26 Colin Guthrie + 07f9842: bluetooth: Fix under linked module-bluetooth-device + dd3c96d: Fix a very strange 'file not found' error in module-alsa-card. + +2009-02-25 Lennart Poettering + 620bf84: try to vacuum a little when nothing is going on + +2009-02-24 Piotr Drąg + 90ffe2d: Updated Polish translation + +2009-02-24 Lennart Poettering + e8d7c50: forgot to bump the revision + 3d04300: hide shave in gitignore + 00839dd: make sure we check the sink status for PA_SINK_INPUT_FAIL_ON_SUSPEND only after module-suspend-on-idle had the chance to resume the device + 7f5fff9: Merge commit 'elmarco/shave' + 7126392: ignore tags file + 07a45c7: run make update-po + 364786e: Merge commit 'origin/master-tx' + 8314858: set reserve interface application device name + 03ac71b: don't put both the card and the pcm name in the description of a device if one contains the other + ba3c766: update reserve.c from upstream git + c341010: implement device reservation scheme + 3c73025: in case alsa lies to use don't spin forever + ec9f8f1: if ALSA gives us nonsensical data at least try to fix it up a little + +2009-02-23 Marc-André Lureau + 16bb658: build: shave it! + +2009-02-24 Lennart Poettering + 9eb5070: introduce new well-known role 'a11y' + fb49399: Merge commit 'coling/master' + c73887d: update gitignore + +2009-02-21 Kelemen Gábor + 9372733: Make .desktop and .policy file in src/daemon translatable + 1ddf64a: Make pulseaudio.desktop and org.pulseaudio.policy translatable. + +2009-02-23 Lennart Poettering + 998aa40: fix handling of stereo + e0b5507: it's probably more appropriate to return the configured latency instead of the actual latency + 385a560: complete esd suspend/resume implementation + 2e9479b: implement esd sample panning. closes #428 + 73c763c: set esound.byte_order property + 5fa3f0c: allow scache entries to have arbitrary names + 023ba89: use pa_alsa_safe_delay() where appropriate + 33601af: print driver name when we encounter driver bugs + 557a90c: add new wrapper pa_alsa_safe_delay() around snd_pcm_delay() + 5cc9d97: add new function pa_alsa_get_driver_name_by_pcm() + +2009-02-23 Francesco Tombolini + b063e53: Updated linguas file for it lang + 0be0fc0: Italian language by ubuntu team + +2009-02-22 Colin Guthrie + 2a0d252: Add the module dir to the libpulse pkgconfig file (needed for paprefs) + 4ebc6cf: Remove references to trademarked terms. + +2009-02-22 Lennart Poettering + 3bc60ca: a couple of boring updates + 3bccb70: Allow passing a NULL proplist to pa_xxxx_update_proplist() to just fire a notification + e335b3d: prepare test for tracking down ens1371 issue + 2d9ae49: rework suspending/resuming + 504384a: initialize selem index + +2009-02-21 Lennart Poettering + 194d899: make sure we don't choke on overly long lines in .desktop files + edfa39a: make sure we don't choke on PULSE_PROP_OVERRIDE + 77779ea: rework logging to make it more modular + 9b74afc: make string translatable (fixes #483) + fa5e10f: fix wording, closes #484 + 1a45569: prefer profiles that match the default channel map + 14ee8d4: print warnings about driver bugs at most once + 4505bc9: introduce default channel map in addition to the default sample spec + 27bfa60: add new property PA_PROP_APPLICATION_PROCESS_SESSION_ID and initialize it by default + 2d0c68a: check for ENABLE_LEGACY_RUNTIME_DIR with #ifdef, not #if + e4e6e28: split off foreign code into a convenience library to make gcc warnings go away + 4c3648a: tell gcc to ignore invalid gtk header files + +2009-02-20 Piotr Drąg + a305770: Updated Polish translation + +2009-02-20 Lennart Poettering + ed67b07: simplify some code + +2009-02-17 Marc-André Lureau + 9f89907: bluetooth: fix suspend on a2dp (to do on HSP non SCO over PCM) + +2009-02-20 Lennart Poettering + 6aa110a: run make update-po + 3da3ea2: Merge commit 'origin/master-tx' + 7bc1847: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + 26a270a: big alsa module rework to make things more robust to broken sound drivers and make it easier to debug them + adc9c2d: fix comment + fa2e07a: add test tool for debugging broken timing in sound drivers + 9f813dd: Make sure we actually call _() for translating profile names + ef189d5: make it easier to debug timing related problems + fdca6ed: make profile names translatable + d69bd03: don't try to use weakref stuff on older compilers that don't really support it + +2009-02-19 Fabian Affolter + aae5b15: Updated German translation + +2009-02-19 Lennart Poettering + 2e250aa: Merge commit '38ded3bb31bc49664641965f856a35f432a8a956' + b0c0106: Merge commit 'elmarco/legacy-dir' + +2009-02-18 Marc-André Lureau + 7c78c3f: alsa-util: check if mixer_poll_descriptors_count() < 0 + 800489e: pulsecore: don't leak p when make_random_dir_and_link() + f1dcbe0: pulsecore: don't leak d in case of error + 4722fec: rtp: remove unused variable a + 88fc458: protocol-native: don't leak a proplist + 0684b23: stream-resotre: don't leak a name + c0cf22d: protocol-esound: don't accept a request of PROTOCOL_MAX + 2c6abb8: daemon-conf: make sure c->log_level < LEVEL_MAX + 4f1380b: pulsecore: use r returned from fgets() + 204083c: pulsecore: unused variable e in hashmap_put() + +2009-02-17 Marc-André Lureau + 60d53c6: tests/ipacl-test: check inet_pton() + bb52a67: padsp: don't use si if it's NULL + d1306e3: pulsecore: fix check for cb (m is already checked before) + 67b0bae: pacat: remove unused variable + 4512a2c: rtp-recv: remove unused variable assignment + 927e501: pulsecore: remove unused variable from cli_command_load() + a252b61: main: remove unused lf variable + c3eb908: pactl: return in case of error reading file (avoid using freed d) + 25bbea6: tests/thread-mainloop-test: check if threaded_mainloop_start() succeed + 5ea7dac: tests/interpol-test: check if mainloop_start() succeed + a836927: tests/sync-playback: check if pa_context_connect succeed + 93ed27d: pactl: check if pa_context_connect succeed + 2aeab75: paplay: check if pa_context_connect() succeed + 6c8d851: protocol-native: fix get_info() for cards + +2009-02-19 Marc-André Lureau + 01f81d6: card-restore: it's not useful to check an array, let's check the length + +2009-02-17 Marc-André Lureau + ee0b5f7: log: don't leak bt + 83cdcf2: alsa-util: make sure we check an initialized cn variable + 7737b10: hal-detect: make sure r is initialized, so we don't take random path + 7d16dcb: dbus-util: avoid double free + +2009-02-19 Lennart Poettering + 205b0ba: split out mixer setup into seperate functions to make things more readable + e1608d5: modernize pa_msleep() a bit + 9cbdd3a: add pa_timespec_load + 45218aa: make interpol-test useful for recording as well + 5f5396b: additional validity check + 928920c: additional validity check + 7f8ccf9: handle both positive and negative errno's + +2009-02-18 Lennart Poettering + 6db3073: export card information for sinks/sources and number of sinks/sources a profile would create to clients + 7b8bed3: introduce pa_realpath() + d85ef71: export pa_match() + be81a68: if we fail to import a memblock fill in silence to guarantee stability of timing + 1737a19: allow importing of more memory blocks than exporting + 07333f8: refer folks to the ALSA devs, not us + dc1ad08: minor optimizations + ff58fa8: simplify pa_alsa_init_proplist_pcm() a bit and include resolution bits in alsa device props + c9c63c2: allow pa to be run in a chroot() environment tht lacks /proc + c1892f2: bump required alsa version + +2009-02-18 Marc-André Lureau + 05b7440: pulse/context: add --enable-legacy-runtime-dir + +2009-02-13 Marc-André Lureau + 38ded3b: bluetooth: print SBC encoder implementation info + b4c391e: bluetooth: don't crash on pa_thread_mq_done() if pa_init() fail + +2009-02-18 Marc-André Lureau + b51e613: bluetooth: update SBC from upstream + +2009-02-13 Lennart Poettering + 0b8a6c6: bluetooth: fix message queue/rtpoll + +2009-02-15 Lennart Poettering + a571565: don't open the alsa devices in hw:xxx mode + +2009-02-14 Lennart Poettering + 6790c03: unify ALSA mixer initialization + +2009-02-13 Lennart Poettering + 023998e: add doxygen comment for PA_GCC_WEAKREF + d447a8d: document all currently known properties + 9334d90: show whether gtk+ support is enabled after configure + fffe0ba: ignore gtk-test + e954a89: properly read icon/application name/display from gtk/glib/gdk + f863756: make PULSE_PROP env vars non-overriding but introduce PULSE_PROP_OVERRIDE for allowing overriding + 689e6f8: add definition for GCC style weak references + 44bca66: make PA_GCC_PACKED and PA_GCC_MALLOC actually work + c0fb91d: drop check for PA_PROP_APPLICATION_NAME since often enough we can deduce this better from g_get_application_name() + 15e9b96: we reinit proplist since the server will copy from client proplist anyway + 62818b8: fix aiff channel mapping for 6 channels + 433751f: add a module that forwards cork/uncork requests to X11 as fake pause/resume key events + +2009-02-13 Iain Hibbert + dc590c7: Optionally disable IPv6 + +2009-02-13 Xavier Conde + 555527d: Updated catalan po + +2009-02-13 Timo Jyrinki + b82fccc: Updated Finnish translation against current trunk. + +2009-02-12 Lennart Poettering + 4fab9bf: add full set of argument description + 6bb3dc8: don't try to recycle rtpoll objects + 87e1342: don't claim that profile changes are always successful + 52bfd47: use the same service fd shutdown logic when destructing module and changing profile + b18c875: minor service IO fixes + d9e3aba: the service fd is a stream socket, so handle things accordingly + 923dc1b: run make update-po + cc526a0: prepare test2 + e82b2fd: handle errors from BT service properly + c3b0d84: make module-hal-detect pick up all cards even when they have no device 0 + 84666db: properly free modargs object when init fails; don't abbreviate modargs in struct + a371306: tabs are evil + a7b992f: some minor fixups + 6ada8d1: instead of reparsing the rate module argument when changing profile, simply restore the originally requested sample_spec, this also makes sure the channel count is properly reset + 752f815: addendum to f56da9893: don't crash when s->sink is NULL + 1837a96: call _kill functions instead of _unlink since the latter should only be called be the stream implementor + f0cc23d: Merge commit 'elmarco/bt-wip' + 5d15425: minor reformatting + 60c50bb: declare 'animation' stream role for Flash and suchlike + 12db1a5: make gcc 4.4 shut up + a729786: implement a module that corks music/video streams automatically when a phone call is active + 823431e: allow sending meta/policy events to clients + +2009-02-11 Marc-André Lureau + 86bec09: pulsecore: add PA_CORE_HOOK_*_MOVE_FAIL + f56da98: suspend-on-idle: don't crash when so->source is NULL + +2009-02-10 Marc-André Lureau + cce4359: bluetooth: reinitialize the sample spec when switching profile + +2009-02-03 Marc-André Lureau + cac0f9e: bluetooth: export nrec + 452e2b9: bluetooth: suspend SCO state when over PCM + c8a240c: bluetooth: SCO over PCM + +2009-02-09 Marc-André Lureau + b35ae7f: bluetooth: reconnect to audio service when switching profile + +2009-02-06 Lennart Poettering + 4bd9737: Merge branch 'master-tx' + 6bb2c49: add #defines for all enums that lacked it + 04c3c67: A few MacOS X portability fixes + +2009-02-06 Erich Boleyn + 64926ff: RTP segfault/uninitialized resampler + +2009-02-05 Piotr Drąg + 108e08c: Updated Polish translation + +2009-02-05 Lennart Poettering + 9f39a44: add new module-augment-properties module for augmenting properties from .desktop files + d6201cf: parse ini-style sections properly + ee5abc3: make native protocol use pa_{sink_input 524d78f: add missing hook + 291589e: allow overwriting of process properties with environment variables + f42afc4: make return value of pa_{sink_input a67406d: add pa_client_update_proplist() call + 63e2343: handle default volume initialization properly + f6ffd2d: make module-position-event-sounds use volume factor + de86c6e: add a 'volume factor' that is implicitly multiplied into the volume of a sink input without being visible to the outside + +2009-02-04 Lennart Poettering + 3fc1233: add a .mailmap file for git shortlog + 12c29e1: store the identification key in the module-stream-restore.id property + 9e2a2f8: run make update-po + 9a4e03c: bump version and soname + ae06517: make pacmd work in a pipe + 3d33172: rate limit underrun messages + 0933f1a: Merge commit 'flameeyes/flameeyes' + d4618c8: Merge commit 'vudentz/master' + 9a93157: Merge commit 'coling/master' + d802a76: remove soft volume from pa_sink_input_new_info since it should be handled internally and automatically by the sink input + b2c923e: properly handle failing stream creation + 786398d: fix a validity check + 1db6478: version all entries in the database + 4cf82c7: merge in properties earlier to make identification of streams from hooks easier + f6ec971: clarify things a bit + 12b7359: add a few additional validity checks + 83ddc09: add new calls pa_replace() and pa_unescape() + a625ca7: make gcc shut up + 078a8d5: rearrange a few things + d6dd907: simplify code a bit by using pa_sample_size_of_format() + a6fe991: beef up proplist test a bit + 9a27b8f: in addition to per-property env vars PULSE_PROP_xxx look for for a stringified PULSE_PROP env var + b445741: fix up parser in pa_proplist_from_string() to handle escapes correctly; make pa_proplist_to_string() escape quotes properly + 0fc59e4: add new API pa_ascii_valid(), pa_ascii_filter() + ce76216: add pa_sample_size_of_format() + +2009-02-02 Luiz Augusto von Dentz + 004b38f: Prevent changing volume on wrong device. + +2009-02-03 Colin Guthrie + 871389a: A couple of dependancy ordering fixes. + d1957b8: Trivial typo in a comment + +2009-01-28 Colin Guthrie + e28903e: Clean up volume/mute settings a bit. As the APEX device only has one channel of volume (e.g. it's always matched) we emulate any variation in channel volumes in software. Remove the unnecessary callback defininitions. + +2009-02-03 Lennart Poettering + 32e5e64: add a lot of validity checking + b51ed38: add a bit of missing i18n + 543115a: add new API pa_cvolume_compatible_with_channel_map() + +2009-02-02 Marc-André Lureau + 539abc3: bluetooth: typo + +2008-10-19 Sjoerd Simons + 921882d: Load module gconf earlier + +2009-02-03 Lennart Poettering + fc31d21: when moving a sink between sinks make volume relative + 554c818: before applying balance/fade check it actually makes sense + f9696c0: add a macro definition for each error code + 2739261: Merge commit 'origin/master-tx' + 08800c3: make a couple of functions return proper error codes + 162e43b: make a few functions return void where the retval isn't used/never != 0 + 50bfa77: add new error code PA_ERR_NOTIMPLEMENTED + e47d03d: implement PA_STREAM_FAIL_ON_SUSPEND logic + c61ad2a: make iterating with pa_idxset_next() robust in regards to idxset modifications + f8190be: make update-sbc should also update other BT related sources + 59f3001: pull in new SBC/BT files + +2009-02-02 Lennart Poettering + fea6757: don't use PA_STREAM_NOT_MONOTONOUS anymore + 390133f: big module-bluetooth-device.c rework + 62f1f3e: make rtp.h ANSI C compliant + e412f1c: whitespace cleanup + 121a8b9: handle EAGAIN properly + 2854afb: fix soft_mute handling + a41d72b: update sbc stuff + 537424a: reset rewind_requested when we enter suspend mode + a9e9ab3: shortcut pa_sink_process_rewind() when no rewind is happenning and none was requested + 5fc11a0: Fix a few sink/source calls when they are called in suspended state. + d6fdd71: add new functions pa_bluetooth_cleanup_name() and pa_bluetooth_get_form_factor() + 16e3694: set PA_PROP_WINDOW_X11_DISPLAY from :0.0 and initialize PA_PROP_APPLICATION_PROCESS_MACHINE_ID properly + 8ccc9aa: try to use glib's g_get_application_name() to set PA_PROP_APPLICATION_NAME + 8fbce6e: when determining the minimum volume of all sink inputs make sure to handle the case when there are no sink inputs correctly + 55e6331: store the module index shifted by 1 to map PA_INVALID_INDEX to NULL + 69a9ed9: drop -pedantic + 04acc23: download everything from gitweb twice to make sure we don't get a 'Generating...' message + e0d6b75: add a few new form factors + 2c97c15: introduce PA_PROP_APPLICATION_PROCESS_MACHINE_ID + e0fd99b: work around dlsym() return value mistyping as suggested in POSIX + b092f2e: use uintpr_t when casting between pointers and integers + 55f643d: check for NULL before accessing the name + e7007fc: allow passing of channel map on command line and hide unused sliders + 2c7f2c5: look for libpulse in multiple different places + +2009-02-01 Xavier Conde + db2a425: Updated catalan po + +2009-01-31 Diego Elio 'Flameeyes' Pettenò + e9ca8b1: Disable portability warnings from automake. + +2009-01-31 甘露(Gan Lu) + 9d65392: Add zh_CN entry for Chinese Simplified translation. + +2009-01-31 Lennart Poettering + b979ab3: implement pa_channel_map_can_fade + f725b06: drop -Wpacked + +2009-01-30 Lennart Poettering + 6b80321: Merge branch 'master' into lennartsbtfixes + dbb8951: dump properties when we create a new sink or source + 2557017: suppress lines made up only of whitespace + e6f4586: include ALSA driver in properties for cards/sink + 4bd6545: add new function pa_alsa_get_driver_name() + 3442d58: Merge branch 'master' into lennartsbtfixes + 1c94cfe: Add a little Gtk test tool to show how balance/fade/value and the channel volumes play together + 1b53f82: implement pa_cvolume_{get 9314db7: fix a bogus assert + 634afed: properly deal with the case when l/r is silent when adjust balance + +2009-01-29 Lennart Poettering + 4a75002: add missing files + a71fa02: temporary commit of lennarts new bt changes + 47a9b96: add some helpers for dealing with DBusPendingCall based on Mrc-Andre's work in module-bluetooth-discover + 746dc2a: get rid of nonsensical late initialization of namereg/scache and things + 4a06af6: make use of new functions pa_dbus_add_matches/pa_dbus_remove_matches + 509535d: add new functions pa_dbus_add_matches()/pa_dbus_remove_matches() + +2009-01-28 Lennart Poettering + daf0612: make things compile again + 86e83d5: Run make update-po + f7c3ca7: Merge commit 'origin/master-tx' + b56e038: Merge commit '12db687acf3befe485bfff3700111999c95247fa' + a5401a5: store the default sink/source in proper pa_sink*/pa_source* pointers instead of a string + fc3ff11: fix two typos + 98821c7: print the right software volume + +2009-01-19 Marc-André Lureau + 12db687: bluetooth: cold hsp/a2dp device detection + a6a1b42: bluetooth: hsp volume control + +2009-01-28 Lennart Poettering + 611154c: Merge commit 'coling/master' + 3affa7e: make m-v-r a stub that simply load m-s-r + 63157a6: add missing usage strings + +2009-01-27 Colin Guthrie + 6e31178: Fix the message processing for PA_SINK_MESSAGE_GET_LATENCY by returning rather than breaking and falling through. + +2009-01-27 Lennart Poettering + 514661e: don't make m-e-s hit an assert when the latency is queried + 0f664b7: instead of making the volume relative our own, let' pa_sink_input_new() do it for us + e439c18: make m-p-e-s use pa_cvolume_set_balance() + d1b754d: only store volume/device information that has been flagged for saving, and store both relative and absolute volumes + 64b0543: when changing volume, store whether it is worth remembering or no + ee17772: add missing 'const' + 0ca16ca: add new paramter ignore_dB= to alsa modules + d5f46e8: move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources + 4bfa5d7: fix size calculation + eca3223: get rid of module-flat-volumes since we are moving this into the core + 1be39e4: allow samples to be played with 'default' (i.e. unspecified) volume. + 5449d79: swap argument order of pa_cvolume_get_balance() to be a bit more systematic + df8ad5d: add a few missing doxygen comments + 6058530: import version.h in all header files to make sure that version-based feature testing works + 1249cf6: always define PA_MAJOR/PA_MINOR/PA_MICRO to ease feature checking in client applications + 948be36: invert an ill-placed assert + 0658d9a: show pretty channel map name if possible + 07db64b: remove redundant cast + 9ba4084: store requested resampling method in a seperate field and use it when create a new resampler after a move + ccd21f3: make a few comments appear in doxygen + 3bcbe1d: check for availability of RLIMIT_NOFILE and RLIMIT_AS before we make use of it + 4e31e00: implement pa_cvolume_scale() + e52c5ea: implement new API functions pa_channel_map_can_balance(), pa_channel_map_to_name() and pa_channel_map_to_pretty_name() + 24b3a74: add a bitset implementation + +2009-01-24 Wang Zeguo + 085ca5f: Updated Chinese(zh_CN) translation. + +2009-01-24 Lennart Poettering + afd817a: rate limit a warning + a365c82: include a few HAL properties in our card/sink/source properties for ALSA devices + 54dad91: use pa_log_ratelimit() at a few places + +2009-01-23 Lennart Poettering + 77c4ccf: add pa_log_rate_limit() + 3dfe70c: add generic rate limiting implementation + e960125: add support for static mutexes + db27c63: make module-alsa-card move streams between the old and new sink/source, allowing 'hot' switching between profiles + 640d317: add functions to move all inputs of a sink away/similar for source outputs + 29cb778: move sink input/source output move functions into two parts so that we can start the move, delete the original sink, create a new sink, finish the move; similar for source outputs + cf24b57: in most cases we can use i->core instead of i->sink->core and o->coure instead of o->source->core + d5e088d: include list of sinks/source in card dump + 967c17a: teach module-rescue-streams and module-always-sink to not do anything if we are shutting down anyway + a3162a3: maintain a pa_core state variable + 88c9f9f: allow sample spec/channel map to be queried for pa_resampler objects + 7bdbcd0: drop --ltdl from the libtoolize invocation, since we don't ship ltdl anymore + f6fcbed: Merge commit 'flameeyes/flameeyes' + 5cb29f3: add a simple abstraction for SIMD operations + 2a238b2: don't overflow when we do digital amplification of 16 bit samples + +2009-01-23 daniel cabrera + 5487bc6: Updated Spanich translation + +2009-01-22 Diego E. 'Flameeyes' Pettenò + 3e5d9fd: Use #ifdef to avoid warning about undefined macro. + a257448: Improve the ltdl discovery code by checking for libtool 2.x functions. + 3293251: Move the safety check about pkg-config in bootstrap.sh. + 1b20d28: Fix logic thinko. + c65d3a9: Remove support for internal distributing and bundling of libltdl. + +2009-01-22 Lennart Poettering + ddbe612: use pthread_setaffinity_np() only when it is available + cef5f48: make rtstutter use pa_ncpus() + 4dc1916: add API pa_ncpus() + bb23932: When resuming an OSS device ask for the very same fragment settings as we did the first time + 3be4c31: rework module-hal-detect and make it use module-alsa-card instead of module-alsa-sink/-source + b2ef19a: include PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut up + 4b2a682: fix minor memleak in prober + b606c09: rework logic how alsa sinks/sources/cards are named + 7c11554: make gcc shut up + 1c84251: fix segfault when in record-only mode + 8519f54: only reread volume if we actually have a good mixer. Closes #466 + 40f2e21: make gcc shut up a bit more + a5c9546: fix copy'n'paste error + 251f720: add new function pa_strna + 36362f6: add new function pa_card_suspend() + bdfec1f: mark a few more ALSA dB values as 'valid' for valgrind + 0f7954a: don't include full path in driver name. + bf7217b: require autoconf 2.63 + +2009-01-22 Jared D. McNeill + 7c7133e: NetBSD sometimes doesn't know SNDCTL_DSP_GETODELAY + c0e4e5a: NetBSD doesn't know getgrnam_r()/getpwnam_r() + 61075a7: NetBSD doesn't know ENOLINK + ca6b791: It is more portable to assume that SO_RCVBUF/SO_SNDBUF takes and int instead of a size_t + 8d89ccd: NetBSD specific atomic operation implementation + cc425ed: NetBSD doesn't know RLIMIT_AS + 75eeea6: NetBSD needs to include sys/uio.h for some socket functions + +2009-01-21 Lennart Poettering + 601293d: implement pactl set-card-profile + 996bba7: implement PA_COMMAND_SET_CARD_PROFILE + 1375a9a: enable module-card-restore by default + 13315a7: add a card profile restore module + c512ebf: minor cleanups + 10e5c70: don't restore mute/volume when already set + 9661cd0: make pa_card_new_data::active_profile a string + e8f93b1: make implementation of module-alsa-card complete + 7ca0e00: fill in dev_id properly + 28f05e0: remove leftover define + cba4c6b: when changing profiles do the actual assignment in the generic implementation + 1d0bd6e: remove bogus pa_core_check_idle() call + dc2a4bd: add set-card-profile CLI command + 9a0dbda: allow cards be referenced by their index + b6b0e07: fix copy/paste error + 16d200e: add an API to create arbitrary alsa sinks/sources dynamically without having to load/unload modules + +2009-01-20 Lennart Poettering + b88b89a: add new call pa_alsa_open_by_device_id_profile() + 04e9214: export pa_channel_map_superset() + 7368a6e: add priority logic to find best default profile + b3a043f: always add 'disabled' profile + e0f8c13: remove unused variable + 86f3fb8: show active profile + a65c2c7: add client API for querying card information + 85bc5eb: dump active profile + 7aa7a7b: fix destruction when no profiles are defined + 9368623: don't divide by zero if no left resp. no right channels are defined + 67fcc76: fix profile names to include input/output specifier + b23efc0: add missing eof checks + 47a2f9e: Merge commit 'flameeyes/buildfixes-2' + d5e895d: document that I am a retard + 8839d86: remove misplaced whitespace + +2009-01-20 Diego E. 'Flameeyes' Pettenò + bc41fdb: Include the alsa/ subdirectory for modules in the search path. + bd70e80: Allow to opt-out from building tests. + +2009-01-19 Lennart Poettering + 8c4e2be: include sink/source state in pactl output + 8886e66: Document explicitly that the internal sink/source states are not considered part of the ABI/API + +2009-01-16 Marc-André Lureau + 310f433: pulse: share private enum values with client side + +2009-01-15 Marc-André Lureau + a3762a2: cli: fix broken array access with signed state enums + 6374f8e: sink: trigger subscribe event on sink state change + 9c4f8e6: pulse: introspect sink state + +2009-01-19 Lennart Poettering + f83111d: Merge commit 'vudentz/master' + 96f01bf: Merge commit '7104d54bbce8f9bd2553e16f45f3a0f69ac75b8b' + 5f6641c: Beef pactl output up a bit + ed65081: show dB and balance for cached samples + 033791c: fix up balance format string a bit + 23cd942: fix doxygen version references + b987e5e: fix bad free() + b43a45d: allow setting properties for modules, too + fe70301: show balance value in CLI listings + 723d71a: add api for manipulating volume balances + +2009-01-19 Diego E. 'Flameeyes' Pettenò + 7104d54: Add proper -I directives for out-of-tree builds. + 348c2ca: Create only the directory the current target should be created into. + +2009-01-19 Luiz Augusto von Dentz + 4460a5d: Fix hsp rate and channels. + +2009-01-17 Lennart Poettering + 606cf8a: get rid of pa_module_get_info because it is not used + 76ca5b8: beautify cli output a bit + f8ba3a9: dump profiles when listing cards + c06e43d: actually create pa_card object in module-alsa-card + c560aea: Don't enumerate invalid profile + f03a7e4: Split up pa_alsa_init_proplist into two seperate functions for the card and snd_pcm_t specific parts + a45f971: add pa_proplist_to_string_sep() + 4a66837: add pa_strbuf_isempty + +2009-01-16 Lennart Poettering + b4d8046: add card profile prober + b2b2eb1: remvoe a bit of duplicate code + 5793f93: make use of PR_SET_TIMERSLACK + 4a13763: Add support for 24bit samples encoded in the LSB of 32 bit words + 6dc76d1: add support for 24bit packed samples + 9955398: fix version info in protocol history + +2009-01-15 Lennart Poettering + 4d4956e: Add SPDIF/HDMI ALSA devices and device descriptions to device search table + 33c22b0: rename card config to card profile + d4bda31: include libcli.la in libprotocol-cli's dependencies + 4210119: add stub makefiles for oss and alsa subdirs + c7fff97: move alsa and oss modules into their own subdirectories + bae221c: rework module usage counter stuff to be pull based + edf88a5: don't show autoload flag anymore since it is obsolete + 47a2b17: make proplist inheritance scheme automatic and implicit + e68e4a5: make things compile again + 395523a: we don't support glib1.2 anymore + 29c7a28: kill autoload stuff as planned + +2008-11-10 Marc-André Lureau + 43762ed: flat-volume: use pa_sink_get_volume(s, TRUE) to work with slaved sink + +2009-01-15 Lennart Poettering + a861ffa: Merge commit 'e0f8ffe41f99789fafac575e944acf02e940bbf7' + d2757c9: redirect folks to the ALSA developers not me when their sound drivers are broken + 615e055: add functionality to dump list of cards + 344c934: maintain a list of sink inputs/source outputs as part of the pa_client object + b6deb0c: add new pa_card object as a way to logically combine multiple sinks and sources + aeb0707: fix bad memory access + 0b0b3d8: make PA_CONTEXT_IS_GOOD/PA_STREAM_IS_GOOD a macro so that we can easily check for its availability + a3695dd: port missing modules to new pa_client_new() API + 5abda63: convert pa_client instantiation to use a pa_client_new_data struct and add hooks for manipulating it + 75119e9: add new dont_rewind_render flag to allow quick starts of newly created streams + 06de639: don't rely on PA_SINK_RUNNING vs. PA_SINK_IDLE for optimizations since it might not be fully up to date + d1cf0e7: fix a potential format string vulnerability + fd3f5db: document that PA_API_VERSION is only for incompatible API changes + +2008-11-17 Marc-André Lureau + e0f8ffe: match: add "key" argument to match different properties + e97ed21: match: can now change properties also + +2008-11-10 Marc-André Lureau + 6ec0162: sink: add a virtual_volume to sink + +2009-01-14 Lennart Poettering + 20edd84: make pa_asyncq_push() fail under no circumstances. + 587a08b: Fix a typo I know owe Marc-Andre a beer for. + +2009-01-13 Colin Guthrie + df56404: Fix a potentially non-returning function in base64 code. + +2009-01-14 Lennart Poettering + f310113: Merge commit 'elmarco/master' + ab97364: remove calc_sine() since we don't need it anymore + cd45cd9: include new proplist functions in export list + 407b4fe: fix calculation of avail_min + 1872526: add pa_proplist_size() and pa_proplist_isempty() + ef5a2b5: Fix version info + +2009-01-13 Marc-André Lureau + 09641cc: build: fix few warnings + 49ae383: cli: add missing update-*-proplist + 2204bbe: core: add source, si, so proplist_update + +2008-11-10 Marc-André Lureau + 3d631df: build: print more informations about preopen + +2008-10-31 Marc-André Lureau + 9d6e9f5: cli: update-sink-proplist + +2008-10-27 Marc-André Lureau + 01f71ac: libpulse: add proplist_from_string + +2008-12-04 Marc-André Lureau + 9e978c9: core: report remaining shared objects when cleanup + +2008-10-31 Marc-André Lureau + ebb903a: core: add pa_source_update_proplist + 9444347: core: add pa_sink_update_proplist + +2009-01-12 Lennart Poettering + f6ac7b4: bump version/soname + 2ecf4c3: Merge commit 'origin/master-tx' + f67066b: Port sine modules to pa_memchunk_sine() + b8e6aae: add new API function pa_memchunk_sine() + 949de81: Extend command name lookup tables to cover complete protocol + aff7243: Fix suspending of all sinks/sources + d94d39d: read base volume only in proto 15 + b9e96e0: for record streams fill in the latency as the fragsize + 947a828: fix version check + +2009-01-10 Lennart Poettering + b6804ee: Make sure we don't drop any data on the client side + 8a3dc57: make module-sine-source actually work + 4e8ada5: show maximum usable slot size + c850aa0: Add new pa_reduce() and pa_gcd() functions + +2009-01-09 Piotr Drąg + cf3abcd: Updated Polish translation + +2009-01-08 Lennart Poettering + 98049fb: make things compile again + 7b52840: add a few missing parens + 5daf141: drop a few warning options, add a few new ones + c2002dc: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + 9fc726c: Add new test source module-sine-source + e5c0938: A few minor cleanups and updates + aff7768: Add new debuuging API pa_memchunk_dump_to_file() + 7ca0f38: run "make update-po" + 6b9056c: Merge commit 'origin/master-tx' + +2009-01-08 Marc-André Lureau + a1a1119: build: fix missing x11 modules dependencies + 7e6309c: bluetooth: Update sbc from git upstream. + d096ad7: bluetooth: add update-sbc and friends + 8e200ed: build: run some tests during make check (and distcheck) + de57edd: build: Use proper -disable-static instead of removing .a + c8b3d8b: build: add atomic.h and refcnt.h to libpulsecommon + db193f1: build: introduce $SKIP_GIT for make dist (off-line or behind a proxy). + a206ac0: build: Don't include builddir, but only srcdir. + e92b0ae: build: compile libltdl directory first + +2009-01-07 Marc-André Lureau + dd9ca70: build: use pkg-config for X11 + +2009-01-08 Lennart Poettering + c245050: Prefer mixer controls with volumes over switches + e67bc1d: -Wconvert is pain, let's drop it again + +2009-01-07 Sean McNamara + 81cd219: --check: Updated manpage slightly and pulseaudio --help slightly. + +2009-01-07 Lennart Poettering + 2f681a3: Merge commit 'vudentz/master' + +2008-11-27 chocolateboy + 78e636e: Fix typo in log message: s/Recevied/Received/ + +2009-01-06 Luiz Augusto von Dentz + e7e6f86: Fix sending wrong codec capability length. + 1a96c9b: Fix send and recv message sizes. + +2009-01-05 Luiz Augusto von Dentz + be49c92: Send packets with proper size. + +2008-12-20 Tom Bamford + fe2b8c3: Multicast SDP packets sent with same IP TTL as RTP packets + +2008-12-30 Piotr Drąg + 17ae579: Updated Polish translation + +2008-12-24 A S Alam + cb5af19: Add Punjabi Translation for Module + +2008-12-24 Lennart Poettering + 2ff20ce: Rework handling of the PA_SINK_LATENCY/PA_SOURCE_LATENCY flags + fb4c111: Implement base_volume for ALSA sinks/sources + 6130c5c: Add "base volume" field to sinks/sources + 3e3c103: Add APIs to pass pa_volume_t fields in a tagstruct + 6342053: Add new API functions pa_volume_snprint() and pa_sw_volume_snprint_dB() + +2008-12-23 Lennart Poettering + f24e4c1: Merge commit 'vudentz/master' + c2bd8dc: fix a gcc warning + 22c3373: If we cannot open an ALSA device with SND_PCM_NO_AUTO_FORMAT retry without + +2008-12-17 Luiz Augusto von Dentz + 7323e1a: Update module-bluetooth-device to the new ipc. + 5db081a: Disable warnings for bluetooth-device-module. + +2008-12-21 Lennart Poettering + 03aa91d: make sure we don't hit an assert when we issue two rewind requests in a single iteration + 606c9ca: Implement PA_SOURCE_MESSAGE_GET_LATENCY + 10cc4ba: Use FIONREAD instead of TIOCINQ + +2008-12-18 Lennart Poettering + 63fc26e: Allow access("/dev/dsp", W_OK) succeed + 1d2e5cb: Make sure we drop CAP_NICE if RT is not allowed + +2008-12-17 Lennart Poettering + d71d79c: downgrade a few warnings + 906d06b: it's better to always use the index of a module instead of the pa_module* + f5d40fa: unload tunnel modules from a new stack frame + b95539b: actually unload the modules from a new stack frame + 86c6fd8: Don't store pointer to pa_module + c5b8eb7: introduce new function pa_module_unload_request_by_index + +2008-12-05 Luiz Augusto von Dentz + dcd498c: Fix bug walking on module list. + +2008-12-17 Lennart Poettering + 82f09b6: Don't hit an assert when checking for idleness + cb6a919: Load module-volume-restore and module-device-restore before all other modules + 3f20a15: Pass GDBM_NOLOCK to gdbm + 209a8d7: Don't mix front-center into rear channels + +2008-12-16 Lennart Poettering + b8fe1b6: fix implementation of bind now ltdl loader for libtool 2.2 + e4aa5f2: Fix return value of --dump-resample-methods + 8977b2e: libtool 2.2 updates + 7013849: Check if environ is actually set before we use it + 2ee9276: Merge commit 'flameeyes/libtool-2.2' + +2008-12-01 Timo Jyrinki + 55d846f: Argh, send pulseaudio Finnish translation (instead of paprefs) by Timo Jyrinki. + fe5c651: Add fi (Finnish) to LINGUAS. + ba64071: Add Finnish (fi) translation by Timo Jyrinki. + +2008-11-23 sainrysec + e9ca860: Only creat zh_CN.po + +2008-11-21 Henrique Junior + 7f9a6ae: Updated brazilian portuguese translation + +2008-11-11 Piotr Drąg + 946b34b: Updated Polish translation + +2008-11-07 Xavier Conde + 7582bf5: Added catalan locale + 69aaaf1: Added catalan translation + +2008-11-01 Lennart Poettering + f826ded: make shm marker architecture independant, patch from michich, closes #401 + 84cd233: Make sure libpulse never gets unloaded + 58b53bb: a bit of pa_bool_t'ization + +2008-10-26 Lennart Poettering + adc2973: Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTED + +2008-10-25 Lennart Poettering + c180cb5: bump micro version + 1d978ce: Merge branch 'new-world-order' + +2008-10-24 Lennart Poettering + b712e7b: make sure to use 64bit rounding even on 32bit machines when converting to pa_usec_t + +2008-10-22 Lennart Poettering + 3294c89: warn if ALSA wakes us up and there is actually nothing to do + 6ff9c1f: don't set the volume of pacat unless it is explicitly set + a2b3d25: update map file + +2008-10-21 Lennart Poettering + 1cd25f1: reorder setting of AM_CFLAGS a bit + +2008-10-22 Lennart Poettering + ef0cc74: a lot more build system updates + 695d300: make new build logic actually work + b978d84: update map file + +2008-10-21 Fabian Affolter + 8dce771: Updated German translation + +2008-10-21 Lennart Poettering + df6e38b: temporary commit to allow flameeyes a look + 260fc50: reorder setting of AM_CFLAGS a bit + c4b3462: make the debug trap macro a proper macro in macro.h + ef9f3f6: Try to catch certain driver errors + 1647191: make log meta, time, backtrace configurable using command line + 496499c: Make log meta, time, backtrace configurable using config file + 651a451: support changing logging parameters during runtime using the CLI + f4320d8: Support showing a backtrace on log messages + f92a814: include log.h near the end so that macro.h can be included in log.h and defines pa_bool_t properly + d4c6342: add pa_config_parse_unsigned() + c7ed771: fix arguments to format string + 7fecb23: convert argument to boolean int in PA_UNLIKELY, too + 519bb55: fix return value of pa_frame_aligned() + 4ee5e06: implement may_move_to for ladspa/remap sinks + 358824b: add new virtual function may_move_to to sink inputs/source outputs to allow modules to forbid certain connections + 309bc71: fix invalid validity check + +2008-10-21 Micha Pietsch + 737beea: German translation done. + +2008-10-20 Lennart Poettering + b709e1d: Make missing git-changelog.perl non-fatal + +2008-10-19 Petr Kovář + e88a115: Updated Czech translation. + +2008-10-19 Lennart Poettering + d675058: Fix spelling of privilige + d395792: always check for libtool prefix binary name to avoid confusion when using both installed and run-from-build-tree versions of PA in parallel + +2008-10-18 PabloMartin-Gomez + 38b08a2: Last strings translated to French + +2008-10-17 Piotr Drąg + 304526b: Updated LINGUAS + +2008-10-14 Piotr Drąg + a34b8ab: Updated Polish translation + +2008-10-13 Lennart Poettering + 60c2a82: Merge commit 'vudentz/master' + +2008-10-11 Colin Guthrie + d8465f2: Fix two typos that broke tunnels + +2008-10-13 Lennart Poettering + 5a5d288: properly remove dbus matches an filters when unloading m-b-d + 65ea1a2: correctly load module-flat-volume instead of module-flat-volumes + +2008-10-12 Petr Kovář + 0ad8e7e: LINGUAS: Added cs. + dda7ab1: Added Czech translation. + +2008-10-12 Domingo Becker + a78cf07: updated spanish translation + +2008-10-09 Luiz Augusto von Dentz + 931cbd1: Fix possible invalid read while attempting to load module-bluetooth-device. + +2008-10-08 Lennart Poettering + 8e3e88d: Merge commit 'coling/airtunes-0.9.13' + +2008-10-08 Colin Guthrie + 91b64bc: Fix a potential C++/C99 ism, add a log message on error condition + +2008-08-22 Colin Guthrie + 59eb649: Follow master change r34dd4a and fix shutdown when --disallow-module-loading=1 is passed + +2008-08-03 Colin Guthrie + 8715121: Modularise the RAOP stuff that requires OpenSSL and make it optional at compile time + c3d8bb5: Remove $Id$ lines left over from SVN + 19d2831: Make module-raop-sink/discover work with 0.9.11 API + +2008-07-03 Colin Guthrie + ded09d1: Implement hardware volume control. This allows near instant change of volume when controlling the hardware but the stream volume still suffers from a sizable delay. + e543e04: Implement a set volume function to expose this capability to higher layers + +2008-06-24 Colin Guthrie + 36f2aad: Use the new pa_namereg_make_valid_name() function. + +2008-06-11 Colin Guthrie + 0ff75ae: Add Lennart back in to Copyright as I copied these files from his originals and was a bit overzealous in changing things ;) + 729bbaf: Automatic discovery of airtunes devices via Bonjour/Avahi. + d997420: Minor correction of help text + 15e8420: Still send silence when we are not doing anything else, but also flush the buffers correctly upon recovery from suspension. + +2008-06-10 Colin Guthrie + c49be78: Add some new public API functions to connect and flush. + d86fc75: Change the API of the RTSP client a bit. + +2008-06-09 Colin Guthrie + 19dcb52: Remove unneeded headers accidentially added in r2500. + 5f527dc: Add seq and rtptime params to record/flush with a view to using these for timing and device suspension + 651da7d: Minor update to copywrite (I still plan to replace this completely but in the mean time....) + +2008-06-03 Colin Guthrie + 7f0cf0c: Fix up a couple of values related to encoding overhead. + +2008-05-26 Colin Guthrie + 13bc075: A few related changes: + b93e9e8: Keep track of the memblock pointer internally and do not rely on subsequent calls to pass it back in for unref'ing + 8108121: Set forgotten keyword property + 6dc5e07: Set the send buffer size to prevent rendering silence in amongst our good data (this should be more sophisticated but that can wait for a glitch-free port) + 6c1dd6e: Move the encoding loop around a bit such that it does not grab the data and keep it for the next loop iteration. + +2008-05-11 Colin Guthrie + 3767cdb: Do tidy up on disconnection. + 9216684: Do not prefix internal function rtsp_exec. + eca94fe: Don't try to free stack variables. + be73d37: unref the raw data memblock before requesting more data. + cb8c5a9: Some misc fixes. consts, base64 optimisation (not that it will be with us long anyway), and c comments + 4b7b7b1: Fix up IPv6 address format to enclose it in [] + d195d06: Change suggested by Lennart. Do not return a memchunk, instead pass in the pointer. + e00127f: Various changes suggested by Lennart. + ec9a618: Listen to the on_close callback. This still causes asserts in the mainloop, so this is not a complete solution + 899492c: Add a new callback structure to propigate when the RTSP connection dies + 5eecfa2: Move the ownership of the encoded data memchunk into the raop_client. + 4dd3185: Do not assert on NULL values of s. This means the connection was closed. This change somehow kills the mainloop with an assert, so I need to sort that out. + d51f594: A very rough first version of the sink. + 264a1c2: Add more libraries to librtp now that it's doing a lot more. + f97c5de: Properly duplicate the hostname passed in on connect. + +2008-05-10 Colin Guthrie + 1fb0465: Combine pa_raop_client_new and pa_raop_client_connect (no point in having them separate) + +2008-05-07 Colin Guthrie + 41e31ab: Rename rtsp.{c,h} to rtsp_client.{c,h}. + e596f42: Wrap the io_callback to ensure that all data is written before asking for more. + 6510d97: Use a more stateful response parser. + +2008-05-06 Colin Guthrie + 22e299a: Add a pa_iochannel callback for when the RAOP connection connects. + 8fb58e3: Add a function for packing bits into a byte buffer. This will be needed when encoding the audio data in ALAC format. + 66cf1d1: Some minor tidyup to remove code now in raop client. Still nowhere near functional. + 20478a4: Add a skeleton raop client which builds on the rtsp client. + d423605: Move closer to an asynchronous structure (still some parsing code to be converted). + a0d3582: Trivial change to allocate memory using pulse methods. + +2008-05-04 Colin Guthrie + a08d733: Fix svn properties and some minor indentation + 27ed970: Convert the return values to fit with the rest of pulse 0 == success, < 0 == failure + 405cf72: Convert to using pa_socket_client rather than using blocking IO. + +2008-05-02 Colin Guthrie + ce9a41e: Use _free rather than _destroy so as not to mix naming conventions. + 91edf9e: Use pa_sprintf_malloc to do simple concatenation rather than using the higher overhead of pa_strbuf + +2008-05-01 Colin Guthrie + 6570620: Start the raop sink. It's based on pipe sink and isn't anywhere near finished. It does however compile. + fef102e: Add a simple base64 library that will be used by the sink + 4847706: Add a RTSP client impelmentation. + 8c1c565: Add a small lib to interpret and produce headers as used in http style requests. + +2008-10-08 Lennart Poettering + 068afb3: define 0dB in PA as maximum amplification + a8dc2aa: enable flat volumes by default + 2dfc265: Merge branch 'flatvol' + 37b8c45: query the sink volume outside of the loop because it might be quite expensive + 34f6a51: use pa_sink_set_volume() for changing the volume + b048ae9: check the maximum volume of all sink inputs instead of the average volume to avoid digital amplification in favour of attenuation + 404cf74: some minor reformatting + 8bc58cc: ignore sinks that do not carry decibel information + 776c8de: remove $Id$ + b6ccea3: add a comment that pa_sink_input_set_volume and module-flat-volume.c are related + 9f4033d: if a stream comes with now sensible properties attached, use common fallback db entry. + +2008-10-07 Lennart Poettering + 68cc299: after calling PA_CORE_HOOK_SINK_SET_VOLUME hook, check again whether the volume changed + 46f73fb: additional validity checks + e053fa0: if the channel map was modified due to PA_SINK_INPUT_FIX_CHANNELS, remap the specified volume properly + e1dbc75: use pa_channel_map_init_extend() instead of pa_channel_map_init_auto() as channel map for sink inputs/source outputs in case no map is specified + ae83483: modernize a few checks + 72024cd: when the volume is changed make sure we send out a subscription event + 624f220: instead of resetting virtual_volume unconditionally on initialization, do so only when no volume was set before + 5925d44: Merge commit 'origin/master-tx' into master-tx + +2008-10-06 Luiz Augusto von Dentz + 3d7b76d: Unload module-bluetooth-device if the remote device disconnects. + +2008-10-07 Lennart Poettering + c8a963a: Initialize exit_idle_time to -1 instead of 0 when in system mode. + 1e513c3: Initialize exit_idle_time to -1 instead of 0 when in system mode. + +2008-10-07 Marc-Andre Lureau + 80a79b1: flat-volume thingy + 4541274: volume hooks + +2008-10-06 Lennart Poettering + fa93cb7: make distcheck pass + e26ffc9: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + be667af: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + 0274651: bump version and sonames + f64d6af: Merge commit 'vudentz/master' + aa43739: make sure we send a started messages when we are uncorking + +2008-10-05 Lennart Poettering + 5996f59: update module-tunnel for recent protocol changes + f728e9c: disable valgrind macro usage for now since valgrind generates a lot of spurious warnings as it seems + 6d52a41: add missing include + +2008-10-04 Lennart Poettering + a9c1bb3: substract the unused record buffer size from the overall size before calculating the space still left for recording + 83b1d7a: get rid of pa_alsa_volume_divide() since we have pa_sw_volume_divide() now + da4ad5e: implement pa_sw_volume_divide() and pa_sw_cvolume_divide() + 87c8132: increase suspend timeout to 5s so that it is always longer then the default tsched buffer size of 2s + 530b95f: don't call snd_pcm_drain() when we suspend because that might take awfully long with our long buffer sizes these days + 88130eb: add missing inclusion + 82c46f2: do not cleanup staticly allocated memory unless we are in valgrind mode + 3c19352: show valgrind status on startup + 9b00664: instead of checking for directly use new function pa_in_valgrind() + 8222f12: add new API function pa_in_valgrind() to check for + +2008-10-03 Luiz Augusto von Dentz + fef63d7: Fix loading module-bluetooth-device with an invalid parameter. + 0c998b0: Replace handlers of deprecated Connected signals with new PropertyChanged. + +2008-10-01 Luiz Augusto von Dentz + b205fcc: Cleanup module-bluetooth-discover. + 20f68bc: Fix Connected signal handler. + 04677cb: Fix match rule problems. + 0be845f: Remove PropertyChanged signal handler. + 3b427b7: Add signal handlers for Connected signals. + 443ea47: Add match rules for org.bluez.Headset and org.bluez.AudioSink. + +2008-10-03 Lennart Poettering + 7a1a147: rename pa_cvolume_snprint_dB to pa_sw_cvolume_snprint_dB since it is useful only for software volumes + c0815de: allow - in sample names + 28af994: increase PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not considered part of the ABI + bde142c: when checking the validity of a cvolume check whether all values are not -1 + c0a9e8b: add missing calls to map file + ebb2ecb: add new API call pa_cvolume_compatible() + 619ed8a: add new API call pa_cvolume_snprint_dB() + be77bcd: add new API call pa_cvolume_init() + db975c7: extend documentation for pa_channel_map_init() + 2367212: make a few casts explicit to remove compiler warnings + 7c2cb77: a bit of late pa_bool_t'ization + d56f375: treat a channel map only then as compatible with a sample spec if it is valid + 8919898: add new API function pa_sample_spec_init() + 8a50105: if a volume or channel map is invalid show so when printing it + 33b186e: user lrint() and friends in inner loops instead of normal C casts to speed up a few things + 1bb5e58: use PA_FLOAT32_SWAP where useful + 7d442e3: optimize mixing routines a bit by pulling the multiplication with the global volume out of the inner loop by applying it first to the per-stream volumes + +2008-10-02 Lennart Poettering + a0f4ffd: make sure we call pa_sink_process_rewind() if a rewind was requested under all circumstances + ea82dec: when we mix into a 16bit accumulator make sure we clamp before we scale with a volume to avoid range faults when multiplying + 08cf9db: properly parse response to pa_stream_set_buffer_attr() calls. closes #370 + 54afcf2: inform dsp_empty_socket() *after* we emptied the dsp socket, that it is now empty + 9f5d052: make simple protocol not crash when allocating a memory block + +2008-10-01 Lennart Poettering + cf3f80e: when killing gconf helper, loop over EINTR + ea15ca9: PA_WARN_REFERENCE works only for ELF targets + 3853070: don't hit an assert if a kernel driver reports invalid dB information, instead just warn the user + 5d18b62: remove useless log message + 4b67ea1: remove useless log message, re #367 + 99acad7: fix support for ALSA devices which lack dB information + c4bdc2f: it's --daemonize, not --daemon + 9e79c87: Merge commit 'coling/master' + 644f39d: a few FreeBSD fixes, from alexis + f04cfcd: replace module-volume-restore by module-stream-restore in system mode, too + 6d74504: it might be a bit too early to initialize bluetooth by default for now, since it's still very rough around the edges + 0c3eb9f: fix typo in default.conf, closes bug #354 + 00b70a8: follow PropertyChanged signals from BlueZ + d299ac5: Some man page updates, add missing documentation, other fixes. + 79ad4e6: Make the shared memory segment size configurable + +2008-09-26 Nix + a84b72b: esound auth-ip-acl fix + +2008-09-23 Stelian Ionescu + 564ef2b: have make_random_dir respect $TMPDIR + +2008-09-29 Lennart Poettering + f5c301d: make module-bluetooth-discover actually load modules and smaller other fixes + 3f4bc03: all kinds of minor type, memory leak, initializatio fixes + a35f84a: instead of failing when the requested sampling rate is not available find the next one that is higher + aa1974b: Use the same module parameter names for module-bluetooth-device as for most other modules + 7923731: use TRUE for pa_bool_t arguments + 60e9744: remove a few compiler warnings in BlueZ code + +2008-09-29 Fabian Affolter + 8c2a7c8: Some strings done in German translation + +2008-09-27 Lennart Poettering + 87971c8: fix compilation errors in priority queue code + +2008-09-26 Lennart Poettering + 9adf7c5: ignore bt proximity helper + 3ad8c04: add a generic priority queue implementation + 3e16d2f: make pa_idxset_trivial_compare_func() do a full compare instea of just equakity check + 183f2e0: some minor fixes and cleanups in the bt code + +2008-09-24 Igor Pires Soares + 4b45985: pt_BR added to LINGUAS + +2008-09-21 Herli Joaquim de Menezes + 7f8d4bc: Transmitted-via: Transifex (translate.fedoraproject.org) + 5108b3d: Transmitted-via: Transifex (translate.fedoraproject.org) + 62b4b58: Strings do PulseAudio traduzidas para o português do Brasil. + +2008-09-12 Lennart Poettering + 6188737: make sure ~/.pulse exists before we create the runtime dir link beneath it + +2008-09-11 Fabian Affolter + 18d8999: Some strings done in German translation + +2008-09-11 Lennart Poettering + d68c2c9: replace Makefile stub copies by symlinks + 8257214: enable bluetooth by default + c0a1706: downgrade a D-Bus log message to debug + db955e8: add trivial redirecting makefile to bt dir + +2008-08-31 João Paulo Rechi Vita + 4ae124b: Move bluetooth proximity module to src/modules/bluetooth/ + +2008-08-30 João Paulo Rechi Vita + 8b02c2f: Change all int vars that doesn't allow negative values to uint + +2008-08-29 João Paulo Rechi Vita + 78a3c72: Move bluetooth discover and device modules to src/modules/bluetooth + 76bae38: Cleanup some code + 6093e32: Remove some warnings + 02a9273: Free mempool + +2008-08-28 Russ Dill + 447e027: Fix "file not found" error on load of module-bt-device for Ubuntu Intrepid Ibex + +2008-08-26 João Paulo Rechi Vita + 8769bf4: Merge A2DP and SCO thread functions + +2008-08-25 João Paulo Rechi Vita + 199bdf2: Add some more device properties to the sink properties list + e2f3a86: Remove check for SIOCOUTQ and add proper includes + dc4f796: Use union instead of different pointer types to the same memory area to make the code C99 compliant + +2008-08-21 João Paulo Rechi Vita + d1cc632: Move render and write to the fd to a separate function + 88a21e9: Change MIN/MAX to PA_MIN/PA_MAX + 27bc1ea: Remove unnecessary initialization of getcaps_req->flags + 027940b: Remove u->channels and u->rates, since it's redundant info + 0e81757: Fix some memory leaking + e752cac: Change sbc_initialized to pa_bool_t + +2008-08-20 João Paulo Rechi Vita + 708905c: pa__done for module-bt-device + +2008-08-19 João Paulo Rechi Vita + 61013fb: Fix some debug messages and other cosmetic changes + e570767: Refactor a2dp thread execution flow and improve time estimation + +2008-08-17 João Paulo Rechi Vita + 2f455bf: A2DP poorly working + c89301d: Fix sample size + e545479: Fix block_size calculation + +2008-08-16 João Paulo Rechi Vita + b5c4d2e: Configure bt connection for a2dp + 85a931f: Get rid of hw_constraint function. It's code now lives inside bt_setconf(). + 77138dd: Change default sink name to bluetooth_sink + +2008-08-15 João Paulo Rechi Vita + 6c10b10: Try to improve time estimation + 123ba4f: Fix handling of PA_SINK_MESSAGE_GET_LATENCY + 0d37b91: Remove PA_SINK_NETWORK flag and move the passage of streamfd to the rt thread just before the thread creation + +2008-08-14 João Paulo Rechi Vita + 435eb07: Change pa_sink_render to pa_sink_render_into_full and remove some unnecessary checks on the rt thread + 2e51b93: Make stream socket non-blocking + 71f1d68: Fix block size for SCO + fcd7dc1: Add include for core-util.h + eb1e308: Initialize rtpoll_item + +2008-08-13 João Paulo Rechi Vita + 0519e5d: Add include for sample.h + d48961f: Change close() to pa_close() + b4ded21: Change strerror() to pa_cstrerror() + 16d5aab: Get rid of SINK_MESSAGE_PASS_SOCKET, since we don't really need it + aa310a4: Changes for pa_modargs_get_value_u32 for integer arguments and correct some error messages + 0396a60: Copy arguments values instead of just getting a pointer for them + +2008-08-11 João Paulo Rechi Vita + f992296: Hand the stream socket to the rt thread + 255f9b0: Initial code for rt thread + b8b761a: Fix PA_USEC_PER_SEC missing + a3f0756: BlueZ connection configuration done + e7b0839: Adds SBC Codec to pa tree + +2008-07-31 João Paulo Rechi Vita + c62c2ff: Add module-bt-device and dependencies to automake + ee68292: Initial file for module-bt-device + d8a0ec5: Add code from bluez/audio/ipc.[ch] + ffe76a2: Add sender=org.bluez to dbus add match + +2008-07-24 João Paulo Rechi Vita + fe8bd53: Remove modargs, since module-bt-discover doesn't have any argument + +2008-07-23 João Paulo Rechi Vita + 1e03c32: Refactor all linked lists to use pulsecore/llist.h + +2008-07-22 João Paulo Rechi Vita + d893a1f: Remove block delimiters from single line if blocks + cadc666: Remove some unused vars and labels + a69c020: Change booleans to pa_bool_t + d90bb18: We don't need call_dbus_method anymore + 9907b46: Don't need to explicity check if hcid is running anymore + 2b68562: Improve dbus communication + +2008-07-21 João Paulo Rechi Vita + e5d25e0: Changing all private functions to static + 3909d9b: Remove VERBOSE definition + c9f5659: Adding dynamic bluetooth audio devices detection + +2008-07-18 João Paulo Rechi Vita + 314dade: Fix the symdef include + +2008-07-17 João Paulo Rechi Vita + 6fccd58: Fix comparison of strings of different case + 9d18b90: Adding module-bt-discover to Makefile.am + 8b511f5: Adding module-bt-discover + +2008-09-10 Omair Majid + 2ab4bb7: fix pa_stream_set_name + +2008-09-10 Piotr Drąg + 64a81d9: Added Polish translation to LINGUAS + 42fdcb7: Initial Polish translation + +2008-09-09 Arthur Taylor + f6670a1: stream_started_callback userdata bug + +2008-09-10 Lennart Poettering + 636b520: fix S32 validity check + +2008-09-09 Lennart Poettering + 5538c18: add src/pulsecore/lock-autospawn.c to POTFILES.in + 8f604bf: bump revisions + 17436b2: make sure peaks resampler also works for very short input buffers + 0deb6a4: minor improvements in debug handling + 4050447: unbreak pa_idxset_rrobin + 3a46bbe: When returning from a suspend, pass exactly the same flags as originally when we opened the device. + 25b200c: fix minor typo + f4c2f00: Work around presumable ALSA bug that treats the dir argument to snd_pcm_hw_params_set_periods_near() actually as > or < instead of >= and <=. + +2008-09-08 Lennart Poettering + c7a7765: Merge branch 'master' into master-tx + 821dc17: move autospawn lock to pulsecore/ since we don't need it in the client anymore + +2008-09-06 Colin Guthrie + cd704f8: Linking fix for rtclock on libpulsedsp + +2008-09-06 Robert-André Mauchin + 6b034f5: Updated LINGUAS: el, fr, sv added. + a571242: Added French translation. + +2008-09-05 Daniel Nylander + 77f57f3: Added Swedish translation. + +2008-09-05 Lennart Poettering + f216402: Add new option to disable remixing from/to LFE and set it to on by default + 33d349d: include build and runtime host information in debug output + fb837f0: rework autospawning to allow to multiple parallel autospawning contexts + 994ff98: connect to localhost via IP address instead of host name, to avoid needless NSS lookup + 89ed507: if we are exiting due to cpu overload, say so via syslog, too + f52fb64: if we are exiting due to idleness, say so + a609e4a: check for errors returned by pa_context_connect() + 3f6f13f: use pa_channel_map_compatible() where applicable + b56f344: a few minor clean-ups + 3429072: introduce upper channel map definition limit PA_CHANNEL_MAP_DEF_MAX + ece297f: update map file + cb0c97d: add new API function pa_channel_map_compatible() + 5a9a602: update map-file script to ignore gcc malloc attributes + 4562849: update documentation and help texts for s32le/s32be sample types + 12c5c62: Downgrade hrtimer warning to notice level + +2008-09-03 Lennart Poettering + 11cc072: Merge commit 'origin/master-tx' + bf403fe: introduce macros for all flags so that clients can check for them with #ifdef + cbd8e60: use PA_STREAM_EARLY_REQUESTS for OSS streams + +2008-09-01 Marc-André Lureau + 79009d2: command_get_info() segv in some conditions + +2008-09-03 Lennart Poettering + c402de7: reindent comments a bit + 40b66a0: Implement "early requests" mode. + 99d5ec6: Rework pa_machine_id() a bit + 5f93113: fix misuse of return value + +2008-09-01 Lennart Poettering + 2c2b271: use gcc malloc attribute macros for internal functions, too + 5467cc3: drop -Winline from build cflags + 4348faf: don't include leagacy definition PA_STREAM_NOT_MONOTONOUS in docs + f6e187f: prefix internally used inline function with _ + 70b820d: add gcc malloc related function attributes where appropriate + e015879: add malloc related gcc attribute macros + 82ea8dd: avoid rounding errors on requested buffering metrics + 002e7a7: output relative timestamps in addition to absolute timestamps when logging + a1c857a: include more build info in debug output + +2008-08-31 Lennart Poettering + 1c4ad4b: rework device opening code: work around broken SND_PCM_NO_AUTO_xxx support in ALSA <= 1.0.17a + +2008-08-31 Fabian Affolter + 1d319b0: Some string in German translation done + +2008-08-30 Lennart Poettering + 34bcba6: remove a few more gcc warnings + +2008-08-29 Lennart Poettering + 13018d6: fix a few compiler warnings on older gcc + 506eacc: reword amd64 message + 1acf394: change default log level for the library to PA_LOG_ERROR to avoid spamming to stderr more often + 086fa95: downgrade a few messages + a45440d: the native atomic ops implementation for amd64 seems to work fine + ca38446: Change return value of cmpxchg atomic op to pa_bool_t + bdcb3a4: optionally add timestampts to every line logged + 54da71e: reduce needlessly large gdbm cache a bit + 450fe17: fix up latency before calling into stream code, to make sure we don't ask for too much data to early + 63505be: add missing config.h inclusion + 6723699: rework pa_ulog2 and base it on __builtin_clz if available, make pa_make_power_of_two based on it + +2008-08-29 Marc-André Lureau + d10e5e5: Add CFLAGS information on start-up + +2008-08-29 Fabian Affolter + f2c790d: Initial German translation + +2008-08-28 Lennart Poettering + bb8263b: add byte-to-usec and usec-to-byte converters that round up, not down + f79c665: document in which direction we round + +2008-08-27 Dimitris Glezos + 6685a14: Started Greek translation + +2008-08-26 Ed Catmur + 3d07cc8: alsa_error_handler should note source of errors + +2008-08-26 Lennart Poettering + 8df5b2d: increase pa_xmalloc() limit to 96 MB, closes #344 + fd3c6b0: fix typo + f9713d1: Fix error code in pa_stream_get_timing_info() + 0a1f654: call close() in a loop to catch EINTR + +2008-08-22 Colin Guthrie + 2a78f86: Fix more linking issues in x11-publish and stream-restore + 4282b72: Merge branch 'master' of git://git.0pointer.de/pulseaudio + +2008-08-20 Lennart Poettering + dc9b8dc: add a few missing casts + a3e57da: add doxygen documentation for ext-stream-restore.h + +2008-08-19 Lennart Poettering + 6baec25: use final glibc eventfd() instead of our homegrown syscall invocations + 8e71787: rework cpu limit logic to use monotonic instead of wall clock time + 961aa18: simplify pa_start_child_for_read by using pa_close_all()/pa_reset_sigs()/pa_unblock_sigs() + b7026bf: add a few more gcc warning flags and fix quite a few problems found by doing so + 047eb52: run autoupdate + 2ca0533: update gitignore + 70f4a85: require ac 2.62 in bootstrap.sh + +2008-08-18 Lennart Poettering + 3d2d6ca: Merge commit 'flameeyes/autoconf-2.62' + 46f0f9e: a few modernizations + e65c514: don't unref pa_native_options object twice + 5cc2187: add some code to make invalid valgrind warnings go away + c6b1888: bump release + b8ba2de: restore volume/device for streams only when it wasn't set before + ec62596: allow clients to not specify the volume for their streams + c35d1bb: rework validity checking of sink/source/... names + d315dcf: save a bit of memory + 67858c6: fix type error + +2008-08-17 Russ Dill + 74719c2: Fix up overzealous HAVE_LT_DLMUTEX_REGISTER block + +2008-08-15 Lennart Poettering + 8d596a9: Make Multicast TTL for RTP configurable, patch from 'dfort' + f84536b: apply newly configured rules properly + 63402b3: apply volumes properly more than once in a row + 512c24c: apply the correct rules to sink inputs + f68a6e5: don't restore devices for direct-on-input streams + 5a0e014: disable hotplug sounds by default + +2008-08-13 Lennart Poettering + 916899a: pass force_refresh=FALSE to all volume/mute read invocations + abd85af: drop 0db reset functions since they are not necessary anymore + 8a10eba: extend hardware dB scale in software to full range if necessary, instead of reverting back to software-only volume control + 3ec4a5d: rework volume/mute APIs: split out pa_xx_set_soft_volume() and add force_refresh argument to read functions + 29daef7: add new function pa_alsa_volume_divide() + 8ab85fd: reword some log messages + e4adcf7: add new API function pa_cvolume_max() + a176f68: reset lock_fd_mutex after destruction + 3c88af7: fix protocol destruction + +2008-08-11 Lennart Poettering + 7c5a959: initialize IP ACLs properly + 8ca254c: fix two uninitialized memory accesses + c4dff4d: otpimize mixing code a bit by moving a few checks out of the inner loops + 5b2a837: optimize volume changing a bit by only using a single counter for the inner loops instead of two + b604290: adhere to struct gcc aliasing rules + +2008-08-09 Lennart Poettering + b218404: fix bad memory access + 72f520f: make gcc shut up + afbfd5d: adhere to C strict aliasing rules + 432b4e5: don't use PA_GCC_UNUSED anymore + 9996213: free regex_t after use + 15cebba: rework autospawning code to survive multiple pa_contexts in a single process + b4a5669: print reason when we fail to kill a running daemon + ee4c350: set errno properly in all functions from pid.c + d8119af: set errno properly in all functions from core-util.c + 9cf1a4e: add locale support to pa_parse_boolean() + c4d32ec: set errno properly in all cases + +2008-08-08 Lennart Poettering + 6df029a: make sure we don't crash if pa_thread_join() is called more than once on the same pa_thread object + +2008-08-08 Diego 'Flameeyes' Pettenò + 016fcd9: Reduce rules for man pages generation to pattern rules. + 89f492a: Replace some manual build tests with AC_CACHE_CHECK and AC_COMPILE_IFELSE. + daf3e8b: Create a new macro for checking compiler support for TLS. + 81969a7: Replace the CFLAGS-checking code with a common macro from xine-lib. + a6e4507: Use AC_PROG_CC_C99 to discover C99-compliant compiler. + f46ae10: Create an m4 directory for common macros and use it. + 66512f3: Remove gettext macros from configure.ac, intltool is used. + +2008-08-07 Diego 'Flameeyes' Pettenò + 07395ce: Bump autoconf requirement to 2.62 (latest released version). + +2008-08-08 Diego 'Flameeyes' Pettenò + 29fca62: Fix man pages generation when building out of tree. + 8a3d666: Fix building again libtool/ltdl 2.2.4. + f8197cf: Update code to use libtool 2.2. Use convenience recursive libltdl. + 2da79d5: Create an m4 directory for common macros and use it. + f4e9b7d: Remove gettext macros from configure.ac, intltool is used. + +2008-08-07 Diego 'Flameeyes' Pettenò + 4a51e1c: Bump autoconf requirement to 2.62 (latest released version). + +2008-08-07 Lennart Poettering + 40ff5fa: add compatibility with older PA socket paths + 75b28e9: remove some leftover debug string + ecb2bc4: Modify pa_state_path() to take an additional argument for prepending the machine id to the file name. + bd05b36: Rework state/runtime directory logic + 4e6fb67: don't spam to stderr in API functions + 0075649: print machine id during startup + 73e2577: add new function pa_machine_id() + b84f738: translate error strings + +2008-08-06 Lennart Poettering + b983c0b: include host name in default sink/default source file + bb7f80d: fix a few things in the translations + 4a44084: add basic german translation + 31bfd6a: fix channel position string + ff6bb7a: add a few configuration sanity checks for system mode + a4762ab: add disallow-exit to default configuration file + 756fac8: add new switch --disallow-exit + f1d2bf8: add i18n support + c4a953d: remove authkey-prop from tree + b4e8cac: don't include authkey-prop.h anymore + 9fde00e: fix a few potential bad memory accesses + +2008-08-05 Lennart Poettering + 34dd4a2: fix shutdown when --disallow-module-loading=1 is passed + ca12753: add a function to dump the stream database for debugging purposes + 8a156d1: don't enforce valid callbacks for extension module APIs + 98b8163: allow extension messages to actually carry information + e0dd72a: fix error path (spotted by Coling Guthrie) + f57b915: fix a few more copy/paste errors + +2008-08-04 Lennart Poettering + 78236af: fix copy/paste error + 163f107: fix documentation to follow what actually happens + 64a2367: inherit proplist on sample playback from client + 03cd37e: remove port definitions from header file since they are not actually used yet + 7de3ab5: add missing C++ checks in header + 9f5c1c6: pa_bool_t is not exported + dd07276: ignore PA_GCC_DEPRECATED and PA_GCC_PRINTF_ATTR when generating map file + 51d181c: update list of exported symbols + +2008-08-03 Colin Guthrie + 580c434: Fix linking + +2008-08-04 Lennart Poettering + 0cc674d: wrap protocol extension of module-stream-restore + 88c3db6: add protocol extension to module-stream-restore + 6cc3a61: store channel map in database and remap volumes if necessary + eec623a: add hooks for connection creation/deletion, for that export pa_native_connection + c01f0bc: split out save trigger function + 32cf9db: store channel map in database and remap volumes if ncessary + 5880516: add new API function pa_cvolume_remap() + cd5afb8: don't hit an assert if when process_rewind() is called with nbytes=0 + +2008-08-03 Colin Guthrie + bf17dbb: Merge branch 'master' of git://git.0pointer.de/pulseaudio + ec78981: Fix linking + 5744237: Merge branch 'master' of git://git.0pointer.de/pulseaudio + +2008-08-03 Lennart Poettering + 5f69b5d: load module-device-restore and module-stream-restore by default, don't load module-volume-restore anymore + ad76ca0: add new module module-stream-restore + ec19f2b: a bit of refactoring + d7b138d: fix uninitialized memory access + a6c11be: define CANONICAL_HOST as macro for the GNU canonical host + 04ffac5: add extension system for native protocol + 9bfd67f: store load_once flag for module + 114f290: add a new error code PA_ERR_NOEXTENSION + 23bde22: start idle timer even when no module is ever loaded + f417bb4: some pa_bool_t'ization + 065e764: make all protocol objects global singletons + aaaafb0: use pa_channel_map_init_extend() instead of pa_channel_map_init_auto() to make things more robust + 1ae1dfc: simplify a bit + 0a2fced: add new api function pa_cli_get_module() + 5042284: introduce pa_cli_eof_cb_t + 084f429: rename pa_hook_free() to pa_hook_done() since the hook struct is allocated on the stack not via malloc + 34c4354: use @ as seperator between shared name variable and instance + 5916b5b: make sure we don't leak userdata struct + 32f63f2: allow running of PA with a valgring that doesn't know cap_set_caps + 06712c2: add new auth cookie singleton + +2008-08-03 Sjoerd Simons + 98fbd24: fix iteration over random devices + +2008-08-01 Lennart Poettering + d36c5c9: rename props.[ch] to shared.[ch] + edc56a7: rename pa_property_xxx to pa_shared_xxx to avoid confusion with property lists + a5a7b79: fix build without ALSA + +2008-07-31 Lennart Poettering + d757dc7: Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + 5150738: a bit of pa_bool_t'ization + 4f3193d: allow global tsched setting for all modules loaded by module-hal + 4ccbc4d: reword comment on dbus a bit + 026a6bd: Work around D-Bus bug that involves dbus_shutdown() to call exit() when it shouldn't. Patch from Coling Guthrie + +2008-07-31 Stanley Cai + 80428d8: A fix on src/Makefile.am + +2008-07-30 Colin Guthrie + b30a5d6: Merge branch 'master' of git://git.0pointer.de/pulseaudio + +2008-07-30 Lennart Poettering + 0b428e7: don't allow --start in system mode + 656d243: use the right LIBICONV macro, spotted by woglinde, closes #324 + c39a0bf: bump needed automake version + 881046b: install a default system.pa + +2008-07-26 Petteri Räty + 90569d3: Make the alsa error message give out the needed version. + +2008-07-30 Lennart Poettering + 3c6da6e: don't pass rediculously high values to umask() + b7b4b5e: remove debug message + +2008-07-29 Lennart Poettering + bb00934: hide doxygen docs from git + 68ae1d4: fix two thinkos in signal reset/close_all code + +2008-07-24 Lennart Poettering + e3fb086: make module-hal and module-ck live together in peace + 49f09d6: fix destruction of dbus modules: make sure we don't leave filter function registered after unreffing the dbus connection + 23a3c55: hide start-pulseaudio-x11 + 888256b: reset dbus error struct before retrying parsing messages + +2008-07-23 Lennart Poettering + e7b9da3: add missing pieces for new startup logic + c95d0d7: bump api verson + 32e93d5: follow consolekit's recent D-Bus API change, original patch from William Jon McCan + c415479: allow module-x11-xsmp to be loaded more than once + 1f10ca4: don't break if we fail to resume access to an audio device + 7140bdd: bump alsa dep to 1.0.17 + 1401d36: make missing gdbm fatal (spotted by Betelgeuse) + +2008-07-22 Lennart Poettering + 5edbb57: don't drop caps if we are started as normal root user + 3888bfc: enable exit-on-idle by default + +2008-07-21 Lennart Poettering + c1f9f95: prepare doxygen docs for 0.9.11 + d0530b0: fix gconf autoconf check + +2008-07-21 Colin Guthrie + 0e1936f: Merge branch 'master' of git://git.0pointer.de/pulseaudio + +2008-07-16 Lennart Poettering + 46a35c6: forward process_msg calls to the generic source handler, not the generic sink handler + ff3f435: try to bypass alsa softvol, since it is broken when used with snd_pcm_rewind() + +2008-07-03 Colin Guthrie + 0786de2: Fix documentation of constant: PA_VOLUME_MUTED (not PA_VOLUME_MUTE) + +2008-07-04 Lennart Poettering + 297267b: Merge branches 'master' and 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio + +2008-06-28 Lennart Poettering + 1568fcc: get rid of our internal copy of the speex resampler. Instead, link against a system-installes libspeexdsp + 98c26b1: add proper update_max_request handler to native protocol streams + e6ffec5: make sure we call pa_sink_process_rewind() under all circumstances if a rewind was requested before we call pa_sink_render() + +2008-06-27 Lennart Poettering + c7ebe2b: ignore ~ files + c0e3c25: add additional file when updating speex resampler + 32fce4d: update speex resampler + 2490f69: update ffmpeg resampler from upstream SVN + 0fb402c: simplify handling of rewrite requests + 89620d3: handle rewind requests + f0e5cd1: handle rewind requests + 913bbd4: save a bit of memory + 36021b1: modernize idxset a bit, reduce memory consumption, get rid of pa_idxset_foreach() + 113c62b: halve memory consumption of mempool flist, since we know we cannot have more than n_blocks entries in it + c26be0d: modernize hashmap implementation a bit, reduce memory consumption a bit + 6dca92b: rework the flist implementation to halve memory consumption by merging the state field and the pointer in the flist cells + a087014: some modernizations + 232c955: rename pa_queu_is_empty() to pa_queue_isempty() to follow idxset/hashmap nomenclatura + 3db7dcb: save some memory by increasing the dynamic array at a slower rate + c0f97aa: some modernizations + 12278f4: fix typo in man page, closes rhbz #447355 + 0540032: fix underrun detection for prebuf=0 streams + 7755f75: use (uint32_t) -1 to signify default buffer_attr values instead of 0, to allow prebuf=0 + 2b764d4: fix crash when using sync'ed streams + 06ab488: cork/uncork before we ask for the rewrite, to make sure the rewrite actually gets trhough + +2008-06-26 Lennart Poettering + 9f0afb3: always forward rewind requests to the sink, and don't abort on nbytes=0 + d08cac0: some svn->git updates in the Makefile + ee79b05: rework logic to request automatic timing updates a bit + 4b8c4ef: reorder a few things to get rid of an uneeded comparison + 97084e8: add a FIXME + 7d3d3fc: move initialization order of validity bools around a bit + 36d6c71: unify smoother pause/resume handling in a single function check_smoother_status() + dcbb7f2: convert to double only once, and make sure we can deal with negative results of -y + eab1cb8: make sure to call process_rewind() under all circumstances before we do the next loop iteration + 1e36b57: use the newer name for monotonic/monotonous + 2c5a33d: remove redundant check + 85b83e8: properly initialize pa_stream::corked based on the flags + 1514d13: split pa_memblockq_flush() into two flush commands, one which fixes up the read ptr, and one which fixes up the write ptr + 5fccac9: comment two functions in memblockq.c + ec10f5f: use the bight lighter _silence() instead of _flush() when destructing our little q + dd8b909: fix up if the smoother shall be resumed 'before' it was actually paused + b4302ca: fix up monotonicity of input to _get() instead of hitting an assert + 63b68f4: call the enum PA_STREAM_NOT_MONOTONIC and make PA_STREAM_NOT_MONOTONOUS an alias for that + df2650e: fix return value of pa_namereg_make_valid_name() + +2008-06-25 Lennart Poettering + c5cbeb5: choose more sensible default buffer sizes for old clients + +2008-06-25 Colin Guthrie + 517727e: Add xmltoman to the distribution. This saves pulling in an external dependancy + +2008-06-24 Colin Guthrie + 5099ab7: Export the cleanup_name() function and rename it to pa_namereg_make_valid_name(). This will allow it to be used by modules to create valid sink names. + +2008-06-24 Lennart Poettering + ac03254: Merge branch 'master' of git://git.debian.org/git/pkg-pulseaudio/pulseaudio-upstream + 398514f: call update_source_requested_latency callback for source outputs only when it is set to non-NULL + +2008-06-23 Lennart Poettering + c22d8b9: don't refer to nonexisting pa_stream_read() function + 57aee6d: include proplist.h in pulseaudio.h + +2008-06-23 CJ van den Berg + 1562671: Merge dead branch 'glitch-free' + 126e4cf: Merge dead branch 'lennart' + 0be9bc2: Merge dead branch 'lockfree' + 63c1eb1: Merge dead branch 'ossman' + a87ba42: Merge dead branch 'liboil-test' + 1a3984c: Merge dead branch 'prepare-0.9.10' + +2008-06-22 Lennart Poettering + 8885ddf: support file-based capabilities instead of SUID root for giving PA rights to acquire RT/HP scheduling: setcap cap_sys_nice=ep /usr/bin/pulseaudio + +2008-06-21 Lennart Poettering + ab93f2a: fix deadlock when resuming oss sinks + 2199b8e: Properly check for home directory + d0e26a5: Don't fail when we cannot determine the lock file path + d1362b5: call the right function in the right context + d9f8b6a: since the sink is unlinked before the sink input we need to make sure we don't call any function for unlinked sinks from any sink input callback + 947d8b4: execute detach callback before we change the state to UNLINKED + 37bc240: allow sinks to be created with max_request initialized to 0, so that the data can be filled in later when attaching to some piggybacked sink + +2008-06-20 Lennart Poettering + d3c1c92: Request a rewrite immediately after we have been linked, so that playback starts immediately + add6c03: Rework module-combine to work with glitch-free core; add new max_request field to pa_sink + 1420e1d: fix interpretation of remix parameter + 6c980c2: add new abstract device class + 2b112fe: add new function pa_smoother_reset() + +2008-06-19 Lennart Poettering + 11e55fe: add new remix= parameter to remap sink + +2008-06-18 Lennart Poettering + fd5a1b1: remove trailing spaces + c2fa11e: make user of pa_channel_map_init_extend() wherever it makes sense + 132e73b: add new API pa_channel_map_init_extend() to synthesize a channel map if noone is known + b95cf52: ignore tarballs + 822366a: remove remaining $ + 8ae83d6: get rid of svn $ keywords + 6c4edd1: add missing gitignore files + b5a0802: add another .gitignore file, this time for pulse/ + 3bf61ba: Add a .gitignore file for the src/ directory. + 63daee5: Add a small README with the new git URLs and stuff + +2008-06-17 Lennart Poettering + 9020543: if building a man page fails remove the output to make sure that calling make repeatedly will actually work + ac58f8d: fix man page xml + ba64de8: reset prebuf if it is too large + 038a033: limit the prebuf value by tlength + b28c6e9: bring module-tunnel back to life + 8ba8265: server side of new shm negotiation scheme; fix a bad memory access + 0d0911f: rework shm usage negotiation; merge a few pa_bool_t in a single bit field to save a bit of memory; drop redundant implementation of pa_init_proplist() + 36c5259: minor modernizations + 53987e6: make use of the pa_init_proplist() version in proplist-util.[ch] + 0e32db2: move pa_init_proplist() to proplist-util.[ch] + +2008-06-16 Lennart Poettering + ce001aa: add missing const to a few functions + fa53443: add pa_memblockq_get_base() + 7dffccd: add Nokia copyright + 71aca29: check for packet size on server info data + 1fe2f2c: use new pa_sink_set_latency_range() in null sink + f2efe93: a few modernizations + f4e2750: add new function pa_iochannel_socket_is_local() + 3b691c2: make use of the new pa_socket_address_is_local() function + 30a8800: add new functions pa_socket_is_local() and pa_socket_address_is_local() + 2af2433: add missing inclusion + +2008-06-14 Lennart Poettering + 4cf508e: minor modernizations, increase unload timeout to 60s + ce53497: avoid division by zero when informing user about unloaded lazy samples in the sample cache + +2008-06-13 Lennart Poettering + bf51a4a: update todo + b27cc1d: fix a bad memory access pulsecore/client.c + 7bae1ba: rearrange things + e9c13e2: consider passing the same argument twice to a module an error, also consider a variable name without following = an error + 8dd59a6: sometimes a simple memset() is much faster + 5c149e2: fix a minor memory leak when unloading m-c-k + +2008-06-12 Lennart Poettering + d39d6c9: drop hal inclusion from module-console-kit.c + +2008-06-12 Colin Guthrie + 39f59cd: Trivial typo fix in debug log message. + +2008-06-11 Lennart Poettering + 92e4fb3: merge Colin Guthrie's module-always-sink module, and add priorization to the hook subsystem while doing so. + 1337afd: enable auto-spawning by default + b3444d6: enable ConsoleKit support and positioned event sounds by default + ac0f527: add new switch --start to the PA binary which allows starting PA if it is not running yet. In contrast to normal startup an already running PA will not be considered an error. Also, take the autospawn lock so we can guarantee that after this call returns PA is ralive and running + c33db3c: don't exit when the XSM signals us a session exit. instead just unload all X11 modules + a180edd: move pa_core_check_quit() a bit later + 46d17f0: reformat things + f7ff9e2: install auto unload time event only when we have at least one auto unload module + 2cc95df: add new module-console-kit which tracks ck sessions to avoid termination when there is still some session using the PA instance + 62dde3f: add new module module-position-event-sounds for positioning event sounds in space + 67fde59: replace pa_atof() by pa_atod() because floats are lame + ca36968: update well-known property list + +2008-06-09 Colin Guthrie + 71fefa7: Do not invalidate the cookie if no file was specified. Only invalidate it when a cookie-file is specified and it is not loaded/parsed correctly. This fixes a bug introduced in r2494 + +2008-06-03 Colin Guthrie + 3e4afae: Rejig r2495 slightly and directly compile the necessary source files as libpulsecore.so is not available when libpulsedsp.so is built + 3166ce8: Also link libpulsecore.la to some libraries (needed for logging). Discovered while compiling with --as-needed + 78ae612: Perfer client.conf over X11 property variables. To explain: X11 properties are always set on the root window if pulseaudio is started during X11 login (which is the most likey time to start it). This means that any settings specified in client.conf will almost never be used. As the default client.conf is empty it makes more sense to listen to it if a user cares to bother altering it. + +2008-06-03 Lennart Poettering + 9a501ef: fix a compiler warning on ARM due to missing cast, patch from Jyri Sarha + +2008-05-29 Lennart Poettering + c98516b: update props + 8431fb1: allow on-the-fly deleting of hashmap entries wile we iterate through them + +2008-05-27 Lennart Poettering + c4f60d5: never hand out more data from a sink input than requested. Otherwise the resampler might run for too long and we get a heavy delay/underrun + 7297bd9: always expect name field in upload datagram + 307645e: fix esound proto to not crash + 21dedcb: readd name field to upload datagram + d332439: fix a minor memory leak + +2008-05-21 Lennart Poettering + 28405e3: big mumbo jumo of interleaved patches. * Use seperate "state" and "config" paths * Pass the fact that we are in system mode via an env var $PULSE_SYSTEM instead of as var in pa_core * Properly check proc name when checking PID files. Don't check exename, because we cannot read that for other uids + 6be0c75: move device volume file to state dir + 9f86d0f: move default device from runtime to state dir + 32c53f3: move volume restore table from runtime to state dir, fix another compiler warning + 2ed84ed: define PA_SYSTEM_CONFIG_PATH and PA_SYSTEM_STATE_PATH for C + 29c7ded: deal with failing pa_runtime_path() + dd662d5: properly handle if pa_runtime_path() fails + 341042b: make state and config path for system instance configurable + 8125a75: fix a compiler warning + 9303cdd: add O_NOCTTY + a9c80b4: add new functions pa_state_path()/pa_get_state_dir(), change return value of pa_startswith()/pa_endswith() pa_bool, add pa_in_system_mode() and pa_streq(); alow pa_unlock_lockfile() without file name spec + +2008-05-18 Lennart Poettering + d65b901: fix daemon shutdown with active monitor streams + 174d830: ignore close-test binary + b467791: add a small test program for pa_close_all() + ef4c6bf: remove a misplaced assert + 7df3c4f: make sure we don't hit an assert when autospawning + 3c7a795: fix pa_close_all() to make it actually work as advertised + 0a2b6dd: fix a misplaced assert + +2008-05-17 Lennart Poettering + 940f898: fix return value of noop pa_limit_caps() + 3bbc376: add another assert to catch sleep time miscalculations easier + 7d0b595: use pa_source_set_latency_range()/pa_sink_set_latency_range() in the ALSA drivers; fix sleep time calculation + de8a386: use pa_source_set_latency_range()/pa_sink_set_latency_range() in the ALSA drivers; fix sleep time calculation + 58487ee: use pa_sink_set_latency_range() where applicable + 7e5e015: link latency of monitor source to sink + 9b44665: add new function pa_source_set_latency_range(), fix type of requested_latency + 2e71f4d: only unref memblock if there is one + 971342d: dump latency metrics for recording streams, too + 6285a46: fix peak detection pseudo resampler + e35bae8: fix pa_stream flag checking + 856a2f9: type fixes for constants + b2f8aec: type fixes for constants + b709ab5: fix a minor compiler warning + 85d9abe: declare the explicit type for our PA_xSEC_PER_ySEC constants + +2008-05-15 Lennart Poettering + b8849f5: bump so revisions + a1639e1: also update PROTOCOL + 045c1d6: merge glitch-free branch back into trunk + 3aadad1: update protocol spec + 43dfc2a: follow recent alsa sink changes in the alsa source + 734f071: decrease default tsched buffer to 2s to reduce overall memory consumption + 813d40c: fix up requested latency when we move a record stream + e3c5a77: fix moving of record streams + 99a4516: don't access stream before it is valid + 74f8a67: fix suspend for alsa sink + f021538: export a couple of more functions from libpulse + e0dc1e4: Print message when stream started playback, use terminal sequence to clear line when printing that message + 86ea73a: reduce malloc() usage when logging, to minimize the hit of logging in RT threads. Not complete yet, i18n still uses malloc + b57c520: add pa_vsnprintf() + 1a2e5a8: add adaptive resampler to the RTP receiver, other modernizations + cfc4842: export a few more properties for RTP streams + f96a8ad: increase default mempool size, make mempool_slot an abstract struct because the only fields it defined where actually unused + 70c5967: increase shm size limit, modernizations + 2bc77ff: reduce number of allocated memblocks when receiving RTP data by reusing blocks + d10ee7d: more pa_bool_t'ization + c801d08: use pa_bool_t + 076ffa3: add 'stream' as media role + 1b7157a: add PA_REFCNT_INIT_ZERO + 6895280: add pa_ulog2() + 103ceaa: add pa_memblockq_get_nblocks() + +2008-05-14 Lennart Poettering + df73688: modernizations + 37813d9: modernizations + 787b869: initialize volume properly, set more properties, modernizations + 2eca8c9: don't spam us with wakeup msgs in non-tsched mode + 9c48ed1: update pipe source for glitch-free, too + 8baa1a4: fix pipe sink for glitch-free + dd29f67: fix braindead mistake + 94c269e: some fixes to make the esound protocol work on glitch-free again + 8df6529: some fixes to make the simple protocol work on glitch-free again + c5faeb1: store peer name in native-protocol.peer property + aae8beb: if zero is passed to pa_memblock_new() allocate largest memory block possible from mempool + +2008-05-09 Lennart Poettering + f124445: fix module-sine for glitch-free + df92b23: - Fix moving of sink inputs between sinks - Don't write more than a single buffer size in the ALSA driver at a time, to give the clients time to fill up the memblockq again - Add API for querying the requested latency of a sink input/source output - Drop get_letancy() from vtable of sinks/sources + 580d563: modify test to generate data events out-of-order + 0ea0e06: make sure the smoother code can deal with incoming data that is out-of-order; start smoothing only when we have at least a configurable number of entries in our history + e97a347: bah, english sucks + +2008-05-08 Lennart Poettering + 1f196e7: fix some comments + +2008-05-07 Lennart Poettering + 7b5c6a3: fix recording + 21fa1cf: double default asyncq size + 876d5b4: fix a race condition when tearing down the ladspa/remap sink + 6f4d44b: apparently alsa expects us to free the memory for card names + d21f458: fix a memory leak + 9354da4: make memchunk/memblockq streams work with glitch-free + dafcf20: beefup proplist handling for sound events + 8afbdc3: update to new rewinding logic + 9d7fde5: rework the rewinding logic once again, fixing + 6c28f1d: decrease verbosity a bit + 44241ac: define callback function types; allow pa_signal_done() to be called even without prior pa_signal_init() + +2008-05-06 Lennart Poettering + 91fbb69: explain why changing rlimits at this time is safe + dee3555: rename 'routing' to 'filter' + 4fa6cb4: add a few more asserts, don't allow pa_limit_caps() to fail + +2008-05-03 Lennart Poettering + 71d14d4: fix remapping sink for glitch-free + a1c10b5: update LADSPA module for glitch-free moed + 59835d9: explain why a rewind was requested + 82caf5a: when rewinding after the end of an underrun, make sure to rewind as much as we can, so that we deal properly with changed latencies of the sink + 3167e0f: follow _unlink() changes from sink-input + d2da344: send PA_SINK_MESSAGE_REMOVE_INPUT only when an asyncmsgq is available, reset resampler only when we really need to + d2be471: make sure to call sink->update_requested_latency() always when we change latency, same for source + 59a7467: don't require a module name when resolving a dl symbol + +2008-05-02 Tanu Kaskinen + ff09fa3: Fix typo: "now"->"not". + 43a30a2: Fix setrlimit() return value comparsion. + +2008-05-02 Lennart Poettering + bb4f83b: only send PA_SINK_MESSAGE_SET_STATE if there's still an asyncmsqg around to do so + bfb2691: a few modernizations + 06b9140: reorderer a few things + 792ef5c: fix a compiler warning + 775bc6c: some modernizations + 7d6269e: add multiarch paths to default LADSPA search path + 49b1b15: don't enable prebuffering if we just call is_readable() + +2008-05-01 Lennart Poettering + 52e3628: Yes, yet another evil all-in-one commit of intervowen changes. I suck. * Drop "state" directory, fold that into "runtime directory" * No longer automatically rewind when a new stream connects * Rework sound file stream, to cause a rewind on initialisation, shorten _pop() code a bit * Fix reference counting of pa_socket_server in the protocol implementations * Rework daemon initialization code to be compatible with non-SUID-root setups where RLIMIT_RTPRIO is non-zero * Print warning if RT/HP is enabled in the config, but due to missing caps, rlimits, policy we cannot enable it. * Fix potential memory leak in pa_open_config_file() * Add pa_find_config_file() which works much like pa_open_config_file() but doesn't actually open the config file in question. Just searches for it. * Add portable pa_is_path_absolute() * Add pa_close_all() and use it on daemon startup to close leaking file descriptors (inspired from what I did for libdaemon) * Add pa_unblock_sigs() and use it on daemon startup to unblock all signals (inspired from libdaemon, too) * Add pa_reset_sigs() and use it on daemon startup to reset all signal handlers (inspired from libdaemon as well) * Implement pa_set_env() * Define RLIMIT_RTTIME and friends if not defined by glibc * Add pa_strempty() * rename state testing macros to include _IS_, to make clearer that they are no states, but testing macros * Implement pa_source_output_set_requested_latency_within_thread() to be able to forward latency info to sources from within the IO thread * Similar for sink inputs * generelize since_underrun counter in sink inputs to "playing_for" and "underrun_for". Use only this for ignore potential rewind requests over underruns * Add new native protocol message PLAYBACK_STREAM_MESSAGE_STARTED for notification about the end of an underrun * Port native protocol to use underrun_for/playing_for which is maintained by the sink input anyway * Pass underrun_for/playing_for in timing info to client * Drop pa_sink_skip() since it breaks underrun detection code * Move PID file and unix sockets to the runtime dir (i.e. ~/.pulse). This fixes a potention DoS attack from other users stealing dirs in /tmp from us so that we cannot take them anymore) * Allow setting of more resource limits from the config file. Set RTTIME by default * Streamline daemon startup code * Rework algorithm to find default configuration files * If run in system mode use "system.pa" instead of "default.pa" as default script file * Change ladspa sink to use pa_clamp_samples() for clamping samples * Teach module-null-sink how to deal with rewinding * Try to support ALSA devices with no implicit channel map. Synthesize one by padding with PA_CHANNEL_POSITION_AUX channels. This is not tested since I lack hardware with these problems. * Make use of time smoother in the client libraries. * Add new pa_stream_is_corked() and pa_stream_set_started_callback() functions to public API * Since our native socket moved, add some code for finding sockets created by old versions of PA. This should ease upgrades + f94fae3: move unlinking code to operation_unlink() + f3cc178: some minor updates + 11559a6: parse boolean parameters as boolean instead of int wherever applicable. add new function pa_cli_command_execute_file_stream() + 414f1d9: install gccmacro.h properly, drop unused core-def.h file + d7cc1f5: change pa_rtpoll_set_timer_absolute() to take a pa_usec_t instead of struct timeval + 5816871: save and restore errno in log functions + b93ea18: minor reformat + 4f99c43: check for $PULSE_INTERNAL before enabling padsp + 18ad6f8: don't allow overwriting of callback pointers when we're already dead + b70edf7: port pa_sample_clamp() to liboil + 9dd8f6c: add new function pa_sample_clamp() + 264385a: strip CRLF line breaks from read CLI commands. This should fix the cli interface for people accessing it via telnet. + f49df7a: * Increase history set to 64 to simplify reduction of indexes * Decrease memory consumption a bit by using bitfields for some bools * Rework reduction code * Drop an unnessacary counter * Before adding a new entry to the history, try to figure out if we already have an existing entry with the same x value and replace that. This fixes a division by zero * Fix up input x for all functions, according to the time offset + 563f4b6: make check for $DISPLAY=="" more readable, pa_bool_tization + 06a05bc: a bit of pa_bool_t'ization + b12b8ee: save errno before calling free() + +2008-04-23 Lennart Poettering + caf742a: define minimal and maximal wakeup/sleep times; check for underrun condition only once during buffer fillup + 5353cf4: fix size of requested_latency + 067a68a: fix build for auxiliary modules + c8fc223: add stripnul to build + 76031df: Big pile of interdependant changes: * Fix a deadlock when an asyncq overflows and an RT thread needed to wait until space became available again while the main thread was waiting for a operation to complete and thus didn't free any new items. Now, if the asyncq overflows, queue those items temporarily, and return immediately. Then, when the queue becomes writable again, flush it. * Modify pa_thread_mq_init() to also set up pa_rtpoll events properly for the MQ * Some more pa_bool_t'ization * Unify more common code between alsa-sink and alsa-source * The upper limit for the tsched watermark is max_use minus one frame * make module-alsa-source work * make the alsa modules use pa_alsa_build_pollfd() now * fix detection of dB scale for alsa-source + a197644: add new tool 'stripnul' which can be used to drop leading zeros from a file which is useful to do byte-by-byte comparison of what goes in and comes out of PA + f2dffb7: pa_bool_t'ization + 0b183fb: respect the resampler's maximum block size to avoid that we get kicked out of the memory pool due to resampling. actually drop data from the delay queue after we used it + 998ed8e: add missing header definitions for last commit + 3f57d3a: add new function pa_alsa_build_pollfd() to alsa-util to unify a bit more common code from the sink and the source + ed0af46: unify code that fixes up buffering metrics + af03dd4: drop a misplaced newline + 3c8e83f: do not fix automatic buffer attrs anymore, the new protocol version doesn't need this anymore and it creates more problems than it solves. Also drop the initial timing info query. Correct programs shouldn't depend on it anyway + +2008-04-22 Lennart Poettering + 5e6aacd: * don't increase tsched_watermark on underrun without limits * fix the watermark when we change the latency * fix latency measurement * move rewinding code into its own function * make use of new function pa_alsa_recover_from_poll() were applicable + 6b4b95b: show configure latency metrics + 1adbe82: some beautification updates, show msec instead of usec everywhere + cdb077b: if no timer was armed, we don't need to disarm it + 4a1971a: if no latency was configure for a sink/source, fill in the max latency automatically + 69f6bdf: add new function pa_alsa_recover_from_poll() to merge common core from module-alsa-sink and module-alsa-source + 9a486ef: implement --process-time + 0d01c43: make sure the client buffer has space for 2*minreq+tlength. Explain why + e16a198: - Change meaning of special values of latency request: 0 -> "minimal latency, please"; (pa_usec_t)-1 -> "don't care" - Remove "source" word from monitor source description - Increase default tsched watermark to 20ms again - For the first iteration after snd_pcm_start() halve the sleep time as workaround for USB devices with quick starts + 88227c4: properly initialize memblock->is_silence for imported memory blocks; make is_silence and read_only a bit field + +2008-04-20 Lennart Poettering + 5e7e827: improve dB volume calculation + ba6c0e1: fix C++ compat + 8181db1: initialize properties for ALSA sinks/sources more elaborately, re #277 + c2c833c: use the sink description instead of the name to choose the description for the monitor source + 64e048c: drop a redundant pa_init_proplist(), properly set MEDIA_NAME property on stream, not on context + 5971345: rename sink_input->rewind to process_rewind() and set_max_rewind to update_max_rewind() + 62e7bc1: Big pile of dependant changes: * Change pa_memblockq to carry silence memchunk instead of memblock and adapt all users * Add new call pa_sink_input_get_silence() to get the suitable silence block for a sink input * Implement monitoring sources properly by adding a delay queue to even out rewinds * Remove pa_{sink 7556ef5: maintain a global silence memblock cache + a0671aa: fix for new location of gccmacro.h + d1d7a07: we have not periodic timers anymore + 33a35b6: update to recent changes of proplist api + 33cb589: split user supplied data in multiple memory blocks if necessary to fit in one mempool tile. If the caller supplied a free_cb and we use shm it's better to copy the data immediately to the shm region instead of keeping it around as user memblock + ed36f31: increase the default pool size to 16MB because we now need to keep a lot more memory around due to glitch-free. + 03df088: add lower boundary for artifical latencies + af25697: follow pa_pstream_use_shm->pa_pstream_enable_shm rename + 687aa29: add new pa_pstream_get_shm() API, rename pa_pstream_use_shm() to pa_pstream_enable_shm(); pa_bool_t-ization + bee409a: remove debug messages + 1ddb95a: add new silence memblock caching subsystem + 4b1d684: add new API function pa_memchunk_memcpy() + 144b237: print a message on xrun + +2008-04-17 Lennart Poettering + 22ceb15: add new rtstutter tool which can be used generate artifical scheduling latencies in the OS to trigger buffer underrun events in your software. it's an awesome debug tool for glitch-free; also move test programs from automake's check_ back to noinst_ to make sure it is built everytime Lennart presses F9 in his emacs + c9d0159: define PA_xxxSEC_PER_yyySEC for usec, too + +2008-04-14 Lennart Poettering + 1f0a52d: the pointer to rewind() may actually be NULL + 68e4a93: properly ask the sink to rewind on new sink inputs and when they disappear + 6946d2a: make sure to clear all queued RT signals before arm a new timer + 04178d4: add _cb suffix to _max_rewind function like with all other functions, too + +2008-04-13 Sjoerd Simons + 91f092e: Let bootstrap.sh require version 1.10 of the various autofoo bits. Otherwise things will break during compilation + +2008-04-11 Lennart Poettering + 14fd32e: add missing 'break's in switch + 55f273e: s/pulsecore\/gccmacro.h/pulse\/gccmacro.h/ + 07f5c1d: register sink/source name as first step when creating a new sink/source so that we can hand the valid name string to the hook functions; se tup props for monitor sources correctly; fix implicit flag setting logic + aad9d39: dump all info we know about sinks/sources/... in pactl + dbe3633: properly initialize ->memblockq + cdb273d: add new pa_get_state_dir() function, move pa_strnull() here + dcf7173: fix help string for volume commands + fe3c42d: fix packet formatting for a few commands + 2c6176f: mark shm marker struct as packed, to guarantee identical sizes between archs + 29cbd88: add new PA_GCC_PACKED macro + 096e7f0: make shm magic marker compat with multiarch systems where 64bit and 32bit processes might share SHM areas + c9db6d2: don't fail if a signalled writability of STDOUT is no longer true when we try it because some other thread already wrote something + 413656b: update list-xxx commands a bit + 28ab2a0: don't print 'signal' each time a rtpoll poll() call is canceled + 50d585e: fix linker warning macro code, move pa_strnull() to core-util.h, move PA_LIKELY definitions here from gccmacro.h + d0ebb71: don't use fqdn if we don't have to + 78368db: redirect alsa errors to normal PA log system; export buffer settings in device props + 1c5f665: make use of new alsa SND_PCM_NO_AUTO_xxx flags; redirect alsa errors to normal PA log system + 0f28de6: mark autoload functions as deprecated + d7e260b: remove misplaced PA_GCC_PURE + e832b0c: add C++ safety to header file + 7dad635: fix bit depth guarantee for pa_usec_t + 919bd98: add new API function pa_timeval_add() + 566322a: remove gcc macros from cdecl.h because we have them in gccmacro.h now + 007f82d: fix bad memory access when initializing client proplist + d491adf: add gccmacro.h to doxygen docs + e084e4b: add new module module-device-restore + c61c3b6: increase version of required ALSA to 1.0.16. check for gdbm + 6cddf61: add new API pa_rtclock_from_wallclock() + e1c1a78: fix proplist serialization + bb9792a: move gccmacro from pulsecore/ to pulse/ + +2008-04-09 Lennart Poettering + 5d7128a: add new describe-module CLI command + 39afb14: add new pa_proplist_setf() API function + d69aeeb: implement server side of new sink/source reconfiguration commands + fc9d827: remove doxygen \since tag for API changes older than 0.9; properly implement new latency query APIs + cc1e265: init min/max latency properly; fix avail_min updating + f3109be: show configured latency and its ranges + da37a7e: export both min and max latency that is configured for a sink; add API for querying the requested latency of a sink/source from the main thread + ad18107: add new latency argument + 0f9e977: bump protocol version + 3138928: include proplist.h in doxygen docs + +2008-04-07 Lennart Poettering + b3b8a63: call snd_pcm_hwsync() expclicitly before we access any of the status fields, since this seems to be necessary. try to find the right mixer device via the card index + c84a64c: fix bug where we silently dropped data that didn't fit into one mempool tile + 98b0152: add utility functions to dump alsa PCM state + +2008-04-04 Lennart Poettering + b9c10f2: propery calculate min_avail in frames instead of bytes. don't use device_id= parameter in alsa modules if parameter wasn't specified + 064aa12: drop support for periodic timers, cleanup code a bit + 122861f: mark libpulse-browse as obsolete + +2008-04-03 Lennart Poettering + cdfcf66: - deprecate autoload stuff - allow setting of the requested latency of a sink input/source output before _put() is called - allow sinks/sources to have a "minimal" latency which applies to all requested latencies by sink inputs/source outputs - add new client library flags PA_STREAM_ADJUST_LATENCY, PA_STREAM_START_MUTED - allow client library to fill in 0 to buffer_attr fields - update module-alsa-source following module-alsa-sink - other cleanups and fixes + +2008-03-31 Lennart Poettering + ecf6439: catch up with trunk HEAD (i.e. 2118:2213) + 0e983e5: fix caps stuff for crazy people who disable caps + 316e39d: update copyright year + fa0b9b0: merge r2136 from prepare-0.9.10 + a9971d2: merge r2195 from prepare-0.9.10 + b39da92: merge r2194 from prepare-0.9.10 + 1af0d94: merge r2193 from prepare-0.9.10 + 9f71611: merge r2192 from prepare-0.9.10 + 70a459b: merge r2191 from prepare-0.9.10 + 690807e: merge r2189 from prepare-0.9.10 + 5181f79: merge r2190 from prepare-0.9.10 + a826937: merge r2187 from prepare-0.9.10 + 79938c9: merge r2186 from prepare-0.9.10 + 6734fba: merge r2185 from prepare-0.9.10 + 78bdb97: merge r2184 from prepare-0.9.10 + e382f22: merge r2183 from prepare-0.9.10 + 1be481f: merge r2182 from prepare-0.9.10 + +2008-03-31 Diego Petteno + 25f9507: fix the help for --disable-per-user-esound-socket so that it actually refers to the --disable action. + +2008-03-30 Lennart Poettering + 3e314b7: fix buildsystem to provide pa_log() in all binaries + cf37df4: rework pa_assert_se() to make sure it never gets optmized away, even if NDEBUG is defined + 68b131d: make pa_drop_caps() abort on failure + dbf9037: avoid name clash with libc's remove() function + +2008-03-29 Lennart Poettering + 829197d: fix compiler warning + ed5528f: require autoconf 2.60 since we use AC_PROG_MKDIR_P + 1c82694: bump soname + a3b8311: merge r2187 from trunk + +2008-03-28 Lennart Poettering + 0a108ec: don't fail on init if the default device does not exist and .nofail is active + fad6b41: don't segfault when module-tunnel is used without a sink_name/source_name parameter. Closes #197 + 13b9951: if we are run as root, always use 'root' as username, regardless of any env vars + 8e60b01: actually set lennart to the user name, not the group name. Set lennart too. + 2599213: Fix ioctl() definition for solaris compat. Patch from yippi. Closes #253 + b0dc80d: work around yet another solaris braindamage + +2008-03-27 Lennart Poettering + bc5e3f1: properly notify clients about suspended state when moving source output streams. Closes #244. Patch from slicer + 8298b6b: merge r2179 from prepare-0.9.10 + 4ddc327: initialize gconf module before we publish our X11 credentials -- because gconf might cause network support enabled in the first place + e21a69e: merge r2146 from trunk + 2b593d2: merge r2134 from trunk + e5e9ed6: merge r2133 from trunk + ac82029: merge r2132 from trunk + 95422a8: merge r2131 from trunk + edd1a50: merge r2130 from trunk + 02840a3: merge r2129 from trunk + a1ec3d7: merge r2128 from trunk + 46cd225: merge r2127 from trunk + daaf70b: merge r2117 from trunk + 28b7ddc: merge r2116 from trunk + cca3f49: merge r2113,r2214,r2115 from trunk + 184dda8: merge r2112 from trunk + 1eb7239: merge r2111 from trunk + 5045d26: merge r2110 from trunk + 39de4dd: merge r2109 from trunk + bc58240: merge r2108 from trunk + ec39786: merge r2107 from trunk + e704fd3: merge r2106 from trunk + b79c6b6: merge r2105 from trunk + b0a2049: merge r2104 from trunk + a451de1: merge r2098 from trunk + 2735309: merge r2097 from trunk + 640033a: merge r2096 from trunk + 9dfbfce: merge r2095 from trunk + cc59e76: merge r2092,r2093,r2094,r2152 from trunk + 1908e82: remove a redundant if check + db208e3: merge r2091 from trunk + 9f0045a: merge r2090 from trunk + f10b531: merge r2084 from trunk + 66d9e87: merge r2145 from trunk + d055127: merge r2083 from trunk + 6c106c9: copy originial l2ping license from bluez into bt helper + 14ed19c: Enable per-user esound sockets by default. Esound CVS already enables this by default, and all sane distributions ship a patched esd anyway. And those which do not should get a life and start patching esd + cefa0eb: merge r2081 from trunk + 0e23606: merge r2079 from trunk + a86a48c: merge r2077 from trunk + 5e13249: merge r2076 from trunk + aceb800: merge r2075 from trunk + e721ecd: merge r2073 from trunk + 8d5ee50: merge r2074 from trunk + c59a90c: merge r2078 from trunk + 05a7f5d: bump revision + e6bb276: create branch for 0.9.10 + 5addad2: make loading of a few more modules non-fatal + dcdf419: Double maximum sample size for some overly huge samples some distros ship + a25a459: Attempt to resolve the multilib conflicts by getting all the config files look equally for all plattforms. This includes getting rid go pathnames with libdir; let's make ps search for files with relative paths there. + 7ad0b64: modernize polkit code a bit, use new functions from pk 0.7 instead of our home-grown ones + 8a14304: rename polkit policy file to org.pulseaudio.policy to follow upstream guidelines + be9b32e: add vendor data to pk policy file + c5f78bf: Abort instead of cleanly exiting, so we can obtain a core dump and find out what was wrong. (rhbz #438594, Patch from Lubomir Kundrak) + +2008-03-26 Lennart Poettering + 7262e2f: add proper arm atomic ops support, patch from Jyri Sarha + +2008-03-15 Lennart Poettering + 106ddb9: remaining bits and pieces + b5c5064: commit glitch-free work + d6bd152: commit glitch-free work + ebecf3d: commit glitch-free work + 12c01e9: commit glitch-free work + 347cfc3: commit glitch-free work + 8d9bdac: really create glitch-free branch + dd81a90: create glitch-free branch + +2008-03-14 Lennart Poettering + 6ad7621: work around solaris printf %s and NULL string brain damage + 70d0083: change policy file to not show polkit auth dlg by default + +2008-03-09 Diego Petteno + 666b952: And one more. + 30e2a77: Test for _struct_ lt_user_dlloader, otherwise it won't be found. + +2008-03-08 Diego Petteno + 9ad7bb6: Build and run using libltdl from libtool 2.2. The user module loader support has changed drastically. + +2008-02-15 Tanu Kaskinen + 46d804d: Clarify the explanation of the in_action field in pa_autoload_entry. + +2008-02-15 Lennart Poettering + dc3682d: only call pa_ltdl_done() if we called pa_ltdl_init() before + 2b8bc5c: allow compilation on systems that lack POSIX shared memory. Patch from matthijs, closes #200 + 5552139: explicitly recommend the usage of -- in the pasuspender command line, Closes #203 + a1b2a83: look for timer_create in librt, Closes #210, patch supplied by matthijs + 0a807b3: print pa version id each time we start up, so that it is easier to identify the version people are reporting bugs again + 75e1ebd: Improve compatibility with applications which like to pass invalid strings to the libc functions we overwrite, by handing directly to the original function. Patch by Colin Guthrie and Gustavo De Nardin, Closes #227 + +2008-02-13 Lennart Poettering + 86b9ef8: deal with a possibly failing pa_channel_map_init_auto() correctly + +2008-01-24 Diego Petteno + a3e820f: Mark long_options constant. + c8a9c9b: Use check_PROGRAMS rather than noinst_PROGRAMS for test programs. + be4c0f2: Apply the fix for CVE-2008-0008 from 0.9.9 release on trunk. + +2008-01-24 Lennart Poettering + 90a7f3b: bump revision + 4d4dafb: fix CVE-2008-0008.patch + 9423e67: prepare 0.9.9 + +2008-01-06 Lennart Poettering + d36a1b8: use __BYTE_ORDER macro for detecting byte order, as suggested on http://unixpapa.com/incnote/byteorder.html + +2008-01-04 Sjoerd Simons + c5678ae: Don't send opcodes introduced in protocol versions 12 to clients using protocol version 11. (fixes #183) + 02f49a2: Implement opcodes in the tunnel modules that were added in version 12 of the protocol. Based on a patch by coling. (fixes #193) + 9774cc7: Add forgotted #ifdef __linux__ and only use SIGRTMIN if it is defined. Fixes compilation on non-linux platforms like GNU/kFreeBSD. Thanks to Aurelien Jarno for the patch + +2008-01-03 Tanu Kaskinen + 1e74aa9: Add a missing pa_xfree. + 4e77176: The previous commit introduced a new bug: giving too many values in the "control" argument wasn't detected any more. Fixed. + 39ba68b: Fix the parsing of trailing default values in the "control" module argument. + +2008-01-02 Tanu Kaskinen + dccf411: Downgraded the priority of a message, because it's really quite uninteresting. + +2007-12-29 Lennart Poettering + 9d00b9d: convert argument to boolean value before passing it on to __builtin_expect in PA_LIKELY + 2cb1b2c: add new function pa_proplist_contains() + +2007-12-23 Lennart Poettering + 2a44213: add API for resetting allocated resamplers + 7f65e79: wrap speex_resampler_reset_mem() + 81e85ce: hide proplist-test + 63c616e: add new property list implementation + +2007-12-14 Tanu Kaskinen + 8ed2a8c: Increase the maximum line length of default.pa from 256 to 1024. Load commands of modules that need multiple channel maps may grow rather long. + +2007-12-06 Diego Petteno + b94a6bc: Add a configure switch to enable the per-user ESounD socket path, but default to vanilla ESounD's path. This way distributions and users can configure PulseAudio according to their ESounD library. + +2007-11-24 Lennart Poettering + 95a98fe: Add new subsystem for applying envelopes (such as volume ramps) to audio signals + 2d34bca: rearrange #includes + 0312890: add new pa_mutex_try_lock() API + 7a42425: add new endianess macros for FLOAT32 + ca0c5af: make sure to create ~/.pulse before using any configuration file from it + +2007-11-23 Diego Petteno + 04d7a7e: Check for mkdir -p or equivalent, and use that rather than simple mkdir to create the modules, modules/gconf and modules/rtp directories. + 19ee3b6: Enable D-Bus if Bluez or HAL are enabled; use DBUS_LIBS/DBUS_CFLAGS when building libdbus-util.la. + ec91380: Fix detection of polkit_context_is_caller_authorized() function, also reported by Nix. Also fix detection of policydir for prefixes different from /usr.~ + +2007-11-22 Lennart Poettering + 9d2255d: fix uploading of samples into PA. Problem discovered by Colin Guthrie + 3e4f820: update speex resampler with newer snapshot from Speex SVN + +2007-11-21 Lennart Poettering + d41744a: Tagging release 0.9.8 + 23e3d7c: bump version and soname + 6b932f0: update man pages a bit + 40db06d: when speaking to a client with a version < 12, hide S32 sample specs, and make them appaear as FLOAT32 + 0f5fa47: increment api and protocol version + 14a9b80: - Check process name when dealing with PID files - Add new PA_STREAM_FIX_CHANNELS, FIX_RATE, FIX_FORMAT, DONT_MOVE, VARIABLE_RATES to pa_sream_flags_t adn implement it - Expose those flags in pacat - Add notifications about device suspend/resume to the protocol and expose them in libpulse - Allow changing of buffer_attr during playback - allow disabling for remixing globally - hookup polkit support + 4ac6b53: minor typo fix + 5a4959e: add short version history of the PA protocol + 63fa021: add a couple of new opcodes, and document the versions the opcodes where added + d1d0778: add API to allow runtime reconfiguration of memblockqs + +2007-11-16 Lennart Poettering + 07832d0: detect whether PolicyKit support is available + cf0d43e: build PolicyKit support + 8bdad29: add interface to PolicyKit + +2007-11-14 Lennart Poettering + 413a8f8: use a prio inheriting mutex for the threaded mainloop, to ease writing of RT clients + 461e369: use a free list for allocation pa_operation objects + 1765b13: use a free list for allocating reply_info structs + 9b75b9d: add missing pa_boolization + +2007-11-13 Lennart Poettering + 7462ab1: Rework ALSA mixer channel detection code. This time we actually care about the channel names the ALSA mixer exports for us + 4c47617: add array size to increase chance of detecting missing updates + 4a39c2e: don't fail if the bt-proximity-helper is not built + 15f56de: don't touch RLIMIT:MEMBLOCK by default. This should improve out-of-the-box comaptibility with JACK + 7b321ed: increase the pacmd timeout a bit + d17bb53: Completely rework ALSA device selection code: choose the device to open depending on the requested number of channels and channel map. In most cases it will now suffice to set default-channels=6 to enable 5.1 sound for all devices that support it + f752882: fix loading of load-once modules if no other modules was loaded before + +2007-11-11 Lennart Poettering + 5054f36: add new fun module that automatically mutes your audio devices when you leave with your bluetooth phone, and unmutes when you come back + e8092be: Port module-gconf to make use of the new API pa_start_child_for_read() + daf3a3e: pull code for starting helper processes out of module-gconf, clean it up, and stick into a new API pa_start_child_for_read() + e043eaa: add new function pa_strnull() to simplify passing null strings to non-linux printf() + f873a2a: add a simple fully-automatic fully-linearupmixer/downmixer and enable it by default + +2007-11-09 Lennart Poettering + e313fe1: tag modules that may only be loaded once at most especially, and enforce that in the module loader + d8e0c1c: minor typo + b0a68fd: optimize mixing code a bit. Add mixers for S32LE, S32BE, ULAW, ALAW and FLOAT32BE. Add volume adjusters for FLOAT32BE, ALAW, ULAW. + c1985c2: replace a few CLAMPs by PA_CLAMP_UNLIKELY + 0149031: remove PA_CLAMP_LIKELY macro because it doesn't really make sense. + 7bd3c03: .la files for modules can probably be removed safely on all archs now + 7e0f547: add support for 32bit integer samples + 3c17c7d: fix CLAMP_LIKELY/UNLIKELY definition + ecf349d: add missing #include + 42ef051: add a few missing macro definitions + cb66762: add PA_CLAMP_LIKELY and PA_CLAMP_UNLIKELY macros + c8cdb06: add support for likely()/unlikely() type macros + +2007-11-08 Lennart Poettering + 14b974a: parse the pasuspend argument like any other boolean in PulseAudio + a2121d5: strip most comments from the default configuration files, since the man page is now more elaborate and we don't want to maintain those docs redundantly at two places + 4459912: add remaing man pages + +2007-11-07 Lennart Poettering + 1ef4baf: warn if the sound server is not local + 1821f1f: add man pages for padsp, pabrowse, pasuspender + +2007-11-06 Lennart Poettering + 5dbab0b: complete pactl man page + +2007-11-05 Lennart Poettering + 0eb011b: minor cleanups of --help texts + 7fdc1ee: add a couple of more man pages + bff4ca4: add a man page for the pulseaudio binary. More will follow. + +2007-11-04 Lennart Poettering + 961ce33: fix two alignment issues found by the debian buildd gcc on sparc + faf1fd7: pa_boolization + 0184d70: add eventfd syscall nr for arm; patch from Sjoerd Simons; Closes #150 + 9ac9328: Properly terminate pa_readlink() strings. Patch from Sjoerd Simons. Closes #149 + 95af1e6: Add linker version script to hide non-ABI stable symbols in the client libraries. While this helps defining a more streamlined ABI, this also requires linking a lot of additional symbols into some PA client utilities which until now made use of the non-ABI stable symbols in libpulse. To minimize the effect on there size a bit, strip unused symbols by linking with -ffunction-sections -fdata-sections -Wl,--gc-sections + +2007-11-01 Lennart Poettering + bc161b4: comment the library versions a bit + cb0d7ff: add missing pthread libs + 81233c1: make disallow-module-loading config option work again (original patch from Diego Petteno) + 7bfd1b2: make rtprio and nice level actually configurable + 641d1fa: drop rt scheduling before we start our helper process + 41ea3b2: add new option --realtime + 005ed41: save and restore errno in sig handler + 44d7c9a: add nice and rtprio resource limit support; make rtprio and nice level to use configurable; some minor updates + e706f7b: pa_boolize the client config + 65a6bff: more pa_boolization + b343497: make the bool config parser actually parse bools + cecd8d4: fix comment + 38a1525: add new function pa_yes_no() + +2007-10-30 Lennart Poettering + 5058a1e: save and restore errno in the sig handler + 111b759: bump sonames + 0f0e729: make sjoerd happy: include ChangeLog built from svn logs in tarball + 099e690: make make distcheck pass + b03b574: rename 'length' parameters in the API to 'bytes', to make their unit clear + b84489d: handle tcp4: prefix for server specs correctly. (Closes #136) + 72817f9: rename stream names too, when the sink name changes + 201dff7: ignore updates not relevant to us + 1e0454e: rework the tunnel naming scheme, and make it follow the description changes of the underlying devices; never check for tagstruct eof, to ease later extensions + bb2e1af: initialize userdata struct with 0 + 0991a1b: remove libltdl from SVN + 2d265a9: deal properly with signals interrupting us when we wait for data from gconf helper + +2007-10-29 Lennart Poettering + f1be931: keep track of configured tunnels and make sure to unload them when they disappear from zeroconf again + e406bba: don't announce monitor sources + 5ef242c: don't try to send pause request before our stream is properly set up + 33c238b: ignore network sinks/sources + 625a872: make gcc shut up a bit more + 1dae2e6: we don't want to include assert.h anymore + 43b5c65: reverse server order for PULSE_SERVER x11 property, to follow order in which modules are loaded + cc88385: add new API pa_strlist_reverse() + 87be856: add new module module-zeroconf-discover + 9f44659: publish dns-sd subtypes to allow distinction of virtual, hardware and monitor sinks/source + 9ca7ed1: export pa_namereg_is_valid_name() + 0ce32bd: fail on name clash + ac83631: bring back module-tunnel, yay! + 9ccbd86: downgrade a few log messages + 6e1f7bd: properly deal with time pausing + a46804a: use real path of binary instead of /proc/self/exe to execute ourselves + 27d6b7b: make use of new pa_readlink() where applicable + ca98c54: add new pa_readlink() API + 1c06907: make speex-float-3 the default resampler + +2007-10-28 Lennart Poettering + c6a7f06: add missing dependency on socket-util + a67c21f: merge 'lennart' branch back into trunk. + 575541d: Merge r1502 from trunk: Move pthreads detection as it gets confused by things in LIBS. + f096ca4: Merge r1504 from trunk: Solaris hides inet_ntop in nsl + c6071b0: Merge r1505 from trunk: Make sure we link to the core to get all symbols. + 9eb840c: Merge r1503 from trunk: Make -no-undefined actually work (and fix up error found by it). + d8976a2: Merge r1473 from trunk (mixer ioctls on /dev/dsp) + b718d18: fix error handling + daa2863: don't use errno on EOF + +2007-10-27 Lennart Poettering + 94cf167: port module-esound-sink to new core + 66dc0b4: don't use SIGRTMAX, for compatibility with valgrind which apparently uses this signal + 98d363c: minor cleanup + 87faa54: minor fix to make gcc shut up + 56804de: minor fixups, to make the test more deterministic + 581e7f1: add ability to "pause" the input time temporarily. don't accidently overwrite variables we still need. + 55e4a3e: modernize pa_iochannel a bit, add pa_iochannel_get_send_fd() + c4d9a2b: add missing pa_smoother destructor + b4bb747: add pa_rtclock_usec() API + ca744a4: add pa_timeval_load() API + +2007-10-26 Lennart Poettering + ce5250e: hide smoother test + +2007-10-25 Tanu Kaskinen + 7ccf40e: Add "support" for plugins that have control output ports, i.e. don't crash on them anymore (the plugins correctly assume that every port is connected to a buffer, so we connect them to a dummy buffer that isn't used anywhere). + 81ed6e6: A couple of comment typo fixes. + +2007-10-24 Lennart Poettering + 0d84e4c: fix alsa mmap initialization bogosity, discovered by Jyri Sarha + +2007-10-23 Lennart Poettering + dc987e9: add better time interpolator: use linear regression to determine gradient from measurements, predict a short distance ahead, and smoothen estimation function with 3rd degree spline interpolation. + 9464b9b: add definition of PA_USEC_PER_MSEC + 65b570c: properly copy error string + +2007-10-22 Lennart Poettering + 498a156: also port over JACK source to new core + 02adb5f: enable jack sink in Makefile + 468c13e: Port JACK sink module over from old core + 4029504: minor fixup + 925eadd: add interleaving/deinterleaving APIs + +2007-10-17 Lennart Poettering + 1900817: Properly handle if ALSA sends us an POLLERR event, this should allow us to survive a system suspend cycle better + +2007-10-15 Lennart Poettering + 2385efe: fix url + +2007-10-07 Lennart Poettering + b0bce20: add missing poll.h inclusion + 215cac8: add missing poll.h inclusion + a687c31: add missing poll.h inclusion + 3736246: s/timespec/timeval + 2198c2e: fix build + efc81a8: add new API function pa_timeval_store() + d74fa66: Fix build; change return value of pa_rtclock_hrtimer() to pa_bool + +2007-10-04 Lennart Poettering + 87cc073: fix poll.h check, bad boy ossman broke + +2007-10-03 Pierre Ossman + cb40087: Don't call pa_rtsig_configure() when we lack the necessary defines. + 60a935b: module_ladspa used libltdl so make sure it links against it. + 586ef22: Platform dependent semaphore implementation for Windows. + cef6563: Assorted minor Windows compatibility fixes for recent code updates. + ce74146: Add stubs when RT signals aren't available. + 8dcc1fa: Adapt rtpoll and friends to Windows by replacing timespec with timeval and add a fallback when clock_gettime() isn't available. + ef8812e: Replace all references to sys/poll.h with poll.h as that's what POSIX defines. + +2007-10-01 Lennart Poettering + 7c1768d: update native protocol to make use of pa_memblockq_pop_missing + 2e780e8: Move request size handling into pa_memblockq, function pa_memblockq_pop_missing() + d6a2203: Fix race condition between IO thread creation and pa_sink_put(). Move activation of rtpoll fds when we change the state INIT->IDLE. + 9d34a1e: fix trivial typo + abd692e: fix silence initializer for alaw and ulaw + +2007-09-30 Tanu Kaskinen + dbcd086: Fixed PA_GCC_CONST definition. + +2007-09-28 Pierre Ossman + bdf9746: Update module-solaris to new structure. + 6d8aea7: Incorrectly used str2sig() instead of sig2str(). + +2007-09-28 Lennart Poettering + 67b899a: treat timer_enabled like a real, grown-up boolean variable + 33f2f49: rework module-combine once again. We now run the data generation always in a seperate thread. This should help use to avoid all the awful race conditions we had in previously + 229afb5: Move the poll() call outside the #ifdef checking for ppoll, since we want the poll in all cases. Prior to this change the check for negative return values of poll/ppoll was never actually executed when ppoll() was available + f8c1786: use the full range of RTSIGS for our stuff + 3cdff5f: Allocate rtsigs from back to front, to avoid clashes with other libraries makeing use of rtsigs + df33b4c: only do IO if we are RUNNING or IDLE, but not when we are in INIT + 584ca61: don't free silence memblocks that don't exist + 107f12a: speed up semaphore allocation with an flist + +2007-09-26 Lennart Poettering + 008c709: Use Linux eventfd() if kernel supports it + e99bc33: fix build with compilers that lack __thread + +2007-09-25 Lennart Poettering + a9e667b: make sure when can shutdown PA cleanly without segfault + 5fe1589: work around newest open() magic in fedora glibc + 1687226: fix make dist + +2007-09-24 Lennart Poettering + 86ec421: fix suspending in module-combine.c + 609ad12: * decouple suspending of monitor sources and their sinks * implement resume-on-uncork + 0e3e9e2: only post data into the monitor source when it is not suspended + f0f9df9: * add new state changed hook for streams * update sink->n_corked properly when moving streams + ac86fa1: fix IDLE vs. RUNNING state handling of sinks/sources when changing cork status for streams + 3c75d35: rework zeroconf service publishing, to use synchronous hooks instead of asynchronous subscription events. Don't push autoload entries anymore. + e37fa01: add hooks for name/description changes of sinks/source and streams + ef020c6: fix stream corking: ignore pa_sink_input() when we are in corked state + 55651ec: don't count streams using the monitor source in pa_sink_used_by(), because this would disallow suspending a sink ehn an rtp stream is connected + ba322a4: drop the PA_SOURCE_CAN_SUSPEND and PA_SINK_CAN_SUSPEND flags, since they were a bad idea in the first place. All sinks/sources are now *required* to handle suspending in one way or another. Luckily all current sink/source implementations handle it fine anyway. + +2007-09-23 Lennart Poettering + 77ed60c: instead of using the mixer ioctl()s on the dsp fd, open a seperate fd for the mixer. This allows us the keep the mixer fd open while closing the dsp device while suspending. + fc00eaf: use O_NOFOLLOW when creating lock files, too + 2860685: use O_NOFOLLOW when creating PID file, to avoid symlink vulnerability + +2007-09-23 Tanu Kaskinen + de079ac: Added an assertion for the case when the sink programmer hasn't installed the thread_mq properly. + 7bcbf16: Comment typo fix. + +2007-09-22 Tanu Kaskinen + ecad937: Fix the assignment of control values by using the right variable for indexing. + 1c44be2: Correct the parameter positions with the pa_cvolume_set() call. + +2007-09-22 Lennart Poettering + e04a857: minor optimization + 6cfb096: include the name of the master sink in the name for piggy-backed virtual sinks + c6b43bf: prefix by order macros with PA_ + 6683400: rework a couple of sample type converters, to actually work + 78a9ad3: - rework volume adjustment code to not require fp - don't hit an assert when we cannot do a volume adjustment, instead, print a warning and go on + d7a0876: fix selection of working format + 9db4267: make use of byte swap builtins of gcc if they are available + f26de80: add test program for the resampler + +2007-09-21 Lennart Poettering + c34a263: allow _unlink() functions to be called as many times as people want, even before _put() was called + 1fc168b: clamp sample data to -1 .. 1, before passing it to the plugin; if a control port data specification is left empty, initialize with the default value of the plugin + 29d25ec: add CLAMP macro + +2007-09-20 Lennart Poettering + e205bb2: don't segfault when the master changes + 3b2835d: properly detach/attach when moving sink inputs + f3f44da: rework module-combine again + c40c168: maintain the attach status in a boolean variable 'attach' accessible from the IO thread for sink_inputs/source_outputs + +2007-09-19 Lennart Poettering + 75647bc: render new data always in the master sink's thread, fixing missing locking + a8a9ee4: make sure we initialize thread private data before we move our ghost sink to the rt thread, not after + 42b71ff: fix trivial typo + d716e3c: fix check for lrintf, make resample2.c again identical to upstream ffmpeg + 75f799a: make O_CLOEXEC, O_NONBLOCK and socket low latency fd ops more uniform: always return void, name them similarly, only pass a single fd + 0fcad97: copy free_cb into a temporary variable first, to avoid compiler warning + +2007-09-18 Lennart Poettering + ac66b6a: fall back to plughw:, if hw: doesn't work, in the alsa source, too + 781cf49: properly release memblock always abd as soon as possible + 1fd9afd: make use of pa_bool_t on a few places where applicable; really start work_cb + b3093d8: lower SO_PRIORITY priority to 6, since this is the best we get without being root + ef8df41: make rtp send socket low delay + f44ddd1: add new pa_socket_udp_low_delay() API + 6b2fd23: add two missing header file inclusions + eb23601: bug fixes for module-rtp-recv + 8fdf054: make sure we don't call pa_source_post() for a monitor source after it was unlinked + ca71764: If PTHREAD_PRIO_INHERIT mutexes are not available fall back to normal mutexes + a558e93: port module-rtp-send.c to lock-free core + 08d4b23: actually close the alsa device before we try to reopen it as plughw + +2007-09-18 Pierre Ossman + 4ed41f3: strtof() is a rather recent addition to C. Fall back to strtod() if it isn't available. + aff22cf: NSIG seems to be more common than _NSIG. + 03d9863: Emulate lrintf with simple truncation if it isn't available. + 31dfb31: Make sure the header file is only included on linux (as this is a linux-only feature). + df1d347: NSIG is not defined by neither C99 nor POSIX so we can't rely on it. + +2007-09-17 Lennart Poettering + 4cde507: add LADSPA sink than can be piggy-backed ontop of another sink + 7b4f981: print a message when we fall back on plughw + 8ff7d56: add a locale-independant pa_atof() implementation + 4cdf2ce: hide sig2str-test + 1ae473b: fall back to plughw: if hw: doesn't work + 26a1ae7: Rename pa_strsignal() to pa_sig2str(), since we return the symbolical signal name, not a human readable string. This follows the Solaris API of sig2str() a bit. Also, add all remaining signals to the list of signal names. + d3b8985: drop a couple of WARNING prefixes in log messages, since we have pa_log_warn anyway for marking warnings especially + 19eb7eb: once.c is no longer POSIX specific. Since it is now considerably more advanced than it used to be, use it on windows, too + 7f9fea7: on Linu disable lazy binding altogether + a1526f1: add missing initialization + 061e806: Add a special ltdl .so loader that avoids lazy frelocations during runtime + 2741685: use priority inheritance on mutexes where applicable + +2007-09-16 Lennart Poettering + 61b90a0: add proper boolean type pa_bool_t + 116ddaa: use gcc const and pure function attributes wherever applicable + 35483ee: add a new module module-remap-sink which can be used to remap the channel maps of an already existant sink. one use case is to create a virtual sink that redirects stereo data to the rear speakers of a surround card. + 1d1eda6: add a "length" argument to the seek functions, as an optimization to request a certain block size if any data needs to be generated. this is merely a hint. + 5df7a85: split memblocks into multiples of the mempool tile size + ac1ee4e: add new API pa_mempool_block_size_max() to query the maximum tile size + fce8507: * add a new resampler "copy" which is does not change sample rates but copies data unmodified from input to output. * add a new API pa_resampler_max_block_size() which can be used to determine the maximum input buffer size for the resampler so that the bounce buffers don't grow larger then the mempool tile size + d079b48: properly define MAX/MIN macros + 87795b0: add missing header file changes for frame alignment apis + e17fbf0: be a little bit more elaborate on the reason why we drop to software volume control if hw is not featureful enough for us + 0469c84: add frame alignment APIs; don't require memory to be writable when silencing it (required of the mmap modes drivers where the hw data needs to be silenced, although it is not writable to others) + +2007-09-15 Lennart Poettering + 298d239: trivial typo + 8389264: count corked streams per sink/source and make pa_sink_used_by() return only the number of streams that are not corked. Introduce pa_sink_linked_by() returning the number of streams connected at all. This will allow suspending of sinks/sources when all streams connected to a sink are corked. + +2007-09-14 Lennart Poettering + 5ae4eed: Move attaching/detaching from a pa_rtpoll into pa_sink proper, remove it from module-combine + 3396b65: simplify rt loops a bit by moving more code into pa_rtpoll. It is now possible to attach "work" functions to a pa_rtpoll_item, which will be called in each loop iteration. This allows us to hide the message processing in the RT loops and to drop the seperate sink_input->process hooks. Basically, only the driver-specific code remains in the RT loops. + f0b9dce: explicitly destory TLS data before destroying TLS + bf274cb: add two new macros PA_ONCE_BEGIN and PA_ONCE_END which allow usage of pa_once without declaring a function to be called + 04ed0f9: call dbus_shutdown() before exiting, to make valgrind output more useful + 8775309: fix two typos in reference count handling + 9be0d70: make newer gcc shut up + +2007-09-12 Lennart Poettering + ef83a19: extend rtpoll API to allow registration of arbitray functions to be executed in the event loop. Add priority system for specifying the order of these functions. + cf3e9da: add missing config.h inclusion + 03f311a: reindent, and s/assert/pa_assert/g + 4137865: change pa_modargs_get_channel_map() to take an extra argument for specifying the name of the modargs attribute to parse + d9c4c95: add new pa_pipe_close() API to close two fds at the same time + 7f92542: consolidate close() calls to pa_close(), and make sure on every occasion that we handle failures of close() sensibly + +2007-09-11 Lennart Poettering + 54506ab: on systems where we know that POSIX shm is mapped to /dev/shm, add the ability to cleanup stale SHM segments. (Right now only Linux) + d5bedbc: remaining s/assert/pa_assert/ and refcnt.h modernizations + 2988c3d: Rework core-error.c on top of PA_STATIC_TLS_DECLARE, the windows specific parts need to be moved to thread-win32.c + abb18d9: explcitly initialize tls memory to NULL + 9c523e0: more modernizations, s/assert/pa_assert/g + 27f13b3: finish modernizations in pulse/, s/assert/pa_assert/g + 038e560: More s/assert/pa_assert/ modernizations + 391d09c: add 'wait' parameter to pa_rtpoll_run(), if zero pa_rtpoll_runn will only update the struct pollfd but not wait for an event + 597a1c4: port client libs to refcnt.h + 55d9fcb: add globally defined PA_PATH_SEP macro, replacing private per-file macros + 6ac66e4: add missing config.h includes + e2e2ce7: Instead of including config.h from header files, check whether PACKAGE is defined and if not, fail (thus using PACKAGE as a check for inclusion of config.h) + 848a4d7: more s/assert/pa_assert/ modernizations + +2007-09-10 Lennart Poettering + 9b0ab39: unify static TLS support, make use of gcc __thread attribute if available + 3d122d0: s/assert/pa_assert/ modernizations + de21b54: add new API pa_threaded_mainloop_in_thread(), update test case for it + a6f8b81: simple modernizations: s/assert/pa_assert + 6629886: make sure we send each memblock only once when recording, not twice + d5caa02: minor cleanup + a77158e: make the memchunk writeable before silencing it + 841fcb4: beef up comment + 98f9bd6: make sure that the device volume is properly read before we call pa_sink_put() and thus make the pa_sink available + 69ece66: add pulseaudio logo with text + 44e514c: update todo file a little + 6c1682c: hide a couple of files + 27c3bd4: document that the native amd64 atomic ops implementation is incomplete + 06db921: don't call pa_source_process_msg() for PA_SOURCE_MESSAGE_GET_LATENCY, since it makes querying the latency always fail + +2007-09-10 Pierre Ossman + d9b3c0e: posix_madvise and posix_fadvise aren't present on all systems. + 9630e8d: Remove mkdir_p again... + 028632f: TIOCINQ isn't present on all systems. + e176601: Monotonic clock is optional so treat is as such. + 717b164: POSIX realtime clock functions are in time.h so make sure to include it. + +2007-09-09 Tanu Kaskinen + dfdf1d7: Changed PA_SAMPLE_S16_NE to PA_SAMPLE_S16NE in the example code in the Simple API Doxygen documentation. + +2007-09-06 Lennart Poettering + b41dbfd: fix an assert when runnig module-oss in record only-mode. optimize allocation of memblocks on playback + d60940d: install libpulsecore again, since libtool otherwise links it statically into every single module + e4eefb8: fix copynpaste error + 45ba711: downgrade realtime group membership warning to 'info' at be a little bit more elaborate + 3b2cf1a: update default config: - check for existance of modules before loading them - disable all event sounds except hotplug by default + b1fd53b: explicitly test for the availability of dbus_watch_get_unix_fd() before using it. The previous version-based check didn't work anyway since the constants checked for weren't set. + +2007-09-04 Lennart Poettering + a0d19c0: update libltdl copy + a4757a1: add native amd64 atomic int implementation + 984ef82: detect whether gcc atomic builtins are available + 4c31ff9: fix a couple of compiler warnings + 2dbe137: if available, use native gcc atomicity builtins + 31c04a9: create config.rpath to fix build on fedora + ac5f978: add a few missing files for make dist + 738f7d7: drop initial libtool_lock() call since this is a debian-specific borkage + d1927c7: initialize libltdl for multi-thread support + 65ac0ea: When in PA_STREAM_AUTO_TIMING_UPDATE mode, delay completion of initialization until we have the first timing data + +2007-09-03 Lennart Poettering + c029038: actually add source code of module-default-device-restore + 11bf380: add a new module module-default-device-restore which automatically saves and restores the selected default device. Enable it by default. + 1d3e70c: header file cleanup + 104feb0: only list supported resampling methods when --dump-resample-methods is executed + c9a0df3: add new API function pa_resample_method_supported() which tests whether a resampling method is supported. Fix building with libsamplerate enabled + 5bc1221: actually define HAVE_LIBSAMPLERATE with AC_DEFINE + +2007-09-02 Lennart Poettering + b2c4779: make libpulse-core a noinst lib, because it does not have yet a stable API and won't get one anytime. Also, don't install its header files + b6bfaa9: add missing configure.ac part of the libsamplerate patch from r1753, re #125 + 2e8244b: Allow compilation without libsamplerate; based on patch from Marc-Andre Lureau; re #125 + cc8c499: fix dbus version check for dbus_watch_get_unix_fd() + 011dfa5: make argument to pa_memchunk_will_need() const + 68981e5: fix build for dbus < 1.1.1, re #126, patch from Marc-Andre Lureau + ca059ab: Don't set RLIMIT_MEMBLOCK to 0 on startup. Retain 4 pages + 3e188b1: make use of pa_memchunk_will_need() before handing sample cache audio to the RT threads + 7dbabc4: add new pa_memchunk_will_need() API, similar to pa_memblock_will_need() + f36ca79: add new API pa_memblock_will_need() and make use of PA_PAGE_SIZE macro + 2f7b6fe: add new pa_will_need() API for paging in memory + 8cf822a: make use of new PA_PAGE_SIZE macro + b54e71a: make use of new memory page alignment macros, reindent + fe1f55b: add a couple of macros for memory page alignment + +2007-08-31 Lennart Poettering + 1df817c: add pa_channel_position_to_pretty_string() to header + 718b1d2: add pa_channel_position_to_pretty_string() for usage in pavucontrol/pavumeter + 02811bf: make sure that we make include paths absolute before calling chdir() + a132226: minor reformatting + 6eb2f88: add two new functions pa_make_path_absolute()/pa_getcwd() + c627871: replace a pa_assert() by an pa_assert_se() + f59dd18: - fix suspend handling - set sink description properly - honour resample_method setting + +2007-08-30 Lennart Poettering + 241ad04: port module-combine to new core + 4d623f0: Lots of assorted minor cleanups and fixes: * s/disconnect/unlink/ at many places where it makes sense * make "start_corked" a normal pa_sink_input/pa_source_output flag instead of a seperate boolean variable * add generic process() function to pa_sink_input/pa_source_output vtable that can be used by streams to do some arbitrary processing in each rt loop iteration even the sink/source is suspended * add detach()/attach() functions to pa_sink_input/pa_source_output vtable that are called when ever the rtpoll object of the event thread changes * add suspend() functions to pa_sink_input/pa_source_output vtable which are called whenever the sink/source they are attached to suspends/resumes * add PA_SINK_INIT/PA_SOURCE_INIT/PA_SINK_INPUT_INIT/PA_SINK_OUTPUT_INIT states to state machines which is active between _new() and _put() * seperate _put() from _new() for pa_sink/pa_source * add PA_SOURCE_OUTPUT_DONT_MOVE/PA_SINK_INPUT_DONT_MOVE flags * make the pa_rtpoll object a property of pa_sink/pa_source to allow streams attached to them make use of it * fix skipping over move_silence * update module-pipe-source to make use of pa_rtpoll * add pa_sink_skip() as optimization in cases where the actualy data returned by pa_sink_render() doesn't matter + b552541: reorder initialization of pa_core variables + ca72adf: modernize and make use of a static flist for allocating idxset entries + 821eb8e: move queue processing code into pa_thread_mq + 687f1f1: add new function pa_memblock_ref_is_one() + c2e4328: fix pa_memchunk_make_writable(), make memchunk functions return the memchunk they modify + bfe69ce: add an assert() + 6817987: add pa_timespec_reset() + 747b01b: make passing a code pointer to pa_asyncmsgq_get() optional + ee97c42: add new PA_SINK_CAN_SUSPEND/PA_SOURCE_CAN_SUSPEND flag + +2007-08-26 Lennart Poettering + d88514c: drop check for gid < 500, since this isn't really a security improvement, re: #111 + +2007-08-25 Lennart Poettering + 0362350: Add option --dump-resample-methods to list available resampler implementations + 782d5a5: make floating point speex resampler the default + 89fcd51: enable -ffast-math for gcc + f82067f: lower suspend timeout to 1s + f4e2d23: include ffmpeg resampler in build + 9439e81: make ffmpeg resampler actually work + +2007-08-24 Tanu Kaskinen + 6687dd0: Corrected a bogus comment. + +2007-08-24 Lennart Poettering + f0dbbe9: add makefiles to speex/ and ffmpeg/ to easy compilation from emacs + 640ae04: Copy resampler from ffmpeg into our sources + +2007-08-23 Lennart Poettering + f754a24: make speex resampler the default + ed4dc16: big resampler rework: support integer-only resampling, support speex resampler + 4eb9bb0: fix a bad memory access when destructing pa_memimports + c1cdcfd: a couple of modernizations; parse RE sample types properly + c72d4c6: add a small speex wrapper so that we can include both the fp and the fixed-point resampler in the same binary + fdead57: build speex resampler tiwce, once for fixed point, one for floating point + 5ff891c: add a copy of the speex resampler to our sources + +2007-08-22 Lennart Poettering + b3b382d: fix minor typo + 9d38159: port remaining sinks to pa_rtpoll + 1bfa180: minor cleanups + 0ff2afd: support absolute, relative and periodic timers in pa_rtpoll + 53b872c: port alsa driver to make use of new pa_rtpoll object + 79d3ddd: reverse hrtimer check, add missing #include + b937009: add convenience functions to hook up pa_fdsem and pa_asyncmsgq to an pa_rtpoll; add pa_rtpoll_item_get_userdata(), on EINTR/EAGAIN, reset revents; automatically destory left over items + 7490977: add missing include + 0449966: make pa_make_power_of_two() and pa_is_power_of_two() inline functions + 190648a: add missing #include + 0da65cf: add message about hrtimers, and initialize pa_core::high_priority + 0af0fb8: hide rtpoll-test from svn + 7fca890: check pa_core::high_priority before becoming rt thread + b302946: add new option to pa_core stating whether we are running as high prio process + 3546198: add check for ppoll() + 8568f70: add rtpoll, rtclock, rtsig to Makefile + dc9d803: add test program for pa_rtpoll + 78c362c: add new realtime event loop abstraction which precise time keeping by using hrtimers on Linux, if they are available + 8972d06: add facility for managing realtime signals + ef2bc41: add monotonic clock abstraction pa_rtclock + 6bfeef1: rename a few things in a macro to make name collisions less likely + 531cc3c: make use of new public function pa_is_power_of_two() + b7b119a: add pa_is_power_of_two() and pa_make_power_of_two() functions + a0ad42a: add macro for creating static TLS objects + b0b06b0: add more PA_PTR_TO_XXX macros + fa7fc31: modernizations + +2007-08-20 Tanu Kaskinen + eaafb79: Modified the JACK sink heavily: * Made the sink realtime-safe. * To achieve the previous item, internal buffering was be added. New module argument: buffersize. * Removed the user's need to set the JACK transport to playing state before he could hear anything from PulseAudio. * In process of achieving the previous item, latency calculation got more inaccurate: the reported latency is now always a multiple of the JACK processing block size, and constant. * The JACK ports now have a running numbering in their names. + +2007-08-16 Lennart Poettering + 2d292be: use realtime scheduling for ALSA and OSS driver threads + 876e682: never stay root after startup, even if we don't have capabilites + 5e93816: seperately get high nice level and acquire realtime sched + d5cbf4f: Keep CAP_SYS_NICE not only in PERMITTED but also in EFFECTIVE capset + 843dcce: only suspend device when server is local + 39d1e65: truncate service names if necessary, include user name in service string + 03b0b1d: add pa_truncate_utf8() function for truncating a string and guaranteeing it stays valid UTF8 afterwards + +2007-08-15 Lennart Poettering + 81cdb37: add fedora-snapshot target + c0d6684: fix an awful race condition when handling data requests + 1ff4786: don't fail if no pa is srunning + a96c5f8: add new tool pasuspender which temporarily suspends all sinks and resumes them later again + 33c6f9d: set CLOEXEC on more fds + 5679de5: add new commands suspend-source, suspend-sink + d2d0978: add protocol support for muting sink inputs and suspending sinks/sources + 0640615: bump protocol revision and soname of libpulse + b20d204: use pa_source_suspend_all/pa_sink_suspend_all for suspending all sinks/sources + a74e804: fix muting for sink inputs + 3d92990: actually mute sinks when asked for i, add new function pa_sink_suspend_all + 6f714d9: actually mute sinks when asked for i, add new function pa_sink_suspend_all + +2007-08-13 Lennart Poettering + 44f91cf: load module-x11-xsmp from a /etc/xdg/autostart file, to make sure it is loaded when we have XSMP + 80f5abf: add load-module and unload-module commands to pactl + 8a663d4: a couple of build fixes + +2007-08-12 Lennart Poettering + 1d5e9f0: deactivate module-x11-xsmp by default, due to a deadlock when pa is being started from gnome-session + e381dd9: 64 bit fixes and minor gcc shut ups + 5e96d5d: yet another new glibc build fix + 3cbcb98: build fix for newer glibc + e6714e1: make make distcheck pass + db7fdf6: make make dist work + 55f3d34: ship full libltdl tree in SVN to make sure we can build this crack on fedora + b16d8e2: bump soname and stuff for fedora pre-release + +2007-08-11 Lennart Poettering + 1cecd46: Resurrect ability to move streams between sinks + 79a586d: add comments describing the context these functions are called from + 3d81dde: modernize pa_play_memblockq() and add a new function pa_memblockq_sink_input_new() which allows creation of memblockq streams without activating them immediately + 14d93fc: minor cleanup + 45e4954: fix latency reporting for oss and alsa modules + 06f2799: minor modernizations + 57734ec: hook into move operations for resuming/suspending devices appropriately + 44b82a1: Add 'via DMA' to sink/source description if device is accessed with mmap() + e71a347: restore the ability move record streams between sources + 50e014e: use single array for storing pa_core hook lists, add sink state changed hook, drop NO_HOOKS flags for sink inputs/source outputs, listen for resume events in module-suspend-on-idle.c + a3cd800: port oss driver to make use of the default fragment sizes as defined in pa_core: store in the sink/source description whether mmap is used; if mmap() fails, fall back to UNIX read/write mode instead of bailing out immediately + b71dde0: make sure that the device access event sound is only generated once + 447c4a5: deal with messages properly which are recieved after destruction of a stream + 107b23d: fix module-hal when no api= argument is specified + c1c59b4: add proper refcounting to pa_asyncmsgq objects, to allow destruction from the dispatched callbacks + f7b707b: allow destruction of pa_fdsem object that are still in 'poll' state + e1100b5: modify alsa drivers to make use of new global fragment setting variables + 793f750: fix default device naming and fix api selection code + a7a5f43: modernization + e2a10de: allow setting the default sample and fragment settings from the config file + b44ce9e: add default fragment settings variables to pa_core + 59c9ed5: move pstream item allocation to pa_flist + +2007-08-10 Lennart Poettering + d2fed9d: make revoke/release thread safe in the native protocol + ff4814c: add callbacks for the revoke/release stuff, so that we can make this thing thread-safe + 4e145b6: if no thread-mq is attached to the current thread, return an error, don't hit an assert + 3eae903: make use of pa_thread_mq everywhere + b3f1a13: minor update + f7171e8: Wrap two pa_asyncmsq in a new pa_thread_mq object for bidirectional, lock-free communication between a main loop and a thread + aff77c1: update thread test to use pa_once instead of pa_once_t + 27f75a5: Rename pa_once_t to pa_once + d4cb042: move pa_queue to an implementation based on pa_flist + ac49cc2: do not acces playback pa_messagq from main thread + 72840ab: minor cleanliness fixes + 357c0e4: fix closing of fds in gconf module + ffa1708: * drop redundant pa_core argument from module initialization functions * make pa__done() implementations optional * a couple of modernizations * wrap lt_dlsym() at a single place * allow passing of an "api" argument to the HAL module, to choose whether OSS devices or ALSA devices should be picked up * optimize fd closing a little on linux in the forked gconf helper * save a little memory in the xsmp module + e621071: fix minor memory leakage + 10b135a: avoid duplicate loading of modules + 1e5ca51: handle ACLAdded messages for previously unknown devices identically to a really new device + 3b078b2: Avoid a race condition when one PA instance gets HAL's ACLAdded message before the previous owner instance has given up access to the device, and thus the device is blocked + +2007-08-09 Lennart Poettering + d9e44c5: Add X11 XSMP module for hooking into the X11 session manager, for being notified about X11 disconnects before they actually happen, so that we are not killed by the bloody xlibs + 5831677: modernize + 3dfdb21: don't assume that sink/source is already unregistered from namereg when disconnect hook is called + 1c7b842: play ACL event sound only when gained access, not when losing it + b751f3a: s/login.wav/startup3.wav + 02bf2f2: update default configuration + 0f15574: protect memimpors with a recursive mutex to avoid deadlock when shutting down + e76efa9: forgot to actually add the new suspend-on-idle module source code + bb46da3: add new module-suspend-on-idle module which suspends sinks/sources which are idle for more than 5s (or any other configurable time). Power saving, here we come\! + 9c89f37: if we get access to a device we don't know yet, add it to our tree instead of ignoring it + 30ccf9a: add a couple of additional hooks for modules to use + ed01e1a: don't hit an assert when we cannot resume a device + eaddc01: by default, store esd socket in /tmp/.esd-`id -u`/socket, instead of /tmp/.esd/socket, to allow multiple simultaneous esd instances. this is only compatible with a patched esd, which however ubuntu and fedora ship now. other distros need to patch their esd as well, or may pass socket=/tmp/.esd/socket to module-protocol-esound-unix + 33cd5e2: listen for HAL ACL events; play an event sound on hw coldplug, hotplug and ACL access + 0c29a2f: add new function pa_scache_play_item_by_name + 23ba125: fix bug in handling of defer events + +2007-08-08 Lennart Poettering + a69f470: modernize module-hal-detect.c and check for ALSA pcm_class != modem + 26a0246: modernize dbus-util.c + e4e9a06: be more verbose when device does not support sampling parameters + fedca91: Remove warning when client is too slow to handle our data + df9522c: properly reinitialize pollfd array after resume + 54b9f55: properly reinitialize pollfd array after resume + 981d5fa: don't print error on socket read/write failure + +2007-08-07 Lennart Poettering + 366d1d3: reinitialize sw params after resume + 0a6f9af: add global suspend command to cli + +2007-08-06 Lennart Poettering + 1f9ce59: port esound protocol to new lock-free core + 243f2fc: minor fixes and cleanups + 74b3b6d: fix playback status querying + 455ff8d: fix a memory leak + 62790cc: fix playback over native protocol + c306b83: initialize 'length' properly + +2007-08-05 Lennart Poettering + 6775386: make sure to handle disconnecting our own connection properly + 41d67c4: minor optimization for cacheing in of samples by using posix_fadvise + 872951c: use posix_fadvise to avoid page faults when reading audio files from disk + 9d1eb1b: play memchunks completely + bd0782e: initialize method pointers properly + 241a9e1: follow rename of pstream_close() to pstream_unlink() + 55e0866: typesafe casts + 23d01bb: Modernize pstream.[ch], reintroduce defer event to make things actually work + 36dd781: modernize play-memchunk and port it to the new core + 34e4165: minor cleanups + +2007-08-04 Lennart Poettering + 81760ad: merge compat changes from trunk + 5ecaf31: compat with automake 1.10 + 7455571: jack driver build fix which became apparent on fedora + +2007-08-03 Lennart Poettering + 95fab18: Don't stop hardware on buffer underruns. Instead continue playing to guarantee that our time function stays as linear as possible. + a6c44c0: Remove unnecessary snd_pcm_hwsync() + 9a4e84a: On recommendation of Takashi Iwai prefer Master volume control over PCM and don't control Mic control + +2007-07-31 Lennart Poettering + d3eca28: rename pa_source_output_new_data::corked to start_corked to match pa_sink_input_new_data::start_corked + 0defdfb: A lot of updates, all necessary to get the native protocol ported: + +2007-07-28 Lennart Poettering + a82505e: port module-alsa-source to new lock-free core + 13a4327: minor cleanups + 6afbbba: fix suspending logic + 81aa8ea: drop data from inputs only when in running state + 1615450: It is now allowed to call pa_sink_get_volume() from thread context + 8aee345: Fix suspending/resuming + 5fbb8e1: add PA_SINK_OPENED/PA_SOURCE_OPENED macros for easier checking for _IDLE or _RUNNING states + 10cb048: restore proper mixer volume control + 9dac60c: reload OSS volume after unsuspend + dd40020: bring back alsa fd list managemet, since we need it for proper mixer change notification + 787f935: port module-alsa-sink to new lock-free core. also add mmmap'ing support while doing so. + c7df4ba: minor modernizations + +2007-07-26 Lennart Poettering + 8e4660a: Disable memory mapping if we open the device in O_WRONLY. Unfortunately we cannot do mmap() in Linux without opening the device for reading as well. + c936e53: Fix channel remapping in resample; other modernizations + 4cc0d0a: remove some log messages + 86abfbf: remove debug messages; don't queue request messages like nothing when send file is finished + bbb347f: properly free memblocks when skipping over them + 042cb09: make valgrind shut up regarding non-freed ident strings. other modernizations + bc17b8e: reverse order flist destruction and mempool allocation warning + 222a6d2: Increase ref counter of sink input as long as it is included in the sink idxset + d80fd10: properly deref sink_input/source_output objects when removing them from a sink/source + 58af737: Add fdsem to makefile + 8cdde28: reverse order of printf and push to make output more readable + bc36932: port asyncq to make use of new fdsem object + 6ad165c: add abstracted file descriptor based semaphore object that is lock-free in the best cases + +2007-07-25 Lennart Poettering + 8836396: Store strings directly in strlst elements, other modernizations + 98d36ef: fix some alignment issues and modernize file a little bit + 929526d: Convert most snprintf() calls to pa_snprintf() + 8e83838: Modernize things a little bith more + 2a43bbf: Modernize things a little + 2380ad9: add our own implementation for pa_snprintf() because NUL termination is apparently not guaranteed on windows and a couple of other libcs + 9e9dc0b: Simplify implementation of pa_assert_se() + 068f5d5: drop chunk argument from various drop() functions, since it doesn't make any sense if we want to guarantee always monotonously increasing read pointers; a couple of other fixes + 9cc20b4: update static free list usage in asyncmsgq + e339d4b: update static free list usage in hashmap + f42e443: destruct freelists properly, by using gcc destructors. we do this only to make valgrind shut up, not because it would have any real value during runtime + 279b1b3: wrap destructor gcc attribute in macro + a094923: change order of munmap and freeing of memblocks + +2007-07-14 Lennart Poettering + c76d035: Fix a couple of typos in the resampler code + +2007-07-13 Lennart Poettering + 2a19c46: Fix typo in pa_memblock_release() call; s/assert/pa_assert/ + 65d54d6: s/assert/pa_assert/g; make use of static flist for memblock allocation where applicable; properly initialize length value in pa_memexport_put() + 0e84f04: Minor clarification + f2c98d7: Make use of static flist for hashmap entry alllocation + 69bfa35: Actually make the static flist static + 3b912ac: Port module-sine to the new lock-free core + 8442926: Reenable a couple of more modules + 59faa5d: Remove a superfluous pa_memblock_release(); properly handle buf4 allocation + 63c231e: Fix concurrency bug when turning memblock into a local memblock + 481b425: Fix off-by-one in mixing code + ca5874d: Replace a couple of assert()s by pa_assert()s + ac1387d: Remove module-oss-mmap, since it is now merged into module-oss + a42c19e: Merge module-oss-mmap into module-oss and make suspending working properly + 295e1c8: Make pa_sink_render_* and pa_source_post work only when in RUNNING state, to fix handling of monitor sources when their sink is suspended + +2007-07-12 Lennart Poettering + 0a095f6: Properly initialize all revents on EINTR + 1a84664: Make sure pollfd[POLLFD_ASYNCQ].revents is properly initialized on signal + 683fc4c: fix segfault when recording with module-oss.c + +2007-07-10 Pierre Ossman + b0f692c: Make sure we link to the core to get all symbols. + a228a51: Solaris hides inet_ntop in nsl. + 689fd70: Make -no-undefined actually work (and fix up error found by it). + 405d675: Move pthreads detection as it gets confused by things in LIBS. + +2007-06-25 Lennart Poettering + eec2fbe: Port module-oss to the new lock-free core + 6312938: remove pa_memblockq_is_writable() (because it is stupid and not used anywhere anyway, and replace all assert()s with pa_assert()s + a482b9f: make sure we don't free the same connection twice + +2007-06-24 Lennart Poettering + 6776678: Limit silence buffer size for pa_sink_render() + de02c74: Track the 'missing' variable safely between the threads + d873731: rework the logic of pa_asyncq + 77ebe70: Make sure the returned pa_msgobject object has a valid refcnt before returning it + 099f3f2: Include assert.h, since we use assert() for our pa_assert() macro + a9fcd59: Fix length calculation in pa_silence_memblock_new() and make use of pa_assert() everywhere instead of assert() + fdd3ac9: Make use of dbus_watch_get_unix_fd() instead of dbus_watch_get_fd() because of deprecation of the latter + +2007-06-23 Lennart Poettering + bb3ad9d: Update OSS driver for new lock-free core + 013a55a: remove underrun condition in pa_sinks. Instead return silence in pa_sink_render() when necessary. This is required to guarantee that the time functions in connected sink inputs stays linear + 780f736: don't handle underrun special + f061636: drop silence generation from sink drivers + fff9081: fix a typo and some minor optimizations + 1c9bd20: minor cleanups and optimizations + e24c8de: Fix minor typo + +2007-06-14 Lennart Poettering + deb523e: Port module-pipe-source to the new threaded design + 94f6ab5: Fix another ugly typo, which made source outputs unusable + e279778: use pa_memblockq_push_align() instead of pa_memblockq_push() to deal with unaligned data coming from clients + 1d7096b: Show memchunk length in debug output + 1c62ce6: Fix a nasty typo in pa_asyncq_pop + 572c77f: Remove anotify.[ch], since it is now entirely replaced by pa_asyncmsgq + 5e72ac3: rework sink input/source output state machine + 260dd1e: Make debug message more useful + 1b99fd2: Move a few things between the threads + 111dcd5: trivial cleanups + +2007-06-13 Lennart Poettering + be4a882: A lot of more work to get the lock-free stuff in place + +2007-06-13 Pierre Ossman + 0694d2a: Make sure mixer ioctls work on /dev/dsp aswell. + +2007-06-11 Lennart Poettering + 6911568: make untabify + 590ae20: Add new untabify makefile target + a4fed0f: make eolspace + 00da37f: Merge HUGE set of changes temporarily into a branch, to allow me to move them from one machine to another (lock-free and stuff) + 6aeec56: add a new private branch + +2007-06-11 Pierre Ossman + 14cbbe1: Support stat() and friends as some programs (audacity) likes to check if the device node is there first. + +2007-06-04 Pierre Ossman + 13a4c52: Add support for the poorly documented SNDCTL_DSP_GETTRIGGER. + +2007-05-29 Lennart Poettering + 1e12e0e: Kill spaces on EOL + e4d63d0: add target "eolspace" to makefil to remove trailing newlines from all source files + +2007-05-29 Pierre Ossman + 5530d32: We now use gid unconditionally, so make sure it's defined. + +2007-05-28 Lennart Poettering + 67cb775: build fix for systems lacking capability suppoort. (Problem identified and original patch supplied by Diego Petteno + +2007-05-27 Lennart Poettering + 707def1: Bump revision of libs and package + 918cacb: Replace AO_xxx usage with pa_atomic_xxx and friends wherever it makes sense + 6a2dffd: unfortunately we cannot detect if a foreign thread is still running. Thus sucks. But what can we do? U. Drepper thinks our use case is invalid. + 872018e: Minor optimization: read log level character code from array + +2007-05-26 Lennart Poettering + d949983: Add a new meta command ".ifexists" to the CLI language, to execute commands only if a specified file exists. Original patch from cjvdb. Closes #36 + +2007-05-25 Lennart Poettering + 4d88fcd: when called with the setid bit change euid to uid sooner to make sure that we can access our own files even when we dropped most capabilities. (Closes #21) + 65e8761: fix suid Makefile target + +2007-05-23 Lennart Poettering + 0032642: only browse for ipv4 pa servers for now. Needs better fixing which however is not trivial and probably breaks the API + 79c94db: Fix another DoS vulnerability that has been identified by Luigi Auriemma. (Finally closes #67) + 30c52e5: add a missing initialization that causes a crash when parsing invalid volume restoration tables (Problem identified by Luigi Auriemma, re #67) + 33304ba: Fix a DoS with allocating overly large silence buffers. (Identified by Luigi Auriemma (re #67) + 4a05bc9: don't allow excessively high sample rates + cf925b1: Fix yet another DoS vulnerability, also identified Luigi Auriemma (re #67) + c3b5de7: fix minor typo + f903395: Fix another DoS vulnerability, also identified Luigi Auriemma (closes #67) + 407a1b6: fix a DoS vulnerability (re #67), originally identified by Luigi Auriemma + 8e738ed: fix a few obvious copynpaste errors when handling volumes + 0e53f93: Treat empty :0.0 identically to unset :0.0 when trying to find a PA server. (Closes #87) + 312c326: Fix module-oss for devices that return EAGAIN when we don't expect it. (Closes #66) + +2007-05-22 Lennart Poettering + 01ddb54: show socket directory when we fail to create it. (Closes #85) + 960b5cb: Fix build and only load OSS xor ALSA modules if both are available + e41b91e: drop unused variable + 16dd5f7: fix comment + +2007-03-07 Pierre Ossman + 9ee3981: Add support for SNDCTL_DSP_SETTRIGGER. (closes #56) + +2007-03-06 Pierre Ossman + f6023cb: Fix some instances where we printed a string without first checking that the pointer was valid. + e042a90: Pulsecore should be linked into all modules. + 0b14c02: Don't fail if hal doesn't currently contain any devices. (closes #55) + +2007-03-02 Pierre Ossman + 2b82336: Handle suspended alsa devices. Based on patch by ranma. (closes #26) + +2007-03-01 Pierre Ossman + 19b17ff: Revert stuff from commit 1431 that wasn't supposed to be there. + bb81243: Handle when ALSA tweaks our sample spec so much that the frame size changes. (closes #57). + 6ba21d4: Add some debugging output from sample cache subsystem. + +2007-02-14 Pierre Ossman + df47c7b: Add a wrapper around close() to work around Windows' ass backwards way of handling sockets. + 8bf7943: Allow a formatted string in the validation warning. + 3016c75: Prefix log lines with a character indicating level. + +2007-02-13 Pierre Ossman + 06211b7: Add copyright notices to all relevant files. (based on svn log) + +2007-02-12 Pierre Ossman + 1d0e8e4: Make sure we get proper host identifiers. + de7a883: Allow specification of device number. + +2007-02-05 Pierre Ossman + f65ab1b: Don't abort config loading when the user specific cannot be loaded. + +2007-01-19 Pierre Ossman + 4171f25: Make sure we report success for SNDCTL_DSP_SETDUPLEX. + +2007-01-04 Pierre Ossman + 4c0a481: Report IO error on ioctl() when we're in a fatal error state. + c992ed9: Free stream objects when they've been invalidated. + 19bd914: Fix error messages for failure connecting streams. + 521daf6: Huge trailing whitespace cleanup. Let's keep the tree pure from here on, mmmkay? + +2006-12-04 Pierre Ossman + 1a460ee: Fix silly copy-and-paste error. (closes #45) + +2006-11-24 Pierre Ossman + 68bcbd2: Fix incorrect assert. + +2006-11-10 Pierre Ossman + 7933cba: Add atomic.h as a dependency at relevant places. + 86f4c21: Make sure we package version.h.in. + +2006-11-09 Pierre Ossman + 0a37ec2: Yet again try to fix the creation of necessary directories when srcdir != builddir. + +2006-11-08 Pierre Ossman + 0ef2d7e: Support reversed endian floats. (closes #28) (closes #35) + 55c25c6: Check correct variable for return value. Closes #37. + +2006-11-06 Pierre Ossman + d4ca81f: Fix some missing line breaks. + 8dc6214: Revert r1404 and keep it on a development branch until it is fully tested. + d664492: Create branch for lock free memblock implementation. + 6ca8193: The OSS spec is unclear what should happen when a reset is requested. Let's have a nicer attitude and keep as much settings as possible. + 9776596: Handle when threaded mainloop is freed before it is started. + +2006-09-26 Lennart Poettering + d210ebb: rework memory block management to be thread-safe and mostly lock-free. + 5ad143b: upgrade refcnt.h to make use of our new pa_atomic_xxx() API + 736de36: add asynchronous inter-thread notification API + +2006-09-20 Lennart Poettering + f1021b9: enable module-hal-detect in the default configuration file only if HAL support is enabled (closes #30) + bf83a96: rename default realtime group from "realtime" to "pulse-rt", since it is pulseaudio specific. you may still pass --with-realtime-group=realtime to configure to get the old behaviour + +2006-09-19 Pierre Ossman + 71a6ceb: Revert r1398 as it broke the srcdir != builddir patch. New fix that doesn't use the $(mkdir_p) define as it isn't present on many systems. + 534eeb1: No need to create these dirs as they're part of the source tree. + +2006-09-14 Pierre Ossman + 29ab939: Stop using x86-isms and use ISO C (oversized shifts are undefined). + 5f828c2: Fix debug output for SNDCTL_DSP_SETFRAGMENT. + +2006-09-11 Pierre Ossman + 7726459: Fix up build structure for platform dependent modules. Also add implementation on Win32 for pa_once(). + a85b3e2: Use platform independent sleep. + 7c6088d: Fix typo. + +2006-09-09 Lennart Poettering + fc08db2: ignore flist-test in the correct dir + 6b1794d: ignore flist-test + 9358d28: update Makefile + 0e96d8b: make pa_mutex_new() and pa_cond_new() succeed in all cases. Similar behaviour to pa_xmalloc(). + 3ae98db: add pa_once testing code + d0dcde0: rework pa_once once again, because the once function needs to have terminated before pa_once returns, regardless whether the local call executes it or another thread does. + 6d53202: update for newer APIs: replace direct usage of libatomic_ops by usage of our own atomic.h; remove pa_once implementation; always use our pa_once implementation instead of the POSIX version + 3426a39: implement trival pa_once API based on atomic operations + c89cb6a: add static initializer PA_ATOMIC_INIT() + b93fedd: add a test program for the free list + ee40a34: implement a simple lock-free free list + +2006-09-08 Lennart Poettering + bfaa358: add a tiny wrapper around libatomic_ops: pa_atomic_int_t and pa_atomit_ptr_t. + +2006-09-07 Lennart Poettering + 791bbd8: don't maintain a list of allocated mempool slots, we don't use it anyway + 1728e3a: make pa_stream thread-safe: use new refcounting system, protect access using mutexes + 0669c99: add missing channel names (fixes a segfault when parsing invalid channel maps) + 40f18d9: fix alsa-sink example + +2006-09-06 Lennart Poettering + 40ecf86: don't hit an assert in the client if posix shm is not available + ead67cd: fix indentation + 66ec460: fix a bogus debug line + 6569199: implement a few more ioctl()s, including a subset of SNDCTL_DSP_GETOPTR. Just enough to make JavaSound work. + +2006-09-04 Lennart Poettering + e00ba02: remove yet another occurence of pthread_yield() by pa_thread_yield() + 6bbfb43: add accessor functions for the userdata attached to a pa_thread object + 3be920d: fix pa_thread_is_running() for foreign threads; fix a memory leak for foreign threads + 813e95f: port the threaded mainloop to our new abstract mutex/thread API + 8e7c2a3: make pa_thread_self() return a sensible pointer on foreign threads + +2006-09-02 Lennart Poettering + 6db6c83: add missing g_type_init() + 2536ba9: rework handling of srcdir != builddir (patch from Flameeyes) + e504e80: include PTRHEAD_LIBS in pkg-config file (patch from Flameeyes) + b01fabf: update acx_pthread.m4 + 6528b6b: allow building when srcdir != builddir (patch from Flameeyes) + a00c3cb: fix a few autoconf warnings (patch by Flameeyes) + 11b6c45: fix esdcompat for non-gnu systems + 161c2c0: make esdcompat executable + 5fa9cdb: Merge FreeBSD compatibility patch (from Flameeyes) + +2006-09-01 Pierre Ossman + 647ef18: Fix call to pa_mutex_new(). + f84c65e: Add pthread_once() equivalent support. + 3571bf1: Thread implementation for Win32. + +2006-09-01 Lennart Poettering + 97202d1: fix a race condition with stream connection vs. latency measuremtn (found by theBear) + +2006-08-31 Pierre Ossman + 6e3de3d: Make sure libatomic_ops.a isn't included in win32 builds as libtool doesn't like static libs in dlls. Everything is in the headers anyway, so we do not need it. + 6e9706b: Also wrap yield functionality so that it can be platform independent. + +2006-08-31 Lennart Poettering + 0f6098b: work around bug in firefox which apparently misuses access() as NULL pointer test. Original patch by "alon". (Closes #27) + aee4a37: define AO_REQUIRE_CAS in the Makefile instead of each source file, effectively reversing r1348 + 7ce39d3: update todo + +2006-08-30 Lennart Poettering + 2f6cc4f: fix handling of "running" variable + +2006-08-30 Pierre Ossman + ad0535b: Add AO_REQUIRE_CAS as we do. + a6b99d5: Make sure the libatomic_ops lib is included. + c4e47c6: Remove check for libatomic_ops library as some systems have no (zero, nada) symbols in it. + 078420a: We need to have a callback when changing volume or we might deadlock. + +2006-08-29 Lennart Poettering + b2c341f: add a threading primitive API + 5264d23: make pa_mempool_stat thread-safe/lock-free + 327e0cd: modify memory block reference counting to use the new reference counting API + 9948cb0: add lock-free reference counting macros, based on libatomic-ops + 91d8025: add libatomic-ops to hard dependencies + +2006-08-28 Lennart Poettering + a633944: fix an misdesigned assert() + +2006-08-28 Pierre Ossman + 5ecbd9e: Add PulseAudio logo to tree. + cd47673: update todo + +2006-08-27 Lennart Poettering + 1ed3347: increase operation timeout + +2006-08-26 Lennart Poettering + bc87a58: bump version and sonames + b8ea488: fix module-combine when used on top of a tunnel sink + +2006-08-25 Lennart Poettering + 93e005a: update module-tunnel to latest protocol + 8ead68f: activate HAL in the default config + +2006-08-24 Pierre Ossman + aec3888: Add missing header. + +2006-08-23 Lennart Poettering + 8f5b86b: fix handling of "mtu" module argument (patch by "theBear") + +2006-08-23 Pierre Ossman + 2575b44: fix typo + 79c4a68: Make the recording a bit more chunky so that we can fit in the pool and have efficient blocks. + +2006-08-22 Pierre Ossman + b27ffbe: Remove silence generation in solaris module. + d194604: Remove silence generation in waveout module. + 095f357: Proceed with connect even when no cookie is loaded. Allows you to connect to server which do not require a cookie under all circumstances. + 306aea7: Fix memory leak in waveout module. + 0249651: Log when there is a problem opening the waveOut/waveIn device. + 7bf2540: Fall back to creating a "normal" memory pool if unable to get a shared one. + 26bfce6: Improve error messages a bit. + cf7b401: Fix up portability of memory pool handling a bit. + 10bbc4b: Fix detection of shared memory support and proper fallback. + 568c8ea: Fix typo. + eeabf63: Add missing header. + b5ef414: Fix call to pa_memblock_new(). + d964459: Fix detection of page size for non-POSIX systems. + 7bc7110: Fix missing header for timeval helpers. + 1c320fe: Fix calls to pa_memblock_new(). + 6e3d8af: Add header for pa_cstrerror(). + 8a16c73: Fix call to pa_pstream_send_tagstruct(). + 25c0640: Add an ifdef for when we do not have creds. + +2006-08-22 Lennart Poettering + fef4a20: update todo + 22d8e0e: fix typo + +2006-08-21 Lennart Poettering + 26201b2: fix pactl output (sink drivers and names where switched) + +2006-08-19 Lennart Poettering + 3d32b96: update todo + 3dbc4ae: restore the sink/source for a client in addition to the playback volume. This changes the file format of the table file. To avoid parse errors ~/.pulse/volume.table has been renamed to ~/.pulse/volume-restore.table + bffde5d: If a client leaves the sink/source for a stream unspecified by passing NULL as sink/source name sink/source we should pass NULL to pa_sink_input_new()/pa_source_output_new() as too. This allows hooks to change the sink/source device only if it is left unspecified by the client + bf62e77: fix a bad memory access + ce11b1f: update todo + c0b3e8b: when transferring large memory chunks of a pa_pstream, split them up + 79b2628: update todo + 84d1d3e: update todo + b642325: check for posix_memalign and friends + 3e0f00f: if MAP_ANONYMOUS is not supported use posix_memalign if possible to allocate the memory pool + d50c56a: update todo + c6ca9a8: print per-type memory block statistics on "stat" + 57f0b08: generate per-type memory block statistics + 16ff83f: update todo + af87c7d: rework the resample to allocate temporary memory with pa_memblock_new() instead of pa_xrealloc() + 521d15b: fix a memory leak + 1b7fff3: update todo + 47c7a14: add --disable-shm command line option to the daemon + a8519d5: add "disable-shm=" to default daemon configuration file + dbc658d: add new "disable-shm" server config option + c9b6d55: add default "disable-shm" option to client.conf + d785b8f: add new "disable-shm" option to client.conf + 206ac6f: allow importing of external shm data blocks unconditionally, even when local SHM support is disabled + 046bdd9: deal properly with pa_mempool_new() failing + 8c9bdb8: fix allocation of anonymous memory + c2db5f8: fix a memory leak + +2006-08-18 Lennart Poettering + c979b87: update todo + 40875d6: enable SHM support on the client side only if both the client and the server run as the same user and the server supports it + e33abc3: activate SHM support on the server side only when new client supports it and when client and server have the same UID. + c313b23: one s/0/NULL/ + 7ac7909: remove export/import objects when SHM is disable for a pa_pstream object + fd3fe96: add new function pa_mempool_is_shared() to test whether a memory pool is suitable for SHM data transfers + 7e01b1c: hide memblock-test + e385d93: remove all occurences of + 1bc62d5: rework logging subsystem, to implicitly include __FILE__ in pa_log() calls. In addition we now record the line numbers and function names of pa_log calls. However, those are only shown If $PULSE_LOG_META is set. + 666eca3: update todo + 8ebef4d: look for shm_open in -lrt + 35caf0c: add new test memblock-test for testing SHM import/export + c3fc2ea: update tests for new memory manager + 0e436a6: Rework memory management to allow shared memory data transfer. The central idea is to allocate all audio memory blocks from a per-process memory pool which is available as read-only SHM segment to other local processes. Then, instead of writing the actual audio data to the socket just write references to this shared memory pool. + ff48681: add abstracted shared memory API + 20d0823: fix a bad type cast + dfa17b9: cleanup hashmap.[ch] a little: use hash/compare func prototypes defined in idxset.h, add pa_hashmpa_{get,steal}_first + 8be0cf6: cleanup idxset.[ch] a little: define proper types for the hash/compare funcs, do ptr->int/int->ptr conversions with clean macros + +2006-08-17 Lennart Poettering + c3df1ce: fix a PA_LLIST_HEAD_INIT invocation + a847f74: add missing #include + d890660: modify pa_bytes_snprint() to return the string we just wrote to. This should be binary compat with older versions which returned void + 99db067: make PA_LLIST_HEAD_INIT thread safe + +2006-08-15 Lennart Poettering + 1c3bfc4: use the description field of sinks/sources to name the zeroconf services, instead of the logical name + +2006-08-14 Pierre Ossman + 6c39af7: update todo + +2006-08-13 Lennart Poettering + 5d8d916: update todo + 2bf4653: extend module-rescue-streams to move also source outputs when a source dies + 3334814: fix a segfault when registering a service with avahi fails + cdb173f: create rtp source output on correct source + d182a0b: minor optimization + a75e1ed: implement hook_source_ouput_new. For this I modified the pa_source_output_new constructor to take a struct similar to what I already did for pa_sink_input_new() + e0f7e86: split a validity check into two + 79cb80c: implement hook_source_disconnect + 8f91b1f: define new hooks: hook_source_output_new, hook_source_disconnect + a09a49e: update todo + a7b9a7d: Load module-rescue-streams by default + dd87061: implement new module "module-rescue-streams" which moves sink inputs away when their sink is removed. + 8180832: properly implement a pa_sink_disconnect() hook + 87e64d5: Clean up module description a little + abbabd8: ignore if we recieved a memory block for an invalid stream, since this might happen unwillingly due to the asychnronous nature of the protocol + 72cf211: remove pa_sink_input::variable_rate field since it has been folded into pa_sink_input::flags + 3beef50: hide hook-list-test + b37ad1f: modify module-volume-restore to change the initial volume of a sink input from a hook instead of an asyncronous subscription event. + a621d90: allow hooking into the process of creating playback streams. To implement this I modified the pa_sink_input_new() signature to take a pa_sink_input_new_data structure instead of direct arguments. + b5cbea9: fix bad printf() + db3f561: rework hook list stuff once again: change the callback prototype to recieve three data pointers: one to the data for the hook, once for the slot and once for the call + 281125c: rework hook list stuff again, and replace macros with real functins. We loose type safety but things are much cleaner now + +2006-08-12 Lennart Poettering + 2622b0c: update hook list test + 82a913d: reall add type safe hook list + 80d73dd: implement typeafe hook chain + 7f70ca3: extend maximum sink/source name length, because HAL UDIs can get ridiculously long + 17964dd: update todo + 02e083c: test if sink->monitor_source is set before making use of it + dbe6bdd: make use of pa_sink_used_by()/pa_source_used_by() wherever applicable + b5207fc: add pa_sink_used_by()/pa_source_used_by() + b45c392: categorize todo file + 28f86ea: name the sink/source after the device file, just like we already do for the non-mmaped driver + bf79e97: generate default sink/source names from the device files they belong to + 0050176: update todo + 4c9c426: handle hot-remeving of OSS devices properly + 3cfed30: print the device capabilities after opening the device + fbeeb8b: when the requested sample format is not available for OSS devices, print a nice warning and take what we can get instead + 0547b0f: there's no need to queue subscription events if noone is listening, hence don't do it! + c86890d: * only load an OSS driver for the first device of a sound card, similar to what is done for ALSA. * fix a mem leak + 7fa0744: fix a segfault in module-oss + 2d70271: fix pa_gettimeofday() return value testing + adfa76c: update todo + 365ceec: update todo + 3aba099: clean up event generation a little: suppress unnecessary events and generate new ones on owner change + 47d009a: rework subscription code: try to drop redundant queued events + f8e5f47: fix a compiler warning + e9d9356: add new macro PA_LLIST_INSERT_AFTER + 1e12c75: update todo + 8da9b94: allow setting the null sink description by a module parameter + +2006-08-12 Shahms E. King + bb96156: increase module argument buffer size to prevent truncating names + +2006-08-11 Lennart Poettering + bfa6604: don't set the sink/source descriptions manually, use the new functions pa_{sink,source}_set_description() instead + af1b031: comment which values in pa_{sink,source,sink_input,source_output} structures may be NULL + c90dd53: * introduce new functions pa_sink_set_description() and pa_source_set_description() for changing the description of a sink/source * allow sinks without monitor sources attached + 0aebc03: update todo + bfff23d: shorten sink/source device descriptions a little + 1d7b8e1: use the HAL UDI for naming input/output devices + 539612a: do not export name validity checking routes and apply them only to sink/source names, not sample names + e1316f5: fix bad memory access and a leak when detructing ALSA fd lists + 576c4dd: rework name register a litle to only allow "valid" names. + bf854c4: Build HAL support only when either OSS or ALSA is available + dcd3acc: remove OSS specific code from module-hal-detect if HAVE_OSS is not set. Same for ALSA + 7a4e1c9: ALSA: handle write()/read() errors properly by unloading the driver module. This should fix problems when removing USB audio device while pulseaudio is running. + b0b968d: change order of the ALSA event dispatch code to make sure that the code survives if the event dispatcher frees the ALSA client + 59f1a67: use the copied udi string as hash key for the device table, because the temporary one is freed when the function exits + +2006-08-08 Shahms E. King + 7ee7a23: add HAL support for OSS devices and capability changes + +2006-08-07 Shahms E. King + b382df5: clean up hal patch to use pa_xnew and timeval compatibility wrappers + +2006-08-07 Lennart Poettering + 5d8ccfd: try to reduce volume updates in the ALSA sinks/sources: only touch the shadowed hw volme if necessary + +2006-08-06 Lennart Poettering + d953870: * add SVN $Id$ tags * add a const + 050b739: merge HAL support from Shams E. King + +2006-08-03 Lennart Poettering + f74e5ef: update todo + ad95c96: implement "pactl move-source-output" + e52436b: implement pa_context_move_source_output_by_{name,index}() + 5fdc39d: wrap pa_source_output_move_to() in the native protocol + 1c45061: add new CLI command move-source-output as wrapper around pa_source_output_move_to() + 2d00de5: Implement pa_source_input_move_to() for moving record streams between sources + ddc69fc: - don't call pa_sink_notify in pa_sink_input_new() because the virtual methods are not yet initialized at this time - some minor cleanups + +2006-08-01 Lennart Poettering + 7f93d08: bump API and protocol version. Return PA_ERR_NOTSUPPORTED if pa_context_move_sink_input_by_*()is called for servers that don't support it + +2006-07-31 Lennart Poettering + bc30e2d: add new "move-sink-input" command to pactl + bb9b087: wrap PA_COMMAND_MOVE_SINK_INPUT for libpulse + 785477b: add new native protocol function for moving sink inputs between sinks + 304fcbb: add new commands opcode for moving sink inputs and source outputs + ccf67d2: deal properly with recursive module unloading + e2e94ca: fix bad memory access if a non-existing entry shall be removed from a pa_idxset by index + +2006-07-29 Lennart Poettering + d7ee1bc: fix module-gconf initialization + 646deea: don't hit an assetr if there are operations outstanding when the pa_context is destroyed + a7cf5e0: fix two typos (pierre, have you been sleeping? next time please the comments wrong but the code right, not the other way round! ;-)) + a1e8b09: add new CLI function "move-sink-input" as wrapper around pa_sink_input_move_to() + 5e92950: * implement "hot" moving of playback streams between sinks (pa_sink_input_move_to()). * optimize the adjusting of the volume in pa_sink_input_peek() a little + 4dd3b31: free the memblockq if we decide not to play it + f15b4c7: if the memblockq is empty, return -1 in all cases + 9310a2e: fix calculation of pa_usec_to_bytes, to make sure that it never returns fractions of a frame size + b325e07: handle EOF correctly if it is read before the stream was created + +2006-07-28 Lennart Poettering + d1db037: for the playing field of pa_timing_info use pa_sink_input::state == PA_SINK_INPUT_RUNNING. This means that this variable will now refer to the current state and not to the expected future state, which is probably more what clients expect. + f1c4611: fold the seperate variable pa_sink_input::playing into pa_sink_input::state as state PA_SINK_INPUT_DRAINED. The following mappings hold: + 12aa842: introduce pa_play_memblockq() which creates a playback stream and passes the data from the memblockq to it. after that is done, frees the memblockq + +2006-07-27 Lennart Poettering + ecd4655: update todo + c21f88c: load module-gconf in default install + 0dea223: introduce three virtual sink/source names: @DEFAULT_SINK@, @DEFAULT_SOURCE@, @DEFAULT_MONITOR@. Especially the latter is useful for connecting to the monitor source of the default sink. + fec7e9b: if possible do not unload already loaded modules when the gconf settings change. instead try to reuse already loaded modules as much as possible + 87d4f0b: because gconf doesn't provide real transactions we emulate our own with a "locked" gconf key + 6afb61e: remove superfluous code + +2006-07-26 Lennart Poettering + 358e577: remove two superfluous lines + 0d7be31: mainloop fixes: when disabling time events when dispatching them, make sure to adjust the cache time event and enabled time event counters + b2ad9a9: add some protection that the gconf helper process will be killed when the daemon process dies. make sure the gconf helper process doesn't keep open file descriptors belonging to the daemon; if gconf helper path + f5d29ac: add missing configure.ac checks for module-gconf + cc1d821: add new module "module-gconf" which reads configuration information from gconf. this will be used in my upcoming paconf module + +2006-07-25 Lennart Poettering + 61ce8bb: add new command line option --no-cpu-limit. This is useful when running PulseAudio in valgrind's massif or callgrind tools + 563fab9: Results of profiling PulseAudio with valgrind's callgrind module: rework the default event loop implementation to use PA_LLIST_xxx instead of pa_idxset; don't generate weakeup events if we aren't in STATE_POLLING; minimize dispatching of io events; cache next time event instead of traversing the list of time events on every event loop iteration; other optimizations + 216bdd4: split a few asserts + 32444f0: split a few assert()s + c41d749: add a few more g_assert()s and change all assert()s to g_assert()s + +2006-07-24 Lennart Poettering + 675bf2f: add autogen.sh for jhbuild (for you, elmarco!) + 0f8f5bc: bump version and sonames + +2006-07-23 Lennart Poettering + 3aac893: add massif target to Makefile + c85351b: as a result of memory profiling with valgrind/massif: decrease default hash table size from 1024 to 127. the hashtables are sparsely filled most of the time, so there is no point in allocating to much memory by default. + 95eee87: update todo + +2006-07-22 Lennart Poettering + 07a1c45: fix horribly broken glib timeout event handling + +2006-07-21 Pierre Ossman + b345af2: Use proper @libdir@ in pc.in files to handle x86_64 machines. + +2006-07-21 Lennart Poettering + a84a2f9: raise the default value for RLIMIT_NOFILE to 200 since 25 is apparently too small if every single GNOME apps thinks it needs to create its own server connection! + +2006-07-20 Pierre Ossman + 09e01af: Get ACL:s to work on Win32. + 4a59581: Fix incorrect call to nonexistant pa_log_warning(). + 0762af2: Only warn when running as root and not --system. + f3d4924: Centralise check if we're running as root. + 57d8a31: Move check for SUID into the caps functions. + 8d2dc9c: Handle user switch in a more platform independent manner. + b12f29d: Make sure parse_rlimit is only used when rlimits are supported. + 246e30a: Add missing header. + a3e7595: Make -1 mean "current group/user" so that some platform dependent calls can be centralised. + 7ba93eb: Protect platform dependent headers with ifdefs. + 2ad6938: Remove unneeded headers. + +2006-07-20 Lennart Poettering + 40b4089: remove access group setting from default client.conf + 55e97b8: fix a few @@ replacments + 6ad1f33: even more FreeBSD portability (thanks Flameeyes, again!) + 90b521d: add missing #ifdef HAVE_CREDS (thanks, Flameeyes) + 2683f25: some more FreeBSD compat from Flameeyes + b3d3d16: bump release and sonames + da1ec27: remove configurable client access group, since can never work on Linux anway, since SCM_CREDENTAILS doesn't allow sending supplementary GIDs + dd5fd8d: update todo + 44beeaa: implement "auth-ip-acl=" in the native and esound protocols + db75f68: actually ship src/pulsecore/creds.h in the tarballs + 30ada90: add IP address ACL subsystem + 2409f1a: add support to set resource limits for the daemon and set some of them to some sane values + 0ff247d: undo r1111 in some way: include sys/socket.h and sys/un.h but wrap it in #ifdef HAVE_xxx_H. This should be safe because config.h should be the first included header in all .c files and creds.h is never included by any external tools + +2006-07-19 Lennart Poettering + 703bb49: add a few comments + a382492: * add new function pa_check_in_group() * abstract credential APis a little bit by introducing HAVE_CREDS and a structure pa_creds * rework credential authentication * fix module-volume-restore and friends for usage in system-wide instance * remove loopback= argument from moulde-*-protocol-tcp since it is a superset of listen= and usually a bad idea anyway since the user shouldn't load the TCP module at all if he doesn't want remote access * rename a few variables in the jack modules to make sure they don't conflict with symbols defined in the system headers * add server address for system-wide daemons to the default server list for the the client libs * update todo + 340803b: use access group dedclared in ~/.pulse/client.conf instead of PA_ACCESS_GROUP + 2b31a90: update @@ tokens according to recent Makefile.am change + 45a9a8b: fix sed scripts according to #define renames + 9c87a65: * add new --system command line parameter to the daemon for running PulseAudio as system-wide instance * add PA_ prefixes to all global #defines * modify auth-by-creds: define a new group "pulse-access" which is used for authentication * add proper privilige dropping when running in --system mode * create runtime directory once on startup and not by each module seperately + +2006-07-18 Lennart Poettering + 9db7068: remove glib 1.2 adapter. It started to bitrot and wasn't used by anything anyway. + d7cdaf2: add two more \since + f4ec7d4: fix module-detect on FreeBSD (patch from Diego "Flameeyes" Pettenó) + 2c2abbb: turn the glib adapter into a single GSource instead of creating a bunch of seperate GSources for each event + ddd5acf: define proper typdefs for callback prototypes + +2006-07-17 Lennart Poettering + 64d87ac: change licensing blurb form "Library GPL" to "Lesser GPL" on request of Loic Minier. Effectively this means using the same license blurb like in all other source files. + +2006-07-17 Pierre Ossman + f5afb7b: Forgot to protect one access to with_creds with an ifdef. + 4b352e5: Restore SIGPIPE warning when the platform doesn't have MSG_NOSIGNAL. + +2006-07-16 Lennart Poettering + ba31adc: make pulseaudio compile again on FreeBSD (patch from Diego "Flameeyes" Petteno) + e45b1dc: todo + 9ced7f6: show summary after "configure" has run (closes: #22) + 3b2843d: show value of PA_SINK_HARDWARE/PA_SOURCE_HARDWARE in pactl + b91dd23: set is_hardware flag for a few hw plugins + 494fa68: add new PA_SOURCE_HARDWARE/PA_SINK_HARDWARE flag + 6e38949: add a new boolean variable is_hardware to pa_sink/pa_source to denote wether the specific device is a hardware device or virtual/software + +2006-07-15 Lennart Poettering + a537b01: update todo + +2006-07-14 Lennart Poettering + 55a8db8: improve latency calculation of NULL sink + d43bcb3: update todo + b8f9ae0: remove checking for SIGPIPE blocking from client code. Because we use send(,,MSG_NOSIGNAL) for most socket writes now the reason for SIGPIPE blocking is no longer give. We keep this check for the server side however, because pipes create SIGPIPE too but cannot be used with MSG_NOSIGNAL. Some modules use pipes for internal and external communication. + fc544a6: don't send SCM_CREDENTIALS on every sendmsg(), instead do it only on handshake + 3eeecdc: don't set MSG_NOSIGNAL for recvmsg(), since it doesn't make sense there + 860be2e: try to use send(,,MSG_NOSIGNAL) instead of write() wherever possible (which will allow us to drop the SIGPIPE check). Cache the results of the last write()/send() to make sure that we do not issue more than necessary system calls. + 350a253: remove vi'ism + dfd864a: update todo + 883ce83: add new test get-binary-name-test for testing pa_get_binary_name() + a87c43d: Don't call pa_path_get_filename() anymore since it is implicitly called by pa_get_binary_name() anyway + 881d4dd: * fall back to prctl(PR_GET_NAME) in pa_get_binary_name() if readlink() fails * call pa_path_get_filename() in all cases before returning in pa_get_binary_name(). We already did so on Win32, but didn't on Linux. + +2006-07-14 Pierre Ossman + 82e680c: Make sure the win32 default conf gets shipped. + +2006-07-13 Lennart Poettering + 5529604: support time events with NULL timevals which are OK in avahi, but not in PA. This makes padevchooser actually work on top of the new avahi browsing stuff + 7484b62: update todo + ceb1b6f: remove avahi/howl item from todo list + 3f0f4f5: remove howl-wrap.[ch] + 6f24a9d: remove HOWL snippet from configure script + 1fd18d6: * add proper error handling to pabrowse.c * properly destroy pa_browser object on exit + d989c69: add browser.h to doxygen docs + 76f93a0: * port libpulse-browse to use the native avahi API instead of the HOWL cruft * add new function pa_browser_set_error_callback() * add doxygen docs to browser.h + 3a81620: update module-zeroconf-publish to make use of the native AVAHI API, instead of HOWL + 10f7a64: make sure gccmacro.h and cdecl.h may be included at the same time as those headers from the avahi project + 8162164: check for avahi in configure.ac + +2006-07-10 Lennart Poettering + 3428f03: mark HAL for shams king + +2006-07-08 Lennart Poettering + 9c96bdc: * remove doc/ directory * move doc/todo to root dir + f87f3c8: unhide a few files + +2006-07-08 Pierre Ossman + e12ead7: Remove some unused m4 files. + eb4abb2: Fix typo. + +2006-07-07 Lennart Poettering + e16cdb5: remove all docs from tarball since they are now available on pulseaudio.org + 9a778bd: s/avahi/pulseuaiod/ + 7fe5e5f: replace remaining ML refs to polyp + 81eb4a2: fix mailman URL + 9e45991: update readme for 0.9.2 + +2006-06-30 Pierre Ossman + 8b0d134: Make sure we print the file name we actually use. + +2006-06-21 Lennart Poettering + 18b8b84: increase the maxium number of concurrent esd and native connections + 045b05c: include config.h in browser.c (closes #20) + 1710041: only interpolate when the last timing info told us the stream is indeed playing + +2006-06-20 Lennart Poettering + 74e958c: bump version number + 84907e6: fix segfault when module-alsa-source fails to load + +2006-06-20 Pierre Ossman + 320bedb: Fix handling of the io flags in duplex mode. + 1040b69: Warn when applications use SNDCTL_DSP_GET[IO]PTR even when they shouldn't. + 07edf59: Make fix_metrics() exit early so that it doesn't spam the output needlessly. + 1342999: Make sure we do not use pthread_yield() on platforms that do not have them. + 3b28358: Check for pthread_yield() as not all platforms have that. + 6ca46f4: Make interpol-test build on Win32 and non-pthread systems. + 3ff68bd: Fix the final few occurences of polyp. + +2006-06-19 Lennart Poettering + 230f97a: s/POLYP/PULSE/g + 6654e98: update docs + 3cf1621: * more s/pulseaudio/PulseAudio/ replacements * name the per-user dir ~/.pulse (instead of .pulseaudio), just like /etc/pulse/ + fe1dadb: update references to the pkg-config files in the docs + 0d97ac6: name the pkg-config files after the library names + 10b5e99: replace a few remaining uppercase "Polypaudio" occurences with "PulseAudio" + 955e33d: hide pulseadudio binary from SVN + 25f7969: rename polypaudio.h to pulseaudio.h + f44ba09: big s/polyp/pulse/g + dd21f11: unhide padsp + f6d1154: hide interpol-test + 40494c3: * rework latency interpolation to make it smoother * increase latency update interval to 100ms + 6eabab6: minor cleanups + 9f59b4e: add new test "interpol-test" + +2006-06-19 Pierre Ossman + c6d4cc0: Handle clients that just want to set fragment size (and not count). + +2006-06-18 Lennart Poettering + bd432f0: * add new argument 'exit_on_eof' to module-cli and make use of it if "-C" is passed to the daemon + +2006-06-17 Lennart Poettering + 5e1127a: * implement volume adjusting and mixing for S16RE * some optimizations + e26bd47: * make hw param settings easier to debug by splitting up long if * actually set the sample rate * disable resampling done by ALSA + +2006-06-16 Pierre Ossman + 8485a47: /dev/dsp should default to U8, not mulaw. + e66b0e6: Creating a stream might take some time, so check that it's in the right state before transferring data. + 6684264: Record support. + +2006-06-16 Lennart Poettering + a529b28: if S16NE is not supported, fall back to S16RE. If FLOAT32NE is not supported, fall back to FLOAT32NE. If still nothing is supported, try everything else in order + +2006-06-15 Lennart Poettering + 8e37d68: update todo + +2006-06-15 Pierre Ossman + 3fa491d: Make debug output in padsp a bit less verbose. Specifying -d twice will give original output. + +2006-06-13 Pierre Ossman + dd0f80e: Make a copy of the va_list as vsnprintf() is free to change it. + 0f13c43: Catch the access() system call as some applications do this to test if they can open /dev/dsp. + b5a8815: Make sure our inet_ntop() implementation gets linked into the new users. + 9288479: Tweak the printing of client connections a bit so that it's more apparent what and who it is that's connecting. + 7582f74: Handle pretty printing of IPv6 socket names. + +2006-06-12 Pierre Ossman + 519aa9b: Use AM_ICONV to determine what needs to be done for iconv support. (closes #19) + c32176b: Fix AC_CHECK_DEFINE so that we can look in different files for the same define. + 7c770e2: Also look in winsock2.h for INADDR_NONE. (solves #18) + 15a0b28: Properly escape the m4 macros and make the code a bit more readable. + +2006-06-11 Pierre Ossman + 75ac45b: Add all the preopen libs to the polypaudio binary's dependency list as they aren't automatically detected. (Closes #17) + +2006-06-03 Lennart Poettering + d8dafa0: rework ioline EOF handling to actually work properly + 2fa08ba: fix pa_xstrndup() implementation to not access potentially uninitialized memory + +2006-06-02 Lennart Poettering + 16a275a: actually build cpulimit support if SIGXCPU is available + 441362a: fix ugly access-after-free bug when doing asyncronous NS lookups + 8b0e6f6: update docs for 0.9.1 + e092336: bump version and soname + 7b961bd: Add new configure options to disable/enable specific modules at configure time. Original patch by ed@catmur.co.uk. (Closes #16) + +2006-06-01 Pierre Ossman + 02bfa3c: update todo + 7a52eab: Try the ltdl mangled name ourselves so that .la files for modules are optional. + +2006-05-31 Lennart Poettering + 8ca9568: remove superfluous prefixes from service names + ac7213d: update TODO + 79b6c31: decrease maximum allowed sample frequency for ALSA devices to 5%, since 48000 would otherwise match with 44100 + +2006-05-30 Lennart Poettering + 9f2026d: downgrade a log message + 64fa5b8: * alsa-sink: if "PCM" is not found as mixer track name, fallback to "Master" * alsa-source: if "Capture" is not found as mixer track name, fallback to "Mic" + bb820db: * if an ALSA device doesn't support the channel count requested, use what ALSA suggests instead * if an ALSA device doesn't support the sampling freq requested, use what ALSA suggests and resample if this deviates more than 10% from what we requested * fix segfault freeing an unitialized mixer_fdl field + 821a49b: update todo + 73eedcb: load alsa modules with device string hw:0 instead of hw:0,0 + 6140619: fix amd64 portability issues + +2006-05-29 Lennart Poettering + 21cb51b: merge patch from Igor Zubkov, fixing linking of the HOWL modules + ce04f0b: update svn:ignore to reflect the esdcompat name change + 632f5b4: drop the .sh suffix from esdcompat + +2006-05-26 Lennart Poettering + 3a868be: update README for 0.9.0 + f5a8885: disable padsp for the polypaudio daemon itself by defining the __padsp_disabled__ symbol + +2006-05-26 Pierre Ossman + c8e9fa3: update todo + 12dc4c2: Fix the fix_metrics() function so that we don't get a tiny buffer by default. + 7d90e3a: Fix typos. + 6aeaaf9: Returned buffer attr is const. + d142408: Explicitly check version number when determining which fields are in a stream create response. + +2006-05-25 Lennart Poettering + 099304a: update todo + 7d97534: * add new API function pa_stream_get_buffer_attr(). * modify pacat.c to make use of that new API * extend protocol to allow transfer of the necessary information * update protocol version accordingly + f3b7259: really fix a superfluous warning when building padsp.c + 4413b89: * split pa_cstrerror() into its own file polypcore/core-error.[ch] * fix building of padsp * remove a warning when compiling padsp.c + f8aa55c: move modules to ${libdir}/polypaudio-${PA_MAJORMINOR}/modules/ + fc8a2c4: add item about moving pa_cstrerror() to TODO + e07b262: update todo + ae80ab3: read stream and client name from $PADSP_STREAM_NAME resp. $PADSP_CLIENT_NAME, if available + 2bbd7ba: add support to disable emulation of /dev/dsp,/dev/mixer,/dev/sndstat selectively by either passing an environment variable or by defining a symbol __padsp_disable__ in the process + 2bb05ea: fix evil, evil typo that cause all gtk2 based apps to crash + 59d00e2: * issue volume updates syncrhonously * correct channel order of OSS volumes (swap left,right) + 0fb63e7: update TODO + +2006-05-25 Pierre Ossman + b754d50: Wrong prefix used in the padsp script. + d39740f: We only need the so for libpolypdsp. + ea7995b: Fix padsp script so that it accepts parameters, setting relevant environment variables as needed. + 0387b30: Use only the basename of libpolypdsp.so so that it will work on multi-arch systems. + 1799b7a: Move libpolypdsp in the makefile to avoid the libtool bug where it must come after any things it depends on. + +2006-05-24 Pierre Ossman + 6a7172e: padsp needs dlsym & co so make sure we get that lib included. + 3fa19ab: Fix warnings. + 2843b1a: Remove the exceedingly anal warnings. It's impossible to write a non-trivial C program and not trigger these. + c4328cd: Fix stray \ + +2006-05-24 Lennart Poettering + ca08e57: implement a /dev/mixer interface + 440b901: fix playback of small sound files + +2006-05-23 Lennart Poettering + 46fee46: implement emulation of /dev/sndstat + 23b123d: - use pthread_atfork() to disable open sound streams in the child after a fork. Obviusly sound won't work in child process but at least we don't leak fds from the parent. Now any operation on the device fd in the child will result in an EBADF error, which seems somewhat clean to me. + e99afda: pass the binary name as client name to polypaudio + 1031549: add new padsp utility: a $LD_PRELOAD wrapper for using the OSS API with polypaudio + 8f111b0: change return type of pa_cstrerror() to "const char*" + +2006-05-23 Pierre Ossman + 7906985: Cast size_t to long to be more compatible with 64-bit systems. + 1b72d02: Fix some warnings. + +2006-05-22 Pierre Ossman + d71dc9b: Fix TLS on Win32 to something a bit more safe and portable (compiler-wise). + 4e3dc7c: Wrap strerror() in a function that makes it thread safe and converts the output to UTF-8. + bf09399: update todo + +2006-05-22 Lennart Poettering + 97ec77c: add missing #include + +2006-05-21 Lennart Poettering + cc84fc9: add missing #include + 651e575: add new function pa_usec_to_bytes() as inverse of pa_bytes_to_usec() + +2006-05-20 Lennart Poettering + bc87137: doc update + 13329d3: fix long-standing buf that could cause polypaudio to eat 100% CPU: fix handling of event bits for pa_iochannel + cc61b57: rename pa_simple_get_playback_latency() to pa_simple_get_latency() and allow its usage on capture streams + +2006-05-19 Lennart Poettering + acc6552: generate PA_MAJORMINOR properly - only from major and minor, not from micro + +2006-05-19 Pierre Ossman + a3fe39a: Fix some missing headers. + a034b61: Fix which headers get installed for libpolyp. + c811351: Sort source files. + +2006-05-18 Pierre Ossman + 1dfe8f8: update todo + 1379831: Convert log text to current locale before passing it on to stderr or syslog. + 8359188: Make paplay convert names to UTF-8 before sending to the server. + 4981092: And functions for convertion to and from current locale and UTF-8. + 40d9f5d: Missing include of util.h. + 24a7819: Don't include util.h from core-util.h as it is not needed by many users. + 3ee2051: PATH_MAX needs limits.h. + 9ec9d28: update todo + 0796ead: Move timeval calculation functions into their own file. + +2006-05-17 Lennart Poettering + 5f458db: update README for 0.9.0 + 38cb138: modify lirc module to use pa_sink_mute() for muting and unmuting + 53a285e: fix include line for "core-util.h" + 40feedb: add C++ macros to utf8.h + ee4d6b0: add C++ macros to xmalloc.h + dc9151d: * add doxygen docs to header file * add C++ macros to header file + 6766a3b: add util.h to doxygen + 813868e: include util.h in polypaudio.h + c47e937: split polypcore/util.[ch] into polypcore/core-util.[ch] and polyp/util.[ch] + fbdb063: replace memory allocation function calls with pa_xXXXX() + 43813dc: include more files in polypaudio.h + 41baddd: add doxygen docs for utf8.h + 56d8e56: * make pa_xfree() a real function * update doxygen docs for xmalloc.h + 6e9f2d7: add utf8.h and xmalloc.h to doxygen docs + ee35a06: add new channel map argument to pa_simple_new() + 5f6d8c9: fix svn tag + cdd3588: more sensible default.pa file + 1cfb01a: add proper locking when accessing the file match.table + e0bf4a3: add proper locking when accessing the file volume.table + 1267285: add documentation for module-volume-restore + 6d281a5: update todo + db242e1: update todo + fa53ed7: * support native ULAW/ALAW file streams * fix shutdown of file streams + b47b257: support loading ULAW/ALAW files into ULAW/ALAW memchunks + e669553: * use S16NE for SF_FORMAT_PCM_S8 formats, too + 31a9d4f: when playing an ULAW or ALAW audio file, do not convert to S16NE unconditionally, instead use sf_read_raw() to read raw audio data + 106fb20: increase PA_CHANNELS_MAX to 32 + 270a409: use PA_CHANNEL_MAP_OSS in module-oss, module-oss-mmap + ed3606c: add new channel mapping standard PA_CHANNEL_MAP_OSS + +2006-05-17 Pierre Ossman + 7ca25e5: Move utf8 to the public part (libpolyp). + d9cc2cf: Move xmalloc to the public side (libpolyp). + e767fda: update todo + 6ab4213: Update documentation to contain the UTF-8 requirement. + d4d1e5e: Documentation for the threaded main loop API. + 71f681a: Set default channel map system for waveout module. + c752e11: Add Microsoft's WAVEFORMWATEEXTENSIBLE channel mapping. + 05c1468: Use default channel map for Solaris module. There doesn't seem to be a standard for > 2 channels, so we'll have to rely on the user. + +2006-05-16 Lennart Poettering + 4b6ab29: * modify pa_channel_map_init_auto() to take an extra argument specifying the standard to use (ALSA, AIFF, ...) * add some more validity checks to pa_source_new(),pa_sink_new(),pa_sink_input_new(),pa_source_output_new() + c63cc7b: change version number from "0.9" to "0.9.0" to make version comparisons easier + c2c8539: bump version number to 0.9 + 5521559: * add new configure option --with-module-dir= * drop version suffix from soname of libpolyp and friends * add version suffix by default to $(modlibexecdir) + 9298990: update todo + c12206b: * remove .a files from the modules directory after installation * rename $(modlibdir) to $(modlibexecdir) in accordance with secion 11.2 of the automake docs ("The two parts of install") + f272e59: tell svn to ignore the utf8-test binary + 56b685a: instead of kicking clients with invalid UTF8 stream names, filter invalid characters and use that instead + 5359593: add new test programme utf8-test.c + bf58753: add svn:keywords property + 78b23cc: add double include protection + e8cc63d: * remove "const" from return type of pa_utf8_filter() since it desn't make any sense * fix pa_utf8_filter() to not skip the next character too if it found an invalid one + 23e7454: use the new latency update callback to be notified when latency data becomes available again after PA_ERR_NODATA is returned by pa_stream_get_latency() + 724cd9d: downgrade a log message + 713637c: * fix segfault in pa_utf8_validate() * remove some compiler warnings * use our own pa_xmalloc() implementation instead of libc's malloc() + +2006-05-15 Lennart Poettering + 19167a1: add notification callback which is called when new latency data becomes available + 7a92f36: undo r868 + 147da3e: remove regex.h from include, since it is actually not used + +2006-05-15 Pierre Ossman + 9c8661c: Add function to filter a string of any invalid UTF-8 sequences. User must free() the result. + e91740f: Clean up the UTF-8 validation code. + 9c38744: module-volume-restore uses regexp() so make sure it's only built on systems that have it. + f468308: Include utf8.h for the validation function. + +2006-05-14 Lennart Poettering + 3f42878: update TODO + 45bbb34: add utf8 validity checking to esound protocol + d419d87: remove superfluous log line + cfb082a: take the filename specified on the command line as default stream name + a414cc2: check for valid utf8 strings + bf52fb9: add utf8 validity checking API + b10f2dc: update todo + b3e1655: add new module module-volume-restore which saves and restores volume of playback streams + be05b18: * add new parameter to pa_open_config_file() to specify open mode * modify pa_sink_input_new() to take initial volume settings as argument * call pa_sink_input_set_volume() when changing stream volume in protocol-esound.c to make sure that subscribe events are issued properly + e46f8f8: modify argument order of pa_client_new() to actually match how it is usually called + +2006-05-13 Lennart Poettering + 682dfd7: fix esound sample cache names + 0f22d63: * set default fragment metrics depending on the sample specs of the device in OSS and ALSA * fix fragment size calculation in module-alsa-sink + 0231e6e: first set buffer size, and afterwards period size + c3b9c3d: don't hit an assert when trying to resample data for 6channel audio + 7abf17e: fix fragment size calculation for module-alsa-source + b681202: use default alsa channel map for alsa devices + afdec05: remove superfluous log message + +2006-05-11 Lennart Poettering + 11782f0: fix hangup detection for recording streams + eecc04c: fix iochannel for hangup signals + f931486: update doxygen docs + 68b98f7: don't signal the accept_cond automatically when waiting for a signal event + e929aab: split of signal releasing into its own function and name it pa_threaded_mainloop_accept() + dbf62d4: add thread-mainloop.h to doxygen docs + +2006-05-11 Pierre Ossman + af54f9f: Windows support for the threaded API. + 3890f03: Remove some debug code that wasn't supposed to be committed. + 5328afe: pa_write() should use a const pointer. + 48d66cd: Handle pipes on platforms where they are non-existant of broken. We do this by creating a TCP socket pair instead of a normal pipe. Since Windows isn't UNIX-y enough to support read()/write() on sockets, we also need a wrapper to handle read() vs recv() and write() vs send(). + 12d4b5d: Include log header to get rid of warnings. + 18c5340: ANSI codes aren't supported on Windows terminals. + 6d2a936: Do WSAStartup() in the DLL entry routine instead of at context creation. + +2006-05-09 Lennart Poettering + 2687017: fix handling of timing status requests + 9efc206: update todo + +2006-05-09 Pierre Ossman + 4e71f20: Add stubs for the threaded main loop so that we can compile it on non-supported platforms (still can't run it though). + 06e1867: Use pa_msleep() to get platform independence. + +2006-05-06 Lennart Poettering + df3306c: rework the simple API to make use of the new threaded mainloop implementation + 4b4c8fd: * optionally, make pa_threaded_mainloop_signal() wait until the main thread took over control * more header file comments + 5f9bbf0: add support for reading audio data from a file instead of plain STDIN in pacat-simple.c + bb6c45d: remove bogus check that disallowed latency interpolation and stuff for record streams + 3f92e3e: allow signalling from event loop thread + +2006-05-03 Pierre Ossman + 4cff5d3: update todo + +2006-05-02 Pierre Ossman + c2c9f25: Fix control flow in pa_oss_open(). Also fall back to half duplex when device doesn't support full. + 27cee2e: We need to read the cookie in binary mode for things to work correctly. + 1438bd4: Windows doesn't have POSIX thread. ifdef out things for now. + +2006-04-30 Lennart Poettering + 9e60bad: add new threaded main loop implementation (with test/example) + f2fbceb: * make sure the wakeup fd is polled on wven when no other fd is registered for polling * initialize mainloop return value to -1 * some optimizations + +2006-04-28 Lennart Poettering + 19c9dbf: fix date + +2006-04-28 Pierre Ossman + 6060bff: When a control is removed, all bits are set so we need to test for that first. + 53930f4: Zero the fd list since we do a memcmp on it later. + +2006-04-27 Lennart Poettering + cd93661: ouch! + +2006-04-27 Pierre Ossman + 22c679e: Clarify how the automatic channel map is generated. + 99612dd: Channel map argument support for solaris. + 0b95438: Channel map argument support for waveout. + 2c08180: update todo + +2006-04-26 Lennart Poettering + c29b3f1: doc update for 0.8.1 + dff0822: bump version number + 9564cef: fail if the channel map doesn't match the sample specs + c27b140: allow the user to specify an alternative channel map in paplay too + d78e466: fix volume range printed on --help + 7b83904: if a sample is not yet loaded, don't print rubbish about its channel map + d4bad65: it was a bad idea to require that a channel map doesn't contain the same position twice + c3cc141: allow specifying the channel map to use on the command line + c478b0f: * make a validity check of parsed channel maps before rteurning theme * don't overwrite the return buffer unless the parsed channel map is known to be valid + 185a57c: support new channel_map argument in sink/source modules + fbb0d14: add support for parsing channel maps as module arguments + 292b237: don't allow channel positions to be specified twice in the same channelmap + 5f7cc0c: add new test 'channelmap-test' + 195e969: * add new function pa_channel_map_parse() * increase PA_CHANNEL_MAP_SNPRINT_MAX * add "top" channel positions + +2006-04-26 Pierre Ossman + 31ad62f: update todo + +2006-04-25 Pierre Ossman + 129853f: update todo + 69096f2: Fall back to software volume if hardware mixer cannot control all channels. + f426b58: glibc <= 2.2 has a broken unistd.h, lacking setresuid(). + +2006-04-24 Lennart Poettering + 820c118: * rework reference counting in the client libraries: now refcounting goes strictly "one-way" - the "bigger" object refcounts the "smaller" one, never the other way round. + +2006-04-24 Pierre Ossman + d266213: chown() and chmod() aren't available on Windows. + fade8b0: Undo invalid automake version requirement. + +2006-04-23 Lennart Poettering + b92344f: fix a segfault when uploading samples with esound + 3590ee7: * add validity checking for sample_spec, channel_map and cvolume structures * return PA_ERR_TOOLARGE when the user tries to upload a over-sized sample * notify the user if uploading a simple faield due to some reason + 286310a: small optimization + 9b52ac4: fix sample uploading + e1ac42d: enforce maximum sample size in sample cache + cdba052: * fix ref counting of pa_stream: strictly refcount from context to stream and never vice versa to make sure that we never loose memory * don't hit an assert() in case of a timeout events + 193fb12: introduce a new error PA_ERR_TOOLARGE + 335e234: * when playing back a sample from the sample cache, just take a pa_volume_t and not a pa_cvolume_t as argument for the volume. Usually it is not known to the player of theses samples how many channels it has, hence it doesn't make any sense to allow him to pass a by-channel volume structure here. * fix volume calculation when playing samples from the sample cache + 4e61ebb: fix multiplication of software pa_cvolumes + b4ac6d0: allow recieving of invalid channel maps, volumes and sample specs. This makes handling of uninitialized data better, e.g. when sending info about lazy-load sample chache entries, where the channel mapping and sample spec is still unknown. + 8345063: * Merge build system patch from Igor Zubkov * Build libparseaddr.so before libsocket-client.so + +2006-04-22 Lennart Poettering + 2bb8283: remove superfluous "set -ex" line + 985da9b: require automake 1.9 in configure.ac + f6fc410: modify x11 modules to not cache the Display variable since pa_x11wrap_get_display() is now used as notification that the x11 output buffer needs flushing + ec65ca6: when loading sound files, initialize channel map data properly + 5e50f84: fix x11 handling + 55e19cb: fix sample cache + 0e02e84: * for unix sockets: remove the right parent directory on shutdown * other cleanups + a4fedcf: add new function pa_parent_dir() + 513df3b: first unlink the socket, the close it + b0059c6: try to remove the directory where the PID file resides in after removing the PID file + 0cc2e04: chown() and chmod() /tmp/.esd/ before checking if everything is ok with it + +2006-04-20 Lennart Poettering + a7c5ed1: replace copy by symlink when installing homepage + 5f804cb: minor improvements to the LICENSE text + 9c06f5a: ship GPL and LGPL files with the tarball + 81381c4: add new explaining LICENSE file + 2decb6a: * rename "LICENSE" to "LGPL" * add GPL text * update LGPL text in regards to FSF addresses + +2006-04-20 Pierre Ossman + 1b46097: update todo + +2006-04-19 Pierre Ossman + e4b53b2: Tweaks for the solaris module. The sound system requires complete frames to be written. Also, the sample counter can magically go backwards sometimes, causing havoc with our buffer handling. + 989fa58: Sun's documentation about SIGPOLL on EOF:s is wrong, so use a timer based solution instead. + 1d51247: Minor fixes for the way Windows handles sockets. + e1513ce: WaveOut needs to have rather large chunks. This is about as low as we can go without getting underflows. + 5342f3a: Win32 needs to have the socket subsystem initialised. + 6ae8511: Having constant deferred events isn't allowed and causes problems. Use timers instead. + 4bb5822: Reverse order of IPv6/IPv4 binding to handle systems without IPV6_V6ONLY. + +2006-04-18 Lennart Poettering + 494f602: make proper use of the muting facility of sinks in module-mmkbd-evdev + 746adcf: fix a couple of issues I found when compiling polypaudio with gcc 2.95 + 60008cb: fix CFLAGS for jack modules + 9ad753e: fix "make distccheck" properly + 65fd9b3: fix make distcheck + e454bb1: Documentation updates + c35052a: add JACK module documentation + a5100be: fix connecting of jack source in jack daemon + a809129: build jack source + 768a6f2: fix code for pre-C99 + f8dbc2f: * fix pa_random_seet() function prototype * drop pa_ prefix from pa_random_proper(), because it is a static function + abea726: add a jack source module + cf85794: * allow the user to set the jack client name * take the number of channels for the sink from the number of physical ports in the jack server * name the polypaudio ports in the jack server after their channel position in polypaudio + +2006-04-18 Pierre Ossman + c22a0c1: Make the probe for RNG sources at runtime since the configure script isn't compatible with cross-compiling. + e4b2a47: Clarify that JACK libs are optional. + 074b7c1: More fixes caused by Sun's complete inability to follow any standard whatsoever. + 18055e4: update todo + 2d6ab01: We need to emulate sendmsg/recvmsg to support rtp on Windows. Will do this some time in the future. + c3087d0: Avoid including non-portable header sys/poll.h. + 8b99a06: C99 requires explicit marking of integer literals' size. + +2006-04-17 Lennart Poettering + 4482e68: add new JACK sink + +2006-04-16 Lennart Poettering + 40f171f: * add pa_mainloop_wakeup() calls for deferred events * place pa_mainloop_wakeup() calls a little bit more carfully, to minimize needless wakeups. + 76296ca: add new API to replace the poll() function used by the main loop implementation + a8bb073: properly initialize session counter + 7871f41: add documentation for the new RTP modules + 2f3fa42: limit number of concurrent RTP streams + 08397d9: fix typo in module description + e1887b5: change default mcast address once again, to make sure our traffic doesn't leave the network by default + 68a6d61: ignore symdef file of module-rtp-send + b04a4e6: rename module-rtp-monitor to module-rtp-send + 3b803e7: * make sure RTP ports are chosen to be even + c999fe4: * deal properly with underruns, overflows and packet losses * change default mcast address * detect RTP loops + 67b105b: * increase default MTU * change default mcast address to 224.0.1.3 * randomize RTP ports by default + 998affc: replace homegrown endswith() with pa_endswith() from util.h + 0990d8c: initialize random seed globaly from $RANDOM_DEVICE + d50255a: * add new check for $RANDOM_DEVICE * move AC_SYS_LARGEFILE to avoid autoconf warning + a176d77: todo update + f1ddf05: * add RTP/SAP/SDP reciever module * use server cookie as RTP SSRC * enable SVN keywords * add new option "loop" for RTP sender module + +2006-04-16 Pierre Ossman + e75cc68: Fix ALSA fd handling to be compatible with blocking deferred events. + e8d9a5d: Clarify behaviour of deferred events. + +2006-04-15 Lennart Poettering + 1fec416: * change default multicast address * fix timestamp calculation + 71227de: correct some types + +2006-04-14 Lennart Poettering + e0e2b8f: * ignore some more files * make necessary changes to Makefile to compile RTP module + 9522b44: add an RTP sender module + 86ad601: minor beautification + +2006-04-13 Lennart Poettering + 9539dc4: minor doc updates + c383a4c: * add a link to Cendio to the README + d981ace: remove yet another item from the todo list! This means we are now read for 0.8! + 7e8d46e: unbreak module-tunnel + d153fda: remove yet another item from the todo list + 010c049: include in-flux resampled chunk in latency calculations of playback streams + c25c549: fix latency calculations of module-combine + 9854cfc: hmm, nothing important + fe64b89: add code to allow polypaudio dump preloaded modules using "--dump-modules" + d4b22f3: make --enable-force-preopen the default for SVN builds + 1f7a008: add new configure option to enable preloading even on architectures that support dlopen(). Useful for debugging + df108af: update documentation for release 0.8 + 5639b7e: doc updates + 20f4ae6: more documentation updates + ceb09d8: Documentation updates + +2006-04-12 Lennart Poettering + b33ae79: remove yet another item from the todo + 7fa8323: include local record memblockq in latency calculations + 06bd27b: when storing recording data in file, create file with proper access rights + 4a8d318: yet anotrher fix for slow links + 0af582a: small fix to deal properly with slow links + bf88854: * dispatch defer events in pa_mainloop_dispatch() and not already in pa_mainloop_prepare() * fix the "timeout" parameter of pa_mainloop_prepare() * remove pa_mainloop_deferred_pending() and update the simple API accordingly + 853caf1: * fix latency calculation where a full playback buffer was erroneously taken as empty buffer and vice versa. + 0fa56f9: remove a bunch of log messages + d427942: beefup pacat a little: * when -v is passed, show current playback time and latency * modify SIGUSR1 behaviour to show only playback time and latency + 49b3150: * rename "latency correction" to "write index correction" * add read index invalidation code * rename "ipol_event" stuff to "auto_timing_update" * remove buffer_usec field from pa_timing_info, since it can be easily calculated from write_index and read_index anyway * add read_index_corrupt field to "pa_timing_info", similar to the already existing write_index_corrupt field * restart automatic timing update event every time a query is issued, not just when the last event elapsed * proper invalidation code for pa_stream_flush() * do tarsnport/sink/source latency correction for playback time only when device is not corked + 77c2a1f: protocol change: don't send stream buffer size in latency update. This data is redundant, since it can be calculated from write_index - read_index anyway + b5d177d: proper validity checking for pa_context_is_pending() + a0c7ca0: when flushin a memblockq, set the write index to the read index + 64d0d9b: todo update + +2006-04-10 Lennart Poettering + 268c857: unbreak fresh SVN builds + b2668ca: return the error code and not just -1 when pa_context_is_pending() fails + a81209f: validity checks for pa_context_is_pending() + 09589a7: update todo + 021744d: * Beef up latency calculation in module-oss-mmap * Add recording latency code for module-oss-mmap * other cleanups + 8f2d9ae: minor cleanups for OSS module + 9332708: when using record mode, allow file to save data to to be passed on the command line + 6a3b8ae: todo update + 137f0a7: * implement PA_STREAM_AUTO_TIMING_UPDATE * accept PA_STREAM_NOT_MONOTONOUS properly + 190a869: add new PA_STREAM_AUTO_TIMING_UPDATE + 4496954: Lennart is blind + 35ea8ac: update TODO + f4119ad: unbreak last commit from ossman + +2006-04-09 Pierre Ossman + 0d200ee: Use the modern Ki/Mi/Gi prefixes to clarify that 1024 is the base. + a6ce5c4: Big documentation update. Describe the client API in a more tutorial like manner. + +2006-04-08 Lennart Poettering + a742536: clip volume at PA_VOLUME_NORM for alsa devices + 025228f: add proper volume clipping support for OSS devices + b4a5474: when doing software volume adjustments, don't use the volume value as linear factor, but pass it through pa_sw_volume_to_linear() first. + +2006-04-07 Lennart Poettering + 107525c: remove another item from the todo list + a546c76: * show flags value when dumping sink/source info in pactl. * show volume for sources, too * show value of "mute" field for sinks/sources + f6d95b7: add new introspection data field for sinks/sources: a flags field which specifies whether the sink/source supports hw volume control and latency querying + 272ab20: todo update + 4af16e4: minor cleanups + 7261494: remove item from TODO list, since it requires the SNDCTL_DSP_GETERROR ioctl() which isn't supported by the Linux kernel + 2f918f0: todo update + fdb48b4: * enable write_index correction and timing interpolation only for playback (and record) streams + 22558b5: fix pkg-config files + e5a5b56: remove yet another item from the todo list + a9f4896: hdie some more + b8a729a: * update docs for reworked latency API * rename pa_latency_info to pa_timing_info, since that describes better what it is. Most people will only use pa_stream_get_time() anyway + c0592bb: update simple API for new latency API + 53a0056: update pacat.c for new latency API + 920f045: rework latency querying API (this needs more testing) + cc302f2: remove queue length field from latency request (server side) + +2006-04-07 Pierre Ossman + add110b: Some memcpy arithmetic that wasn't removed when doing the redesign to update the data pointer instead. + +2006-04-06 Lennart Poettering + dd9605b: * really pass the ipv6 socket server to protocol_new in case of ipv6. * create the pa_modargs object properly when using TCP * other cleanups + 1be0017: change pa_gettimeofday() to return a pointer to the struct timeval*, instead of an int + e872c75: s/index/idx/, to avoid gcc warning + 73035a8: * set IPV6_V6ONLY for IPv6 sockets, to avoid warning when both ipv6 and the ipv4 sockets try to bind to the same port * enable SO_REUSEADDR only on platforms that support it + ac3d11f: remove some GCC warnings introduced by improperly casting to (char*) instead of (const char*) + +2006-03-31 Pierre Ossman + acb96c9: Fix some warnings caused by size_t having varying size. + 3285403: Large file support. Polypaudio probably doesn't need it, but it causes warnings when linking libpolyp with applications that do. So this is just to make life easier for other applications. + +2006-03-17 Pierre Ossman + 8d4af80: update todo + +2006-03-11 Pierre Ossman + dc5b2c5: We no longer guarantee that an operation object is returned. Need to tweak some parts to handle this. + da90b05: Remember to store the struct with module info. + +2006-03-08 Pierre Ossman + 3ef4970: We filled the volume with the wrong channel count (we used the input, not the output) causing static. Also swapped the comments since they were misplaced. + +2006-03-07 Pierre Ossman + 528d150: The extra stream ref actually did some good. Re-add it, but with some more symmetry, assertions and comments. + b67963c: We've already set an initial reference count of 1 so don't count it up again. + 6457137: Trying to listen on an IPv6 socket by default and only do IPv4 if that fails (which it doesn't most of the time) is terribly confusing. What the user most likely wants is for it to listen to both IPv4 and IPv6 and gracefully continue if only of them succeed. + +2006-03-05 Pierre Ossman + 90d6a91: update todo + 53c266f: Fetch sound card name into sink/source description. + 06eaebf: update todo + 7387342: Volume support in tunnel module. + 4e56725: It's safer to set buffer size than to try setting number of periods. + f22d8ab: Return the proper error code so that we get a correct error message. + 7b6a9c3: Tried to get the volume information even upon init failure. + +2006-03-04 Pierre Ossman + dcd202f: Update module-tunnel to the new protocol. + 45baa69: Fix warning caused by missing return in main(). + ad7640b: update todo + 4e52294: Alignment safe protocol handling in esound module. + +2006-03-02 Pierre Ossman + bc97b29: Negotiate protocol version between server and client. Will allow smoother protocol modifications in the future. + fbaaf5a: The tag argument is no longer unused. + 50268e0: Fix warnings on 64-bit systems. + 6cc11fb: Handle the new latency protocol. This is just a quick fix and does not handle the new memblockq system. + 7f04568: typo fix + +2006-03-02 Lennart Poettering + 8cf9b97: protocol changes for new latency API (partial!) + +2006-02-27 Pierre Ossman + 76f56ab: update todo + 5b9849e: update todo + 4756d18: We have both sink and source in this module. + e8b3819: Catch volume update events. + 1bb14c3: 64-bit fixes. + f59bc1f: Fix some signed/unsigned warnings. + e37f008: Function prototype didn't match actual definition. + +2006-02-26 Pierre Ossman + 0c65922: update todo + 1e68539: Get notifications about mixer changes from ALSA. + ae07d5a: Handle ALSA file descriptors more correctly. This means a bit more overhead, but following their API properly should avoid problems in the future. + c119996: Fix correct default device. + b125e1c: Hardware volume support in ALSA modules. + +2006-02-24 Lennart Poettering + c5ec39d: move scatter/gather todo item to post-0.8, since it's impact on perfomance might not even be worth the effort. + 0d8da54: todo update + 4358977: * Add new "auth-group=" parameter to protocol-native-unix * Rename "public=" argument of protocol-{esound,native} to "auth-anonymous" + 3f264b2: add support for authentication using SCM_CREDENTIALS + b967aeb: todo update + 903b8c0: todo update + c2304d6: add a few more validity checks to protocol-esound + +2006-02-24 Pierre Ossman + 25bcc10: Do an explicit cast to shut up gcc. + c3a2670: This wasn't supposed to be checked in. + b418809: Wrong variable used for port. + 9f1b793: Tweak the handling of missing credential support so that we minimise non-POSIX headers in our headers. + a1f5573: Call correct function. + c205ea6: Make local function static. + 9366ab9: Hardware sink mute support. + 3374df5: IGAIN is a better choice than IMIX for source volume. + +2006-02-23 Pierre Ossman + 65736a2: Some new additions were mislabeled as '\since 0.9'. + 04c8926: Mute switch for sinks and sources. This is independent of the volume setting (similar to ALSA). + bd4ae44: update todo + 607b279: update todo + 79e8009: Hardware source volume support. + 4e8faa6: inet_pton expects in[6]_addr structures, nothing else. + adad7dc: Add inet_pton emulation for platforms that lack it. Only support IPv4 at this point. + 7050dbf: Update hardware volume to a correct initial value. + f8aca21: Wrong function name. + 12e35c5: Make sure hardware volume gets a correct initial value. + ce9b035: Hardware source volume support in OSS. + +2006-02-23 Lennart Poettering + c2290c5: update todo + a4ab652: really ignore pabrowse + 2756117: ignore pabrowse + 4a64b0d: change pa_log() and friends to not require a trailing \n on all logged strings + cb59817: simplify tagstruct creation + 5771335: fix source volume adjustment: copy memchunk before changing the volume of it + +2006-02-22 Lennart Poettering + 708c650: enforce maximum memblockq length for clients + bad8fd7: update todo + ecd346f: add listen= parameter to tcp protocol modules + 8df72bc: todo update + 5c7ab77: pkg-config update + 7f68c91: revive howl support + 361f167: unbreak Makefile.am + 63165d8: todo test + a99e46d: rework parameter validity checking in protocol-native server side + f62b66a: todo update + bf013f8: todo update - outline what i consider pre-0.8 and post-0.8 issues + +2006-02-22 Pierre Ossman + 71fd26f: Wrong userdata used to init operation. + cc2178e: Support for setting volume on sources. + 6cd2250: Remove polyplib-error and polyplib-mainloop for requirements. + +2006-02-21 Lennart Poettering + 8d88264: add hw info to description for oss-mmap, too + 5014db9: include hw description gathered from /dev/sndstat in sink/source description string + 6169bd8: add new utility function pa_endswith() + 13b4213: remove left-over log line in protocol-esound.c + 9d3dcef: todo update + a10257d: fix pacat + 36c8861: todo update + 8c80dd6: * Don't build seperate ipv4/ipv6 versions of the protocol plugins * Instead try IPv6 and if that fails fall back to IPv4 + c07928a: todo update + 4f511bb: * Get rid of libpolyp-mainloop * Remove pkg-config file of polyplib-error + f1a0ee7: todo update + 893204f: add hw volume control for module-oss-mmap + +2006-02-21 Pierre Ossman + 48b2e1a: update todo + 7e51237: Hardware volume support on Windows. + +2006-02-20 Lennart Poettering + 86124ab: todo update + cae2d80: disable SIGPIPE before calling pa_core_new(), this way the warning message is not printed + 1506c15: build defer() function in src/polyp/mainloop-signal.c only on win32 + 9bcb413: fix snd_pcm_hw_params_set_rate_near() usage + 56ce62a: build dllmain.c only on win32 (makes gcc shut up a little more) + f5e8953: todo update + d48912b: improve error checking in simple API + 2bdc07e: add validity check for the "server" parameter of pa_context_connect() + 0858ef9: fix yet another pa_context_connect() occurance with regards to the flags parameter + a8e85ba: remove a superfluous log line + 31a027b: change calls of pa_context_connect() to pass flags arugment correctly + b008941: fix moddir + 71b3bff: * modify pa_context_exit_daemon() to return a pa_operation object * add callback prototypes to all introspection functions in client lib * add proper validity checking and error handling to all functions in the client lib * other minor cleanups * todo update + 98cb6aa: * a lot of doxygen updates * s/pa_operation_callback/pa_operation_callback_t/g * add more typedefs for function prototypes * add API to query the channel map used by a pa_stream + 71e063a: todo update + ddd51e2: add doxygen docs for channel map + 3bc0902: minor doxygen fixes + 6d09602: replace "spawn" parameter of pa_context_new() with a proper flags parameter + e078f08: explcitily cast strings to make gcc shut up + 4566d56: * Make typdefs for the pa_context callback prototypes * s/pa_context_notify_cb/pa_context_notify_cb_t/g + b36ed4d: remove cdecl.h from doxygen docs + 081fb74: update TODO + 16285f9: make doxygen ignore PA_CDECL_BEGIN/PA_CDECL_END + 3044490: 1) Add flexible seeking support (including absolute) for memory block queues and playback streams 2) Add support to synchronize multiple playback streams 3) add two tests for 1) and 2) 4) s/PA_ERROR/PA_ERR/ 5) s/PA_ERROR_OK/PA_OK/ 6) update simple API to deal properly with new peek/drop recording API 7) add beginnings of proper validity checking on API calls in client libs (needs to be extended) 8) report playback buffer overflows/underflows to the client 9) move client side recording mcalign stuff into the memblockq 10) create typedefs for a bunch of API callback prototypes 11) simplify handling of HUP poll() events + +2006-02-20 Pierre Ossman + 7905e81: Add aligment fix in esound to todo. + 5d253cd: Fix some warnings by making sure we have the right signedness on things. + 502d3f5: Hardware volume support for Solaris. + f2292ae: Fixes for the Solaris detection. + 5cc0d0e: Add mute switch to todo. + 6c2d414: Detect support for Windows' waveout. + d1bc972: Detect support for Solaris (/dev/audio). + 0eed96d: Remove a debug fprintf that was left in. + e9658bb: util.c uses some socket functions so we need winsock on Windows. + +2006-02-18 Lennart Poettering + 0876b1b: update todo + +2006-02-17 Pierre Ossman + b26df7e: Properly clear members during init. + d142c12: That's a delta parameter, not a size parameter. + 45700da: Have a memblock queue on the client side during recording. This makes the record callback optional in stead of mandatory. + 6f9a367: Ignore generated win32 binaries. + 162a95d: Module needs stuff in libpolypcore. + 2686857: Fix path to poll.h. + c4cf7ad: Fix typo in #ifndef. + da665d5: Integrate error routines into libpolyp. Not much point in having this as a separate library. + 1eae42f: Make sure that all polypcore headers are installed. + 5eda18b: Cleaned up the includes after the restructuring. Indicate which headers are public and which are internal through <> vs "". + c278bc6: Move the util libs to the modules section since they're in that directory. + +2006-02-17 Lennart Poettering + b951308: fix doxygen + +2006-02-16 Lennart Poettering + 2e0dcc4: include header files in simple.h with <> instead of "" + 5ccf414: * rename polypcore/subscribe.[ch] to polypcore/core-subscribe.[ch] to avoid confusion with polyp/subscribe.[ch] * same for scache.[ch] + b4cb249: shorten include list of utils a little + 19b5b71: * drop polylib prefix from #define * include error.h from polypaudio.h + 45b1eee: fix compilation of simple API + 22c8ceb: drop polyplib- prefix from client library files + f49b09d: make channel naming somewhat RFC2551 compliant + 4ad2926: add a bunch of simple Makefile in the subdirs, just to make compilation with emacs easier + c75972f: move alsa-util.[ch], oss-util.[ch] and howl-wrap.[ch] to the modules directory since they are just helper source used exclusively by the modules + b56b9e5: * svn:ignore some files * move configuration files to the directories they belong to * built esd-compat.sh in the src/ dir + 5b881e6: add simple hardware auto detection module + 6ad876e: Add HAVE_ALSA and HAVE_OSS defines + 61fbafc: allow polypaudio to startup without any enabled module + a9950d4: print ALSA error messages on failure + cc3fe43: fix warning text + +2006-02-16 Pierre Ossman + e205b25: Reorganised the source tree. We now have src/ with a couple of subdirs: + +2006-02-15 Lennart Poettering + 22e1f40: todo update + +2006-02-14 Pierre Ossman + 0f0fc32: Fix api. Setting volume is done through a pa_cvolume struct, not a pa_volume_t scalar. + +2006-02-13 Pierre Ossman + f77d5e1: Add function to "wake up", i.e. interrupt, a running poll(). This is needed when having the poll() in a separate thread. + bbaf154: Split mainloop_iterate() into three, distinct parts. Allows for more flexible use, like having the poll() run in a separate thread. + +2006-02-10 Pierre Ossman + 4ab432a: Fix some new alignment bugs in the tagstruct handling. + 8d91ffe: Install the new headers for channels and volume. + +2006-02-03 Pierre Ossman + d9bfd5b: Let's have just one endian conversion macro suite. + 5c01c10: Fix endian conversion macros and reformat them to be a bit more readable. + d431e00: Use defines and not hard coded values for volume levels. Caused incorrect volume levels for all esound clients that changed the volume. + bbc6dd6: Volume adjustment must be done _after_ dropping the chunk since drop will reject a modified chunk. + c34f35a: Reverting an incorrect checkin. + +2006-01-30 Pierre Ossman + dd7b380: Fixes for the new infrastructure so that the waveout module compiles. + 7da06d3: Fixes for the new infrastructure so that the solaris module compiles. + 22db575: Breaks missing from conversion to a switch statement. + f8808a2: Print an error message before aborting. + +2006-01-28 Lennart Poettering + db6dc13: * add variadic function pa_tagstruct_get() and pa_tagstruct_put() for parsing/constructing tagstruct records * convert some of the tagstruct uses to this new API + +2006-01-27 Lennart Poettering + 8580967: add support more for up to 16 auxiliary channel positions + dd10c98: Mega patch: + +2006-01-27 Pierre Ossman + 759721c: Remove the version number from the module directory. Makes life easier for any external projects that need to use that directory. + +2006-01-25 Pierre Ossman + 917d876: We get the -lcap through LIBS, so no need for CAP_LIBS. + 104797b: Use AC_SEARCH_LIBS instead of AC_CHECK_LIBS since it is a lot smarter and doesn't add unnecessary libs. + +2006-01-20 Pierre Ossman + 30bb5ce: Fix so that peer name can be determined on Windows. We do not support console on Windows at this time so we do not have to worry about that right now. + +2006-01-19 Pierre Ossman + 60dbf8b: Open the device in non-blocking mode. + 0ca9a0e: Ugly hack to get around Solaris particularly brain dead sound system. The system has a buffer size of 0.5 MB which cannot be changed. We emulate a smaller buffer through some SIGPOLL trickery. + +2006-01-16 Pierre Ossman + 719c377: We need a logical, not an arithmetic shift here. So use unsigned types when doing the shifting. + +2006-01-12 Pierre Ossman + 262c60f: Under win32 we freed the wrong pointer causing a segmentation fault. + cb2a7ed: Some crappy hardware generate noise on the output when reading input. To avoid triggering this needlesly we tweak the algorithm a bit to avoid reading when nothing is connected to the source. + 289c914: Some drivers (via82xx) doesn't start recording until we read something. This is ugly, but unfortunately required. + fc93e4b: Used 0 as an invalid fd. Changed to -1. + f61be8b: If the card couldn't do duplex when required we would incorrectly return success from this function with a closed fd. + +2006-01-11 Pierre Ossman + 72316cc: Many (FSF and Sun at least) have interpreted the C99 standard in a way that int64_t and similar types are only defined on 64 bit platforms. Using -std=gnu99 lifts this rather silly restriction. + 2623edc: Remove the old compiler flag test now that we have a new shiny one. + 70ac72e: Our makefiles work just fine on older automakes (1.7 tested). Let's keep this out until we run into something that doesn't work. + +2006-01-11 Lennart Poettering + 1f09613: * remove a lot of compiler warnings introduced by using some new GCC flags * add typedefs for public structs and enums and drop the struct/enum prefixs from all uses where it makes sense + +2006-01-10 Lennart Poettering + 6c512fb: build system updates, including support for some newer GCC options + f7a99e9: Merge Pierre's changes + +2006-01-10 Pierre Ossman + 34e81ff: Handle Windows paths when normalizing authkey path. + 29118f5: Make sure the caps header check can also be disabled. + 1015ea4: Store previous reported time in order to assure a monotonic clock. + d429222: Accidental use of a swapped int. + 11c6cac: buf is needed on Windows aswell. + abdf9b1: Add needed error code. + 0a9abdd: Unfortunately Windows has two different values for EBADF depending on if it's a file or a socket. We'll have to deal with these as they show up. + ba06340: Add some required headers. + 357ab88: Make sure socklen_t is defined. + 5e5808a: Static libs bork the creation of dlls and AC_CHECK_LIB isn't very bright, so we have to do a test first to see if getopt_long() is included in the system libs. + ff4cc62: Move library checks to a separate section and make sure it's before function checks. It could miss functions because they are hidden in extra libs otherwise. + f5a2cf1: getopt_long resides in libiberty on many platforms. + +2006-01-09 Pierre Ossman + 76bc56c: Put inet_ntop() emulation in a seperate file. + d3cb144: Update comment for pa_lock_fd() to reflect that locks are mandatory on Windows. + 160d886: Merge with trunk. + 8258146: Generalise lstat fallback. + 5fcbf04: Condense winsock includes and defines into one header. + 9818d67: Make the tagstruct handling safe on machines with alignment restrictions. + 8a32357: Make sure the data gets endianness conversion. + +2006-01-09 Lennart Poettering + 80ae72c: improve sync clock change + 794033a: fix synchronized clock change + +2006-01-05 Pierre Ossman + 067c00f: Reversing incorrect commit. + 72795fc: Use autoconf detected define for getgroups() type. + d5ce3ec: Ignore windows exe:s. + 1b472f7: Solaris support. + 6781628: The Windows sound interface module. + 19d9fcb: Port to Windows. This is mostly glue layers for the poor POSIX support on Windows. A few notes + 2f74bb9: Protect pthread.h with an ifdef. + bdc02f7: Protect sys/resource.h with an ifdef. + 67833c2: Protect sched.h with ifdef. + 57dccd2: Replace paths with defines. + 2c4d42e: ctime_r() is not available everywhere. + e72bbdb: c was used before it was assigned. + 010476f: Protect getuid() with an ifdef. + 5ac2cb9: No regexp funtions are used in this file. + ecaf8d8: PATH_MAX is defined in limits.h. + 983fdb3: Stub uses socket defines so include the header. + 7aba34b: config.h should always be included so that necessary fixes can take effect. + 2cf165d: ifdef-protect setpgid and setsid. + 08bbfd2: Make it possible to disable caps support since it breaks fully static builds. + be2ba90: Add option to select which modules get linked in during static builds. + 9550c8e: No need for conditional generation of symdef files. + 971e370: Add possibility for linking semi-static executables (libtools definition of static). + e2495c7: We need explicit actions here. + 268aebb: Protect sys/wait.h with an ifdef. + 8f3c364: Make sure all socket headers are protected by ifdefs. + e28ce8c: Use pa_get_path_filename() instead of duplicating code. + 29a5b85: Emulate poll() through select() where needed. + d3bc7b2: Fix test for mkfifo(). HAVE_MKFIFO is only generated as a config.h define by default. + 5cd8703: Remove ftruncate test since we're not doing anything with the result. + a24102c: Fix indentation. + e9be6fa: Handle platforms that do not support the UNIX user/group database. + 59aa6ca: There was a race condition here that caused latency calculation to fail miserably under some conditions. + ec87cb1: Fall back to signal() when sigaction isn't supported. + 3ed983c: SIGQUIT is an optional signal. + b8859b4: Compiler warning about uninitialized variable. + 3728854: Make sure the array is never too small. + b69d881: Fix printf string. + 7192238: Old kernel headers didn't define the input_id structure. Therefore we cannot rely on it. + c5bee95: Fix correct type. + 4deeaef: Don't include sys/socket.h in the header when we do not need to. + 14474ae: Esound latency should not include buffer length. This added an extra second to esound already horrible latency calculations. + f0e8c65: Two variables with the same name causing corrupt strings. + 4384d31: Fix warning. + ff49e63: inet_ntop can't be found on all platforms. Do a stupid emulation when not found. + 456e256: Fix some compiler warnings about unused variables. + cd3691d: PIPE_BUF has nothing to do with the esound buffers. + 13496bb: Handle when the platform doesn't have UNIX sockets. + 3a3b4af: AF_UNIX and PF_UNIX is more portable than the _LOCAL equivalent. + dbad54a: Remove any warnings about incorrect type to setsockopt() (char* vs void*). + 7dcf4e4: The standard declares some signals as optional. Make sure we handle this gracefully. + eacffc3: To access the new pa_gettimeofday() we need to include util.h. + 8c5a75d: Syslog is not present on all platforms. + 3996c5f: SIXCPU isn't present on all platforms. Replace cpulimit with dummy functions on those systems. + 2ce05b2: Glob is not present on all systems. + 70223ba: Fallbacks for systems that do not have getaddrinfo(). Does not handle IPv6 though. + 3f2ac7e: We have a generic function for extracting the filename, let's use it. + f6b0f87: Remove unnecessary dependency on timeval definition. + 687e2d7: Abstract the gettimeofday call into a utility function to ease porting. + 70710e1: Check for OSS by looking for its header. Win32 isn't the only platform where OSS isn't supported. + 11a4c67: Remove unused automake conditional. + e8c71ed: Since README is generated conditionally we must make sure there are no dependencies on it when it's not built. + 1f11ee3: Big cleanup of the build structure. + 22f6694: Creating branch for patches from Pierre Ossman + +2005-09-16 Lennart Poettering + 656cf87: fix alsa memory leak + 9177ef4: chance ALSA sink to use "default" as default alsa device + 3a61b36: initialize running_as_daemon + d50bfd8: increase number of allowed connections + e4395c2: add new field running_as_daemon to pa_core + 48b2a87: add pa_sound_file_too_big_to_cache() + 668f3cd: handle float values in sound files sensibly + 652e000: print a nice message when libltdl is missing + e0d0f1b: git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@352 fefdeb5f-60dc-0310-8127-8f9354f1896f + 6d9dffe: build fix + c57cad9: bail out if no sink is defined + +2005-09-15 Lennart Poettering + b993e33: alter alsa periods number + db4b25d: handle EOF in ioline.c + fda09b9: remove esound protocol directory on unload of module-protocol-esound + f1da8ad: fix start_timeout() + b5f5707: add libsamplerate/libsndfile CFLAGS + e1f008f: commit liboil porting changes + 0c9873e: create a copy for liboil porting + +2005-01-12 Lennart Poettering + 4daa0c1: * fix LIRC configuration + f586ce0: * extend HTTP module + 4590f09: * make pa_sample_spec_snprint return point to written string * first try of a http module + +2005-01-11 Lennart Poettering + 32bf3a1: * new environment variable $POLYP_LOG * fix connection establishing algorithm * add timeout for establishing connections * add fqdn to the server directive to connect to in browse API * quieten ESOUND protocol + +2005-01-09 Lennart Poettering + 5ab3064: * add new module module-mmkbd-evdev * fix stupid error message in main.c + +2005-01-08 Lennart Poettering + 474b568: * todo update * lirc warning fix * c++ compat + 6911d7e: * increase timeout in pacmd + c29c95d: * make lirc program name configurable + fb4cba4: * add new module for LIRC volume control + 1e78a1d: change doxygen build stuff for better compat with moderm automakes + 9a59d01: update todo list + 9b0ec37: * add support for asynchronous name resolution * remove directories listing from doxygen + +2005-01-06 Lennart Poettering + fb11e45: minor fixes + +2004-12-18 Lennart Poettering + 8199925: fix conditional X11 compilation + +2004-12-16 Lennart Poettering + 47ab6bd: gcc 2.95 compat + +2004-12-15 Lennart Poettering + b1369d2: * fix error message when starting polypaudio while it is already running + 400dacd: cleanup zeroconf service names + 99e0779: * Publish server info in mDNS in addition to sinks/sources * Split off address parser * Add port= argument to module-zeroconf-publish + +2004-12-14 Lennart Poettering + bc5b917: do mor daemonizing work + a370e6e: * fix daemonizing + fa48de8: * prepare polyplib-browse for installation + +2004-12-12 Lennart Poettering + e02be6c: * fix include file names in installed header files * add browsing API * add new tool pabrowse * add typeid subsystem * bump API version * split off random.c * add an identification cookie + 9a01cf4: * complete zeroconf publisher * make cli.c shut up unless run with -v + +2004-12-11 Lennart Poettering + 2d97e75: * fix alsa initialisation * add some missing zeroconf files * make module-match shut up a bit + 73eabec: * add first part of zeroconf publisher * bump version to 0.7.1. * improve logging subsystem (introducing log levels) * remove verbose flag on cli * add new API pa_sample_format_to_string() * replace strtol() by usages of pa_atou() and pa_atoi() + +2004-11-27 Lennart Poettering + 5be9641: * really fix integer only resampler + 7f3c92b: * fix autospawn lock file creation + +2004-11-26 Lennart Poettering + 9a9309f: * use setresuid() instead of setruid() if available * if fix for the non-fp resampler + +2004-11-23 Lennart Poettering + 7586478: * install fix * use syslog as standard log target when run from esdcompat.sh + 29ec9d3: * some fixes for MacOS X by Conrad Parker * Minor build fixes + +2004-11-21 Lennart Poettering + c827fca: prepare for release + 9f23c8f: Documentation updates + 4763ca1: Comment some more files + 2fb83d1: * make --help fit in 80 columns terminal + 82a3626: * update todo + d45abba: calculate buffer sizes from sample spec + 4583c22: * create parec as link to pacat + 28d9744: * new tool pacmd * fix pacat/paplay/pactl for new API version * fix memory leak in pa_ioline + c90409e: bump version number + b03f390: * add some missing "static"s * include libltdl in distribution + 966c78c: fixes for bugs found when compiling with gcc 2.95 + 92f73a7: * fix the trivial resampler + f2b11db: * PID and lock file fixes + fa751e5: some commenting + 6985eda: * some minor pid file fixes + +2004-11-20 Lennart Poettering + 3c77c6e: * remove autospawn lock file usage * fix some compiler warnings * implement PID file support + acc8b78: option to use ALSA default fragment number and size + 5f647c8: * add µlaw/alaw support * abstracted resampler API * add integer-only resampler ("trivial") * show used resampler wherever useful * add mixing/volume adjusting for float32ne and u8 + +2004-11-18 Lennart Poettering + 8641af3: * some iochannel fixes * introduce reference counting in ioline * fix memory leak in socket-client.c * fix double-free error in protocol-esound.c + eef235d: limit the number of concurrent connections for all four protocols kick a client if it doesn't authenticate within 5s on ESD and native protocol + +2004-11-17 Lennart Poettering + c57d5de: minor fixes for latency interpolation + cd3a98a: todo update + a58f248: fix module-tunnel.c + ddf9970: update todo list + 5ea2783: * fix a long standing bug in ioline.c (large prints failed) * fix a bug regarding ipv6 binding + 0a2bbc5: * some commenting work * add new field "read_only" to memory blocks * add new API function pa_context_get_server() * filter capture data through mcalign on client * make module-tunnel use pa_socket_client_new_string() instead of using pa_resolve_server() directly. * remove pa_resolve_server() * remove debug.h and replace it by a macro definition on the gcc command line * some strbuf cleanups * small fixes in pa_stream for cleanup when server dies * new CLI command "load-sample-dir-lazy" * send FQDN as part of server info * rework mcalign, this time with memory block merging * fix iochannel cleanup when connection dies * check getaddrinfo() results + +2004-11-14 Lennart Poettering + f5f6605: todo update + fa499da: Make the whole stuff LGPL only + be6a1c2: * implement module-esound-sink + d7d8529: * remove as superfluous assert() in polyplib-stream which broke the gstreamer plugin * fix module-tunnel meta info + +2004-11-12 Lennart Poettering + 6de0cda: remove a debug message + +2004-11-11 Lennart Poettering + c005bd4: add username to runtime directory name in /tmp/ rework autospawning code and x11 credential publishing add support for IPv6 reenable LOWDELAY for tcp sockets + +2004-11-09 Lennart Poettering + dbaa83c: split out x11prop.[ch] add client support for auth daemon info in X display + 3fcd7a4: use fqdn in module-x11-publish as well + 3916a66: export FQDN instead of hostname + +2004-11-08 Lennart Poettering + 89e39f1: build pax11publish only when X11 is available + 4bb1483: implemented pax11publish.c + +2004-11-07 Lennart Poettering + b55923a: * Look for M4 in configure.ac * Share auth cookies in module-tunnel.c, module-x11-publish.c and native-protocol.c * disable TCP_NODELAY * publish auth cookie in module-x11-publish + +2004-11-04 Lennart Poettering + 5844a33: some commenting change alogrithm for checking for configuration files + 2aad9e3: compilation fix + 344ced4: add some more comments + 1f6a90c: fix client libaryr in case no latency interpolation is required + +2004-11-01 Lennart Poettering + cd3ba7d: Apply Joe Marcus Clarke's FreeBSD patches + +2004-10-30 Lennart Poettering + 899788b: some updates for pa_hashmap add property infrastructure add module module-x11-publish allow ldpreloading of all modules abstract x11wrap from module-x11-bell + +2004-10-29 Lennart Poettering + 4e5c44d: use setreuid() instead of setuid()/seteuid() when dropping root chdir to / on daemon startup (both are suggestions by alan cox) + +2004-10-28 Lennart Poettering + e34c65d: require newer libsndfile update todo file + +2004-10-27 Lennart Poettering + c82105d: prepare next release 0.6 + 1bcec3e: make autoload list use idxset + f252edb: minor updates + 929104a: update todo + 19f2acb: add null sink + 49e16ff: latency calculation fix + ee452b0: two latency interpolation fixes + 148202d: support for latency interpolation + +2004-10-24 Lennart Poettering + da45617: add user volume API + +2004-10-12 Lennart Poettering + a6471e2: gcc 2.95 fix default.pa fix + +2004-10-11 Lennart Poettering + 6ede161: enlarge default buffers + +2004-10-01 Lennart Poettering + fde3d13: todo update + +2004-09-29 Lennart Poettering + 68d50dc: add sample spec parameters to pacat + 66999e5: Add support for libwrap + d092401: really fix API version API + 6dfab4e: renamed module-tunnel to module-tunnel-sink new module module-tunnel-source fix recording + +2004-09-28 Lennart Poettering + d8f700e: fix module-tunnel for to aborting when connection fails + 33c85ae: add latency measurement support to tunnel module + 6f59ae1: Add module-tunnel add proper locking when autospawning a daemon + +2004-09-27 Lennart Poettering + 450ad85: try to use file sample type for cache entries and play-file playback allow paplay to use STDIN add new module: module-match + f014d46: really fix cpu usage when using esddsp with polypaudio + 35148d8: add POSIX locking to authkey.c fix esound protocol cpu consumption when finishing a stream + +2004-09-26 Lennart Poettering + 949014e: add new tool paplay + 5bac3c3: bum version number add new macro PA_API_VERSION for preprocessor level conditional compiling add new native APIs: - counter - cork & flush for record streams - add flags parameters to pa_stream_connect_xx() - new prebuf command - time api, and total latency calculator - return sample spec ability to cork source output streams dump server status on SIGHUP to syslog show sink input/source outputs status in cli-text.c don't flush esound output buffer when client disconnects move version api to polyplib-version.h + +2004-09-23 Lennart Poettering + 405fac5: bump version number and update documentation + ed36241: allow high priority scheduling only for users in group "realtime" + 8176b3a: ignore default.in + 6d20544: place full binary path in default.pa's shebang line + dfcd161: Fix a bug in the build system reported by Iain Fothergill + 9e3890a: OSX protability patches from Conrad Parker + 03ee5e2: add support for capabilities + +2004-09-21 Lennart Poettering + 370ff1d: improve esound module + 12949d0: support for esd arguments: -spawnpid and -spawnfd + 3e1bdac: add noop implementation of standby/resume ESOUND commands + df953a1: show which command is unknown in esound protocol fix esdcompat.sh + +2004-09-20 Lennart Poettering + 7668418: add link to mailing list + 4d9af54: build updates + 2d87bd2: documentation update + bb31eda: fix xmms spawn bug + 42bba49: update module descriptions + +2004-09-19 Lennart Poettering + b118982: remove obnoxious assert from module-combine tagstruct: add support for NULL strings improve pactl correct pa_bytes_snprint() pa_sample_spec_snprint(): don't fail on invalid sample spec rename PA_SAMPLE_SNPRINT_MAX_LENGTH to PA_SAMPLE_SPEC_SNPRINT_MAX + 70a3053: add new function pa_mainloop_deferred_pending() + +2004-09-18 Lennart Poettering + 29653ab: add pacat command line parsing + 73125ad: work around gcc 2.95 limitation + 4e31feb: work around gcc 2.95 limitation + +2004-09-17 Lennart Poettering + 9ad4aa3: minor stuff + 0b9bc03: change sysconf path + 61ec86c: add resample_method option module-combine + 0895356: add --resample-method argument + 95612b6: rename some more + f077958: rename some stuff + 24f3781: make daemon.conf/client.conf autogenerated + 63b35d0: new configuration subsystem + +2004-09-16 Lennart Poettering + 07d563d: update according to autoscan + 078f2aa: gcc 2.95 compatibility, take 2 + 19294e4: fix two gcc 2.95 incompatibilities + daf3938: add support for subscribing to autoload table changes fix module-combine so that the sample rate of at least one streams is not changed from the original + f9e2058: add input latency measurement add GETOSPACE support to module-oss + +2004-09-15 Lennart Poettering + f5d47a2: work around C99/GCC incompatibility native protocol: add "local" field to pa_context add volume paramter to pa_stream_connect_playback add support for renaming streams/clients support lazy samples add functions to kill clients/source inputs/sink outputs add functions for loading/unloading modules add autoload management API + 9ca72dc: remove auto-load-sample stuff introduce "lazy samples" + 8c110d9: correct autospawning + +2004-09-14 Lennart Poettering + 935826f: make module-combine autoloadable clean up cli language introduce lazy sample cache + 6e01979: add refernce counting for sinks, sources, sink-inputs and source-outputs + 8c6593d: add module-combine remove option "stay-root" clean up pa_conf + +2004-09-13 Lennart Poettering + 829656c: new configuration subsystem + fbefe67: correct latency calculation + 1231598: fix parsing of POLYP_SERVER environment variable + +2004-09-12 Lennart Poettering + b1ab686: fix public= on native and esound protocol + b681622: build system update + b772564: update simple API + f05a4ac: extend pa_usec_t to 64 bit + +2004-09-11 Lennart Poettering + a9ca9c4: add modinfo support + 11f0aae: add version number to library names + +2004-09-10 Lennart Poettering + 2512346: add support for module search path as command line argument protocol-native: move first data request into ack of stream creation improve mainloop API: return the number of dispatched sources on iterate() fix a resampling bug introduce network latency measurement + +2004-09-08 Lennart Poettering + 0c99fb3: add FAQ to homepage + +2004-09-07 Lennart Poettering + 5fc0cf2: date fix + 13248fd: documentation update + 7000717: implemented new CLI command: dump add prefork() and postfork() arguments to pa_context_connect_spawn() + 93c8fe6: change the way the default sink/source is selected + +2004-09-06 Lennart Poettering + 0fa499d: add support for setting/getting default sink/source via native protocol + 3536be4: correct a recording bug in native protocol + 566e469: add module-pipe-source + +2004-09-05 Lennart Poettering + 6c4fd62: implement proper logging + +2004-09-04 Lennart Poettering + 57e473b: add support for automatic termination of the daemon after the last client quit remove all gcc warnings add boolean types for tagstruct and modargs + +2004-09-03 Lennart Poettering + fb962b6: add option to disallow module loading after startup + 4a9239f: add CPU load limiter + +2004-09-01 Lennart Poettering + c73a298: add total sample cache size to statistics add size to sample cache entry info + 5f52999: make use F_CLOEXEC wherever useful + 3487387: daemon auto spawn + ee91cb6: add esd compatible startup script add default configuration script + dfd440b: add sound file streaming + 50f592b: introduce sink input and source output limits + 0205fc5: add PA_MININFTY + 63c76bd: cleanup comment + 9939fba: add \since to dB functions + 9c4fd2a: add support for dB volumes + fa19d6a: implement missing scache_get_id_by_name add some more consts to idxset add module-sine, a sine generating sink_input module + 36550f4: remove most -W compiler warnings + 34fe8bd: add support for SCHED_FIFO + +2004-08-27 Lennart Poettering + 9618aea: fix module path + 8c887ab: fix homepage script + 5020326: minor fixes + b014340: readme update (licensing) + 4efa9d1: add LGPL/GPL to dist package + 41d8c13: relicense client library to LGPL + 8cb1cab: document every polyplib function + 761a895: minor cleanups + 92bf0a3: latency work major main loop bugfix + +2004-08-23 Lennart Poettering + b6b428e: minor documentation update + +2004-08-22 Lennart Poettering + 41295bb: new features: future cancellation corking flushing for playback streams in native protocol + +2004-08-20 Lennart Poettering + ea4805a: add pkg config file glib12-mainloop + 5e8bb14: add support for glib12 + 669452e: documentation update + 8c756d5: documentation update + 9b5ba2b: doxygen fix + 0b9f91d: readme update + 8f90450: Doxygen stuff + 6bc5340: build fixes + +2004-08-19 Lennart Poettering + f9b58fb: move sample cache to namereg documentation + e0fe68a: minor stuff + +2004-08-18 Lennart Poettering + befd734: add version routines to polyplib + +2004-08-17 Lennart Poettering + ac59518: add missing copyright headers + e75b657: remove global memblock statistic variables in favor of memblock_stat objects + 81822a7: fix x11 build disable prebuf on drain + 2d6d3e5: todo update + 711de8d: autoconf beefup build fixes + ca2265f: Documentation work add pkg-config support for GLIB main loop + f693aa4: remove native-common-internal + bee750b: create native-common-internal.h + aff43dd: update todo file + a0d54dd: make clitext to cli-text renaming complete + e4be616: rename clitext to cli-text + +2004-08-16 Lennart Poettering + 126fede: fix sink iunput and source output stuff + 369a908: add sink input/source output support to the native protocol + +2004-08-15 Lennart Poettering + efc3491: add support for volume manipulation + c175451: proper ref counting for more objects some documentation update + +2004-08-14 Lennart Poettering + 22cb23e: implement proper refcounting in polyplib split polyplib to multiple modules add some prelimenary documentation add doxygen support + +2004-08-13 Lennart Poettering + 1c2ec47: rename polyplib-sample to polyplib-scache + 50b9fc2: add polyplib-sample.c + 56bcba9: add polyplib-sample + 821afd6: add internal header file for polyplib + 79a4e75: split polyplib.h + 7b52d5d: some preliminary cleanup + +2004-08-12 Lennart Poettering + cd5809c: todo fix + 886041a: add more subscription events add support for clients/modules in native protocol + +2004-08-11 Lennart Poettering + cbfaf40: info and subscription work + b297d0b: todo update + 3d374e9: add subscription subsystem + +2004-08-10 Lennart Poettering + fc618e9: compile fix + 37d930a: glib mainloop fix implement server status command support for sink_list/source_list in polyplib + +2004-08-07 Lennart Poettering + e9bed20: better mainloop test build system + 209c9dd: rename mainloop testing tool + 6f0936f: cleanup priority management in main loop + +2004-08-06 Lennart Poettering + 68eb5dd: add mainloop test utility fix glib mainloop support + +2004-08-05 Lennart Poettering + 964bdfd: add initial glib mainloop adapter clean up mainloop API + +2004-08-04 Lennart Poettering + 839f99f: forgot some files + 46091a9: introduce pa_xmalloc() and friends implement module auto loading + +2004-08-03 Lennart Poettering + 24291af: sample cache work + +2004-08-02 Lennart Poettering + e10b918: add support for querying sample ist with esound protocol + 8705af7: add new module "module-x11-bell" fix scache memory leak + +2004-07-20 Lennart Poettering + 5a694fd: add a todo item + bb0b105: sample cache work + +2004-07-18 Lennart Poettering + 527faf0: minor fixes + +2004-07-17 Lennart Poettering + 8540718: readme update + 765d2f7: two simple fixes + d6d50b0: some makefile fixes + 78a799e: make distcheck clean + 141ab85: make polypaudio run when installed update docs + 6601d95: fix Makefile.am and configure.ac to match directory renaming + 41f6aea: rename src to polyp + 563201e: rename configuration file make sure the todo file is packaged + 86f5b30: move todo file + 539eb02: ignore README + 7b8c329: add documentation + +2004-07-16 Lennart Poettering + 3e379ca: add pkgconfig stuff + cf965cb: add missing liecenses + e0d510d: include copyright and svn tag in *.[ch] + b5384e0: include config.h in every file + dc812da: fix distcheck + 005cb3e: adjust file references due to renaming + 2a6ee77: rename a bunch of files + 00b53f3: make a symbol in module-ptorocol-stub static + 554b01b: make oss sample spec configurable + 74bbf31: implement alsa source split off alsa-util.c + f2e08d5: split PA_SAMPLE_FLOAT32 into PA_SAMPLE_FLOAT{LE,BE} add more configuration arguments to alsa sink + b8eb0c0: add alsa sink + +2004-07-15 Lennart Poettering + b240564: optimize esound latency for xmms + 710233b: implement get_latency native command + d8f1300: add pactl tool + c36dadd: remove global exported variables: pa_memblock statistics pa_default_sample_spec + 1a6fea2: implement daemonizing + ed9bd5f: fix modargs memory leak + 1416fef: implement client side TCP support + +2004-07-14 Lennart Poettering + e83b710: update todo fix polypaudio.run + e61e924: complete implementation of the command line + +2004-07-12 Lennart Poettering + b69178b: add preliminary command line parsing + +2004-07-11 Lennart Poettering + d4e0d51: make module-oss-* use modargs + 216591d: make the protocol plugins make use of modargs + a96ed34: rename hashset to hashmap add module arguments parse in modargs.c make module-pipe-sink use it + ccfd554: add dependency script fix some dependencies split off socket-util.c and clitext.c + +2004-07-10 Lennart Poettering + c7bd759: add description field for sinks/sources add owner field to all entities add client file to source outputs and sink inputs + 0253896: make memblockq merge chunks + 5ee3a59: forgot to add parec-simple + 5ea96e3: implement parec-simple and matching simple recording API add support for killing source outputs in native protocol fix channel management in client library + 70bb816: implement recording in native API fix a memory leak in memblock.c + +2004-07-09 Lennart Poettering + cffc776: fix recording for simpel and esound protocols + +2004-07-07 Lennart Poettering + 863fb90: add output stream draining + e8d1185: draining ind native protocol fixes in callback code on object destruction simple protocol + +2004-07-06 Lennart Poettering + f8cbde5: auth support in esound and native AUTH and SET_NAME operatins in native simple library + +2004-07-04 Lennart Poettering + 722c2c8: add kill_* and default_* commands to CLI make module-cli unload itself on EOF clean up stdio usage add sink pointer to monitor sources + +2004-07-03 Lennart Poettering + e61c2dd: add pa_ prefix to all identifiers. fix downsampling/resampling add support for U8 samples + a8a5ab1: fix minor typo + 3ac2437: add libsamplerate dependency + 253c540: forgot to add memchunk.[ch] + 741aa44: add resampling + +2004-07-02 Lennart Poettering + 13b35a2: add resampler + +2004-06-30 Lennart Poettering + 961fb44: latency esound volume changing + +2004-06-29 Lennart Poettering + d571be6: volume work + e31bac0: extended esound protocol + ef422fa: esound protocol + +2004-06-27 Lennart Poettering + a74cd2a: add name registrar + 0103786: make native playback work + 57dc427: many fixes + +2004-06-24 Lennart Poettering + 1ad4ff1: some fixes + +2004-06-23 Lennart Poettering + a1b59db: make rename of oss.[ch] to oss-util.[ch] complete + c050d72: rename oss.[ch] to oss-util.[ch] + b9e0fa8: minor compile work + 3b50a7c: ignore some more stuff + acb25b3: main part of the native protocol + +2004-06-20 Lennart Poettering + eecf602: partial implementation of native protocol + +2004-06-19 Lennart Poettering + a84f38e: mofiy keyword expansion + 81447ed: cli protocol + 6eddcc2: rename module-simple-protocol to module-protocol-stub + 787bf6c: minor work + b4e3f5c: add simple ptorocol with unix + 56f8c95: some more work on the cli + +2004-06-18 Lennart Poettering + 382e7ae: some more work + 993d1bc: basic cli interface + +2004-06-16 Lennart Poettering + eb946db: configure fix + 4b86ff0: got mmap oss output working + +2004-06-15 Lennart Poettering + a8f7881: fix mixing + b24546b: cleanup + 78f386a: more work + 98f41f1: minor work + 1a50607: oss output works + +2004-06-14 Lennart Poettering + bfcde99: rename some more + f78e9b6: commit some work and rename + 0575fc6: remove oss.c + 5ce2048: more cleanups + c8cf0c1: a bunch of fixes + +2004-06-11 Lennart Poettering + edfad83: remove moddep files (since they are obsolete) + 7dfeb1f: make the whole stuff run and clean it self up again + aae40dc: module dependencie foo + 8584356: ignore fix + 9e3ad23: autoconf + +2004-06-10 Lennart Poettering + a5daff7: make it compile diff -Nru pulseaudio-0.9.22~git20100719/config.guess pulseaudio-0.9.22/config.guess --- pulseaudio-0.9.22~git20100719/config.guess 2010-07-19 12:41:12.000000000 +0000 +++ pulseaudio-0.9.22/config.guess 2010-11-26 00:46:18.000000000 +0000 @@ -1,10 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. -timestamp='2009-12-30' +timestamp='2009-11-20' # 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 @@ -56,9 +56,8 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free -Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 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." diff -Nru pulseaudio-0.9.22~git20100719/config.h.in pulseaudio-0.9.22/config.h.in --- pulseaudio-0.9.22~git20100719/config.h.in 2010-07-19 12:43:44.000000000 +0000 +++ pulseaudio-0.9.22/config.h.in 2010-11-26 00:59:43.000000000 +0000 @@ -36,9 +36,6 @@ /* Gettext package */ #undef GETTEXT_PACKAGE -/* Define to 1 if you have the `accept4' function. */ -#undef HAVE_ACCEPT4 - /* Define to 1 if you have `alloca', as a function or macro. */ #undef HAVE_ALLOCA @@ -73,9 +70,6 @@ /* Define to 1 if you have the `clock_gettime' function. */ #undef HAVE_CLOCK_GETTIME -/* Define to 1 if you have the header file. */ -#undef HAVE_COREAUDIO_COREAUDIO_H - /* Define to 1 if you have the `ctime_r' function. */ #undef HAVE_CTIME_R @@ -254,9 +248,6 @@ /* Define to 1 if you have the `pipe' function. */ #undef HAVE_PIPE -/* Define to 1 if you have the `pipe2' function. */ -#undef HAVE_PIPE2 - /* Define to 1 if you have the header file. */ #undef HAVE_POLL_H @@ -480,12 +471,12 @@ */ #undef LT_OBJDIR +/* netbsd implementation */ +#undef NETBSD_ATOMIC_OPS + /* Define to 1 if your C compiler doesn't accept -c and -o together. */ #undef NO_MINUS_C_MINUS_O -/* Build target is Darwin. */ -#undef OS_IS_DARWIN - /* Build target is Windows. */ #undef OS_IS_WIN32 diff -Nru pulseaudio-0.9.22~git20100719/config.rpath pulseaudio-0.9.22/config.rpath --- pulseaudio-0.9.22~git20100719/config.rpath 2010-07-19 12:43:04.000000000 +0000 +++ pulseaudio-0.9.22/config.rpath 2010-11-26 00:58:58.000000000 +0000 @@ -2,7 +2,7 @@ # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # -# Copyright 1996-2007 Free Software Foundation, Inc. +# Copyright 1996-2010 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit , 1996 # @@ -47,7 +47,7 @@ done cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` -# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. +# Code taken from libtool.m4's _LT_COMPILER_PIC. wl= if test "$GCC" = yes; then @@ -64,7 +64,7 @@ ;; esac ;; - mingw* | cygwin* | pw32* | os2*) + mingw* | cygwin* | pw32* | os2* | cegcc*) ;; hpux9* | hpux10* | hpux11*) wl='-Wl,' @@ -76,7 +76,13 @@ ;; linux* | k*bsd*-gnu) case $cc_basename in - icc* | ecc*) + ecc*) + wl='-Wl,' + ;; + icc* | ifort*) + wl='-Wl,' + ;; + lf95*) wl='-Wl,' ;; pgcc | pgf77 | pgf90) @@ -124,7 +130,7 @@ esac fi -# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. +# Code taken from libtool.m4's _LT_LINKER_SHLIBS. hardcode_libdir_flag_spec= hardcode_libdir_separator= @@ -132,7 +138,7 @@ hardcode_minus_L=no case "$host_os" in - cygwin* | mingw* | pw32*) + 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++. @@ -158,7 +164,7 @@ # option of GNU ld is called -rpath, not --rpath. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' case "$host_os" in - aix3* | aix4* | aix5*) + aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no @@ -182,7 +188,7 @@ ld_shlibs=no fi ;; - cygwin* | mingw* | pw32*) + cygwin* | mingw* | pw32* | cegcc*) # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' @@ -254,7 +260,7 @@ hardcode_direct=unsupported fi ;; - aix4* | aix5*) + aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. @@ -264,7 +270,7 @@ # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes @@ -326,7 +332,7 @@ ;; bsdi[45]*) ;; - cygwin* | mingw* | pw32*) + 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 @@ -494,7 +500,7 @@ fi # Check dynamic linker characteristics -# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. +# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER. # Unlike libtool.m4, here we don't care about _all_ names of the library, but # only about the one the linker finds when passed -lNAME. This is the last # element of library_names_spec in libtool.m4, or possibly two of them if the @@ -505,7 +511,7 @@ aix3*) library_names_spec='$libname.a' ;; - aix4* | aix5*) + aix[4-9]*) library_names_spec='$libname$shrext' ;; amigaos*) @@ -517,7 +523,7 @@ bsdi[45]*) library_names_spec='$libname$shrext' ;; - cygwin* | mingw* | pw32*) + cygwin* | mingw* | pw32* | cegcc*) shrext=.dll library_names_spec='$libname.dll.a $libname.lib' ;; diff -Nru pulseaudio-0.9.22~git20100719/config.sub pulseaudio-0.9.22/config.sub --- pulseaudio-0.9.22~git20100719/config.sub 2010-07-19 12:41:12.000000000 +0000 +++ pulseaudio-0.9.22/config.sub 2010-11-26 00:46:18.000000000 +0000 @@ -1,10 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. -timestamp='2010-01-22' +timestamp='2009-11-20' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -75,9 +75,8 @@ version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free -Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 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." @@ -381,8 +380,7 @@ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ - | tile-* | tilegx-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | vax-* \ @@ -1087,11 +1085,6 @@ basic_machine=tic6x-unknown os=-coff ;; - # This must be matched before tile*. - tilegx*) - basic_machine=tilegx-unknown - os=-linux-gnu - ;; tile*) basic_machine=tile-unknown os=-linux-gnu @@ -1442,8 +1435,6 @@ -dicos*) os=-dicos ;; - -nacl*) - ;; -none) ;; *) diff -Nru pulseaudio-0.9.22~git20100719/configure pulseaudio-0.9.22/configure --- pulseaudio-0.9.22~git20100719/configure 2010-07-19 12:43:09.000000000 +0000 +++ pulseaudio-0.9.22/configure 2010-11-26 00:59:05.000000000 +0000 @@ -1,13 +1,13 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.65 for pulseaudio 0.9.22. +# Generated by GNU Autoconf 2.66 for pulseaudio 0.9.22. # # Report bugs to . # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software +# Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -173,7 +173,15 @@ 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 \$(( 1 + 1 )) = 2 || exit 1" +test \$(( 1 + 1 )) = 2 || 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" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else @@ -319,7 +327,7 @@ 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" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p @@ -359,19 +367,19 @@ fi # as_fn_arith -# as_fn_error ERROR [LINENO LOG_FD] -# --------------------------------- +# 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. +# script with STATUS, using 1 if that was 0. as_fn_error () { - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + 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: $1" >&2 + $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -528,161 +536,14 @@ # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -# Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} -case X$lt_ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` - ;; -esac - -ECHO=${lt_ECHO-echo} -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell. - exec $SHELL "$0" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat <<_LT_EOF -$* -_LT_EOF - exit 0 -fi - -# 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 - -if test -z "$lt_ECHO"; then - if test "X${echo_test_string+set}" != Xset; then - # find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if { echo_test_string=`eval $cmd`; } 2>/dev/null && - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null - then - break - fi - done - fi - - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : - else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$ECHO" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - ECHO='print -r' - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} - else - # Try using printf. - ECHO='printf %s\n' - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - ECHO="$CONFIG_SHELL $0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$CONFIG_SHELL $0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "$0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} - else - # Oops. We lost completely, so just stick with echo. - ECHO=echo - fi - fi - fi - fi - fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -lt_ECHO=$ECHO -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then - lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" -fi - - - test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# 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` @@ -766,10 +627,6 @@ PA_SYSTEM_USER BUILD_MANPAGES_FALSE BUILD_MANPAGES_TRUE -HAVE_FFTW_FALSE -HAVE_FFTW_TRUE -FFTW_LIBS -FFTW_CFLAGS HAVE_OPENSSL_FALSE HAVE_OPENSSL_TRUE HAVE_OPENSSL @@ -841,9 +698,6 @@ HAVE_ALSA ASOUNDLIB_LIBS ASOUNDLIB_CFLAGS -HAVE_COREAUDIO_FALSE -HAVE_COREAUDIO_TRUE -HAVE_COREAUDIO HAVE_OSS_WRAPPER_FALSE HAVE_OSS_WRAPPER_TRUE HAVE_OSS_OUTPUT_FALSE @@ -927,9 +781,6 @@ ALLOCA HAVE_MKFIFO_FALSE HAVE_MKFIFO_TRUE -HAVE_BONJOUR_FALSE -HAVE_BONJOUR_TRUE -HAVE_BONJOUR PTHREAD_CFLAGS PTHREAD_LIBS PTHREAD_CC @@ -942,8 +793,6 @@ HAVE_AF_UNIX_TRUE HAVE_REGEX_FALSE HAVE_REGEX_TRUE -OS_IS_DARWIN_FALSE -OS_IS_DARWIN_TRUE OS_IS_WIN32_FALSE OS_IS_WIN32_TRUE LIBLTDL @@ -952,7 +801,6 @@ LIPO NMEDIT DSYMUTIL -lt_ECHO RANLIB AR LN_S @@ -992,7 +840,6 @@ LDFLAGS CFLAGS CC -STOW host_os host_vendor host_cpu @@ -1083,6 +930,7 @@ enable_default_build_tests enable_atomic_arm_linux_helpers enable_atomic_arm_memory_barrier +enable_netbsd_atomic_ops enable_static enable_shared with_pic @@ -1090,6 +938,7 @@ with_gnu_ld enable_libtool_lock enable_largefile +with_gnu_ld enable_rpath with_libiconv_prefix enable_nls @@ -1099,7 +948,6 @@ with_database enable_oss_output enable_oss_wrapper -enable_coreaudio_output enable_alsa enable_solaris enable_glib2 @@ -1117,7 +965,6 @@ enable_dbus enable_ipv6 enable_openssl -with_fftw enable_manpages with_system_user with_system_group @@ -1139,6 +986,7 @@ LIBS CPPFLAGS CPP +CPPFLAGS PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR @@ -1175,9 +1023,7 @@ DBUS_CFLAGS DBUS_LIBS OPENSSL_CFLAGS -OPENSSL_LIBS -FFTW_CFLAGS -FFTW_LIBS' +OPENSSL_LIBS' # Initialize some variables set by options. @@ -1286,7 +1132,7 @@ 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" + 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 @@ -1312,7 +1158,7 @@ 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" + 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 @@ -1516,7 +1362,7 @@ 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" + 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 @@ -1532,7 +1378,7 @@ 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" + 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 @@ -1562,8 +1408,8 @@ | --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." + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" ;; *=*) @@ -1571,7 +1417,7 @@ # 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'" ;; + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; @@ -1589,13 +1435,13 @@ if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error "missing argument to $ac_option" + 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" ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -1618,7 +1464,7 @@ [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac - as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" + 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' @@ -1632,8 +1478,8 @@ if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi @@ -1648,9 +1494,9 @@ 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" + 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" + as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. @@ -1689,11 +1535,11 @@ 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" + 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" + 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 @@ -1733,7 +1579,7 @@ --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 + -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 @@ -1807,6 +1653,8 @@ use inline asm or libatomic_ops instead --enable-atomic-arm-memory-barrier only really needed in SMP arm systems + --enable-netbsd-atomic-ops + Use the native NetBSD atomic_ops implementation --enable-static[=PKGS] build static libraries [default=no] --enable-shared[=PKGS] build shared libraries [default=yes] --enable-fast-install[=PKGS] @@ -1819,8 +1667,6 @@ --disable-samplerate Disable optional libsamplerate support --disable-oss-output Disable optional OSS output support --disable-oss-wrapper Disable optional OSS wrapper support - --disable-coreaudio-output - Disable optional CoreAudio output support --disable-alsa Disable optional ALSA support --disable-solaris Disable optional Solaris audio support --disable-glib2 Disable optional GLib 2 support @@ -1859,7 +1705,6 @@ --without-caps Omit support for POSIX capabilities. --with-database=auto|tdb|gdbm|simple Choose database backend. - --without-fftw Omit FFTW-using modules (equalizer) --with-system-user= User for running the PulseAudio daemon as a system-wide instance (pulse) @@ -1940,8 +1785,6 @@ C compiler flags for OPENSSL, overriding pkg-config OPENSSL_LIBS linker flags for OPENSSL, overriding pkg-config - FFTW_CFLAGS C compiler flags for FFTW, overriding pkg-config - FFTW_LIBS linker flags for FFTW, 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. @@ -2010,9 +1853,9 @@ if $ac_init_version; then cat <<\_ACEOF pulseaudio configure 0.9.22 -generated by GNU Autoconf 2.65 +generated by GNU Autoconf 2.66 -Copyright (C) 2009 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -2106,10 +1949,10 @@ ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + if eval "test \"\${$3+set}\"" = set; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 @@ -2168,17 +2011,15 @@ $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;} -( cat <<\_ASBOX -## --------------------------------------------------- ## +( $as_echo "## --------------------------------------------------- ## ## Report this to mzchyfrnhqvb (at) 0pointer (dot) net ## -## --------------------------------------------------- ## -_ASBOX +## --------------------------------------------------- ##" ) | 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 { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" @@ -2242,7 +2083,7 @@ 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 { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2318,7 +2159,7 @@ 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 { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2386,7 +2227,7 @@ 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 { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else eval "$3=no" @@ -2431,15 +2272,18 @@ } # ac_fn_c_check_type -# ac_fn_c_check_decl LINENO SYMBOL VAR -# ------------------------------------ -# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. +# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES +# --------------------------------------------- +# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR +# accordingly. ac_fn_c_check_decl () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 -$as_echo_n "checking whether $2 is declared... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + as_decl_name=`echo $2|sed 's/ *(.*//'` + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 +$as_echo_n "checking whether $as_decl_name is declared... " >&6; } +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2448,8 +2292,12 @@ int main () { -#ifndef $2 - (void) $2; +#ifndef $as_decl_name +#ifdef __cplusplus + (void) $as_decl_use; +#else + (void) $as_decl_name; +#endif #endif ; @@ -2474,7 +2322,7 @@ running configure, to aid debugging if configure makes a mistake. It was created by pulseaudio $as_me 0.9.22, which was -generated by GNU Autoconf 2.65. Invocation command line was +generated by GNU Autoconf 2.66. Invocation command line was $ $0 $@ @@ -2584,11 +2432,9 @@ { echo - cat <<\_ASBOX -## ---------------- ## + $as_echo "## ---------------- ## ## Cache variables. ## -## ---------------- ## -_ASBOX +## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( @@ -2622,11 +2468,9 @@ ) echo - cat <<\_ASBOX -## ----------------- ## + $as_echo "## ----------------- ## ## Output variables. ## -## ----------------- ## -_ASBOX +## ----------------- ##" echo for ac_var in $ac_subst_vars do @@ -2639,11 +2483,9 @@ echo if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## + $as_echo "## ------------------- ## ## File substitutions. ## -## ------------------- ## -_ASBOX +## ------------------- ##" echo for ac_var in $ac_subst_files do @@ -2657,11 +2499,9 @@ fi if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## + $as_echo "## ----------- ## ## confdefs.h. ## -## ----------- ## -_ASBOX +## ----------- ##" echo cat confdefs.h echo @@ -2716,7 +2556,12 @@ ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then - ac_site_file1=$CONFIG_SITE + # 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 @@ -2731,7 +2576,11 @@ { $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" + . "$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 @@ -2828,8 +2677,6 @@ as_fn_append ac_func_list " strsignal" as_fn_append ac_func_list " sig2str" as_fn_append ac_func_list " strtof_l" -as_fn_append ac_func_list " pipe2" -as_fn_append ac_func_list " accept4" as_fn_append ac_func_list " open64" as_fn_append ac_header_list " valgrind/memcheck.h" # Check that the precious variables saved in the cache have kept the same @@ -2887,7 +2734,7 @@ $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 + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## @@ -2908,16 +2755,22 @@ ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - for ac_t in install-sh install.sh shtool; do - if test -f "$ac_dir/$ac_t"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/$ac_t -c" - break 2 - fi - done + 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 + 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, @@ -3033,11 +2886,11 @@ ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; + 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;; + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; esac # Do `set' in a subshell so we don't clobber the current shell's @@ -3059,7 +2912,7 @@ # 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 + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi @@ -3069,7 +2922,7 @@ # Ok. : else - as_fn_error "newly created file is older than distributed files! + 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 @@ -3307,7 +3160,7 @@ $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 { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF @@ -3315,7 +3168,7 @@ all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +# 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;; @@ -3361,7 +3214,7 @@ 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 + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi @@ -3518,12 +3371,12 @@ PA_API_VERSION=12 -PA_PROTOCOL_VERSION=17 +PA_PROTOCOL_VERSION=16 # The stable ABI for client applications, for the version info x:y:z # always will hold y=z -LIBPULSE_VERSION_INFO=12:2:12 +LIBPULSE_VERSION_INFO=12:3:12 # A simplified, synchronous, ABI-stable interface for client @@ -3543,7 +3396,7 @@ # 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_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; } @@ -3554,16 +3407,16 @@ 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 + 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 + 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;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' @@ -3588,7 +3441,7 @@ 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 + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi @@ -3596,7 +3449,7 @@ $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; -*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' @@ -3618,52 +3471,32 @@ _ACEOF -# Extract the first word of "stow", so it can be a program name with args. -set dummy stow; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STOW+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STOW"; then - ac_cv_prog_STOW="$STOW" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STOW="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 - - test -z "$ac_cv_prog_STOW" && ac_cv_prog_STOW="no" -fi -fi -STOW=$ac_cv_prog_STOW -if test -n "$STOW"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STOW" >&5 -$as_echo "$STOW" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +if type -p stow > /dev/null && test -d /usr/local/stow ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5 +$as_echo "$as_me: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&6;} + ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}" fi +#### Platform hacks #### +case $host in + *-*-solaris* ) -if test "x$STOW" = "xyes" && test -d /usr/local/stow; then : +$as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5 -$as_echo "$as_me: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&6;} - ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}" -fi +$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h + + ;; + *-*-darwin* ) + +$as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h + + +$as_echo "#define _DARWIN_C_SOURCE 200112L" >>confdefs.h + + ;; +esac # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : @@ -3986,8 +3819,8 @@ 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; } +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 @@ -4101,9 +3934,8 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ as_fn_set_status 77 -as_fn_error "C compiler cannot create executables -See \`config.log' for more details." "$LINENO" 5; }; } +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; } @@ -4145,8 +3977,8 @@ 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; } +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 @@ -4203,9 +4035,9 @@ 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. +as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. -See \`config.log' for more details." "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5; } fi fi fi @@ -4256,8 +4088,8 @@ { { $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; } +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 @@ -4852,7 +4684,7 @@ fi set dummy $CC; ac_cc=`$as_echo "$2" | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` -if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -5097,8 +4929,8 @@ 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; } +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c @@ -5159,7 +4991,7 @@ 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 + 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 @@ -5225,7 +5057,7 @@ 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 + 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 @@ -5399,8 +5231,7 @@ 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 " -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : +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 @@ -5472,27 +5303,6 @@ -#### Platform hacks #### - -case $host in - *-*-solaris* ) - -$as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h - - -$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h - - ;; - *-*-darwin* ) - -$as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h - - -$as_echo "#define _DARWIN_C_SOURCE 200112L" >>confdefs.h - - ;; -esac - # M4 for ac_prog in gm4 m4 @@ -5539,7 +5349,7 @@ test -n "$M4" || M4="no" if test "x$M4" = xno ; then - as_fn_error "m4 missing" "$LINENO" 5 + as_fn_error $? "m4 missing" "$LINENO" 5 fi @@ -5751,7 +5561,7 @@ case "${enableval}" in yes) atomic_arm_linux_helpers=yes ;; no) atomic_arm_linux_helpers=no ;; - *) as_fn_error "bad value ${enableval} for --disable-atomic-arm-linux-helpers" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-atomic-arm-linux-helpers" "$LINENO" 5 ;; esac else @@ -5769,12 +5579,26 @@ _ACEOF ;; no) ;; - *) as_fn_error "bad value ${enableval} for --disable-atomic-arm-linux-helpers" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-atomic-arm-linux-helpers" "$LINENO" 5 ;; esac fi +# Check whether --enable-netbsd-atomic-ops was given. +if test "${enable_netbsd_atomic_ops+set}" = set; then : + enableval=$enable_netbsd_atomic_ops; + case "${enableval}" in + yes) atomic_netbsd_helpers=yes ;; + no) atomic_netbsd_helpers=no ;; + *) as_fn_error $? "bad value ${enableval} for --enable-netbsd-atomic-ops" "$LINENO" 5 ;; + esac + +else + atomic_netbsd_helpers=auto +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking target operating system" >&5 $as_echo_n "checking target operating system... " >&6; } case $host in @@ -5783,10 +5607,10 @@ $as_echo "linux" >&6; } pulse_target_os=linux ;; - *-*-darwin*) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5 -$as_echo "darwin" >&6; } - pulse_target_os=darwin + *-*-netbsd*) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: netbsd" >&5 +$as_echo "netbsd" >&6; } + pulse_target_os=netbsd ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5 @@ -5835,7 +5659,7 @@ # HW specific atomic ops stuff { $as_echo "$as_me:${as_lineno-$LINENO}: checking architecture for native atomic operations" >&5 $as_echo_n "checking architecture for native atomic operations... " >&6; } - case $host in + case $host_cpu in arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: arm" >&5 $as_echo "arm" >&6; } @@ -5901,19 +5725,20 @@ fi fi ;; - *-netbsdelf5*) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - need_libatomic_ops=no - ;; - *-freebsd*) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - need_libatomic_ops=no - ;; *) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5 + if test "x$pulse_target_os" = "xnetbsd" && test "x$atomic_netbsd_helpers" = "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define NETBSD_ATOMIC_OPS 1 +_ACEOF + + need_libatomic_ops=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5 $as_echo "unknown" >&6; } + fi ;; esac fi @@ -5999,8 +5824,8 @@ -macro_version='2.2.6b' -macro_revision='1.3017' +macro_version='2.2.10' +macro_revision='1.3175' @@ -6016,6 +5841,75 @@ 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 test "${ac_cv_path_SED+set}" = set; then : @@ -6073,7 +5967,7 @@ 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 + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED @@ -6152,7 +6046,7 @@ 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 + 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 @@ -6268,7 +6162,7 @@ { $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 +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 test "${lt_cv_prog_gnu_ld+set}" = set; then : @@ -6351,8 +6245,11 @@ NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. - if test -n "$ac_tool_prefix"; then - for ac_prog in "dumpbin -symbols" "link -dump -symbols" + 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 @@ -6396,7 +6293,7 @@ fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN - for ac_prog in "dumpbin -symbols" "link -dump -symbols" + 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 @@ -6451,6 +6348,15 @@ fi fi + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" @@ -6470,13 +6376,13 @@ else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:6473: $ac_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:6476: $NM \\\"conftest.$ac_objext\\\"\"" >&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:6479: output\"" >&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" @@ -6533,6 +6439,11 @@ 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. @@ -6597,8 +6508,8 @@ # 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"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ - = "XX$teststring$teststring"; } >/dev/null 2>&1 && + while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` @@ -6866,16 +6777,18 @@ # 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 + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && 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 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + # 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) +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' @@ -6905,6 +6818,10 @@ lt_cv_deplibs_check_method=pass_all ;; +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in @@ -6913,11 +6830,11 @@ 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]) shared object file - PA-RISC [0-9].[0-9]' + 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_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 @@ -6943,7 +6860,7 @@ lt_cv_deplibs_check_method=pass_all ;; -netbsd* | netbsdelf*-gnu) +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 @@ -7355,6 +7272,18 @@ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac + + + + + + @@ -7524,8 +7453,8 @@ 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 + 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 @@ -7678,7 +7607,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 7681 "configure"' > conftest.$ac_ext + 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=$? @@ -8390,6 +8319,38 @@ 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 test "${lt_cv_ld_force_load+set}" = set; 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 -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; 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' ;; @@ -8417,7 +8378,7 @@ else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi - if test "$DSYMUTIL" != ":"; then + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= @@ -8440,12 +8401,14 @@ + + # Set options enable_dlopen=yes enable_win32_dll=yes case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. set dummy ${ac_tool_prefix}as; ac_word=$2 @@ -8888,6 +8851,7 @@ + test -z "$LN_S" && LN_S="ln -s" @@ -8937,19 +8901,6 @@ - - - - - - - - - - - - - case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some @@ -8962,23 +8913,6 @@ ;; esac -# 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. -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' - # Global variables: ofile=libtool can_build_shared=yes @@ -9007,7 +8941,7 @@ *) break;; esac done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it @@ -9216,7 +9150,12 @@ lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then - lt_prog_compiler_no_builtin_flag=' -fno-builtin' + 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; } @@ -9236,15 +9175,15 @@ -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:9239: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:9243: \$? = $ac_status" >&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 "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $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 @@ -9322,6 +9261,12 @@ 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 @@ -9364,6 +9309,13 @@ lt_prog_compiler_pic='-fPIC' ;; esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + lt_prog_compiler_wl='-Xlinker ' + lt_prog_compiler_pic='-Xcompiler -fPIC' + ;; + esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in @@ -9426,7 +9378,7 @@ lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; - pgcc* | pgf77* | pgf90* | pgf95*) + 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,' @@ -9438,25 +9390,25 @@ # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; - xl*) - # IBM XL C 8.0/Fortran 10.1 on PPC + 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\ C*) - # Sun C 5.9 + *Sun\ F* | *Sun*Fortran*) + # 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='-Wl,' + lt_prog_compiler_wl='' ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker + *Sun\ C*) + # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='' + lt_prog_compiler_wl='-Wl,' ;; esac ;; @@ -9488,7 +9440,7 @@ lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in - f77* | f90* | f95*) + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; @@ -9575,15 +9527,15 @@ -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:9578: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:9582: \$? = $ac_status" >&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 "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $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 @@ -9631,7 +9583,7 @@ if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $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 @@ -9680,16 +9632,16 @@ -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:9683: $lt_compile\"" >&5) + (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:9687: \$? = $ac_status" >&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 "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $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 @@ -9735,16 +9687,16 @@ -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:9738: $lt_compile\"" >&5) + (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:9742: \$? = $ac_status" >&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 "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $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 @@ -9854,13 +9806,36 @@ openbsd*) with_gnu_ld=no ;; - linux* | k*bsd*-gnu) - link_all_deplibs=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 "$with_gnu_ld" = yes; 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 "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' @@ -9894,11 +9869,12 @@ ld_shlibs=no cat <<_LT_EOF 1>&2 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** 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 modify your PATH -*** so that a non-GNU linker is found, and then restart. +*** 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 @@ -9934,6 +9910,7 @@ # _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 @@ -9955,6 +9932,11 @@ fi ;; + haiku*) + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + link_all_deplibs=yes + ;; + interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no @@ -9984,11 +9966,12 @@ 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + 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*) # 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + 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' ;; @@ -9999,13 +9982,17 @@ lf95*) # Lahey Fortran 8.1 whole_archive_flag_spec= tmp_sharedflag='--shared' ;; - xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) + 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + 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 @@ -10021,17 +10008,17 @@ fi case $cc_basename in - xlf*) + 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= hardcode_libdir_flag_spec_ld='-rpath $libdir' - archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; 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 $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac @@ -10040,7 +10027,7 @@ fi ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -10152,8 +10139,10 @@ else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". 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")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi @@ -10215,7 +10204,6 @@ if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi - link_all_deplibs=no else # not using gcc if test "$host_cpu" = ia64; then @@ -10272,7 +10260,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; 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 "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' @@ -10316,8 +10304,13 @@ # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec='$convenience' + if test "$with_gnu_ld" = yes; 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 # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' @@ -10356,7 +10349,7 @@ # 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 `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' + 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. @@ -10372,7 +10365,11 @@ hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported - whole_archive_flag_spec='' + if test "$lt_cv_ld_force_load" = "yes"; 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 @@ -10380,7 +10377,7 @@ *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo + 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}" @@ -10446,7 +10443,7 @@ ;; hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then + if test "$GCC" = yes && test "$with_gnu_ld" = no; then archive_cmds='$CC -shared -fPIC ${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' @@ -10465,7 +10462,7 @@ ;; hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then + if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' @@ -10486,7 +10483,46 @@ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -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 test "${lt_cv_prog_compiler__b+set}" = set; 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 x"$lt_cv_prog_compiler__b" = xyes; 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 @@ -10514,7 +10550,7 @@ irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + archive_cmds='$CC -shared $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. @@ -10525,15 +10561,15 @@ int foo(void) {} _ACEOF if ac_fn_c_try_link "$LINENO"; then : - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + archive_expsym_cmds='$CC -shared $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 rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + 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' @@ -10542,7 +10578,7 @@ link_all_deplibs=yes ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -10595,17 +10631,17 @@ hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported - archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; 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" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + 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" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + 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' @@ -10615,13 +10651,13 @@ osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + archive_cmds='$CC -shared${allow_undefined_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" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + 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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $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' @@ -10824,44 +10860,50 @@ # 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; } - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext +if test "${lt_cv_archive_cmds_need_lc+set}" = set; 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 + 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 + 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 - archive_cmds_need_lc=no - else - archive_cmds_need_lc=yes - fi - allow_undefined_flag=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 -$as_echo "$archive_cmds_need_lc" >&6; } + 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 @@ -11032,16 +11074,23 @@ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then + 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 -e 's/;/ /g'` - else - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi + 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= @@ -11054,7 +11103,7 @@ 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 ' + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; @@ -11074,7 +11123,13 @@ if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` + # 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 @@ -11162,7 +11217,7 @@ 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=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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' + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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 ;; @@ -11215,23 +11270,12 @@ 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="/usr/lib /lib/w32api /lib /usr/local/lib" + + 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}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - 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 ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' @@ -11331,6 +11375,19 @@ hardcode_into_libs=yes ;; +haiku*) + version_type=linux + 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=yes + 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. @@ -11373,8 +11430,10 @@ soname_spec='${libname}${release}${shared_ext}$major' ;; esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. + # 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]*) @@ -11441,12 +11500,17 @@ 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 - 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 + if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; 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 @@ -11459,23 +11523,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - shlibpath_overrides_runpath=yes + 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 + 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" + # Append ld.so.conf contents 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;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + 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 @@ -11487,18 +11559,6 @@ dynamic_linker='GNU/Linux ld.so' ;; -netbsdelf*-gnu) - version_type=linux - 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='NetBSD ld.elf_so' - ;; - netbsd*) version_type=sunos need_lib_prefix=no @@ -11789,6 +11849,11 @@ + + + + + { $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= @@ -12119,7 +12184,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12122 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12160,7 +12225,13 @@ # endif #endif -void fnord() { int i=42;} +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +void fnord () __attribute__((visibility("default"))); +#endif + +void fnord () { int i=42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); @@ -12169,7 +12240,11 @@ if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } /* dlclose (self); */ } else @@ -12215,7 +12290,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12218 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12256,7 +12331,13 @@ # endif #endif -void fnord() { int i=42;} +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +void fnord () __attribute__((visibility("default"))); +#endif + +void fnord () { int i=42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); @@ -12265,7 +12346,11 @@ if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } /* dlclose (self); */ } else @@ -12495,14 +12580,13 @@ if test "x$LIBLTDL" = "x"; then : - as_fn_error "Unable to find libltdl version 2. Makes sure you have libtool 2.2 or later installed." "$LINENO" 5 + as_fn_error $? "Unable to find libltdl version 2. Makes sure you have libtool 2.2 or later installed." "$LINENO" 5 fi #### Determine build environment #### os_is_win32=0 -os_is_darwin=0 case "$host_os" in mingw*) @@ -12511,12 +12595,6 @@ os_is_win32=1 ;; - darwin*) - -$as_echo "#define OS_IS_DARWIN 1" >>confdefs.h - - os_is_darwin=1 - ;; esac if test "x$os_is_win32" = "x1"; then @@ -12527,14 +12605,6 @@ OS_IS_WIN32_FALSE= fi - if test "x$os_is_darwin" = "x1"; then - OS_IS_DARWIN_TRUE= - OS_IS_DARWIN_FALSE='#' -else - OS_IS_DARWIN_TRUE='#' - OS_IS_DARWIN_FALSE= -fi - ################################### # Basic environment checks # @@ -12665,8 +12735,7 @@ 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 " -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : +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 @@ -13149,7 +13218,7 @@ ;; #( *) - as_fn_error "unknown endianness + as_fn_error $? "unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; esac @@ -14215,62 +14284,6 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_setaffinity_np" >&5 -$as_echo_n "checking for library containing pthread_setaffinity_np... " >&6; } -if test "${ac_cv_search_pthread_setaffinity_np+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$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 pthread_setaffinity_np (); -int -main () -{ -return pthread_setaffinity_np (); - ; - return 0; -} -_ACEOF -for ac_lib in '' pthread; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_pthread_setaffinity_np=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if test "${ac_cv_search_pthread_setaffinity_np+set}" = set; then : - break -fi -done -if test "${ac_cv_search_pthread_setaffinity_np+set}" = set; then : - -else - ac_cv_search_pthread_setaffinity_np=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_setaffinity_np" >&5 -$as_echo "$ac_cv_search_pthread_setaffinity_np" >&6; } -ac_res=$ac_cv_search_pthread_setaffinity_np -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - # BSD { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5 @@ -14448,38 +14461,6 @@ done -# Darwin/OS X -if test "x$os_is_darwin" = "x1" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking looking for Apple CoreService Framework" >&5 -$as_echo_n "checking looking for Apple CoreService Framework... " >&6; } - # How do I check a framework "library" - AC_CHECK_LIB prob. won't work??, just assign LIBS & hope - ac_fn_c_check_header_mongrel "$LINENO" "/Developer/Headers/FlatCarbon/CoreServices.h" "ac_cv_header__Developer_Headers_FlatCarbon_CoreServices_h" "$ac_includes_default" -if test "x$ac_cv_header__Developer_Headers_FlatCarbon_CoreServices_h" = x""yes; then : - LIBS="$LIBS -framework CoreServices" -else - as_fn_error "CoreServices.h header file not found" "$LINENO" 5 -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -$as_echo "ok" >&6; } - -$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h - - HAVE_BONJOUR=1 -fi - - - if test "x$HAVE_BONJOUR" = x1; then - HAVE_BONJOUR_TRUE= - HAVE_BONJOUR_FALSE='#' -else - HAVE_BONJOUR_TRUE='#' - HAVE_BONJOUR_FALSE= -fi - - #### Check for functions #### # ISO @@ -14490,8 +14471,7 @@ do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -eval as_val=\$$as_ac_var - if test "x$as_val" = x""yes; then : +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF @@ -14522,8 +14502,7 @@ do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -eval as_val=\$$as_ac_var - if test "x$as_val" = x""yes; then : +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF @@ -14889,8 +14868,7 @@ do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : +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 @@ -15087,10 +15065,6 @@ - - - - # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 @@ -15218,8 +15192,7 @@ for ac_func in _getb67 GETB67 getb67; do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -eval as_val=\$$as_ac_var - if test "x$as_val" = x""yes; then : +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define CRAY_STACKSEG_END $ac_func @@ -15596,7 +15569,7 @@ # Canonicalize the path 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%/%"` + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; @@ -15630,9 +15603,9 @@ # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) - test "$with_gnu_ld" != no && break ;; + test "$with_gnu_ld" != no && break ;; *) - test "$with_gnu_ld" != yes && break ;; + test "$with_gnu_ld" != yes && break ;; esac fi done @@ -15650,7 +15623,7 @@ { $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 +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 test "${acl_cv_prog_gnu_ld+set}" = set; then : @@ -15704,23 +15677,70 @@ - acl_libdirstem=lib - searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` - if test -n "$searchpath"; then - acl_save_IFS="${IFS= }"; IFS=":" - for searchdir in $searchpath; do - if test -d "$searchdir"; then - case "$searchdir" in - */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; - *) searchdir=`cd "$searchdir" && pwd` - case "$searchdir" in - */lib64 ) acl_libdirstem=lib64 ;; - esac ;; + + acl_libdirstem=lib + acl_libdirstem2= + case "$host_os" in + solaris*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 +$as_echo_n "checking for 64-bit host... " >&6; } +if test "${gl_cv_solaris_64bit+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef _LP64 +sixtyfour bits +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "sixtyfour bits" >/dev/null 2>&1; then : + gl_cv_solaris_64bit=yes +else + gl_cv_solaris_64bit=no +fi +rm -f conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 +$as_echo "$gl_cv_solaris_64bit" >&6; } + if test $gl_cv_solaris_64bit = yes; then + acl_libdirstem=lib/64 + case "$host_cpu" in + sparc*) acl_libdirstem2=lib/sparcv9 ;; + i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi - done - IFS="$acl_save_IFS" - fi + ;; + *) + searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` + if test -n "$searchpath"; then + acl_save_IFS="${IFS= }"; IFS=":" + for searchdir in $searchpath; do + if test -d "$searchdir"; then + case "$searchdir" in + */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; + */../ | */.. ) + # Better ignore directories of this form. They are misleading. + ;; + *) searchdir=`cd "$searchdir" && pwd` + case "$searchdir" in + */lib64 ) acl_libdirstem=lib64 ;; + esac ;; + esac + fi + done + IFS="$acl_save_IFS" + fi + ;; + esac + test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" + + + @@ -15766,6 +15786,10 @@ else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" + if test "$acl_libdirstem2" != "$acl_libdirstem" \ + && ! test -d "$withval/$acl_libdirstem"; then + additional_libdir="$withval/$acl_libdirstem2" + fi fi fi @@ -15775,6 +15799,7 @@ LTLIBICONV= INCICONV= LIBICONV_PREFIX= + HAVE_LIBICONV= rpathdirs= ltrpathdirs= names_already_handled= @@ -15917,7 +15942,9 @@ if test "X$found_dir" != "X"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then - if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then + if test "$enable_rpath" = no \ + || test "X$found_dir" = "X/usr/$acl_libdirstem" \ + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else haveit= @@ -15984,7 +16011,16 @@ case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` - LIBICONV_PREFIX="$basedir" + if test "$name" = 'iconv'; then + LIBICONV_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + */$acl_libdirstem2 | */$acl_libdirstem2/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` + if test "$name" = 'iconv'; then + LIBICONV_PREFIX="$basedir" + fi additional_includedir="$basedir/include" ;; esac @@ -16033,9 +16069,11 @@ case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` - if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= - if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; @@ -16167,6 +16205,11 @@ + + + + + am_save_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do @@ -16291,6 +16334,25 @@ return 1; } } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\263"; + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + return 1; + } + } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { @@ -16404,10 +16466,10 @@ fi am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- - }$am_cv_proto_iconv" >&5 -$as_echo "${ac_t:- - }$am_cv_proto_iconv" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: + $am_cv_proto_iconv" >&5 +$as_echo " + $am_cv_proto_iconv" >&6; } cat >>confdefs.h <<_ACEOF #define ICONV_CONST $am_cv_proto_iconv_arg1 @@ -16434,7 +16496,7 @@ case "$am__api_version" in 1.01234) - as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 + as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 ;; *) ;; @@ -16451,7 +16513,7 @@ { $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 0.35.0 or later." "$LINENO" 5 + as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5 fi # Extract the first word of "intltool-update", so it can be a program name with args. @@ -16575,7 +16637,7 @@ 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 + as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 fi INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' @@ -16857,13 +16919,13 @@ if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then - as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5 + 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 + 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. @@ -16907,13 +16969,13 @@ if test -z "$INTLTOOL_PERL"; then - as_fn_error "perl not found" "$LINENO" 5 + 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 + 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 @@ -16926,7 +16988,7 @@ { $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 + as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 fi fi @@ -17823,7 +17885,7 @@ case "${enableval}" in yes) x11=yes ;; no) x11=no ;; - *) as_fn_error "bad value ${enableval} for --disable-x11" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-x11" "$LINENO" 5 ;; esac else @@ -17841,12 +17903,12 @@ pkg_cv_X11_CFLAGS="$X11_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" x11 ice sm xtst \""; } >&5 - ($PKG_CONFIG --exists --print-errors " x11 ice sm xtst ") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" x11-xcb ice sm xtst xcb-atom \""; } >&5 + ($PKG_CONFIG --exists --print-errors " x11-xcb ice sm xtst xcb-atom ") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags " x11 ice sm xtst " 2>/dev/null` + pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags " x11-xcb ice sm xtst xcb-atom " 2>/dev/null` else pkg_failed=yes fi @@ -17857,12 +17919,12 @@ pkg_cv_X11_LIBS="$X11_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" x11 ice sm xtst \""; } >&5 - ($PKG_CONFIG --exists --print-errors " x11 ice sm xtst ") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" x11-xcb ice sm xtst xcb-atom \""; } >&5 + ($PKG_CONFIG --exists --print-errors " x11-xcb ice sm xtst xcb-atom ") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_X11_LIBS=`$PKG_CONFIG --libs " x11 ice sm xtst " 2>/dev/null` + pkg_cv_X11_LIBS=`$PKG_CONFIG --libs " x11-xcb ice sm xtst xcb-atom " 2>/dev/null` else pkg_failed=yes fi @@ -17882,9 +17944,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " x11 ice sm xtst " 2>&1` + X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " x11-xcb ice sm xtst xcb-atom " 2>&1` else - X11_PKG_ERRORS=`$PKG_CONFIG --print-errors " x11 ice sm xtst " 2>&1` + X11_PKG_ERRORS=`$PKG_CONFIG --print-errors " x11-xcb ice sm xtst xcb-atom " 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$X11_PKG_ERRORS" >&5 @@ -17892,7 +17954,7 @@ HAVE_X11=0 if test "x$x11" = xyes ; then - as_fn_error "*** X11 not found" "$LINENO" 5 + as_fn_error $? "*** X11 not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -17901,7 +17963,7 @@ HAVE_X11=0 if test "x$x11" = xyes ; then - as_fn_error "*** X11 not found" "$LINENO" 5 + as_fn_error $? "*** X11 not found" "$LINENO" 5 fi else @@ -18002,7 +18064,7 @@ else if test "x${with_caps}" = "xyes" ; then - as_fn_error "*** POSIX caps libraries not found" "$LINENO" 5 + as_fn_error $? "*** POSIX caps libraries not found" "$LINENO" 5 fi fi @@ -18017,7 +18079,7 @@ else if test "x${with_caps}" = "xyes" ; then - as_fn_error "*** POSIX caps headers not found" "$LINENO" 5 + as_fn_error $? "*** POSIX caps headers not found" "$LINENO" 5 fi fi @@ -18090,7 +18152,7 @@ # Put the nasty error message in config.log where it belongs echo "$LIBSNDFILE_PKG_ERRORS" >&5 - as_fn_error "Package requirements ( sndfile >= 1.0.20 ) were not met: + as_fn_error $? "Package requirements ( sndfile >= 1.0.20 ) were not met: $LIBSNDFILE_PKG_ERRORS @@ -18100,12 +18162,13 @@ Alternatively, you may set the environment variables LIBSNDFILE_CFLAGS and LIBSNDFILE_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 +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. @@ -18114,7 +18177,8 @@ See the pkg-config man page for more details. To get pkg-config, see . -See \`config.log' for more details." "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5; } + else LIBSNDFILE_CFLAGS=$pkg_cv_LIBSNDFILE_CFLAGS LIBSNDFILE_LIBS=$pkg_cv_LIBSNDFILE_LIBS @@ -18182,7 +18246,7 @@ # Put the nasty error message in config.log where it belongs echo "$LIBSPEEX_PKG_ERRORS" >&5 - as_fn_error "Package requirements ( speexdsp >= 1.2 ) were not met: + as_fn_error $? "Package requirements ( speexdsp >= 1.2 ) were not met: $LIBSPEEX_PKG_ERRORS @@ -18192,12 +18256,13 @@ Alternatively, you may set the environment variables LIBSPEEX_CFLAGS and LIBSPEEX_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 +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. @@ -18206,7 +18271,8 @@ See the pkg-config man page for more details. To get pkg-config, see . -See \`config.log' for more details." "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5; } + else LIBSPEEX_CFLAGS=$pkg_cv_LIBSPEEX_CFLAGS LIBSPEEX_LIBS=$pkg_cv_LIBSPEEX_LIBS @@ -18234,7 +18300,7 @@ else - as_fn_error "*** libatomic-ops headers not found" "$LINENO" 5 + as_fn_error $? "*** libatomic-ops headers not found" "$LINENO" 5 fi @@ -18258,7 +18324,7 @@ case "${enableval}" in yes) samplerate=yes ;; no) samplerate=no ;; - *) as_fn_error "bad value ${enableval} for --disable-samplerate" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-samplerate" "$LINENO" 5 ;; esac else @@ -18327,7 +18393,7 @@ HAVE_LIBSAMPLERATE=0 if test "x$samplerate" = xyes ; then - as_fn_error "*** Libsamplerate not found" "$LINENO" 5 + as_fn_error $? "*** Libsamplerate not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -18336,7 +18402,7 @@ HAVE_LIBSAMPLERATE=0 if test "x$samplerate" = xyes ; then - as_fn_error "*** Libsamplerate not found" "$LINENO" 5 + as_fn_error $? "*** Libsamplerate not found" "$LINENO" 5 fi else @@ -18443,7 +18509,7 @@ if test "x${with_database}" = "xtdb" ; then - as_fn_error "*** tdb not found" "$LINENO" 5 + as_fn_error $? "*** tdb not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -18451,7 +18517,7 @@ $as_echo "no" >&6; } if test "x${with_database}" = "xtdb" ; then - as_fn_error "*** tdb not found" "$LINENO" 5 + as_fn_error $? "*** tdb not found" "$LINENO" 5 fi else @@ -18537,7 +18603,7 @@ GDBM_LIBS=-lgdbm with_database=gdbm elif test "x${with_database}" = "xgdbm"; then - as_fn_error "*** gdbm not found" "$LINENO" 5 + as_fn_error $? "*** gdbm not found" "$LINENO" 5 fi fi @@ -18547,7 +18613,7 @@ fi if test "x${HAVE_TDB}" != x1 -a "x${HAVE_GDBM}" != x1 -a "x${HAVE_SIMPLEDB}" != x1; then - as_fn_error "*** missing database backend" "$LINENO" 5 + as_fn_error $? "*** missing database backend" "$LINENO" 5 fi if test "x${HAVE_TDB}" = x1 ; then @@ -18610,7 +18676,7 @@ case "${enableval}" in yes) oss_output=yes ;; no) oss_output=no ;; - *) as_fn_error "bad value ${enableval} for --disable-oss-output" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-oss-output" "$LINENO" 5 ;; esac else @@ -18624,7 +18690,7 @@ case "${enableval}" in yes) oss_wrapper=yes ;; no) oss_wrapper=no ;; - *) as_fn_error "bad value ${enableval} for --disable-oss-wrapper" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-oss-wrapper" "$LINENO" 5 ;; esac else @@ -18657,7 +18723,7 @@ HAVE_OSS=0 if test "x$oss_output" = xyes || test "x$oss_wrapper" = "xyes"; then - as_fn_error "*** OSS support not found" "$LINENO" 5 + as_fn_error $? "*** OSS support not found" "$LINENO" 5 fi fi @@ -18686,49 +18752,6 @@ fi -#### CoreAudio support (optional) #### - -# Check whether --enable-coreaudio-output was given. -if test "${enable_coreaudio_output+set}" = set; then : - enableval=$enable_coreaudio_output; - case "${enableval}" in - yes) coreaudio_enabled=yes ;; - no) coreaudio_enabled=no ;; - *) as_fn_error "bad value ${enableval} for --disable-coreaudio-output" "$LINENO" 5 ;; - esac - -else - coreaudio_enabled=auto -fi - - -if test "x${coreaudio_enabled}" != xno ; then - for ac_header in CoreAudio/CoreAudio.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default" -if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_COREAUDIO_COREAUDIO_H 1 -_ACEOF - HAVE_COREAUDIO=1 -fi - -done - -else - HAVE_COREAUDIO=0 -fi - - - if test "x$HAVE_COREAUDIO" = x1 && test "x${coreaudio_enabled}" != "xno"; then - HAVE_COREAUDIO_TRUE= - HAVE_COREAUDIO_FALSE='#' -else - HAVE_COREAUDIO_TRUE='#' - HAVE_COREAUDIO_FALSE= -fi - - #### ALSA support (optional) #### # Check whether --enable-alsa was given. @@ -18737,7 +18760,7 @@ case "${enableval}" in yes) alsa=yes ;; no) alsa=no ;; - *) as_fn_error "bad value ${enableval} for --disable-alsa" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-alsa" "$LINENO" 5 ;; esac else @@ -18806,7 +18829,7 @@ HAVE_ALSA=0 if test "x$alsa" = xyes ; then - as_fn_error "*** Needed alsa >= 1.0.19 support not found" "$LINENO" 5 + as_fn_error $? "*** Needed alsa >= 1.0.19 support not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -18815,7 +18838,7 @@ HAVE_ALSA=0 if test "x$alsa" = xyes ; then - as_fn_error "*** Needed alsa >= 1.0.19 support not found" "$LINENO" 5 + as_fn_error $? "*** Needed alsa >= 1.0.19 support not found" "$LINENO" 5 fi else @@ -18854,7 +18877,7 @@ case "${enableval}" in yes) solaris=yes ;; no) solaris=no ;; - *) as_fn_error "bad value ${enableval} for --disable-solaris" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-solaris" "$LINENO" 5 ;; esac else @@ -18880,7 +18903,7 @@ HAVE_SOLARIS=0 if test "x$solaris" = xyes ; then - as_fn_error "*** Solaris audio support not found" "$LINENO" 5 + as_fn_error $? "*** Solaris audio support not found" "$LINENO" 5 fi fi @@ -18909,7 +18932,7 @@ case "${enableval}" in yes) glib2=yes ;; no) glib2=no ;; - *) as_fn_error "bad value ${enableval} for --disable-glib2" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-glib2" "$LINENO" 5 ;; esac else @@ -18978,7 +19001,7 @@ HAVE_GLIB20=0 if test "x$glib2" = xyes ; then - as_fn_error "*** GLib 2 support not found" "$LINENO" 5 + as_fn_error $? "*** GLib 2 support not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -18987,7 +19010,7 @@ HAVE_GLIB20=0 if test "x$glib2" = xyes ; then - as_fn_error "*** GLib 2 support not found" "$LINENO" 5 + as_fn_error $? "*** GLib 2 support not found" "$LINENO" 5 fi else @@ -19027,7 +19050,7 @@ case "${enableval}" in yes) gtk2=yes ;; no) gtk2=no ;; - *) as_fn_error "bad value ${enableval} for --disable-gtk2" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-gtk2" "$LINENO" 5 ;; esac else @@ -19096,7 +19119,7 @@ HAVE_GTK20=0 if test "x$gtk2" = xyes ; then - as_fn_error "*** Gtk+ 2 support not found" "$LINENO" 5 + as_fn_error $? "*** Gtk+ 2 support not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -19105,7 +19128,7 @@ HAVE_GTK20=0 if test "x$gtk2" = xyes ; then - as_fn_error "*** Gtk+ 2 support not found" "$LINENO" 5 + as_fn_error $? "*** Gtk+ 2 support not found" "$LINENO" 5 fi else @@ -19145,7 +19168,7 @@ case "${enableval}" in yes) gconf=yes ;; no) gconf=no ;; - *) as_fn_error "bad value ${enableval} for --disable-gconf" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-gconf" "$LINENO" 5 ;; esac else @@ -19214,7 +19237,7 @@ HAVE_GCONF=0 if test "x$gconf" = xyes ; then - as_fn_error "*** GConf support not found" "$LINENO" 5 + as_fn_error $? "*** GConf support not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -19223,7 +19246,7 @@ HAVE_GCONF=0 if test "x$gconf" = xyes ; then - as_fn_error "*** GConf support not found" "$LINENO" 5 + as_fn_error $? "*** GConf support not found" "$LINENO" 5 fi else @@ -19257,7 +19280,7 @@ case "${enableval}" in yes) avahi=yes ;; no) avahi=no ;; - *) as_fn_error "bad value ${enableval} for --disable-avahi" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-avahi" "$LINENO" 5 ;; esac else @@ -19326,7 +19349,7 @@ HAVE_AVAHI=0 if test "x$avahi" = xyes ; then - as_fn_error "*** Avahi support not found" "$LINENO" 5 + as_fn_error $? "*** Avahi support not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -19335,7 +19358,7 @@ HAVE_AVAHI=0 if test "x$avahi" = xyes ; then - as_fn_error "*** Avahi support not found" "$LINENO" 5 + as_fn_error $? "*** Avahi support not found" "$LINENO" 5 fi else @@ -19369,7 +19392,7 @@ case "${enableval}" in yes) jack=yes ;; no) jack=no ;; - *) as_fn_error "bad value ${enableval} for --disable-jack" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-jack" "$LINENO" 5 ;; esac else @@ -19438,7 +19461,7 @@ HAVE_JACK=0 if test "x$jack" = xyes ; then - as_fn_error "*** JACK support not found" "$LINENO" 5 + as_fn_error $? "*** JACK support not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -19447,7 +19470,7 @@ HAVE_JACK=0 if test "x$jack" = xyes ; then - as_fn_error "*** JACK support not found" "$LINENO" 5 + as_fn_error $? "*** JACK support not found" "$LINENO" 5 fi else @@ -19481,7 +19504,7 @@ case "${enableval}" in yes) asyncns=yes ;; no) asyncns=no ;; - *) as_fn_error "bad value ${enableval} for --disable-asyncns" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-asyncns" "$LINENO" 5 ;; esac else @@ -19550,7 +19573,7 @@ HAVE_LIBASYNCNS=0 if test "x$asyncns" = xyes ; then - as_fn_error "*** Async DNS support not found" "$LINENO" 5 + as_fn_error $? "*** Async DNS support not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -19559,7 +19582,7 @@ HAVE_LIBASYNCNS=0 if test "x$asyncns" = xyes ; then - as_fn_error "*** Async DNS support not found" "$LINENO" 5 + as_fn_error $? "*** Async DNS support not found" "$LINENO" 5 fi else @@ -19599,7 +19622,7 @@ case "${enableval}" in yes) tcpwrap=yes ;; no) tcpwrap=no ;; - *) as_fn_error "bad value ${enableval} for --disable-tcpwrap" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-tcpwrap" "$LINENO" 5 ;; esac else @@ -19645,7 +19668,7 @@ LIBS="$saved_LIBS" if test "x${LIBWRAP_LIBS}" = x && test "x$tcpwrap" = xyes ; then - as_fn_error "*** TCP wrappers support not found" "$LINENO" 5 + as_fn_error $? "*** TCP wrappers support not found" "$LINENO" 5 fi else LIBWRAP_LIBS= @@ -19661,7 +19684,7 @@ case "${enableval}" in yes) lirc=yes ;; no) lirc=no ;; - *) as_fn_error "bad value ${enableval} for --disable-lirc" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-lirc" "$LINENO" 5 ;; esac else @@ -19725,7 +19748,7 @@ if test "x${HAVE_LIRC}" = x0 && test "x$lirc" = xyes ; then - as_fn_error "*** LIRC support not found" "$LINENO" 5 + as_fn_error $? "*** LIRC support not found" "$LINENO" 5 fi else HAVE_LIRC=0 @@ -19750,7 +19773,7 @@ case "${enableval}" in yes) hal=yes ;; no) hal=no ;; - *) as_fn_error "bad value ${enableval} for --disable-hal" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-hal" "$LINENO" 5 ;; esac else @@ -19818,7 +19841,7 @@ HAVE_HAL=0 if test "x$hal" = xyes ; then - as_fn_error "*** HAL support not found" "$LINENO" 5 + as_fn_error $? "*** HAL support not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -19827,7 +19850,7 @@ HAVE_HAL=0 if test "x$hal" = xyes ; then - as_fn_error "*** HAL support not found" "$LINENO" 5 + as_fn_error $? "*** HAL support not found" "$LINENO" 5 fi else @@ -19866,7 +19889,7 @@ case "${enableval}" in yes) udev=yes ;; no) udev=no ;; - *) as_fn_error "bad value ${enableval} for --disable-udev" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-udev" "$LINENO" 5 ;; esac else @@ -19934,7 +19957,7 @@ HAVE_UDEV=0 if test "x$udev" = xyes ; then - as_fn_error "*** UDEV support not found" "$LINENO" 5 + as_fn_error $? "*** UDEV support not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -19943,7 +19966,7 @@ HAVE_UDEV=0 if test "x$udev" = xyes ; then - as_fn_error "*** UDEV support not found" "$LINENO" 5 + as_fn_error $? "*** UDEV support not found" "$LINENO" 5 fi else @@ -19982,7 +20005,7 @@ case "${enableval}" in yes) halcompat=yes ;; no) halcompat=no ;; - *) as_fn_error "bad value ${enableval} for --disable-hal-compat" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-hal-compat" "$LINENO" 5 ;; esac else @@ -20016,7 +20039,7 @@ case "${enableval}" in yes) bluez=yes ;; no) bluez=no ;; - *) as_fn_error "bad value ${enableval} for --disable-bluez" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-bluez" "$LINENO" 5 ;; esac else @@ -20084,7 +20107,7 @@ HAVE_BLUEZ=0 if test "x$bluez" = xyes ; then - as_fn_error "*** BLUEZ support not found" "$LINENO" 5 + as_fn_error $? "*** BLUEZ support not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -20093,7 +20116,7 @@ HAVE_BLUEZ=0 if test "x$bluez" = xyes ; then - as_fn_error "*** BLUEZ support not found" "$LINENO" 5 + as_fn_error $? "*** BLUEZ support not found" "$LINENO" 5 fi else @@ -20127,7 +20150,7 @@ case "${enableval}" in yes) dbus=yes ;; no) dbus=no ;; - *) as_fn_error "bad value ${enableval} for --disable-dbus" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-dbus" "$LINENO" 5 ;; esac else @@ -20201,7 +20224,7 @@ HAVE_DBUS=0 if test "x$dbus" = xyes ; then - as_fn_error "*** D-Bus support not found" "$LINENO" 5 + as_fn_error $? "*** D-Bus support not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -20210,7 +20233,7 @@ HAVE_DBUS=0 if test "x$dbus" = xyes ; then - as_fn_error "*** D-Bus support not found" "$LINENO" 5 + as_fn_error $? "*** D-Bus support not found" "$LINENO" 5 fi else @@ -20222,7 +20245,6 @@ HAVE_DBUS=1 saved_LIBS="$LIBS" LIBS="$LIBS $DBUS_LIBS" - CFLAGS="$CFLAGS $DBUS_CFLAGS" for ac_func in dbus_watch_get_unix_fd do : ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" @@ -20264,7 +20286,7 @@ case "${enableval}" in yes) ipv6=yes ;; no) ipv6=no ;; - *) as_fn_error "bad value ${enableval} for --disable-ipv6" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-ipv6" "$LINENO" 5 ;; esac else @@ -20289,7 +20311,7 @@ case "${enableval}" in yes) openssl=yes ;; no) openssl=no ;; - *) as_fn_error "bad value ${enableval} for --disable-openssl" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-openssl" "$LINENO" 5 ;; esac else @@ -20359,7 +20381,7 @@ HAVE_OPENSSL=0 if test "x$openssl" = xyes ; then - as_fn_error "*** OpenSSL support not found" "$LINENO" 5 + as_fn_error $? "*** OpenSSL support not found" "$LINENO" 5 fi elif test $pkg_failed = untried; then @@ -20368,7 +20390,7 @@ HAVE_OPENSSL=0 if test "x$openssl" = xyes ; then - as_fn_error "*** OpenSSL support not found" "$LINENO" 5 + as_fn_error $? "*** OpenSSL support not found" "$LINENO" 5 fi else @@ -20399,101 +20421,13 @@ fi -#### FFTW (optional) #### - -# Check whether --with-fftw was given. -if test "${with_fftw+set}" = set; then : - withval=$with_fftw; -fi - - -if test "x${with_fftw}" != "xno"; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFTW" >&5 -$as_echo_n "checking for FFTW... " >&6; } - -if test -n "$FFTW_CFLAGS"; then - pkg_cv_FFTW_CFLAGS="$FFTW_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f\""; } >&5 - ($PKG_CONFIG --exists --print-errors "fftw3f") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_FFTW_CFLAGS=`$PKG_CONFIG --cflags "fftw3f" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$FFTW_LIBS"; then - pkg_cv_FFTW_LIBS="$FFTW_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f\""; } >&5 - ($PKG_CONFIG --exists --print-errors "fftw3f") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_FFTW_LIBS=`$PKG_CONFIG --libs "fftw3f" 2>/dev/null` -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 - FFTW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fftw3f" 2>&1` - else - FFTW_PKG_ERRORS=`$PKG_CONFIG --print-errors "fftw3f" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$FFTW_PKG_ERRORS" >&5 - - HAVE_FFTW=0 -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - HAVE_FFTW=0 -else - FFTW_CFLAGS=$pkg_cv_FFTW_CFLAGS - FFTW_LIBS=$pkg_cv_FFTW_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - HAVE_FFTW=1 -fi -fi - if test "x$HAVE_FFTW" = "x1"; then - HAVE_FFTW_TRUE= - HAVE_FFTW_FALSE='#' -else - HAVE_FFTW_TRUE='#' - HAVE_FFTW_FALSE= -fi - - ### Build and Install man pages ### # Check whether --enable-manpages was given. if test "${enable_manpages+set}" = set; then : enableval=$enable_manpages; case "${enableval}" in yes) manpages=yes ;; no) manpages=no ;; - *) as_fn_error "bad value ${enableval} for --disable-manpages" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-manpages" "$LINENO" 5 ;; esac else manpages=yes @@ -20571,7 +20505,7 @@ case "${enableval}" in yes) per_user_esound_socket=1 ;; no) per_user_esound_socket=0 ;; - *) as_fn_error "bad value ${enableval} for --disable-per-user-esound-socket" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-per-user-esound-socket" "$LINENO" 5 ;; esac else @@ -20773,6 +20707,7 @@ 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$//' @@ -20796,48 +20731,40 @@ fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - as_fn_error "conditional \"AMDEP\" was never defined. + 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. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_TESTS_DEFAULT_TRUE}" && test -z "${BUILD_TESTS_DEFAULT_FALSE}"; then - as_fn_error "conditional \"BUILD_TESTS_DEFAULT\" was never defined. + as_fn_error $? "conditional \"BUILD_TESTS_DEFAULT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${OS_IS_WIN32_TRUE}" && test -z "${OS_IS_WIN32_FALSE}"; then - as_fn_error "conditional \"OS_IS_WIN32\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${OS_IS_DARWIN_TRUE}" && test -z "${OS_IS_DARWIN_FALSE}"; then - as_fn_error "conditional \"OS_IS_DARWIN\" was never defined. + as_fn_error $? "conditional \"OS_IS_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_REGEX_TRUE}" && test -z "${HAVE_REGEX_FALSE}"; then - as_fn_error "conditional \"HAVE_REGEX\" was never defined. + as_fn_error $? "conditional \"HAVE_REGEX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_AF_UNIX_TRUE}" && test -z "${HAVE_AF_UNIX_FALSE}"; then - as_fn_error "conditional \"HAVE_AF_UNIX\" was never defined. + as_fn_error $? "conditional \"HAVE_AF_UNIX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_EVDEV_TRUE}" && test -z "${HAVE_EVDEV_FALSE}"; then - as_fn_error "conditional \"HAVE_EVDEV\" was never defined. + as_fn_error $? "conditional \"HAVE_EVDEV\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_SIGXCPU_TRUE}" && test -z "${HAVE_SIGXCPU_FALSE}"; then - as_fn_error "conditional \"HAVE_SIGXCPU\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_BONJOUR_TRUE}" && test -z "${HAVE_BONJOUR_FALSE}"; then - as_fn_error "conditional \"HAVE_BONJOUR\" was never defined. + as_fn_error $? "conditional \"HAVE_SIGXCPU\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_MKFIFO_TRUE}" && test -z "${HAVE_MKFIFO_FALSE}"; then - as_fn_error "conditional \"HAVE_MKFIFO\" was never defined. + as_fn_error $? "conditional \"HAVE_MKFIFO\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi @@ -20845,115 +20772,107 @@ if test -z "${HAVE_X11_TRUE}" && test -z "${HAVE_X11_FALSE}"; then - as_fn_error "conditional \"HAVE_X11\" was never defined. + as_fn_error $? "conditional \"HAVE_X11\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBSAMPLERATE_TRUE}" && test -z "${HAVE_LIBSAMPLERATE_FALSE}"; then - as_fn_error "conditional \"HAVE_LIBSAMPLERATE\" was never defined. + as_fn_error $? "conditional \"HAVE_LIBSAMPLERATE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_TDB_TRUE}" && test -z "${HAVE_TDB_FALSE}"; then - as_fn_error "conditional \"HAVE_TDB\" was never defined. + as_fn_error $? "conditional \"HAVE_TDB\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_GDBM_TRUE}" && test -z "${HAVE_GDBM_FALSE}"; then - as_fn_error "conditional \"HAVE_GDBM\" was never defined. + as_fn_error $? "conditional \"HAVE_GDBM\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_SIMPLEDB_TRUE}" && test -z "${HAVE_SIMPLEDB_FALSE}"; then - as_fn_error "conditional \"HAVE_SIMPLEDB\" was never defined. + as_fn_error $? "conditional \"HAVE_SIMPLEDB\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_OSS_OUTPUT_TRUE}" && test -z "${HAVE_OSS_OUTPUT_FALSE}"; then - as_fn_error "conditional \"HAVE_OSS_OUTPUT\" was never defined. + as_fn_error $? "conditional \"HAVE_OSS_OUTPUT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_OSS_WRAPPER_TRUE}" && test -z "${HAVE_OSS_WRAPPER_FALSE}"; then - as_fn_error "conditional \"HAVE_OSS_WRAPPER\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_COREAUDIO_TRUE}" && test -z "${HAVE_COREAUDIO_FALSE}"; then - as_fn_error "conditional \"HAVE_COREAUDIO\" was never defined. + as_fn_error $? "conditional \"HAVE_OSS_WRAPPER\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_ALSA_TRUE}" && test -z "${HAVE_ALSA_FALSE}"; then - as_fn_error "conditional \"HAVE_ALSA\" was never defined. + as_fn_error $? "conditional \"HAVE_ALSA\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_SOLARIS_TRUE}" && test -z "${HAVE_SOLARIS_FALSE}"; then - as_fn_error "conditional \"HAVE_SOLARIS\" was never defined. + as_fn_error $? "conditional \"HAVE_SOLARIS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_GLIB20_TRUE}" && test -z "${HAVE_GLIB20_FALSE}"; then - as_fn_error "conditional \"HAVE_GLIB20\" was never defined. + as_fn_error $? "conditional \"HAVE_GLIB20\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_GTK20_TRUE}" && test -z "${HAVE_GTK20_FALSE}"; then - as_fn_error "conditional \"HAVE_GTK20\" was never defined. + as_fn_error $? "conditional \"HAVE_GTK20\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_GCONF_TRUE}" && test -z "${HAVE_GCONF_FALSE}"; then - as_fn_error "conditional \"HAVE_GCONF\" was never defined. + as_fn_error $? "conditional \"HAVE_GCONF\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then - as_fn_error "conditional \"HAVE_AVAHI\" was never defined. + as_fn_error $? "conditional \"HAVE_AVAHI\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_JACK_TRUE}" && test -z "${HAVE_JACK_FALSE}"; then - as_fn_error "conditional \"HAVE_JACK\" was never defined. + as_fn_error $? "conditional \"HAVE_JACK\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBASYNCNS_TRUE}" && test -z "${HAVE_LIBASYNCNS_FALSE}"; then - as_fn_error "conditional \"HAVE_LIBASYNCNS\" was never defined. + as_fn_error $? "conditional \"HAVE_LIBASYNCNS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIRC_TRUE}" && test -z "${HAVE_LIRC_FALSE}"; then - as_fn_error "conditional \"HAVE_LIRC\" was never defined. + as_fn_error $? "conditional \"HAVE_LIRC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_HAL_TRUE}" && test -z "${HAVE_HAL_FALSE}"; then - as_fn_error "conditional \"HAVE_HAL\" was never defined. + as_fn_error $? "conditional \"HAVE_HAL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_UDEV_TRUE}" && test -z "${HAVE_UDEV_FALSE}"; then - as_fn_error "conditional \"HAVE_UDEV\" was never defined. + as_fn_error $? "conditional \"HAVE_UDEV\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_HAL_COMPAT_TRUE}" && test -z "${HAVE_HAL_COMPAT_FALSE}"; then - as_fn_error "conditional \"HAVE_HAL_COMPAT\" was never defined. + as_fn_error $? "conditional \"HAVE_HAL_COMPAT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_BLUEZ_TRUE}" && test -z "${HAVE_BLUEZ_FALSE}"; then - as_fn_error "conditional \"HAVE_BLUEZ\" was never defined. + as_fn_error $? "conditional \"HAVE_BLUEZ\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then - as_fn_error "conditional \"HAVE_DBUS\" was never defined. + as_fn_error $? "conditional \"HAVE_DBUS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_OPENSSL_TRUE}" && test -z "${HAVE_OPENSSL_FALSE}"; then - as_fn_error "conditional \"HAVE_OPENSSL\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_FFTW_TRUE}" && test -z "${HAVE_FFTW_FALSE}"; then - as_fn_error "conditional \"HAVE_FFTW\" was never defined. + as_fn_error $? "conditional \"HAVE_OPENSSL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_MANPAGES_TRUE}" && test -z "${BUILD_MANPAGES_FALSE}"; then - as_fn_error "conditional \"BUILD_MANPAGES\" was never defined. + as_fn_error $? "conditional \"BUILD_MANPAGES\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${STATIC_BINS_TRUE}" && test -z "${STATIC_BINS_FALSE}"; then - as_fn_error "conditional \"STATIC_BINS\" was never defined. + as_fn_error $? "conditional \"STATIC_BINS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${PREOPEN_MODS_TRUE}" && test -z "${PREOPEN_MODS_FALSE}"; then - as_fn_error "conditional \"PREOPEN_MODS\" was never defined. + as_fn_error $? "conditional \"PREOPEN_MODS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${FORCE_PREOPEN_TRUE}" && test -z "${FORCE_PREOPEN_FALSE}"; then - as_fn_error "conditional \"FORCE_PREOPEN\" was never defined. + as_fn_error $? "conditional \"FORCE_PREOPEN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi @@ -21103,19 +21022,19 @@ (unset CDPATH) >/dev/null 2>&1 && unset CDPATH -# as_fn_error ERROR [LINENO LOG_FD] -# --------------------------------- +# 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. +# script with STATUS, using 1 if that was 0. as_fn_error () { - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + 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: $1" >&2 + $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -21311,7 +21230,7 @@ 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" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p @@ -21365,7 +21284,7 @@ # values after options handling. ac_log=" This file was extended by pulseaudio $as_me 0.9.22, which was -generated by GNU Autoconf 2.65. Invocation command line was +generated by GNU Autoconf 2.66. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -21431,10 +21350,10 @@ ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ pulseaudio config.status 0.9.22 -configured by $0, generated by GNU Autoconf 2.65, +configured by $0, generated by GNU Autoconf 2.66, with options \\"\$ac_cs_config\\" -Copyright (C) 2009 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -21490,7 +21409,7 @@ ac_need_defaults=false;; --he | --h) # Conflict between --help and --header - as_fn_error "ambiguous option: \`$1' + as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; @@ -21499,7 +21418,7 @@ ac_cs_silent=: ;; # This is an error. - -*) as_fn_error "unrecognized option: \`$1' + -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" @@ -21553,133 +21472,148 @@ sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' -macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' -macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' -AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' -DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' -OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' -enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' -enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' -pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' -enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' -host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' -host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' -host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' -build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' -build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' -build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' -SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' -Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' -GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' -EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' -FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' -LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' -NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' -LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' -max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' -ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' -exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' -lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' -lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' -lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' -reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' -reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' -deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' -file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' -AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' -AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' -STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' -RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' -old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' -CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' -CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' -compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' -GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' -objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' -SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' -ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' -MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' -need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' -DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' -NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' -LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' -OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' -OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' -libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' -shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' -extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' -enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' -export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' -whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' -compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' -archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' -module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' -module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' -with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' -allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' -no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' -inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' -link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' -fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' -always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' -export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' -exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' -include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' -prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' -file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' -variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' -need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' -need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' -version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' -runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' -shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' -shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' -libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' -library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' -soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' -postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' -finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' -sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' -sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' -enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' -enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' -enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' -old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' -striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' +AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "$OBJDUMP" | $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"`' +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO='`$ECHO "$ECHO" | $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"`' +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "$reload_cmds" | $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"`' +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "$AR_FLAGS" | $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_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"`' +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_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $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"`' +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_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $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"`' +fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $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"`' +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"`' +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $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 SED \ +for var in AS \ +DLLTOOL \ +OBJDUMP \ +SHELL \ +ECHO \ +SED \ GREP \ EGREP \ FGREP \ @@ -21702,8 +21636,6 @@ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ -SHELL \ -ECHO \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_wl \ lt_prog_compiler_pic \ @@ -21733,12 +21665,13 @@ libname_spec \ library_names_spec \ soname_spec \ +install_override_mode \ finish_eval \ old_striplib \ striplib; do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -21765,9 +21698,9 @@ finish_cmds \ sys_lib_search_path_spec \ sys_lib_dlsearch_path_spec; do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -21775,12 +21708,6 @@ esac done -# Fix-up fallback echo if it was mangled by the above quoting rules. -case \$lt_ECHO in -*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` - ;; -esac - ac_aux_dir='$ac_aux_dir' xsi_shell='$xsi_shell' lt_shell_append='$lt_shell_append' @@ -21827,7 +21754,7 @@ "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done @@ -21865,7 +21792,7 @@ { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. @@ -21882,7 +21809,7 @@ 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' + ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi @@ -21896,18 +21823,18 @@ 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 '$'` + 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 + 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 + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi @@ -21996,20 +21923,28 @@ else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || as_fn_error "could not setup config files machinery" "$LINENO" 5 + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# 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[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ + 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 @@ -22037,7 +21972,7 @@ if test -z "$ac_t"; then break elif $ac_last_try; then - as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi @@ -22122,7 +22057,7 @@ _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - as_fn_error "could not setup config headers machinery" "$LINENO" 5 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" @@ -22135,7 +22070,7 @@ esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -22163,7 +22098,7 @@ [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; + 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'" @@ -22190,7 +22125,7 @@ case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac @@ -22327,22 +22262,22 @@ $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$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 +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;} +which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # @@ -22353,19 +22288,19 @@ $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" } >"$tmp/config.h" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$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 "$tmp/config.h" "$ac_file" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error "could not create -" "$LINENO" 5 + || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" @@ -22526,7 +22461,8 @@ # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. @@ -22563,13 +22499,13 @@ macro_revision=$macro_revision # Assembler program. -AS=$AS +AS=$lt_AS # DLL creation program. -DLLTOOL=$DLLTOOL +DLLTOOL=$lt_DLLTOOL # Object dumper program. -OBJDUMP=$OBJDUMP +OBJDUMP=$lt_OBJDUMP # Whether or not to build static libraries. build_old_libs=$enable_static @@ -22583,6 +22519,12 @@ # Whether or not to optimize for fast installation. fast_install=$enable_fast_install +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that protects backslashes. +ECHO=$lt_ECHO + # The host system. host_alias=$host_alias host=$host @@ -22632,10 +22574,6 @@ # turn newlines into spaces. NL2SP=$lt_lt_NL2SP -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -22654,6 +22592,9 @@ 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 @@ -22675,12 +22616,6 @@ # The name of the directory that contains temporary libtool files. objdir=$objdir -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# An echo program that does not interpret backslashes. -ECHO=$lt_ECHO - # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD @@ -22743,6 +22678,9 @@ # 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 @@ -22782,6 +22720,10 @@ # 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 @@ -23041,7 +22983,7 @@ func_dirname () { # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else @@ -23052,7 +22994,7 @@ # func_basename file func_basename () { - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` + func_basename_result=`$ECHO "${1}" | $SED "$basename"` } @@ -23065,10 +23007,8 @@ func_stripname () { case ${2} in - .*) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; - *) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; esac } @@ -23079,20 +23019,20 @@ # func_opt_split func_opt_split () { - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` + func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` + func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` } # func_lo2o object func_lo2o () { - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` } # func_xform libobj-or-source func_xform () { - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` + func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` } # func_arith arithmetic-term... @@ -23151,7 +23091,7 @@ 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 + 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" @@ -23179,7 +23119,7 @@ ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || - as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. @@ -23200,7 +23140,7 @@ 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 $? + $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 @@ -23225,11 +23165,6 @@ fi fi -ENABLE_COREAUDIO=no -if test "x$HAVE_COREAUDIO" = "x1" ; then - ENABLE_COREAUDIO=yes -fi - ENABLE_ALSA=no if test "x$HAVE_ALSA" = "x1" ; then ENABLE_ALSA=yes @@ -23275,11 +23210,6 @@ ENABLE_LIRC=yes fi -ENABLE_DBUS=no -if test "x$HAVE_DBUS" = "x1" ; then - ENABLE_DBUS=yes -fi - ENABLE_HAL=no if test "x$HAVE_HAL" = "x1" ; then ENABLE_HAL=yes @@ -23325,11 +23255,6 @@ ENABLE_SIMPLEDB=yes fi -ENABLE_FFTW=no -if test "x${HAVE_FFTW}" = "x1" ; then - ENABLE_FFTW=yes -fi - ENABLE_OPENSSL=no if test "x${HAVE_OPENSSL}" = "x1" ; then ENABLE_OPENSSL=yes @@ -23360,7 +23285,6 @@ Have X11: ${ENABLE_X11} Enable OSS Output: ${ENABLE_OSS_OUTPUT} Enable OSS Wrapper: ${ENABLE_OSS_WRAPPER} - Enable CoreAudio: ${ENABLE_COREAUDIO} Enable Alsa: ${ENABLE_ALSA} Enable Solaris: ${ENABLE_SOLARIS} Enable GLib 2.0: ${ENABLE_GLIB20} @@ -23370,7 +23294,6 @@ Enable Jack: ${ENABLE_JACK} Enable Async DNS: ${ENABLE_LIBASYNCNS} Enable LIRC: ${ENABLE_LIRC} - Enable DBUS: ${ENABLE_DBUS} Enable HAL: ${ENABLE_HAL} Enable udev: ${ENABLE_UDEV} Enable HAL->udev compat: ${ENABLE_HAL_COMPAT} @@ -23382,7 +23305,6 @@ Enable tdb: ${ENABLE_TDB} Enable gdbm: ${ENABLE_GDBM} Enable simple database: ${ENABLE_SIMPLEDB} - Enable fftw: ${ENABLE_FFTW} System User: ${PA_SYSTEM_USER} System Group: ${PA_SYSTEM_GROUP} diff -Nru pulseaudio-0.9.22~git20100719/configure.ac pulseaudio-0.9.22/configure.ac --- pulseaudio-0.9.22~git20100719/configure.ac 2010-07-19 12:40:03.000000000 +0000 +++ pulseaudio-0.9.22/configure.ac 2010-11-26 00:45:43.000000000 +0000 @@ -22,7 +22,8 @@ AC_PREREQ(2.63) -AC_INIT([pulseaudio],[m4_esyscmd(./git-version-gen .tarball-version)],[mzchyfrnhqvb (at) 0pointer (dot) net]) +AC_INIT([pulseaudio], m4_esyscmd([./git-version-gen .tarball-version]), + [mzchyfrnhqvb (at) 0pointer (dot) net]) AC_CONFIG_SRCDIR([src/daemon/main.c]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h]) @@ -40,11 +41,11 @@ AC_SUBST(PACKAGE_URL, [http://pulseaudio.org/]) AC_SUBST(PA_API_VERSION, 12) -AC_SUBST(PA_PROTOCOL_VERSION, 17) +AC_SUBST(PA_PROTOCOL_VERSION, 16) # The stable ABI for client applications, for the version info x:y:z # always will hold y=z -AC_SUBST(LIBPULSE_VERSION_INFO, [12:2:12]) +AC_SUBST(LIBPULSE_VERSION_INFO, [12:3:12]) # A simplified, synchronous, ABI-stable interface for client # applications, for the version info x:y:z always will hold y=z @@ -61,12 +62,23 @@ AC_CANONICAL_HOST AC_DEFINE_UNQUOTED([CANONICAL_HOST], "$host", [Canonical host string.]) -AC_CHECK_PROG([STOW], [stow], [yes], [no]) - -AS_IF([test "x$STOW" = "xyes" && test -d /usr/local/stow], [ +if type -p stow > /dev/null && test -d /usr/local/stow ; then AC_MSG_NOTICE([*** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***]) ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}" -]) +fi + +#### Platform hacks #### + +case $host in + *-*-solaris* ) + AC_DEFINE(_XOPEN_SOURCE, 600, Needed to get declarations for msg_control and msg_controllen on Solaris) + AC_DEFINE(__EXTENSIONS__, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) + ;; + *-*-darwin* ) + AC_DEFINE([_POSIX_C_SOURCE], [200112L], [Needed to get clock_gettime on Mac OS X]) + AC_DEFINE([_DARWIN_C_SOURCE], [200112L], [Needed to get NSIG on Mac OS X]) + ;; +esac AM_SILENT_RULES([yes]) @@ -84,19 +96,6 @@ AC_PROG_GCC_TRADITIONAL AC_USE_SYSTEM_EXTENSIONS -#### Platform hacks #### - -case $host in - *-*-solaris* ) - AC_DEFINE(_XOPEN_SOURCE, 600, Needed to get declarations for msg_control and msg_controllen on Solaris) - AC_DEFINE(__EXTENSIONS__, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) - ;; - *-*-darwin* ) - AC_DEFINE([_POSIX_C_SOURCE], [200112L], [Needed to get clock_gettime on Mac OS X]) - AC_DEFINE([_DARWIN_C_SOURCE], [200112L], [Needed to get NSIG on Mac OS X]) - ;; -esac - # M4 AC_CHECK_PROGS([M4], gm4 m4, no) @@ -166,15 +165,26 @@ esac ],) +AC_ARG_ENABLE([netbsd-atomic-ops], + AS_HELP_STRING([--enable-netbsd-atomic-ops],[Use the native NetBSD atomic_ops implementation]), + [ + case "${enableval}" in + yes) atomic_netbsd_helpers=yes ;; + no) atomic_netbsd_helpers=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-netbsd-atomic-ops) ;; + esac + ], + [atomic_netbsd_helpers=auto]) + AC_MSG_CHECKING([target operating system]) case $host in *-*-linux*) AC_MSG_RESULT([linux]) pulse_target_os=linux ;; - *-*-darwin*) - AC_MSG_RESULT([darwin]) - pulse_target_os=darwin + *-*-netbsd*) + AC_MSG_RESULT([netbsd]) + pulse_target_os=netbsd ;; *) AC_MSG_RESULT([unknown]) @@ -199,7 +209,7 @@ else # HW specific atomic ops stuff AC_MSG_CHECKING([architecture for native atomic operations]) - case $host in + case $host_cpu in arm*) AC_MSG_RESULT([arm]) AC_MSG_CHECKING([whether we can use Linux kernel helpers]) @@ -235,16 +245,14 @@ ]) fi ;; - *-netbsdelf5*) - AC_MSG_RESULT([yes]) - need_libatomic_ops=no - ;; - *-freebsd*) - AC_MSG_RESULT([yes]) - need_libatomic_ops=no - ;; *) - AC_MSG_RESULT([unknown]) + if test "x$pulse_target_os" = "xnetbsd" && test "x$atomic_netbsd_helpers" = "xyes"; then + AC_MSG_RESULT([yes]) + AC_DEFINE_UNQUOTED(NETBSD_ATOMIC_OPS, 1, [netbsd implementation]) + need_libatomic_ops=no + else + AC_MSG_RESULT([unknown]) + fi ;; esac fi @@ -295,21 +303,15 @@ #### Determine build environment #### os_is_win32=0 -os_is_darwin=0 case "$host_os" in mingw*) AC_DEFINE([OS_IS_WIN32], 1, [Build target is Windows.]) os_is_win32=1 ;; - darwin*) - AC_DEFINE([OS_IS_DARWIN], 1, [Build target is Darwin.]) - os_is_darwin=1 - ;; esac AM_CONDITIONAL(OS_IS_WIN32, test "x$os_is_win32" = "x1") -AM_CONDITIONAL(OS_IS_DARWIN, test "x$os_is_darwin" = "x1") ################################### # Basic environment checks # @@ -402,7 +404,6 @@ AC_SEARCH_LIBS([shm_open], [rt]) AC_SEARCH_LIBS([inet_ntop], [nsl]) AC_SEARCH_LIBS([timer_create], [rt]) -AC_SEARCH_LIBS([pthread_setaffinity_np], [pthread]) # BSD AC_SEARCH_LIBS([connect], [socket]) @@ -414,22 +415,6 @@ # build, disabling its ability to make dlls. AC_CHECK_FUNCS([getopt_long], [], [AC_CHECK_LIB([iberty], [getopt_long])]) -# Darwin/OS X -if test "x$os_is_darwin" = "x1" ; then - AC_MSG_CHECKING([looking for Apple CoreService Framework]) - # How do I check a framework "library" - AC_CHECK_LIB prob. won't work??, just assign LIBS & hope - AC_CHECK_HEADER([/Developer/Headers/FlatCarbon/CoreServices.h], - [LIBS="$LIBS -framework CoreServices"], - [AC_MSG_ERROR([CoreServices.h header file not found]) ]) - - AC_MSG_RESULT([ok]) - AC_DEFINE([HAVE_CLOCK_GETTIME], 1, [Using clock_gettime() replacement]) - HAVE_BONJOUR=1 -fi - -AC_SUBST(HAVE_BONJOUR) -AM_CONDITIONAL([HAVE_BONJOUR], [test "x$HAVE_BONJOUR" = x1]) - #### Check for functions #### # ISO @@ -461,7 +446,7 @@ # Non-standard -AC_CHECK_FUNCS_ONCE([setresuid setresgid setreuid setregid seteuid setegid ppoll strsignal sig2str strtof_l pipe2 accept4]) +AC_CHECK_FUNCS_ONCE([setresuid setresgid setreuid setregid seteuid setegid ppoll strsignal sig2str strtof_l]) AC_FUNC_ALLOCA @@ -531,7 +516,7 @@ [x11=auto]) if test "x${x11}" != xno ; then - PKG_CHECK_MODULES(X11, [ x11 ice sm xtst ], + PKG_CHECK_MODULES(X11, [ x11-xcb ice sm xtst xcb-atom ], HAVE_X11=1, [ HAVE_X11=0 @@ -758,28 +743,6 @@ AM_CONDITIONAL([HAVE_OSS_OUTPUT], [test "x$HAVE_OSS" = x1 && test "x${oss_output}" != "xno"]) AM_CONDITIONAL([HAVE_OSS_WRAPPER], [test "x$HAVE_OSS" = x1 && test "x${oss_wrapper}" != "xno"]) -#### CoreAudio support (optional) #### - -AC_ARG_ENABLE([coreaudio-output], - AS_HELP_STRING([--disable-coreaudio-output],[Disable optional CoreAudio output support]), - [ - case "${enableval}" in - yes) coreaudio_enabled=yes ;; - no) coreaudio_enabled=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --disable-coreaudio-output) ;; - esac - ], - [coreaudio_enabled=auto]) - -if test "x${coreaudio_enabled}" != xno ; then - AC_CHECK_HEADERS([CoreAudio/CoreAudio.h], HAVE_COREAUDIO=1) -else - HAVE_COREAUDIO=0 -fi - -AC_SUBST(HAVE_COREAUDIO) -AM_CONDITIONAL([HAVE_COREAUDIO], [test "x$HAVE_COREAUDIO" = x1 && test "x${coreaudio_enabled}" != "xno"]) - #### ALSA support (optional) #### AC_ARG_ENABLE([alsa], @@ -1236,7 +1199,6 @@ HAVE_DBUS=1 saved_LIBS="$LIBS" LIBS="$LIBS $DBUS_LIBS" - CFLAGS="$CFLAGS $DBUS_CFLAGS" AC_CHECK_FUNCS(dbus_watch_get_unix_fd) LIBS="$saved_LIBS" AC_DEFINE([HAVE_DBUS], 1, [Have D-Bus.]) @@ -1311,16 +1273,6 @@ AC_SUBST(HAVE_OPENSSL) AM_CONDITIONAL([HAVE_OPENSSL], [test "x$HAVE_OPENSSL" = x1]) -#### FFTW (optional) #### -AC_ARG_WITH( - [fftw], - AS_HELP_STRING([--without-fftw], [Omit FFTW-using modules (equalizer)])) - -if test "x${with_fftw}" != "xno"; then - PKG_CHECK_MODULES([FFTW], [fftw3f], [HAVE_FFTW=1], [HAVE_FFTW=0]) -fi -AM_CONDITIONAL([HAVE_FFTW], [test "x$HAVE_FFTW" = "x1"]) - ### Build and Install man pages ### AC_ARG_ENABLE(manpages, AS_HELP_STRING([--disable-manpages],[Disable building and installation of man pages]), @@ -1468,11 +1420,6 @@ fi fi -ENABLE_COREAUDIO=no -if test "x$HAVE_COREAUDIO" = "x1" ; then - ENABLE_COREAUDIO=yes -fi - ENABLE_ALSA=no if test "x$HAVE_ALSA" = "x1" ; then ENABLE_ALSA=yes @@ -1518,11 +1465,6 @@ ENABLE_LIRC=yes fi -ENABLE_DBUS=no -if test "x$HAVE_DBUS" = "x1" ; then - ENABLE_DBUS=yes -fi - ENABLE_HAL=no if test "x$HAVE_HAL" = "x1" ; then ENABLE_HAL=yes @@ -1568,11 +1510,6 @@ ENABLE_SIMPLEDB=yes fi -ENABLE_FFTW=no -if test "x${HAVE_FFTW}" = "x1" ; then - ENABLE_FFTW=yes -fi - ENABLE_OPENSSL=no if test "x${HAVE_OPENSSL}" = "x1" ; then ENABLE_OPENSSL=yes @@ -1603,7 +1540,6 @@ Have X11: ${ENABLE_X11} Enable OSS Output: ${ENABLE_OSS_OUTPUT} Enable OSS Wrapper: ${ENABLE_OSS_WRAPPER} - Enable CoreAudio: ${ENABLE_COREAUDIO} Enable Alsa: ${ENABLE_ALSA} Enable Solaris: ${ENABLE_SOLARIS} Enable GLib 2.0: ${ENABLE_GLIB20} @@ -1613,7 +1549,6 @@ Enable Jack: ${ENABLE_JACK} Enable Async DNS: ${ENABLE_LIBASYNCNS} Enable LIRC: ${ENABLE_LIRC} - Enable DBUS: ${ENABLE_DBUS} Enable HAL: ${ENABLE_HAL} Enable udev: ${ENABLE_UDEV} Enable HAL->udev compat: ${ENABLE_HAL_COMPAT} @@ -1625,7 +1560,6 @@ Enable tdb: ${ENABLE_TDB} Enable gdbm: ${ENABLE_GDBM} Enable simple database: ${ENABLE_SIMPLEDB} - Enable fftw: ${ENABLE_FFTW} System User: ${PA_SYSTEM_USER} System Group: ${PA_SYSTEM_GROUP} diff -Nru pulseaudio-0.9.22~git20100719/debian/changelog pulseaudio-0.9.22/debian/changelog --- pulseaudio-0.9.22~git20100719/debian/changelog 2010-07-21 10:33:40.000000000 +0000 +++ pulseaudio-0.9.22/debian/changelog 2010-12-07 11:36:33.000000000 +0000 @@ -1,14 +1,148 @@ -pulseaudio (1:0.9.22~git20100719-0ubuntu1~ppa2) maverick; urgency=low +pulseaudio (1:0.9.22-0ubuntu1) maverick; urgency=low - * No-change rebuild to pick up new j-a-c-k shlibs + * New upstream release, based on the stable-queue branch + * Drop following patches, as applied upstream: + - 0101-alsa-mixer-add-profile-for-Native-Instruments-Koreco.patch + - 0102-intended-roles-Mark-devices-with-a-form-factor-of-he.patch + * debian/rules: + - Disable --as-needed due to a circular dependency for libpulsecommon + - Adjust filenames/paths for 0.9.22 + + -- Luke Yelavich Fri, 26 Nov 2010 13:44:10 +1100 + +pulseaudio (1:0.9.22~0.9.21+stable-queue-98-ga8d7-0ubuntu3) natty; urgency=low + + * 0101-alsa-mixer-add-profile-for-Native-Instruments-Koreco.patch: Also + adjust src/Makefile.in, so that the new profile actually gets shipped + + -- Luke Yelavich Fri, 05 Nov 2010 14:27:34 -0400 + +pulseaudio (1:0.9.22~0.9.21+stable-queue-98-ga8d7-0ubuntu2) natty; urgency=low + + * debian/control: Update Vcs-Bzr field + * Pull latest fixes from stable queue: + - 8a30d4c (alsa-mixer: add profile for Native Instruments Korecontroller) + - 848dd37 (intended-roles: Mark devices with a form factor of 'headset' as + being appropriate for 'phone' streams) + + -- Luke Yelavich Fri, 05 Nov 2010 10:40:47 -0400 + +pulseaudio (1:0.9.22~0.9.21+stable-queue-98-ga8d7-0ubuntu1) natty; urgency=low + + * New upstream snapshot, based on the stable-queue branch + * debian/patches: Drop the following patches as they are applied upstream, + or were created to regenerate autotools files/package version + - 0090-use-volume-ignore-for-analog-output.patch + - 0093-backport-fixes-stable-queue-head.patch + - 0094-add-missing-mixer-paths-and-rerun-automake.patch + - 0095-cve-2009-1299.patch + - 0097-regenerate-configure.patch + - 0098-tarball-version.patch + - 0192-stream-restore-Clear-the-save_sink-save_source-flags.patch + - 0193-augment-properties-Search-for-.desktop-files-in-subf.patch + - 0194-device-manager-Ensure-that-sinks-sources-populate-th.patch + - 0195-SSE-MMX-ARM-Fix-high-frequency-noise-with-unusual-nu.patch + * debian/control: Update Vcs-Bzr link + * 0097-explicitly-link-libraries.patch: Patch to explicitly link pulseaudio + tests binaries against pulseaudio libraries, due to gcc 4.5 and new + binutils in natty enforcing explicit linking + + -- Luke Yelavich Fri, 29 Oct 2010 12:39:27 -0400 + +pulseaudio (1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu21.1) maverick-proposed; urgency=low + + * 0195-SSE-MMX-ARM-Fix-high-frequency-noise-with-unusual-nu.patch: + - Pull fix from the upstream stable-queue branch a8d76e9 to Fix a high + frequency noise with an nunusual number of channels, when either SSE, + MMX, or ARM optimized volume scaling code is used. (LP: #445849) + + -- Luke Yelavich Thu, 14 Oct 2010 16:38:46 +1100 + +pulseaudio (1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu21) maverick; urgency=low + + * Add 0192-stream-restore-Clear-the-save_sink-save_source-flags.patch + Clear the save_sink/save_source flags on apply_entry. + * Add 0193-augment-properties-Search-for-.desktop-files-in-subf.patch + Search for .desktop files in subfolders too. + * Add 0194-device-manager-Ensure-that-sinks-sources-populate-th.patch + Ensure that sinks/sources populate the device manager lists in order + of their priority. - -- Luke Yelavich Wed, 21 Jul 2010 12:33:19 +0200 + -- Jonathan Riddell Sun, 03 Oct 2010 20:38:24 +0100 -pulseaudio (1:0.9.22~git20100719-0ubuntu1~ppa1) maverick; urgency=low +pulseaudio (1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu20) maverick; urgency=low - * New upstream git snapshot + * 0093-backport-fixes-stable-queue-head.patch: Backport the following + changesets from the stable-queue branch: + + 2c564f2 (xcb: Ensure the XCB connection is valid before using it.) + + 5c0bc09 (xcb: xcb_get_setup() can return 0, so make sure we check it before using) + + 165cb87 (x11: Use the default screen for X11 properties.) + (LP: #640127) + + -- Daniel T Chen Sat, 18 Sep 2010 08:46:31 -0400 + +pulseaudio (1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu19) maverick; urgency=low + + * Removed packaging for a patch that was being tested locally, as the + patch is not going into maverick. Fixes FTBFS + + -- Luke Yelavich Wed, 15 Sep 2010 14:38:38 +1000 + +pulseaudio (1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu18) maverick; urgency=low + + [ Emmet Hikory ] + * Drop 0001-change-resample-and-buffering.patch + * debian/rules: Add arch-specific build-time configuration patching system + - set resample-method to speex-fixed-1 and fragments to 2 for armel + - set resample-method to speex-float-1 and fragments to 8 for other arches + - Closes LP: #623242 + + [ Luke Yelavich ] + * debian/rules: + - Back up src/daemon/daemon.conf.in, restoring on package clean, allowing + the package to be built more than once, and keeping the diff sane + - Disable flat volumes via regular expression instead of a patch, to + prevent the mess that goes with touching a file multiple times, and + with multiple methods + * 0093-backport-fixes-stable-queue-head.patch: Backport the following + changesets from the stable-queue branch: + + 6c8660a (alsa: Fix assertion on mmap_write (triggered via a52 plugin)) + + aaae99d (alsa: disable rewinds when using ALSA plugins) + + 4a1072e (udev: fix hex decoding) + + 2b88634 (x11: Partially convert to XCB.) + + 9375019 (alsa: resume smoother after unsuspend) + + 4fb02d8 (alsa: increase the smoother window) + + e2ef3a1 (alsa: don't make use of tsched related variables when tsched is + disabled) + + 514fd1e (add rewind-safeguard parameter) + + 8748ebd (alsa-sink: Get rid of a compiler warning regarding + rewind_safeguard type.) + + a65825f (alsa: Set the rewind safeguard proportionally to sample spec) + + 3d9b710 (smoother: avoid losing precision) + + 1503b8c (alsa-source: refactor smoother and device start) + + 74c117f (alsa-time-test: make test usable for capture too) + + 1c29f55 (alsa: work around slightly broken _delay implementations) + + 1ff360c (alsa: make defines for smoother configuration) + + 28f4aeb (alsa-mixer: add profile for Traktor Kontrol S4) + + eef247b (alsa: Only set the 'first' flag to false when we actually call + snd_pcm_start()) + * debian/control: Add libxcb-atom1-dev and libx11-xcb-dev to build depends + * debian/patches/0090-disable-flat-volumes.patch: Drop, as per above + * debian/patches/0097-regenerate-configure.patch: Refreshed + * debian/patches/0098-tarball-version.patch: Ensure the version string for + pulseaudio internally stays the same, in case the build process wants + to regenerate autotools files + * debian/patches/0094-add-missing-mixer-paths-and-rerun-automake.patch: + - Remove the patch to Makefile.in, easier to do it all at once in a + single patch later in the series + + -- Luke Yelavich Wed, 15 Sep 2010 13:57:55 +1000 + +pulseaudio (1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu17) maverick; urgency=low + + * No-change rebuild to pick up new j-a-c-k shlibs - -- Luke Yelavich Mon, 19 Jul 2010 12:43:13 +0200 + -- Luke Yelavich Wed, 21 Jul 2010 11:29:18 +0200 pulseaudio (1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu16) maverick; urgency=low diff -Nru pulseaudio-0.9.22~git20100719/debian/control pulseaudio-0.9.22/debian/control --- pulseaudio-0.9.22~git20100719/debian/control 2010-07-19 10:42:43.000000000 +0000 +++ pulseaudio-0.9.22/debian/control 2010-12-07 11:36:33.000000000 +0000 @@ -13,11 +13,12 @@ liblircclient-dev, libgconf2-dev, libatomic-ops-dev, libspeexdsp-dev (>= 1.2~rc1), libbluetooth-dev (>= 3.0) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], tdb-dev, intltool, libgtk2.0-dev, libxtst-dev, libssl-dev, libudev-dev (>= 143), - libice-dev, libxi-dev, x11proto-core-dev + libice-dev, libxi-dev, x11proto-core-dev, libxcb-atom1-dev, libx11-xcb-dev, + dh-buildinfo, automake, autoconf, libtool Standards-Version: 3.8.1 XS-Debian-Vcs-Git: git://git.debian.org/git/pkg-pulseaudio/pulseaudio.git XS-Debian-Vcs-Browser: http://git.debian.org/?p=pkg-pulseaudio/pulseaudio.git -Vcs-Bzr: http://launchpad.net/~ubuntu-core-dev/pulseaudio/ubuntu.2a.maverick +Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-audio-dev/pulseaudio/ubuntu.natty Homepage: http://www.pulseaudio.org Package: pulseaudio diff -Nru pulseaudio-0.9.22~git20100719/debian/patches/0001-change-resample-and-buffering.patch pulseaudio-0.9.22/debian/patches/0001-change-resample-and-buffering.patch --- pulseaudio-0.9.22~git20100719/debian/patches/0001-change-resample-and-buffering.patch 2010-07-19 10:42:43.000000000 +0000 +++ pulseaudio-0.9.22/debian/patches/0001-change-resample-and-buffering.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -Index: pulseaudio-0.9.22~0.9.21+stable-queue-24-gfa64/src/daemon/daemon.conf.in -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-24-gfa64.orig/src/daemon/daemon.conf.in 2010-01-15 18:21:18.000000000 -0500 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-24-gfa64/src/daemon/daemon.conf.in 2010-01-15 19:16:30.000000000 -0500 -@@ -50,7 +50,7 @@ - ; log-time = no - ; log-backtrace = 0 - --; resample-method = speex-float-3 -+resample-method = speex-float-1 - ; enable-remixing = yes - ; enable-lfe-remixing = no - -@@ -77,5 +77,5 @@ - ; default-sample-channels = 2 - ; default-channel-map = front-left,front-right - --; default-fragments = 4 --; default-fragment-size-msec = 25 -+default-fragments = 8 -+default-fragment-size-msec = 10 diff -Nru pulseaudio-0.9.22~git20100719/debian/patches/0090-use-volume-ignore-for-analog-output.patch pulseaudio-0.9.22/debian/patches/0090-use-volume-ignore-for-analog-output.patch --- pulseaudio-0.9.22~git20100719/debian/patches/0090-use-volume-ignore-for-analog-output.patch 2010-07-19 10:42:43.000000000 +0000 +++ pulseaudio-0.9.22/debian/patches/0090-use-volume-ignore-for-analog-output.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,13 +0,0 @@ -Index: pulseaudio-0.9.16~test7-14-g7ca81/src/modules/alsa/mixer/paths/analog-output.conf.common -=================================================================== ---- pulseaudio-0.9.16~test7-14-g7ca81.orig/src/modules/alsa/mixer/paths/analog-output.conf.common 2009-09-08 23:31:52.000000000 -0400 -+++ pulseaudio-0.9.16~test7-14-g7ca81/src/modules/alsa/mixer/paths/analog-output.conf.common 2009-09-08 23:32:29.000000000 -0400 -@@ -95,7 +95,7 @@ - - [Element PCM] - switch = mute --volume = merge -+volume = ignore - override-map.1 = all - override-map.2 = all-left,all-right - diff -Nru pulseaudio-0.9.22~git20100719/debian/patches/0093-backport-fixes-stable-queue-head.patch pulseaudio-0.9.22/debian/patches/0093-backport-fixes-stable-queue-head.patch --- pulseaudio-0.9.22~git20100719/debian/patches/0093-backport-fixes-stable-queue-head.patch 2010-07-19 10:42:43.000000000 +0000 +++ pulseaudio-0.9.22/debian/patches/0093-backport-fixes-stable-queue-head.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,2261 +0,0 @@ -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/alsa-mixer.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/alsa-mixer.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/alsa-mixer.c 2010-05-08 11:05:05.000000000 -0400 -@@ -1783,8 +1783,7 @@ - { "analog-output-headphones", N_("Analog Headphones") }, - { "analog-output-lfe-on-mono", N_("Analog Output (LFE)") }, - { "analog-output-mono", N_("Analog Mono Output") }, -- { "analog-output-headphones-2", N_("Analog Headphones 2") }, -- { "analog-output-speaker", N_("Analog Speaker") } -+ { "analog-output-speaker", N_("Analog Speakers") } - }; - - pa_alsa_element *e; -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input.conf.common -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-input.conf.common 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input.conf.common 2010-05-08 11:05:40.000000000 -0400 -@@ -277,6 +277,31 @@ - [Option Digital Input Source:Digital Mic 2] - name = input-microphone - -+;;; 'Analog Source' -+ -+[Element Analog Source] -+enumeration = select -+ -+[Option Analog Source:Mic] -+name = input-microphone -+ -+[Option Analog Source:Line in] -+name = input-linein -+ -+[Option Analog Source:Aux] -+name = input -+ -+;;; 'Shared Mic/Line in' -+ -+[Element Shared Mic/Line in] -+enumeration = select -+ -+[Option Shared Mic/Line in:Mic in] -+name = input-microphone -+ -+[Option Shared Mic/Line in:Line in] -+name = input-linein -+ - ;;; Various Boosts - - [Element Capture Boost] -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output-desktop-speaker.conf -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output-desktop-speaker.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -0,0 +1,99 @@ -+# This file is part of PulseAudio. -+# -+# PulseAudio 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. -+# -+# PulseAudio 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 Lesser General Public License -+# along with PulseAudio; if not, write to the Free Software Foundation, -+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -+ -+; Path for mixers that have a 'Desktop Speaker' control -+; -+; See analog-output.conf.common for an explanation on the directives -+ -+[General] -+priority = 101 -+name = analog-output-speaker -+ -+[Element Hardware Master] -+switch = mute -+volume = merge -+override-map.1 = all -+override-map.2 = all-left,all-right -+ -+[Element Master] -+switch = mute -+volume = merge -+override-map.1 = all -+override-map.2 = all-left,all-right -+ -+[Element Master Mono] -+switch = off -+volume = off -+ -+; This profile path is intended to control the desktop speaker, not -+; the headphones. But it should not hurt if we leave the headphone -+; jack enabled nonetheless. -+[Element Headphone] -+switch = mute -+volume = zero -+ -+[Element Headphone2] -+switch = mute -+volume = zero -+ -+[Element Speaker] -+switch = off -+volume = off -+ -+[Element Desktop Speaker] -+required = any -+switch = mute -+volume = merge -+override-map.1 = all -+override-map.2 = all-left,all-right -+ -+[Element Front] -+switch = mute -+volume = merge -+override-map.1 = all-front -+override-map.2 = front-left,front-right -+ -+[Element Rear] -+switch = mute -+volume = merge -+override-map.1 = all-rear -+override-map.2 = rear-left,rear-right -+ -+[Element Surround] -+switch = mute -+volume = merge -+override-map.1 = all-rear -+override-map.2 = rear-left,rear-right -+ -+[Element Side] -+switch = mute -+volume = merge -+override-map.1 = all-side -+override-map.2 = side-left,side-right -+ -+[Element Center] -+switch = mute -+volume = merge -+override-map.1 = all-center -+override-map.2 = all-center,all-center -+ -+[Element LFE] -+switch = mute -+volume = merge -+override-map.1 = lfe -+override-map.2 = lfe,lfe -+ -+.include analog-output.conf.common -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf 2010-05-08 11:05:05.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -20,6 +20,7 @@ - - [General] - priority = 89 -+name = analog-output-headphones - - [Element Hardware Master] - switch = mute -@@ -61,6 +62,10 @@ - switch = off - volume = off - -+[Element Desktop Speaker] -+switch = off -+volume = off -+ - [Element Front] - switch = off - volume = off -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output-headphones.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-output-headphones.conf 2010-05-08 11:05:05.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output-headphones.conf 2010-05-08 11:05:34.000000000 -0400 -@@ -20,6 +20,7 @@ - - [General] - priority = 90 -+name = analog-output-headphones - - [Element Hardware Master] - switch = mute -@@ -61,6 +62,10 @@ - switch = off - volume = off - -+[Element Desktop Speaker] -+switch = off -+volume = off -+ - [Element Front] - switch = off - volume = off -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -58,6 +58,10 @@ - override-map.1 = all - override-map.2 = all-left,all-right - -+[Element Desktop Speaker] -+switch = off -+volume = off -+ - [Element Front] - switch = off - volume = off -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output-mono.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-output-mono.conf 2010-05-08 11:05:05.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output-mono.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -59,6 +59,10 @@ - override-map.1 = all - override-map.2 = all-left,all-right - -+[Element Desktop Speaker] -+switch = off -+volume = off -+ - [Element Front] - switch = off - volume = off -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output-speaker.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-output-speaker.conf 2010-05-08 11:05:05.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output-speaker.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -20,6 +20,7 @@ - - [General] - priority = 100 -+name = analog-output-speaker - - [Element Hardware Master] - switch = mute -@@ -61,6 +62,10 @@ - override-map.1 = all - override-map.2 = all-left,all-right - -+[Element Desktop Speaker] -+switch = off -+volume = off -+ - [Element Front] - switch = mute - volume = merge -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-output.conf 2010-05-08 11:05:05.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-output.conf 2010-05-08 11:05:34.000000000 -0400 -@@ -59,6 +59,10 @@ - switch = mute - volume = off - -+[Element Desktop Speaker] -+switch = mute -+volume = off -+ - [Element Front] - switch = mute - volume = merge -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/profile-sets/default.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/profile-sets/default.conf 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/profile-sets/default.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -62,42 +62,42 @@ - [Mapping analog-mono] - device-strings = hw:%f - channel-map = mono --paths-output = analog-output analog-output-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono -+paths-output = analog-output analog-output-speaker analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono - paths-input = analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line - priority = 1 - - [Mapping analog-stereo] - device-strings = front:%f hw:%f - channel-map = left,right --paths-output = analog-output analog-output-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono -+paths-output = analog-output analog-output-speaker analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono - paths-input = analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line - priority = 10 - - [Mapping analog-surround-40] - device-strings = surround40:%f - channel-map = front-left,front-right,rear-left,rear-right --paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono -+paths-output = analog-output analog-output-speaker analog-output-desktop-speaker analog-output-lfe-on-mono - priority = 7 - direction = output - - [Mapping analog-surround-41] - device-strings = surround41:%f - channel-map = front-left,front-right,rear-left,rear-right,lfe --paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono -+paths-output = analog-output analog-output-speaker analog-output-desktop-speaker analog-output-lfe-on-mono - priority = 8 - direction = output - - [Mapping analog-surround-50] - device-strings = surround50:%f - channel-map = front-left,front-right,rear-left,rear-right,front-center --paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono -+paths-output = analog-output analog-output-speaker analog-output-desktop-speaker analog-output-lfe-on-mono - priority = 7 - direction = output - - [Mapping analog-surround-51] - device-strings = surround51:%f - channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe --paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono -+paths-output = analog-output analog-output-speaker analog-output-desktop-speaker analog-output-lfe-on-mono - priority = 8 - direction = output - -@@ -105,7 +105,7 @@ - device-strings = surround71:%f - channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right - description = Analog Surround 7.1 --paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono -+paths-output = analog-output analog-output-speaker analog-output-desktop-speaker analog-output-lfe-on-mono - priority = 7 - direction = output - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/sink-input.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/sink-input.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/sink-input.c 2010-05-08 11:05:05.000000000 -0400 -@@ -1086,7 +1086,7 @@ - if (p) - pa_proplist_update(i->proplist, mode, p); - -- if (PA_SINK_IS_LINKED(i->state)) { -+ if (PA_SINK_INPUT_IS_LINKED(i->state)) { - pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_PROPLIST_CHANGED], i); - pa_subscription_post(i->core, PA_SUBSCRIPTION_EVENT_SINK_INPUT|PA_SUBSCRIPTION_EVENT_CHANGE, i->index); - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-aux.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-input-aux.conf 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-aux.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -32,6 +32,10 @@ - switch = off - volume = off - -+[Element Internal Mic] -+switch = off -+volume = off -+ - [Element Line] - switch = off - volume = off -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-fm.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-input-fm.conf 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-fm.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -32,6 +32,10 @@ - switch = off - volume = off - -+[Element Internal Mic] -+switch = off -+volume = off -+ - [Element Line] - switch = off - volume = off -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-internal-mic.conf -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-internal-mic.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -0,0 +1,67 @@ -+# This file is part of PulseAudio. -+# -+# PulseAudio 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. -+# -+# PulseAudio 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 Lesser General Public License -+# along with PulseAudio; if not, write to the Free Software Foundation, -+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -+ -+; For devices where a 'Internal Mic' element exists -+; -+; See analog-output.conf.common for an explanation on the directives -+ -+[General] -+priority = 90 -+name = analog-input-microphone -+ -+[Element Capture] -+switch = mute -+volume = merge -+override-map.1 = all -+override-map.2 = all-left,all-right -+ -+[Element Mic] -+switch = off -+volume = off -+ -+[Element Internal Mic] -+required = any -+switch = mute -+volume = merge -+override-map.1 = all -+override-map.2 = all-left,all-right -+ -+[Element Line] -+switch = off -+volume = off -+ -+[Element Aux] -+switch = off -+volume = off -+ -+[Element Video] -+switch = off -+volume = off -+ -+[Element Mic/Line] -+switch = off -+volume = off -+ -+[Element TV Tuner] -+switch = off -+volume = off -+ -+[Element FM] -+switch = off -+volume = off -+ -+.include analog-input.conf.common -+.include analog-input-mic.conf.common -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-linein.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-input-linein.conf 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-linein.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -31,6 +31,10 @@ - switch = off - volume = off - -+[Element Internal Mic] -+switch = off -+volume = off -+ - [Element Line] - required = any - switch = mute -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-mic-line.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-input-mic-line.conf 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-mic-line.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -32,6 +32,10 @@ - switch = off - volume = off - -+[Element Internal Mic] -+switch = off -+volume = off -+ - [Element Line] - switch = off - volume = off -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-mic.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-input-mic.conf 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-mic.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -35,6 +35,10 @@ - override-map.1 = all - override-map.2 = all-left,all-right - -+[Element Internal Mic] -+switch = off -+volume = off -+ - [Element Line] - switch = off - volume = off -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-tvtuner.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-input-tvtuner.conf 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-tvtuner.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -32,6 +32,10 @@ - switch = off - volume = off - -+[Element Internal Mic] -+switch = off -+volume = off -+ - [Element Line] - switch = off - volume = off -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-video.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-input-video.conf 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input-video.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -31,6 +31,10 @@ - switch = off - volume = off - -+[Element Internal Mic] -+switch = off -+volume = off -+ - [Element Line] - switch = off - volume = off -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input.conf -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/mixer/paths/analog-input.conf 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/mixer/paths/analog-input.conf 2010-05-08 11:05:05.000000000 -0400 -@@ -32,6 +32,9 @@ - [Element Mic] - required-absent = any - -+[Element Internal Mic] -+required-absent = any -+ - [Element Line] - required-absent = any - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/dbus-util.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/dbus-util.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/dbus-util.c 2010-05-08 11:05:05.000000000 -0400 -@@ -44,17 +44,16 @@ - }; - - struct timeout_data { -- pa_dbus_wrap_connection *c; -+ pa_dbus_wrap_connection *connection; - DBusTimeout *timeout; - }; - - static void dispatch_cb(pa_mainloop_api *ea, pa_defer_event *ev, void *userdata) { - DBusConnection *conn = userdata; - -- if (dbus_connection_dispatch(conn) == DBUS_DISPATCH_COMPLETE) { -+ if (dbus_connection_dispatch(conn) == DBUS_DISPATCH_COMPLETE) - /* no more data to process, disable the deferred */ - ea->defer_enable(ev, 0); -- } - } - - /* DBusDispatchStatusFunction callback for the pa mainloop */ -@@ -131,13 +130,17 @@ - struct timeout_data *d = userdata; - - pa_assert(d); -- pa_assert(d->c); -+ pa_assert(d->connection); - - if (dbus_timeout_get_enabled(d->timeout)) { -- dbus_timeout_handle(d->timeout); -+ /* Restart it for the next scheduled time. We do this before -+ * calling dbus_timeout_handle() to make sure that the time -+ * event is still around. */ -+ ea->time_restart(e, pa_timeval_rtstore(&tv, -+ pa_timeval_load(t) + dbus_timeout_get_interval(d->timeout) * PA_USEC_PER_MSEC, -+ d->connection->use_rtclock)); - -- /* restart it for the next scheduled time */ -- ea->time_restart(e, pa_timeval_rtstore(&tv, pa_timeval_load(t) + dbus_timeout_get_interval(d->timeout) * PA_USEC_PER_MSEC, d->c->use_rtclock)); -+ dbus_timeout_handle(d->timeout); - } - } - -@@ -207,7 +210,7 @@ - return FALSE; - - d = pa_xnew(struct timeout_data, 1); -- d->c = c; -+ d->connection = c; - d->timeout = timeout; - ev = c->mainloop->time_new(c->mainloop, pa_timeval_rtstore(&tv, pa_rtclock_now() + dbus_timeout_get_interval(timeout) * PA_USEC_PER_MSEC, c->use_rtclock), handle_time_event, d); - c->mainloop->time_set_destroy(ev, time_event_destroy_cb); -@@ -236,15 +239,15 @@ - struct timeval tv; - - pa_assert(d); -- pa_assert(d->c); -+ pa_assert(d->connection); - pa_assert(timeout); - - pa_assert_se(ev = dbus_timeout_get_data(timeout)); - -- if (dbus_timeout_get_enabled(timeout)) { -- d->c->mainloop->time_restart(ev, pa_timeval_rtstore(&tv, pa_rtclock_now() + dbus_timeout_get_interval(timeout) * PA_USEC_PER_MSEC, d->c->use_rtclock)); -- } else -- d->c->mainloop->time_restart(ev, pa_timeval_rtstore(&tv, PA_USEC_INVALID, d->c->use_rtclock)); -+ if (dbus_timeout_get_enabled(timeout)) -+ d->connection->mainloop->time_restart(ev, pa_timeval_rtstore(&tv, pa_rtclock_now() + dbus_timeout_get_interval(timeout) * PA_USEC_PER_MSEC, d->connection->use_rtclock)); -+ else -+ d->connection->mainloop->time_restart(ev, pa_timeval_rtstore(&tv, PA_USEC_INVALID, d->connection->use_rtclock)); - } - - static void wakeup_main(void *userdata) { -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/fdsem.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/fdsem.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/fdsem.c 2010-05-08 11:05:05.000000000 -0400 -@@ -35,6 +35,7 @@ - #include - #include - #include -+#include - #include - - #ifndef HAVE_PIPE -@@ -159,7 +160,12 @@ - uint64_t u; - - if ((r = read(f->efd, &u, sizeof(u))) != sizeof(u)) { -- pa_assert(r < 0 && errno == EINTR); -+ -+ if (r >= 0 || errno != EINTR) { -+ pa_log_error("Invalid read from eventfd: %s", r < 0 ? pa_cstrerror(errno) : "EOF"); -+ pa_assert_not_reached(); -+ } -+ - continue; - } - r = (ssize_t) u; -@@ -167,7 +173,12 @@ - #endif - - if ((r = read(f->fds[0], &x, sizeof(x))) <= 0) { -- pa_assert(r < 0 && errno == EINTR); -+ -+ if (r >= 0 || errno != EINTR) { -+ pa_log_error("Invalid read from pipe: %s", r < 0 ? pa_cstrerror(errno) : "EOF"); -+ pa_assert_not_reached(); -+ } -+ - continue; - } - -@@ -192,14 +203,22 @@ - uint64_t u = 1; - - if ((r = write(f->efd, &u, sizeof(u))) != sizeof(u)) { -- pa_assert(r < 0 && errno == EINTR); -+ if (r >= 0 || errno != EINTR) { -+ pa_log_error("Invalid read from pipe: %s", r < 0 ? pa_cstrerror(errno) : "EOF"); -+ pa_assert_not_reached(); -+ } -+ - continue; - } - } else - #endif - - if ((r = write(f->fds[1], &x, 1)) != 1) { -- pa_assert(r < 0 && errno == EINTR); -+ if (r >= 0 || errno != EINTR) { -+ pa_log_error("Invalid read from pipe: %s", r < 0 ? pa_cstrerror(errno) : "EOF"); -+ pa_assert_not_reached(); -+ } -+ - continue; - } - -@@ -228,7 +247,12 @@ - uint64_t u; - - if ((r = read(f->efd, &u, sizeof(u))) != sizeof(u)) { -- pa_assert(r < 0 && errno == EINTR); -+ -+ if (r >= 0 || errno != EINTR) { -+ pa_log_error("Invalid read from pipe: %s", r < 0 ? pa_cstrerror(errno) : "EOF"); -+ pa_assert_not_reached(); -+ } -+ - continue; - } - -@@ -237,7 +261,12 @@ - #endif - - if ((r = read(f->fds[0], &x, sizeof(x))) <= 0) { -- pa_assert(r < 0 && errno == EINTR); -+ -+ if (r >= 0 || errno != EINTR) { -+ pa_log_error("Invalid read from pipe: %s", r < 0 ? pa_cstrerror(errno) : "EOF"); -+ pa_assert_not_reached(); -+ } -+ - continue; - } - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/utils/padsp.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/utils/padsp.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/utils/padsp.c 2010-05-08 11:05:05.000000000 -0400 -@@ -1458,11 +1458,11 @@ - return _open(filename, flags, mode); - } - -- if (filename && dsp_cloak_enable() && (strcmp(filename, "/dev/dsp") == 0 || strcmp(filename, "/dev/adsp") == 0)) -+ if (filename && dsp_cloak_enable() && (pa_streq(filename, "/dev/dsp") || pa_streq(filename, "/dev/adsp") || pa_streq(filename, "/dev/audio"))) - r = dsp_open(flags, &_errno); -- else if (filename && mixer_cloak_enable() && strcmp(filename, "/dev/mixer") == 0) -+ else if (filename && mixer_cloak_enable() && pa_streq(filename, "/dev/mixer")) - r = mixer_open(flags, &_errno); -- else if (filename && sndstat_cloak_enable() && strcmp(filename, "/dev/sndstat") == 0) -+ else if (filename && sndstat_cloak_enable() && pa_streq(filename, "/dev/sndstat")) - r = sndstat_open(flags, &_errno); - else { - function_exit(); -@@ -2383,15 +2383,21 @@ - return 0; - } - -+static pa_bool_t is_audio_device_node(const char *path) { -+ return -+ pa_streq(path, "/dev/dsp") || -+ pa_streq(path, "/dev/adsp") || -+ pa_streq(path, "/dev/audio") || -+ pa_streq(path, "/dev/sndstat") || -+ pa_streq(path, "/dev/mixer"); -+} -+ - int access(const char *pathname, int mode) { - - debug(DEBUG_LEVEL_VERBOSE, __FILE__": access(%s)\n", pathname?pathname:"NULL"); - - if (!pathname || -- (strcmp(pathname, "/dev/dsp") != 0 && -- strcmp(pathname, "/dev/adsp") != 0 && -- strcmp(pathname, "/dev/sndstat") != 0 && -- strcmp(pathname, "/dev/mixer") != 0 )) { -+ !is_audio_device_node(pathname)) { - LOAD_ACCESS_FUNC(); - return _access(pathname, mode); - } -@@ -2417,10 +2423,7 @@ - - if (!pathname || - !buf || -- ( strcmp(pathname, "/dev/dsp") != 0 && -- strcmp(pathname, "/dev/adsp") != 0 && -- strcmp(pathname, "/dev/sndstat") != 0 && -- strcmp(pathname, "/dev/mixer") != 0 )) { -+ !is_audio_device_node(pathname)) { - debug(DEBUG_LEVEL_VERBOSE, __FILE__": stat(%s)\n", pathname?pathname:"NULL"); - LOAD_STAT_FUNC(); - return _stat(pathname, buf); -@@ -2474,10 +2477,7 @@ - - if (!pathname || - !buf || -- ( strcmp(pathname, "/dev/dsp") != 0 && -- strcmp(pathname, "/dev/adsp") != 0 && -- strcmp(pathname, "/dev/sndstat") != 0 && -- strcmp(pathname, "/dev/mixer") != 0 )) { -+ !is_audio_device_node(pathname)) { - LOAD_STAT64_FUNC(); - return _stat64(pathname, buf); - } -@@ -2519,10 +2519,7 @@ - } - - if (!filename || -- ( strcmp(filename, "/dev/dsp") != 0 && -- strcmp(filename, "/dev/adsp") != 0 && -- strcmp(filename, "/dev/sndstat") != 0 && -- strcmp(filename, "/dev/mixer") != 0 )) { -+ !is_audio_device_node(filename)) { - LOAD_OPEN64_FUNC(); - return _open64(filename, flags, mode); - } -@@ -2539,10 +2536,7 @@ - - if (!pathname || - !buf || -- ( strcmp(pathname, "/dev/dsp") != 0 && -- strcmp(pathname, "/dev/adsp") != 0 && -- strcmp(pathname, "/dev/sndstat") != 0 && -- strcmp(pathname, "/dev/mixer") != 0 )) { -+ !is_audio_device_node(pathname)) { - LOAD_XSTAT_FUNC(); - return ___xstat(ver, pathname, buf); - } -@@ -2562,10 +2556,7 @@ - - if (!pathname || - !buf || -- ( strcmp(pathname, "/dev/dsp") != 0 && -- strcmp(pathname, "/dev/adsp") != 0 && -- strcmp(pathname, "/dev/sndstat") != 0 && -- strcmp(pathname, "/dev/mixer") != 0 )) { -+ !is_audio_device_node(pathname)) { - LOAD_XSTAT64_FUNC(); - return ___xstat64(ver, pathname, buf); - } -@@ -2591,10 +2582,7 @@ - - if (!filename || - !mode || -- ( strcmp(filename, "/dev/dsp") != 0 && -- strcmp(filename, "/dev/adsp") != 0 && -- strcmp(filename, "/dev/sndstat") != 0 && -- strcmp(filename, "/dev/mixer") != 0 )) { -+ !is_audio_device_node(filename)) { - LOAD_FOPEN_FUNC(); - return _fopen(filename, mode); - } -@@ -2634,10 +2622,7 @@ - - if (!filename || - !mode || -- ( strcmp(filename, "/dev/dsp") != 0 && -- strcmp(filename, "/dev/adsp") != 0 && -- strcmp(filename, "/dev/sndstat") != 0 && -- strcmp(filename, "/dev/mixer") != 0 )) { -+ !is_audio_device_node(filename)) { - LOAD_FOPEN64_FUNC(); - return _fopen64(filename, mode); - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/utils/pacat.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/utils/pacat.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/utils/pacat.c 2010-05-08 11:05:05.000000000 -0400 -@@ -195,28 +195,41 @@ - - pa_assert(sndfile); - -- if (pa_stream_begin_write(s, &data, &length) < 0) { -- pa_log(_("pa_stream_begin_write() failed: %s"), pa_strerror(pa_context_errno(context))); -- quit(1); -- return; -- } -+ for (;;) { -+ size_t data_length = length; - -- if (readf_function) { -- size_t k = pa_frame_size(&sample_spec); -+ if (pa_stream_begin_write(s, &data, &data_length) < 0) { -+ pa_log(_("pa_stream_begin_write() failed: %s"), pa_strerror(pa_context_errno(context))); -+ quit(1); -+ return; -+ } - -- if ((bytes = readf_function(sndfile, data, (sf_count_t) (length/k))) > 0) -- bytes *= (sf_count_t) k; -+ if (readf_function) { -+ size_t k = pa_frame_size(&sample_spec); - -- } else -- bytes = sf_read_raw(sndfile, data, (sf_count_t) length); -+ if ((bytes = readf_function(sndfile, data, (sf_count_t) (data_length/k))) > 0) -+ bytes *= (sf_count_t) k; - -- if (bytes > 0) -- pa_stream_write(s, data, (size_t) bytes, NULL, 0, PA_SEEK_RELATIVE); -- else -- pa_stream_cancel_write(s); -+ } else -+ bytes = sf_read_raw(sndfile, data, (sf_count_t) data_length); - -- if (bytes < (sf_count_t) length) -- start_drain(); -+ if (bytes > 0) -+ pa_stream_write(s, data, (size_t) bytes, NULL, 0, PA_SEEK_RELATIVE); -+ else -+ pa_stream_cancel_write(s); -+ -+ /* EOF? */ -+ if (bytes < (sf_count_t) data_length) { -+ start_drain(); -+ break; -+ } -+ -+ /* Request fulfilled */ -+ if ((size_t) bytes >= length) -+ break; -+ -+ length -= bytes; -+ } - } - } - -@@ -460,7 +473,7 @@ - } - - } else { -- if (pa_stream_connect_record(stream, device, latency > 0 ? &buffer_attr : NULL, flags) < 0) { -+ if (pa_stream_connect_record(stream, device, &buffer_attr, flags) < 0) { - pa_log(_("pa_stream_connect_record() failed: %s"), pa_strerror(pa_context_errno(c))); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/utils/pacmd.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/utils/pacmd.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/utils/pacmd.c 2010-05-08 11:05:05.000000000 -0400 -@@ -45,13 +45,6 @@ - - int main(int argc, char*argv[]) { - -- enum { -- WATCH_STDIN, -- WATCH_STDOUT, -- WATCH_SOCKET, -- N_WATCH -- }; -- - pid_t pid ; - int fd = -1; - int ret = 1, i; -@@ -60,7 +53,10 @@ - size_t ibuf_index, ibuf_length, obuf_index, obuf_length; - char *cli; - pa_bool_t ibuf_eof, obuf_eof, ibuf_closed, obuf_closed; -- struct pollfd pollfd[N_WATCH]; -+ struct pollfd pollfd[3]; -+ struct pollfd *watch_socket, *watch_stdin, *watch_stdout; -+ -+ int stdin_type = 0, stdout_type = 0, fd_type = 0; - - setlocale(LC_ALL, ""); - bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR); -@@ -128,32 +124,53 @@ - ibuf_eof = TRUE; - } - -- pa_zero(pollfd); -- -- pollfd[WATCH_STDIN].fd = STDIN_FILENO; -- pollfd[WATCH_STDOUT].fd = STDOUT_FILENO; -- pollfd[WATCH_SOCKET].fd = fd; -- - for (;;) { -+ struct pollfd *p; -+ - if (ibuf_eof && - obuf_eof && - ibuf_length <= 0 && - obuf_length <= 0) - break; - -- pollfd[WATCH_STDIN].events = pollfd[WATCH_STDOUT].events = pollfd[WATCH_SOCKET].events = 0; -+ if (ibuf_length <= 0 && ibuf_eof && !ibuf_closed) { -+ shutdown(fd, SHUT_WR); -+ ibuf_closed = TRUE; -+ } -+ -+ if (obuf_length <= 0 && obuf_eof && !obuf_closed) { -+ shutdown(fd, SHUT_RD); -+ obuf_closed = TRUE; -+ } -+ -+ pa_zero(pollfd); - -- if (obuf_length > 0) -- pollfd[WATCH_STDOUT].events |= POLLOUT; -- else if (!obuf_eof) -- pollfd[WATCH_SOCKET].events |= POLLIN; -- -- if (ibuf_length > 0) -- pollfd[WATCH_SOCKET].events |= POLLOUT; -- else if (!ibuf_eof) -- pollfd[WATCH_STDIN].events |= POLLIN; -+ p = pollfd; - -- if (poll(pollfd, N_WATCH, -1) < 0) { -+ if (ibuf_length > 0 || (!obuf_eof && obuf_length <= 0)) { -+ watch_socket = p++; -+ watch_socket->fd = fd; -+ watch_socket->events = -+ (ibuf_length > 0 ? POLLOUT : 0) | -+ (!obuf_eof && obuf_length <= 0 ? POLLIN : 0); -+ } else -+ watch_socket = NULL; -+ -+ if (!ibuf_eof && ibuf_length <= 0) { -+ watch_stdin = p++; -+ watch_stdin->fd = STDIN_FILENO; -+ watch_stdin->events = POLLIN; -+ } else -+ watch_stdin = NULL; -+ -+ if (obuf_length > 0) { -+ watch_stdout = p++; -+ watch_stdout->fd = STDOUT_FILENO; -+ watch_stdout->events = POLLOUT; -+ } else -+ watch_stdout = NULL; -+ -+ if (poll(pollfd, p-pollfd, -1) < 0) { - - if (errno == EINTR) - continue; -@@ -162,82 +179,80 @@ - goto fail; - } - -- if (pollfd[WATCH_STDIN].revents & POLLIN) { -- ssize_t r; -- pa_assert(!ibuf_length); -- -- if ((r = pa_read(STDIN_FILENO, ibuf, sizeof(ibuf), NULL)) <= 0) { -- if (r < 0) { -- pa_log(_("read(): %s"), strerror(errno)); -- goto fail; -+ if (watch_stdin) { -+ if (watch_stdin->revents & POLLIN) { -+ ssize_t r; -+ pa_assert(ibuf_length <= 0); -+ -+ if ((r = pa_read(STDIN_FILENO, ibuf, sizeof(ibuf), &stdin_type)) <= 0) { -+ if (r < 0) { -+ pa_log(_("read(): %s"), strerror(errno)); -+ goto fail; -+ } -+ -+ ibuf_eof = TRUE; -+ } else { -+ ibuf_length = (size_t) r; -+ ibuf_index = 0; - } -- -+ } else if (watch_stdin->revents & POLLHUP) - ibuf_eof = TRUE; -- } else { -- ibuf_length = (size_t) r; -- ibuf_index = 0; -- } - } - -- if (pollfd[WATCH_SOCKET].revents & POLLIN) { -- ssize_t r; -- pa_assert(!obuf_length); -- -- if ((r = pa_read(fd, obuf, sizeof(obuf), NULL)) <= 0) { -- if (r < 0) { -- pa_log(_("read(): %s"), strerror(errno)); -- goto fail; -+ if (watch_socket) { -+ if (watch_socket->revents & POLLIN) { -+ ssize_t r; -+ pa_assert(obuf_length <= 0); -+ -+ if ((r = pa_read(fd, obuf, sizeof(obuf), &fd_type)) <= 0) { -+ if (r < 0) { -+ pa_log(_("read(): %s"), strerror(errno)); -+ goto fail; -+ } -+ -+ obuf_eof = TRUE; -+ } else { -+ obuf_length = (size_t) r; -+ obuf_index = 0; - } -- -+ } else if (watch_socket->revents & POLLHUP) - obuf_eof = TRUE; -- } else { -- obuf_length = (size_t) r; -- obuf_index = 0; -- } - } - -- if (pollfd[WATCH_STDOUT].revents & POLLHUP) { -- obuf_eof = TRUE; -- obuf_length = 0; -- } else if (pollfd[WATCH_STDOUT].revents & POLLOUT) { -- ssize_t r; -- pa_assert(obuf_length); -- -- if ((r = pa_write(STDOUT_FILENO, obuf + obuf_index, obuf_length, NULL)) < 0) { -- pa_log(_("write(): %s"), strerror(errno)); -- goto fail; -- } -+ if (watch_stdout) { -+ if (watch_stdout->revents & POLLHUP) { -+ obuf_eof = TRUE; -+ obuf_length = 0; -+ } else if (watch_stdout->revents & POLLOUT) { -+ ssize_t r; -+ pa_assert(obuf_length > 0); - -- obuf_length -= (size_t) r; -- obuf_index += obuf_index; -- } -+ if ((r = pa_write(STDOUT_FILENO, obuf + obuf_index, obuf_length, &stdout_type)) < 0) { -+ pa_log(_("write(): %s"), strerror(errno)); -+ goto fail; -+ } - -- if (pollfd[WATCH_SOCKET].revents & POLLHUP) { -- ibuf_eof = TRUE; -- ibuf_length = 0; -- } if (pollfd[WATCH_SOCKET].revents & POLLOUT) { -- ssize_t r; -- pa_assert(ibuf_length); -- -- if ((r = pa_write(fd, ibuf + ibuf_index, ibuf_length, NULL)) < 0) { -- pa_log(_("write(): %s"), strerror(errno)); -- goto fail; -+ obuf_length -= (size_t) r; -+ obuf_index += obuf_index; - } -- -- ibuf_length -= (size_t) r; -- ibuf_index += obuf_index; - } - -- if (ibuf_length <= 0 && ibuf_eof && !ibuf_closed) { -- pa_close(STDIN_FILENO); -- shutdown(fd, SHUT_WR); -- ibuf_closed = TRUE; -- } -+ if (watch_socket) { -+ if (watch_socket->revents & POLLHUP) { -+ ibuf_eof = TRUE; -+ ibuf_length = 0; -+ } if (watch_socket->revents & POLLOUT) { -+ ssize_t r; -+ pa_assert(ibuf_length > 0); - -- if (obuf_length <= 0 && obuf_eof && !obuf_closed) { -- shutdown(fd, SHUT_RD); -- pa_close(STDOUT_FILENO); -- obuf_closed = TRUE; -+ if ((r = pa_write(fd, ibuf + ibuf_index, ibuf_length, &fd_type)) < 0) { -+ pa_log(_("write(): %s"), strerror(errno)); -+ goto fail; -+ } -+ -+ ibuf_length -= (size_t) r; -+ ibuf_index += obuf_index; -+ } - } - } - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/shm.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/shm.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/shm.c 2010-05-08 11:05:05.000000000 -0400 -@@ -286,7 +286,7 @@ - segment_name(fn, sizeof(fn), m->id = id); - - if ((fd = shm_open(fn, O_RDONLY, 0)) < 0) { -- if (errno != EACCES) -+ if (errno != EACCES && errno != ENOENT) - pa_log("shm_open() failed: %s", pa_cstrerror(errno)); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/vala/libpulse.vapi -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/vala/libpulse.vapi 2010-05-08 11:04:51.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/vala/libpulse.vapi 2010-05-08 11:05:05.000000000 -0400 -@@ -46,7 +46,7 @@ - [CCode (cname="PA_CHECK_VERSION")] - public bool CHECK_VERSION(int major, int minor, int micro); - -- [CCode (cname="INVALID_INDEX")] -+ [CCode (cname="PA_INVALID_INDEX")] - public const uint32 INVALID_INDEX; - - [CCode (cname="pa_free_cb_t")] -@@ -879,11 +879,11 @@ - } - - [Compact] -- [CCode (cname="pa_glib_mainloop", cprefix="pa_glib_mainloop_", free_function="pa_glib_mainloop_free")] -+ [CCode (cheader_filename="pulse/glib-mainloop.h", cname="pa_glib_mainloop", cprefix="pa_glib_mainloop_", free_function="pa_glib_mainloop_free")] - public class GLibMainLoop { - - [CCode (cname="pa_glib_mainloop_new")] -- public GLibMainLoop(); -+ public GLibMainLoop(MainContext? c = null); - - public unowned MainLoopApi get_api(); - } -@@ -1024,7 +1024,7 @@ - public Operation? suspend_sink_by_index(uint32 idx, bool suspend, SuccessCb? cb = null); - - public Operation? set_sink_port_by_name(string name, string port, SuccessCb? cb = null); -- public Operation? set_sink_port_by_index(string idx, string port, SuccessCb? cb = null); -+ public Operation? set_sink_port_by_index(uint32 idx, string port, SuccessCb? cb = null); - - public Operation? get_source_info_by_name(string name, SourceInfoCb cb); - public Operation? get_source_info_by_index(uint32 idx, SourceInfoCb cb); -@@ -1039,7 +1039,7 @@ - public Operation? suspend_source_by_index(uint32 idx, bool suspend, SuccessCb? cb = null); - - public Operation? set_source_port_by_name(string name, string port, SuccessCb? cb = null); -- public Operation? set_source_port_by_index(string idx, string port, SuccessCb? cb = null); -+ public Operation? set_source_port_by_index(uint32 idx, string port, SuccessCb? cb = null); - - public Operation? get_server_info(ServerInfoCb cb); - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-stream-restore.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/module-stream-restore.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-stream-restore.c 2010-05-08 11:05:05.000000000 -0400 -@@ -394,7 +394,7 @@ - return PA_HOOK_OK; - - if (new_data->sink) -- pa_log_debug("Not restoring device for stream %s, because already set.", name); -+ pa_log_debug("Not restoring device for stream %s, because already set to '%s'.", name, new_data->sink->name); - else if ((e = read_entry(u, name))) { - pa_sink *s = NULL; - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulse/channelmap.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulse/channelmap.c 2010-05-08 11:04:51.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulse/channelmap.c 2010-05-08 11:05:05.000000000 -0400 -@@ -112,7 +112,7 @@ - [PA_CHANNEL_POSITION_REAR_LEFT] = N_("Rear Left"), - [PA_CHANNEL_POSITION_REAR_RIGHT] = N_("Rear Right"), - -- [PA_CHANNEL_POSITION_LFE] = N_("Low Frequency Emmiter"), -+ [PA_CHANNEL_POSITION_LFE] = N_("Subwoofer"), - - [PA_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER] = N_("Front Left-of-center"), - [PA_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER] = N_("Front Right-of-center"), -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulse/proplist.h -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulse/proplist.h 2010-05-08 11:04:51.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulse/proplist.h 2010-05-08 11:05:05.000000000 -0400 -@@ -59,7 +59,7 @@ - /** For streams: an XDG icon name for the media. e.g. "audio-x-mp3" */ - #define PA_PROP_MEDIA_ICON_NAME "media.icon_name" - --/** For streams: logic role of this media. One of the strings "video", "music", "game", "event", "phone", "animation", "production", "a11y" */ -+/** For streams: logic role of this media. One of the strings "video", "music", "game", "event", "phone", "animation", "production", "a11y", "test" */ - #define PA_PROP_MEDIA_ROLE "media.role" - - /** For event sound streams: XDG event sound name. e.g. "message-new-email" (Event sound streams are those with media.role set to "event") */ -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/core-scache.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/core-scache.c 2010-05-08 11:04:51.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/core-scache.c 2010-05-08 11:05:05.000000000 -0400 -@@ -310,7 +310,8 @@ - return -1; - - merged = pa_proplist_new(); -- pa_proplist_setf(merged, PA_PROP_MEDIA_NAME, "Sample %s", name); -+ pa_proplist_sets(merged, PA_PROP_MEDIA_NAME, name); -+ pa_proplist_sets(merged, PA_PROP_EVENT_ID, name); - - if (e->lazy && !e->memchunk.memblock) { - pa_channel_map old_channel_map = e->channel_map; -@@ -350,7 +351,12 @@ - if (p) - pa_proplist_update(merged, PA_UPDATE_REPLACE, p); - -- if (pa_play_memchunk(sink, &e->sample_spec, &e->channel_map, &e->memchunk, pass_volume ? &r : NULL, merged, sink_input_idx) < 0) -+ if (pa_play_memchunk(sink, -+ &e->sample_spec, &e->channel_map, -+ &e->memchunk, -+ pass_volume ? &r : NULL, -+ merged, -+ PA_SINK_INPUT_NO_CREATE_ON_SUSPEND|PA_SINK_INPUT_KILL_ON_SUSPEND, sink_input_idx) < 0) - goto fail; - - pa_proplist_free(merged); -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/play-memblockq.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/play-memblockq.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/play-memblockq.c 2010-05-08 11:05:05.000000000 -0400 -@@ -173,7 +173,8 @@ - const pa_channel_map *map, - pa_memblockq *q, - pa_cvolume *volume, -- pa_proplist *p) { -+ pa_proplist *p, -+ pa_sink_input_flags_t flags) { - - memblockq_stream *u = NULL; - pa_sink_input_new_data data; -@@ -198,6 +199,7 @@ - pa_sink_input_new_data_set_channel_map(&data, map); - pa_sink_input_new_data_set_volume(&data, volume); - pa_proplist_update(data.proplist, PA_UPDATE_REPLACE, p); -+ data.flags |= flags; - - pa_sink_input_new(&u->sink_input, sink->core, &data); - pa_sink_input_new_data_done(&data); -@@ -237,6 +239,7 @@ - pa_memblockq *q, - pa_cvolume *volume, - pa_proplist *p, -+ pa_sink_input_flags_t flags, - uint32_t *sink_input_index) { - - pa_sink_input *i; -@@ -245,7 +248,7 @@ - pa_assert(ss); - pa_assert(q); - -- if (!(i = pa_memblockq_sink_input_new(sink, ss, map, q, volume, p))) -+ if (!(i = pa_memblockq_sink_input_new(sink, ss, map, q, volume, p, flags))) - return -1; - - pa_sink_input_put(i); -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/play-memblockq.h -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/play-memblockq.h 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/play-memblockq.h 2010-05-08 11:05:05.000000000 -0400 -@@ -31,17 +31,19 @@ - const pa_channel_map *map, - pa_memblockq *q, - pa_cvolume *volume, -- pa_proplist *p); -+ pa_proplist *p, -+ pa_sink_input_flags_t flags); - - void pa_memblockq_sink_input_set_queue(pa_sink_input *i, pa_memblockq *q); - - int pa_play_memblockq( -- pa_sink *sink, -- const pa_sample_spec *ss, -- const pa_channel_map *map, -- pa_memblockq *q, -- pa_cvolume *cvolume, -- pa_proplist *p, -- uint32_t *sink_input_index); -+ pa_sink *sink, -+ const pa_sample_spec *ss, -+ const pa_channel_map *map, -+ pa_memblockq *q, -+ pa_cvolume *cvolume, -+ pa_proplist *p, -+ pa_sink_input_flags_t flags, -+ uint32_t *sink_input_index); - - #endif -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/play-memchunk.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/play-memchunk.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/play-memchunk.c 2010-05-08 11:05:05.000000000 -0400 -@@ -43,6 +43,7 @@ - const pa_memchunk *chunk, - pa_cvolume *volume, - pa_proplist *p, -+ pa_sink_input_flags_t flags, - uint32_t *sink_input_index) { - - pa_memblockq *q; -@@ -59,7 +60,7 @@ - - pa_assert_se(pa_memblockq_push(q, chunk) >= 0); - -- if ((r = pa_play_memblockq(sink, ss, map, q, volume, p, sink_input_index)) < 0) { -+ if ((r = pa_play_memblockq(sink, ss, map, q, volume, p, flags, sink_input_index)) < 0) { - pa_memblockq_free(q); - return r; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/play-memchunk.h -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/play-memchunk.h 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/play-memchunk.h 2010-05-08 11:05:05.000000000 -0400 -@@ -26,12 +26,13 @@ - #include - - int pa_play_memchunk( -- pa_sink *sink, -- const pa_sample_spec *ss, -- const pa_channel_map *map, -- const pa_memchunk *chunk, -- pa_cvolume *cvolume, -- pa_proplist *p, -- uint32_t *sink_input_index); -+ pa_sink *sink, -+ const pa_sample_spec *ss, -+ const pa_channel_map *map, -+ const pa_memchunk *chunk, -+ pa_cvolume *cvolume, -+ pa_proplist *p, -+ pa_sink_input_flags_t flags, -+ uint32_t *sink_input_index); - - #endif -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-suspend-on-idle.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/module-suspend-on-idle.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-suspend-on-idle.c 2010-05-08 11:05:05.000000000 -0400 -@@ -145,8 +145,9 @@ - pa_assert(data); - pa_assert(u); - -- if (data->flags & PA_SINK_INPUT_START_CORKED) -- return PA_HOOK_OK; -+ /* We need to resume the audio device here even for -+ * PA_SINK_INPUT_START_CORKED, since we need the device parameters -+ * to be fully available while the stream is set up. */ - - if ((d = pa_hashmap_get(u->device_infos, data->sink))) - resume(d); -@@ -161,9 +162,6 @@ - pa_assert(data); - pa_assert(u); - -- if (data->flags & PA_SOURCE_OUTPUT_START_CORKED) -- return PA_HOOK_OK; -- - if (data->source->monitor_of) - d = pa_hashmap_get(u->device_infos, data->source->monitor_of); - else -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/protocol-native.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/protocol-native.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/protocol-native.c 2010-05-08 11:05:05.000000000 -0400 -@@ -858,6 +858,18 @@ - - pa_assert(s); - -+ /* pa_log("Client requested: maxlength=%li bytes tlength=%li bytes minreq=%li bytes prebuf=%li bytes", */ -+ /* (long) s->buffer_attr.maxlength, */ -+ /* (long) s->buffer_attr.tlength, */ -+ /* (long) s->buffer_attr.minreq, */ -+ /* (long) s->buffer_attr.prebuf); */ -+ -+ /* pa_log("Client requested: maxlength=%lu ms tlength=%lu ms minreq=%lu ms prebuf=%lu ms", */ -+ /* (unsigned long) (pa_bytes_to_usec(s->buffer_attr.maxlength, &s->sink_input->sample_spec) / PA_USEC_PER_MSEC), */ -+ /* (unsigned long) (pa_bytes_to_usec(s->buffer_attr.tlength, &s->sink_input->sample_spec) / PA_USEC_PER_MSEC), */ -+ /* (unsigned long) (pa_bytes_to_usec(s->buffer_attr.minreq, &s->sink_input->sample_spec) / PA_USEC_PER_MSEC), */ -+ /* (unsigned long) (pa_bytes_to_usec(s->buffer_attr.prebuf, &s->sink_input->sample_spec) / PA_USEC_PER_MSEC)); */ -+ - /* This function will be called from the main thread, before as - * well as after the sink input has been activated using - * pa_sink_input_put()! That means it may not touch any -@@ -984,6 +996,12 @@ - if (s->buffer_attr.prebuf == (uint32_t) -1 || - s->buffer_attr.prebuf > max_prebuf) - s->buffer_attr.prebuf = max_prebuf; -+ -+ /* pa_log("Client accepted: maxlength=%lu ms tlength=%lu ms minreq=%lu ms prebuf=%lu ms", */ -+ /* (unsigned long) (pa_bytes_to_usec(s->buffer_attr.maxlength, &s->sink_input->sample_spec) / PA_USEC_PER_MSEC), */ -+ /* (unsigned long) (pa_bytes_to_usec(s->buffer_attr.tlength, &s->sink_input->sample_spec) / PA_USEC_PER_MSEC), */ -+ /* (unsigned long) (pa_bytes_to_usec(s->buffer_attr.minreq, &s->sink_input->sample_spec) / PA_USEC_PER_MSEC), */ -+ /* (unsigned long) (pa_bytes_to_usec(s->buffer_attr.prebuf, &s->sink_input->sample_spec) / PA_USEC_PER_MSEC)); */ - } - - /* Called from main context */ -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/alsa-sink.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/alsa-sink.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/alsa-sink.c 2010-05-08 11:06:35.000000000 -0400 -@@ -79,7 +79,7 @@ - #define TSCHED_MIN_WAKEUP_USEC (4*PA_USEC_PER_MSEC) /* 4ms -- Wakeup at least this long before the buffer runs empty*/ - - #define SMOOTHER_MIN_INTERVAL (2*PA_USEC_PER_MSEC) /* 2ms -- min smoother update interval */ --#define SMOOTHER_MAX_INTERVAL (200*PA_USEC_PER_MSEC) /* 200ms -- max smoother update inteval */ -+#define SMOOTHER_MAX_INTERVAL (200*PA_USEC_PER_MSEC) /* 200ms -- max smoother update interval */ - - #define VOLUME_ACCURACY (PA_VOLUME_NORM/100) /* don't require volume adjustments to be perfectly correct. don't necessarily extend granularity in software unless the differences get greater than this level */ - -@@ -876,6 +876,14 @@ - u->alsa_rtpoll_item = NULL; - } - -+ /* We reset max_rewind/max_request here to make sure that while we -+ * are suspended the old max_request/max_rewind values set before -+ * the suspend can influence the per-stream buffer of newly -+ * created streams, without their requirements having any -+ * influence on them. */ -+ pa_sink_set_max_rewind_within_thread(u->sink, 0); -+ pa_sink_set_max_request_within_thread(u->sink, 0); -+ - pa_log_info("Device suspended..."); - - return 0; -@@ -933,6 +941,7 @@ - } - - pa_sink_set_max_request_within_thread(u->sink, u->hwbuf_size - u->hwbuf_unused); -+ pa_sink_set_max_rewind_within_thread(u->sink, u->hwbuf_size); - - return 0; - } -@@ -1908,7 +1917,7 @@ - - pa_alsa_dump(PA_LOG_DEBUG, u->pcm_handle); - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("alsa-sink", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/alsa-util.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/alsa-util.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/alsa-util.c 2010-05-08 11:05:05.000000000 -0400 -@@ -874,12 +874,12 @@ - pa_proplist_setf(p, "alsa.card", "%i", card); - - if (snd_card_get_name(card, &cn) >= 0) { -- pa_proplist_sets(p, "alsa.card_name", cn); -+ pa_proplist_sets(p, "alsa.card_name", pa_strip(cn)); - free(cn); - } - - if (snd_card_get_longname(card, &lcn) >= 0) { -- pa_proplist_sets(p, "alsa.long_card_name", lcn); -+ pa_proplist_sets(p, "alsa.long_card_name", pa_strip(lcn)); - free(lcn); - } - -@@ -937,8 +937,11 @@ - if (alsa_subclass_table[subclass]) - pa_proplist_sets(p, "alsa.subclass", alsa_subclass_table[subclass]); - -- if ((n = snd_pcm_info_get_name(pcm_info))) -- pa_proplist_sets(p, "alsa.name", n); -+ if ((n = snd_pcm_info_get_name(pcm_info))) { -+ char *t = pa_xstrdup(n); -+ pa_proplist_sets(p, "alsa.name", pa_strip(t)); -+ pa_xfree(t); -+ } - - if ((id = snd_pcm_info_get_id(pcm_info))) - pa_proplist_sets(p, "alsa.id", id); -@@ -1331,6 +1334,5 @@ - return FALSE; - } - -- - return TRUE; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/core-util.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/core-util.c 2010-05-08 11:04:51.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/core-util.c 2010-05-08 11:05:42.000000000 -0400 -@@ -126,6 +126,9 @@ - #define MSG_NOSIGNAL 0 - #endif - -+#define NEWLINE "\r\n" -+#define WHITESPACE "\n\r \t" -+ - static pa_strlist *recorded_env = NULL; - - #ifdef OS_IS_WIN32 -@@ -830,9 +833,6 @@ - return pa_xstrndup(current, l); - } - --/* What is interpreted as whitespace? */ --#define WHITESPACE " \t\n" -- - /* Split a string into words. Otherwise similar to pa_split(). */ - char *pa_split_spaces(const char *c, const char **state) { - const char *current = *state ? *state : c; -@@ -1189,7 +1189,27 @@ - char* pa_strip_nl(char *s) { - pa_assert(s); - -- s[strcspn(s, "\r\n")] = 0; -+ s[strcspn(s, NEWLINE)] = 0; -+ return s; -+} -+ -+char *pa_strip(char *s) { -+ char *e, *l = NULL; -+ -+ /* Drops trailing whitespace. Modifies the string in -+ * place. Returns pointer to first non-space character */ -+ -+ s += strspn(s, WHITESPACE); -+ -+ for (e = s; *e; e++) -+ if (!strchr(WHITESPACE, *e)) -+ l = e; -+ -+ if (l) -+ *(l+1) = 0; -+ else -+ *s = 0; -+ - return s; - } - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/core-util.h -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/core-util.h 2010-05-08 11:04:51.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/core-util.h 2010-05-08 11:05:05.000000000 -0400 -@@ -102,6 +102,7 @@ - char *pa_split_spaces(const char *c, const char **state); - - char *pa_strip_nl(char *s); -+char *pa_strip(char *s); - - const char *pa_sig2str(int sig) PA_GCC_PURE; - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/protocol-esound.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/protocol-esound.c 2010-05-08 11:04:51.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/protocol-esound.c 2010-05-08 11:05:05.000000000 -0400 -@@ -462,7 +462,7 @@ - - c->protocol->n_player++; - -- pa_atomic_store(&c->playback.missing, (int) pa_memblockq_missing(c->input_memblockq)); -+ pa_atomic_store(&c->playback.missing, (int) pa_memblockq_pop_missing(c->input_memblockq)); - - pa_sink_input_put(c->sink_input); - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/protocol-simple.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/protocol-simple.c 2010-05-08 11:04:51.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/protocol-simple.c 2010-05-08 11:05:05.000000000 -0400 -@@ -574,7 +574,7 @@ - - pa_iochannel_socket_set_rcvbuf(io, l); - -- pa_atomic_store(&c->playback.missing, (int) pa_memblockq_missing(c->input_memblockq)); -+ pa_atomic_store(&c->playback.missing, (int) pa_memblockq_pop_missing(c->input_memblockq)); - - pa_sink_input_put(c->sink_input); - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/sink.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/sink.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/sink.c 2010-05-08 11:05:05.000000000 -0400 -@@ -1162,6 +1162,46 @@ - return usec; - } - -+static pa_cvolume* cvolume_remap_minimal_impact( -+ pa_cvolume *v, -+ const pa_cvolume *template, -+ const pa_channel_map *from, -+ const pa_channel_map *to) { -+ -+ pa_cvolume t; -+ -+ pa_assert(v); -+ pa_assert(template); -+ pa_assert(from); -+ pa_assert(to); -+ -+ pa_return_val_if_fail(pa_cvolume_compatible_with_channel_map(v, from), NULL); -+ pa_return_val_if_fail(pa_cvolume_compatible_with_channel_map(template, to), NULL); -+ -+ /* Much like pa_cvolume_remap(), but tries to minimize impact when -+ * mapping from sink input to sink volumes: -+ * -+ * If template is a possible remapping from v it is used instead -+ * of remapping anew. -+ * -+ * If the channel maps don't match we set an all-channel volume on -+ * the sink to ensure that changing a volume on one stream has no -+ * effect that cannot be compensated for in another stream that -+ * does not have the same channel map as the sink. */ -+ -+ if (pa_channel_map_equal(from, to)) -+ return v; -+ -+ t = *template; -+ if (pa_cvolume_equal(pa_cvolume_remap(&t, to, from), v)) { -+ *v = *template; -+ return v; -+ } -+ -+ pa_cvolume_set(v, to->channels, pa_cvolume_max(v)); -+ return v; -+} -+ - /* Called from main context */ - static void compute_reference_ratios(pa_sink *s) { - uint32_t idx; -@@ -1289,7 +1329,7 @@ - pa_cvolume remapped; - - remapped = i->volume; -- pa_cvolume_remap(&remapped, &i->channel_map, &s->channel_map); -+ cvolume_remap_minimal_impact(&remapped, &s->real_volume, &i->channel_map, &s->channel_map); - pa_cvolume_merge(&s->real_volume, &s->real_volume, &remapped); - } - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-intended-roles.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/module-intended-roles.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-intended-roles.c 2010-05-08 11:05:05.000000000 -0400 -@@ -123,6 +123,7 @@ - return PA_HOOK_OK; - } - -+ /* @todo: favour the highest priority device, not the first one we find? */ - PA_IDXSET_FOREACH(s, c->sinks, idx) { - if (s == def) - continue; -@@ -173,12 +174,16 @@ - } - - PA_IDXSET_FOREACH(s, c->sources, idx) { -+ if (s->monitor_of) -+ continue; -+ - if (s == def) - continue; - - if (!PA_SOURCE_IS_LINKED(pa_source_get_state(s))) - continue; - -+ /* @todo: favour the highest priority device, not the first one we find? */ - if (role_match(s->proplist, role)) { - new_data->source = s; - new_data->save_source = FALSE; -@@ -242,6 +247,9 @@ - pa_assert(u); - pa_assert(u->on_hotplug); - -+ if (source->monitor_of) -+ return PA_HOOK_OK; -+ - PA_IDXSET_FOREACH(so, c->source_outputs, idx) { - const char *role; - -@@ -315,6 +323,7 @@ - continue; - - /* Try to find some other fitting sink */ -+ /* @todo: favour the highest priority device, not the first one we find? */ - PA_IDXSET_FOREACH(d, c->sinks, jdx) { - if (d == def || d == sink) - continue; -@@ -370,6 +379,7 @@ - } - - /* Try to find some other fitting source */ -+ /* @todo: favour the highest priority device, not the first one we find? */ - PA_IDXSET_FOREACH(d, c->sources, jdx) { - if (d == def || d == source) - continue; -@@ -377,7 +387,8 @@ - if (!PA_SOURCE_IS_LINKED(pa_source_get_state(d))) - continue; - -- if (role_match(d->proplist, role) && !source->monitor_of == !d->monitor_of) { -+ /* If moving from a monitor, move to another monitor */ -+ if (!source->monitor_of == !d->monitor_of && role_match(d->proplist, role)) { - pa_source_output_move_to(so, d, FALSE); - break; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/socket-client.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/socket-client.c 2010-05-08 11:04:52.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/socket-client.c 2010-05-08 11:05:05.000000000 -0400 -@@ -389,7 +389,8 @@ - goto fail; - - if (res->ai_addr) -- sockaddr_prepare(c, res->ai_addr, res->ai_addrlen); -+ if (sockaddr_prepare(c, res->ai_addr, res->ai_addrlen) < 0) -+ goto fail; - - asyncns_freeaddrinfo(res); - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/alsa-source.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/alsa/alsa-source.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/alsa/alsa-source.c 2010-05-08 11:06:35.000000000 -0400 -@@ -1744,7 +1744,7 @@ - - pa_alsa_dump(PA_LOG_DEBUG, u->pcm_handle); - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("alsa-source", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/bluetooth/module-bluetooth-device.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/bluetooth/module-bluetooth-device.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/bluetooth/module-bluetooth-device.c 2010-05-08 11:06:35.000000000 -0400 -@@ -2041,7 +2041,7 @@ - } - #endif - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("bluetooth", thread_func, u))) { - pa_log_error("Failed to create IO thread"); - stop_thread(u); - return -1; -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/jack/module-jack-sink.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/jack/module-jack-sink.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/jack/module-jack-sink.c 2010-05-08 11:06:35.000000000 -0400 -@@ -147,6 +147,7 @@ - pa_sample_spec ss; - - /* Humm, we're not RUNNING, hence let's write some silence */ -+ /* This can happen if we're paused, or during shutdown (when we're unlinked but jack is still running). */ - - ss = u->sink->sample_spec; - ss.channels = 1; -@@ -197,6 +198,7 @@ - return pa_sink_process_msg(o, code, data, offset, memchunk); - } - -+/* JACK Callback: This is called when JACK needs some data */ - static int jack_process(jack_nframes_t nframes, void *arg) { - struct userdata *u = arg; - unsigned c; -@@ -250,6 +252,7 @@ - pa_log_debug("Thread shutting down"); - } - -+/* JACK Callback: This is called when JACK triggers an error */ - static void jack_error_func(const char*t) { - char *s; - -@@ -258,6 +261,7 @@ - pa_xfree(s); - } - -+/* JACK Callback: This is called when JACK is set up */ - static void jack_init(void *arg) { - struct userdata *u = arg; - -@@ -267,6 +271,7 @@ - pa_make_realtime(u->core->realtime_priority+4); - } - -+/* JACK Callback: This is called when JACK kicks us */ - static void jack_shutdown(void* arg) { - struct userdata *u = arg; - -@@ -274,6 +279,7 @@ - pa_asyncmsgq_post(u->jack_msgq, PA_MSGOBJECT(u->sink), SINK_MESSAGE_ON_SHUTDOWN, NULL, 0, NULL, NULL); - } - -+/* JACK Callback: This is called when JACK changes the buffer size */ - static int jack_buffer_size(jack_nframes_t nframes, void *arg) { - struct userdata *u = arg; - -@@ -413,7 +419,7 @@ - jack_set_thread_init_callback(u->client, jack_init, u); - jack_set_buffer_size_callback(u->client, jack_buffer_size, u); - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("jack-sink", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -@@ -475,12 +481,12 @@ - if (!(u = m->userdata)) - return; - -- if (u->client) -- jack_client_close(u->client); -- - if (u->sink) - pa_sink_unlink(u->sink); - -+ if (u->client) -+ jack_client_close(u->client); -+ - if (u->thread) { - pa_asyncmsgq_send(u->thread_mq.inq, NULL, PA_MESSAGE_SHUTDOWN, NULL, 0, NULL); - pa_thread_free(u->thread); -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/jack/module-jack-source.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/jack/module-jack-source.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/jack/module-jack-source.c 2010-05-08 11:06:35.000000000 -0400 -@@ -363,7 +363,7 @@ - jack_on_shutdown(u->client, jack_shutdown, u); - jack_set_thread_init_callback(u->client, jack_init, u); - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("jack-source", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -@@ -425,12 +425,12 @@ - if (!(u = m->userdata)) - return; - -- if (u->client) -- jack_client_close(u->client); -- - if (u->source) - pa_source_unlink(u->source); - -+ if (u->client) -+ jack_client_close(u->client); -+ - if (u->thread) { - pa_asyncmsgq_send(u->thread_mq.inq, NULL, PA_MESSAGE_SHUTDOWN, NULL, 0, NULL); - pa_thread_free(u->thread); -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-combine.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/module-combine.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-combine.c 2010-05-08 11:06:35.000000000 -0400 -@@ -1304,7 +1304,7 @@ - u->sink_unlink_slot = pa_hook_connect(&m->core->hooks[PA_CORE_HOOK_SINK_UNLINK], PA_HOOK_EARLY, (pa_hook_cb_t) sink_unlink_hook_cb, u); - u->sink_state_changed_slot = pa_hook_connect(&m->core->hooks[PA_CORE_HOOK_SINK_STATE_CHANGED], PA_HOOK_NORMAL, (pa_hook_cb_t) sink_state_changed_hook_cb, u); - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("combine", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-esound-sink.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/module-esound-sink.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-esound-sink.c 2010-05-08 11:06:35.000000000 -0400 -@@ -628,7 +628,7 @@ - /* Reserve space for the response */ - u->read_data = pa_xmalloc(u->read_length = sizeof(int32_t)); - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("esound-sink", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-null-sink.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/module-null-sink.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-null-sink.c 2010-05-08 11:06:35.000000000 -0400 -@@ -317,7 +317,7 @@ - pa_sink_set_max_rewind(u->sink, nbytes); - pa_sink_set_max_request(u->sink, nbytes); - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("null-sink", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-pipe-sink.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/module-pipe-sink.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-pipe-sink.c 2010-05-08 11:06:35.000000000 -0400 -@@ -307,7 +307,7 @@ - pollfd->fd = u->fd; - pollfd->events = pollfd->revents = 0; - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("pipe-sink", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-pipe-source.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/module-pipe-source.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-pipe-source.c 2010-05-08 11:06:35.000000000 -0400 -@@ -291,7 +291,7 @@ - pollfd->fd = u->fd; - pollfd->events = pollfd->revents = 0; - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("pipe-source", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-sine-source.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/module-sine-source.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-sine-source.c 2010-05-08 11:06:35.000000000 -0400 -@@ -274,7 +274,7 @@ - pa_source_set_rtpoll(u->source, u->rtpoll); - pa_source_set_fixed_latency(u->source, u->block_usec); - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("sine-source", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-tunnel.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/module-tunnel.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/module-tunnel.c 2010-05-08 11:06:35.000000000 -0400 -@@ -2014,7 +2014,7 @@ - u->fragsize = (uint32_t) -1; - #endif - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("module-tunnel", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/oss/module-oss.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/oss/module-oss.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/oss/module-oss.c 2010-05-08 11:06:35.000000000 -0400 -@@ -1456,7 +1456,7 @@ - - pa_memchunk_reset(&u->memchunk); - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("oss", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/raop/module-raop-sink.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/raop/module-raop-sink.c 2010-05-08 11:06:18.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/raop/module-raop-sink.c 2010-05-08 11:06:35.000000000 -0400 -@@ -620,7 +620,7 @@ - pa_raop_client_set_callback(u->raop, on_connection, u); - pa_raop_client_set_closed_callback(u->raop, on_close, u); - -- if (!(u->thread = pa_thread_new(thread_func, u))) { -+ if (!(u->thread = pa_thread_new("raop-sink", thread_func, u))) { - pa_log("Failed to create thread."); - goto fail; - } -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/rtp/rtp.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/modules/rtp/rtp.c 2010-05-08 11:06:19.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/modules/rtp/rtp.c 2010-05-08 11:06:35.000000000 -0400 -@@ -278,8 +278,8 @@ - pa_memchunk_reset(&c->memchunk); - } - -- for (cm = CMSG_FIRSTHDR(&m); cm; cm = CMSG_NXTHDR(&m, cm)) { -- if (cm->cmsg_level == SOL_SOCKET && cm->cmsg_type == SO_TIMESTAMP) -+ for (cm = CMSG_FIRSTHDR(&m); cm; cm = CMSG_NXTHDR(&m, cm)) -+ if (cm->cmsg_level == SOL_SOCKET && cm->cmsg_type == SO_TIMESTAMP) { - memcpy(tstamp, CMSG_DATA(cm), sizeof(struct timeval)); - found_tstamp = TRUE; - break; -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulse/thread-mainloop.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulse/thread-mainloop.c 2010-05-08 11:06:19.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulse/thread-mainloop.c 2010-05-08 11:06:35.000000000 -0400 -@@ -146,7 +146,7 @@ - - pa_assert(!m->thread || !pa_thread_is_running(m->thread)); - -- if (!(m->thread = pa_thread_new(thread, m))) -+ if (!(m->thread = pa_thread_new("threaded-ml", thread, m))) - return -1; - - return 0; -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/lock-autospawn.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/lock-autospawn.c 2010-05-08 11:06:19.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/lock-autospawn.c 2010-05-08 11:06:35.000000000 -0400 -@@ -246,7 +246,7 @@ - static int start_thread(void) { - - if (!thread) -- if (!(thread = pa_thread_new(thread_func, NULL))) -+ if (!(thread = pa_thread_new("autospawn", thread_func, NULL))) - return -1; - - return 0; -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/thread-posix.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/thread-posix.c 2010-05-08 11:06:19.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/thread-posix.c 2010-05-08 11:06:35.000000000 -0400 -@@ -28,6 +28,10 @@ - #include - #include - -+#ifdef __linux__ -+#include -+#endif -+ - #include - #include - #include -@@ -42,6 +46,7 @@ - void *userdata; - pa_atomic_t running; - pa_bool_t joined; -+ char *name; - }; - - struct pa_tls { -@@ -53,9 +58,11 @@ - - pa_assert(t); - -- if (!t->thread_func) -+ if (!t->thread_func) { - /* This is a foreign thread, we need to free the struct */ -+ pa_xfree(t->name); - pa_xfree(t); -+ } - } - - PA_STATIC_TLS_DECLARE(current_thread, thread_free_cb); -@@ -64,6 +71,10 @@ - pa_thread *t = userdata; - pa_assert(t); - -+#ifdef __linux__ -+ prctl(PR_SET_NAME, t->name); -+#endif -+ - t->id = pthread_self(); - - PA_STATIC_TLS_SET(current_thread, t); -@@ -75,12 +86,13 @@ - return NULL; - } - --pa_thread* pa_thread_new(pa_thread_func_t thread_func, void *userdata) { -+pa_thread* pa_thread_new(const char *name, pa_thread_func_t thread_func, void *userdata) { - pa_thread *t; - - pa_assert(thread_func); - - t = pa_xnew0(pa_thread, 1); -+ t->name = pa_xstrdup(name); - t->thread_func = thread_func; - t->userdata = userdata; - -@@ -110,6 +122,8 @@ - pa_assert(t); - - pa_thread_join(t); -+ -+ pa_xfree(t->name); - pa_xfree(t); - } - -@@ -155,6 +169,36 @@ - t->userdata = userdata; - } - -+void pa_thread_set_name(pa_thread *t, const char *name) { -+ pa_assert(t); -+ -+ pa_xfree(t->name); -+ t->name = pa_xstrdup(name); -+ -+#ifdef __linux__ -+ prctl(PR_SET_NAME, name); -+#endif -+} -+ -+const char *pa_thread_get_name(pa_thread *t) { -+ pa_assert(t); -+ -+#ifdef __linux__ -+ if (!t->name) { -+ t->name = pa_xmalloc(17); -+ -+ if (prctl(PR_GET_NAME, t->name) >= 0) -+ t->name[16] = 0; -+ else { -+ pa_xfree(t->name); -+ t->name = NULL; -+ } -+ } -+#endif -+ -+ return t->name; -+} -+ - void pa_thread_yield(void) { - #ifdef HAVE_PTHREAD_YIELD - pthread_yield(); -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/thread.h -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/thread.h 2010-05-08 11:06:19.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/thread.h 2010-05-08 11:06:35.000000000 -0400 -@@ -35,7 +35,7 @@ - - typedef void (*pa_thread_func_t) (void *userdata); - --pa_thread* pa_thread_new(pa_thread_func_t thread_func, void *userdata); -+pa_thread* pa_thread_new(const char *name, pa_thread_func_t thread_func, void *userdata); - void pa_thread_free(pa_thread *t); - int pa_thread_join(pa_thread *t); - int pa_thread_is_running(pa_thread *t); -@@ -45,6 +45,9 @@ - void* pa_thread_get_data(pa_thread *t); - void pa_thread_set_data(pa_thread *t, void *userdata); - -+const char *pa_thread_get_name(pa_thread *t); -+void pa_thread_set_name(pa_thread *t, const char *name); -+ - typedef struct pa_tls pa_tls; - - pa_tls* pa_tls_new(pa_free_cb_t free_cb); -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/tests/asyncmsgq-test.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/tests/asyncmsgq-test.c 2010-05-08 11:06:19.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/tests/asyncmsgq-test.c 2010-05-08 11:06:35.000000000 -0400 -@@ -80,7 +80,7 @@ - - pa_assert_se(q = pa_asyncmsgq_new(0)); - -- pa_assert_se(t = pa_thread_new(the_thread, q)); -+ pa_assert_se(t = pa_thread_new("test", the_thread, q)); - - printf("Operation A post\n"); - pa_asyncmsgq_post(q, NULL, OPERATION_A, NULL, 0, NULL, NULL); -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/tests/asyncq-test.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/tests/asyncq-test.c 2010-05-08 11:06:19.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/tests/asyncq-test.c 2010-05-08 11:06:35.000000000 -0400 -@@ -73,8 +73,8 @@ - - pa_assert_se(q = pa_asyncq_new(0)); - -- pa_assert_se(t1 = pa_thread_new(producer, q)); -- pa_assert_se(t2 = pa_thread_new(consumer, q)); -+ pa_assert_se(t1 = pa_thread_new("producer", producer, q)); -+ pa_assert_se(t2 = pa_thread_new("consumer", consumer, q)); - - pa_thread_free(t1); - pa_thread_free(t2); -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/tests/flist-test.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/tests/flist-test.c 2010-05-08 11:06:19.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/tests/flist-test.c 2010-05-08 11:06:35.000000000 -0400 -@@ -87,7 +87,7 @@ - flist = pa_flist_new(0); - - for (i = 0; i < THREADS_MAX; i++) { -- threads[i] = pa_thread_new(thread_func, pa_sprintf_malloc("Thread #%i", i+1)); -+ threads[i] = pa_thread_new("test", thread_func, pa_sprintf_malloc("Thread #%i", i+1)); - assert(threads[i]); - } - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/tests/lock-autospawn-test.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/tests/lock-autospawn-test.c 2010-05-08 11:06:19.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/tests/lock-autospawn-test.c 2010-05-08 11:06:35.000000000 -0400 -@@ -88,10 +88,10 @@ - int main(int argc, char**argv) { - pa_thread *a, *b, *c, *d; - -- pa_assert_se((a = pa_thread_new(thread_func, PA_INT_TO_PTR(1)))); -- pa_assert_se((b = pa_thread_new(thread_func2, PA_INT_TO_PTR(2)))); -- pa_assert_se((c = pa_thread_new(thread_func2, PA_INT_TO_PTR(3)))); -- pa_assert_se((d = pa_thread_new(thread_func, PA_INT_TO_PTR(4)))); -+ pa_assert_se((a = pa_thread_new("test1", thread_func, PA_INT_TO_PTR(1)))); -+ pa_assert_se((b = pa_thread_new("test2", thread_func2, PA_INT_TO_PTR(2)))); -+ pa_assert_se((c = pa_thread_new("test3", thread_func2, PA_INT_TO_PTR(3)))); -+ pa_assert_se((d = pa_thread_new("test4", thread_func, PA_INT_TO_PTR(4)))); - - pa_thread_join(a); - pa_thread_join(b); -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/tests/thread-test.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/tests/thread-test.c 2010-05-08 11:06:19.000000000 -0400 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/tests/thread-test.c 2010-05-08 11:06:35.000000000 -0400 -@@ -102,7 +102,7 @@ - tls = pa_tls_new(pa_xfree); - - for (i = 0; i < THREADS_MAX; i++) { -- t[i] = pa_thread_new(thread_func, pa_sprintf_malloc("Thread #%i", i+1)); -+ t[i] = pa_thread_new("test", thread_func, pa_sprintf_malloc("Thread #%i", i+1)); - assert(t[i]); - } - diff -Nru pulseaudio-0.9.22~git20100719/debian/patches/0094-add-missing-mixer-paths-and-rerun-automake.patch pulseaudio-0.9.22/debian/patches/0094-add-missing-mixer-paths-and-rerun-automake.patch --- pulseaudio-0.9.22~git20100719/debian/patches/0094-add-missing-mixer-paths-and-rerun-automake.patch 2010-07-19 10:42:43.000000000 +0000 +++ pulseaudio-0.9.22/debian/patches/0094-add-missing-mixer-paths-and-rerun-automake.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,115 +0,0 @@ -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/Makefile.am -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/Makefile.am 2010-02-18 22:47:49.000000000 -0500 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/Makefile.am 2010-02-18 23:28:42.000000000 -0500 -@@ -109,6 +109,7 @@ - - ALSA_PROFILES = \ - modules/alsa/mixer/profile-sets/default.conf \ -+ modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \ - modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \ - modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf - -@@ -117,6 +118,7 @@ - modules/alsa/mixer/paths/analog-input.conf \ - modules/alsa/mixer/paths/analog-input.conf.common \ - modules/alsa/mixer/paths/analog-input-fm.conf \ -+ modules/alsa/mixer/paths/analog-input-internal-mic.conf \ - modules/alsa/mixer/paths/analog-input-linein.conf \ - modules/alsa/mixer/paths/analog-input-mic.conf \ - modules/alsa/mixer/paths/analog-input-mic.conf.common \ -@@ -126,6 +128,7 @@ - modules/alsa/mixer/paths/analog-output.conf \ - modules/alsa/mixer/paths/analog-output-speaker.conf \ - modules/alsa/mixer/paths/analog-output.conf.common \ -+ modules/alsa/mixer/paths/analog-output-desktop-speaker.conf \ - modules/alsa/mixer/paths/analog-output-headphones.conf \ - modules/alsa/mixer/paths/analog-output-headphones-2.conf \ - modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf \ -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/Makefile.in -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/Makefile.in 2010-02-18 22:47:49.000000000 -0500 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/Makefile.in 2010-02-18 23:28:42.000000000 -0500 -@@ -1,4 +1,4 @@ --# Makefile.in generated by automake 1.11 from Makefile.am. -+# Makefile.in generated by automake 1.11.1 from Makefile.am. - # @configure_input@ - - # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -@@ -290,16 +290,7 @@ - DIST_COMMON = $(am__pulseinclude_HEADERS_DIST) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in - ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 --am__aclocal_m4_deps = $(top_srcdir)/m4/acx_libwrap.m4 \ -- $(top_srcdir)/m4/acx_lirc.m4 $(top_srcdir)/m4/acx_pthread.m4 \ -- $(top_srcdir)/m4/attributes.m4 \ -- $(top_srcdir)/m4/check_define.m4 $(top_srcdir)/m4/iconv.m4 \ -- $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/lib-ld.m4 \ -- $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ -- $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ -- $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ -- $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ -- $(top_srcdir)/m4/tls.m4 $(top_srcdir)/configure.ac -+am__aclocal_m4_deps = $(top_srcdir)/configure.ac - am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) - mkinstalldirs = $(install_sh) -d -@@ -336,7 +327,7 @@ - LTLIBRARIES = $(lib_LTLIBRARIES) $(modlibexec_LTLIBRARIES) \ - $(noinst_LTLIBRARIES) - am__DEPENDENCIES_1 = --am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) -+am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) - @HAVE_HAL_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) - @HAVE_UDEV_TRUE@am__DEPENDENCIES_4 = $(am__DEPENDENCIES_1) - @HAVE_DBUS_TRUE@am__DEPENDENCIES_5 = $(am__DEPENDENCIES_1) -@@ -2369,7 +2360,6 @@ - JACK_LIBS = @JACK_LIBS@ - LD = @LD@ - LDFLAGS = @LDFLAGS@ --LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@ - LIBASYNCNS_CFLAGS = @LIBASYNCNS_CFLAGS@ - LIBASYNCNS_LIBS = @LIBASYNCNS_LIBS@ - LIBICONV = @LIBICONV@ -@@ -2437,9 +2427,6 @@ - PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ - PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ - PREOPEN_MODS = @PREOPEN_MODS@ --PTHREAD_CC = @PTHREAD_CC@ --PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ --PTHREAD_LIBS = @PTHREAD_LIBS@ - RANLIB = @RANLIB@ - SED = @SED@ - SET_MAKE = @SET_MAKE@ -@@ -2461,7 +2448,6 @@ - abs_top_srcdir = @abs_top_srcdir@ - ac_ct_CC = @ac_ct_CC@ - ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ --acx_pthread_config = @acx_pthread_config@ - am__include = @am__include@ - am__leading_dot = @am__leading_dot@ - am__quote = @am__quote@ -@@ -2581,6 +2567,7 @@ - ################################### - ALSA_PROFILES = \ - modules/alsa/mixer/profile-sets/default.conf \ -+ modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \ - modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \ - modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf - -@@ -2589,6 +2576,7 @@ - modules/alsa/mixer/paths/analog-input.conf \ - modules/alsa/mixer/paths/analog-input.conf.common \ - modules/alsa/mixer/paths/analog-input-fm.conf \ -+ modules/alsa/mixer/paths/analog-input-internal-mic.conf \ - modules/alsa/mixer/paths/analog-input-linein.conf \ - modules/alsa/mixer/paths/analog-input-mic.conf \ - modules/alsa/mixer/paths/analog-input-mic.conf.common \ -@@ -2598,6 +2586,7 @@ - modules/alsa/mixer/paths/analog-output.conf \ - modules/alsa/mixer/paths/analog-output-speaker.conf \ - modules/alsa/mixer/paths/analog-output.conf.common \ -+ modules/alsa/mixer/paths/analog-output-desktop-speaker.conf \ - modules/alsa/mixer/paths/analog-output-headphones.conf \ - modules/alsa/mixer/paths/analog-output-headphones-2.conf \ - modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf \ diff -Nru pulseaudio-0.9.22~git20100719/debian/patches/0095-cve-2009-1299.patch pulseaudio-0.9.22/debian/patches/0095-cve-2009-1299.patch --- pulseaudio-0.9.22~git20100719/debian/patches/0095-cve-2009-1299.patch 2010-07-19 10:42:43.000000000 +0000 +++ pulseaudio-0.9.22/debian/patches/0095-cve-2009-1299.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,63 +0,0 @@ -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/core-util.c -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/src/pulsecore/core-util.c 2010-03-10 18:40:25.000000000 -0500 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/src/pulsecore/core-util.c 2010-03-10 18:41:11.000000000 -0500 -@@ -199,7 +199,7 @@ - /** Creates a directory securely */ - int pa_make_secure_dir(const char* dir, mode_t m, uid_t uid, gid_t gid) { - struct stat st; -- int r, saved_errno; -+ int r, saved_errno, fd; - - pa_assert(dir); - -@@ -217,16 +217,45 @@ - if (r < 0 && errno != EEXIST) - return -1; - --#ifdef HAVE_CHOWN -+#ifdef HAVE_FSTAT -+ if ((fd = open(dir, -+#ifdef O_CLOEXEC -+ O_CLOEXEC| -+#endif -+#ifdef O_NOCTTY -+ O_NOCTTY| -+#endif -+#ifdef O_NOFOLLOW -+ O_NOFOLLOW| -+#endif -+ O_RDONLY)) < 0) -+ goto fail; -+ -+ if (fstat(fd, &st) < 0) { -+ pa_assert_se(pa_close(fd) >= 0); -+ goto fail; -+ } -+ -+ if (!S_ISDIR(st.st_mode)) { -+ pa_assert_se(pa_close(fd) >= 0); -+ errno = EEXIST; -+ goto fail; -+ } -+ -+#ifdef HAVE_FCHOWN - if (uid == (uid_t)-1) - uid = getuid(); - if (gid == (gid_t)-1) - gid = getgid(); -- (void) chown(dir, uid, gid); -+ (void) fchown(fd, uid, gid); -+#endif -+ -+#ifdef HAVE_FCHMOD -+ (void) fchmod(fd, m); - #endif - --#ifdef HAVE_CHMOD -- chmod(dir, m); -+ pa_assert_se(pa_close(fd) >= 0); -+ - #endif - - #ifdef HAVE_LSTAT diff -Nru pulseaudio-0.9.22~git20100719/debian/patches/0097-explicitly-link-libraries.patch pulseaudio-0.9.22/debian/patches/0097-explicitly-link-libraries.patch --- pulseaudio-0.9.22~git20100719/debian/patches/0097-explicitly-link-libraries.patch 1970-01-01 00:00:00.000000000 +0000 +++ pulseaudio-0.9.22/debian/patches/0097-explicitly-link-libraries.patch 2010-12-07 11:36:33.000000000 +0000 @@ -0,0 +1,426 @@ +diff -urN pulseaudio-0.9.22~0.9.21+stable-queue-98-ga8d7/src/Makefile.am pulseaudio-0.9.21-99-g6bb32-dirty/src/Makefile.am +--- pulseaudio-0.9.22~0.9.21+stable-queue-98-ga8d7/src/Makefile.am 2010-10-14 14:08:25.000000000 +1100 ++++ pulseaudio-0.9.21-99-g6bb32-dirty/src/Makefile.am 2010-10-15 14:27:25.684096002 +1100 +@@ -370,7 +370,7 @@ + + mainloop_test_SOURCES = tests/mainloop-test.c + mainloop_test_CFLAGS = $(AM_CFLAGS) +-mainloop_test_LDADD = $(AM_LDADD) libpulse.la ++mainloop_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la + mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c +@@ -380,7 +380,7 @@ + + utf8_test_SOURCES = tests/utf8-test.c + utf8_test_CFLAGS = $(AM_CFLAGS) +-utf8_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++utf8_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + get_binary_name_test_SOURCES = tests/get-binary-name-test.c +@@ -400,17 +400,17 @@ + + memblock_test_SOURCES = tests/memblock-test.c + memblock_test_CFLAGS = $(AM_CFLAGS) +-memblock_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++memblock_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + memblock_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + thread_test_SOURCES = tests/thread-test.c + thread_test_CFLAGS = $(AM_CFLAGS) +-thread_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++thread_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + thread_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + flist_test_SOURCES = tests/flist-test.c + flist_test_CFLAGS = $(AM_CFLAGS) +-flist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++flist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + flist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + asyncq_test_SOURCES = tests/asyncq-test.c +@@ -450,7 +450,7 @@ + + strlist_test_SOURCES = tests/strlist-test.c + strlist_test_CFLAGS = $(AM_CFLAGS) +-strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + strlist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + close_test_SOURCES = tests/close-test.c +@@ -460,7 +460,7 @@ + + voltest_SOURCES = tests/voltest.c + voltest_CFLAGS = $(AM_CFLAGS) +-voltest_LDADD = $(AM_LDADD) libpulse.la ++voltest_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la + voltest_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + vector_test_SOURCES = tests/vector-test.c +@@ -475,12 +475,12 @@ + + cpulimit_test_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h + cpulimit_test_CFLAGS = $(AM_CFLAGS) +-cpulimit_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++cpulimit_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + cpulimit_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + cpulimit_test2_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h + cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2 +-cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + cpulimit_test2_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES) +@@ -509,17 +509,17 @@ + sig2str_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + resampler_test_SOURCES = tests/resampler-test.c +-resampler_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++resampler_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + resampler_test_CFLAGS = $(AM_CFLAGS) + resampler_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + mix_test_SOURCES = tests/mix-test.c +-mix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++mix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + mix_test_CFLAGS = $(AM_CFLAGS) + mix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + remix_test_SOURCES = tests/remix-test.c +-remix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++remix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + remix_test_CFLAGS = $(AM_CFLAGS) + remix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + +@@ -529,12 +529,12 @@ + smoother_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + envelope_test_SOURCES = tests/envelope-test.c +-envelope_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++envelope_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + envelope_test_CFLAGS = $(AM_CFLAGS) + envelope_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + proplist_test_SOURCES = tests/proplist-test.c +-proplist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++proplist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + proplist_test_CFLAGS = $(AM_CFLAGS) + proplist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + +@@ -544,12 +544,12 @@ + rtstutter_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + stripnul_SOURCES = tests/stripnul.c +-stripnul_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++stripnul_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + stripnul_CFLAGS = $(AM_CFLAGS) + stripnul_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + + lock_autospawn_test_SOURCES = tests/lock-autospawn-test.c +-lock_autospawn_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++lock_autospawn_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + lock_autospawn_test_CFLAGS = $(AM_CFLAGS) + lock_autospawn_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + +@@ -574,7 +574,7 @@ + alsa_time_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(ASOUNDLIB_LIBS) + + usergroup_test_SOURCES = tests/usergroup-test.c +-usergroup_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la ++usergroup_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la + usergroup_test_CFLAGS = $(AM_CFLAGS) + usergroup_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + +diff -urN pulseaudio-0.9.22~0.9.21+stable-queue-98-ga8d7/src/Makefile.in pulseaudio-0.9.21-99-g6bb32-dirty/src/Makefile.in +--- pulseaudio-0.9.22~0.9.21+stable-queue-98-ga8d7/src/Makefile.in 2010-10-14 15:54:28.000000000 +1100 ++++ pulseaudio-0.9.21-99-g6bb32-dirty/src/Makefile.in 2010-10-21 10:41:48.585624001 +1100 +@@ -1681,7 +1681,7 @@ + cpulimit_test_OBJECTS = $(am_cpulimit_test_OBJECTS) + cpulimit_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + cpulimit_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(cpulimit_test_CFLAGS) \ + $(CFLAGS) $(cpulimit_test_LDFLAGS) $(LDFLAGS) -o $@ +@@ -1690,7 +1690,7 @@ + cpulimit_test2_OBJECTS = $(am_cpulimit_test2_OBJECTS) + cpulimit_test2_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + cpulimit_test2_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(cpulimit_test2_CFLAGS) $(CFLAGS) $(cpulimit_test2_LDFLAGS) \ +@@ -1699,7 +1699,7 @@ + envelope_test_OBJECTS = $(am_envelope_test_OBJECTS) + envelope_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + envelope_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(envelope_test_CFLAGS) \ + $(CFLAGS) $(envelope_test_LDFLAGS) $(LDFLAGS) -o $@ +@@ -1707,7 +1707,7 @@ + flist_test_OBJECTS = $(am_flist_test_OBJECTS) + flist_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + flist_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(flist_test_CFLAGS) \ + $(CFLAGS) $(flist_test_LDFLAGS) $(LDFLAGS) -o $@ +@@ -1764,21 +1764,23 @@ + lock_autospawn_test_OBJECTS = $(am_lock_autospawn_test_OBJECTS) + lock_autospawn_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + lock_autospawn_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(lock_autospawn_test_CFLAGS) $(CFLAGS) \ + $(lock_autospawn_test_LDFLAGS) $(LDFLAGS) -o $@ + am_mainloop_test_OBJECTS = mainloop_test-mainloop-test.$(OBJEXT) + mainloop_test_OBJECTS = $(am_mainloop_test_OBJECTS) +-mainloop_test_DEPENDENCIES = $(am__DEPENDENCIES_2) libpulse.la ++mainloop_test_DEPENDENCIES = $(am__DEPENDENCIES_2) libpulse.la \ ++ libpulsecommon-@PA_MAJORMINORMICRO@.la + mainloop_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(mainloop_test_CFLAGS) \ + $(CFLAGS) $(mainloop_test_LDFLAGS) $(LDFLAGS) -o $@ + am__objects_15 = mainloop_test_glib-mainloop-test.$(OBJEXT) + am_mainloop_test_glib_OBJECTS = $(am__objects_15) + mainloop_test_glib_OBJECTS = $(am_mainloop_test_glib_OBJECTS) +-am__DEPENDENCIES_9 = $(am__DEPENDENCIES_2) libpulse.la ++am__DEPENDENCIES_9 = $(am__DEPENDENCIES_2) libpulse.la \ ++ libpulsecommon-@PA_MAJORMINORMICRO@.la + mainloop_test_glib_DEPENDENCIES = $(am__DEPENDENCIES_9) \ + $(am__DEPENDENCIES_1) libpulse-mainloop-glib.la + mainloop_test_glib_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +@@ -1797,7 +1799,7 @@ + memblock_test_OBJECTS = $(am_memblock_test_OBJECTS) + memblock_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + memblock_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(memblock_test_CFLAGS) \ + $(CFLAGS) $(memblock_test_LDFLAGS) $(LDFLAGS) -o $@ +@@ -1814,7 +1816,7 @@ + mix_test_OBJECTS = $(am_mix_test_OBJECTS) + mix_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + mix_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(mix_test_CFLAGS) \ + $(CFLAGS) $(mix_test_LDFLAGS) $(LDFLAGS) -o $@ +@@ -1886,7 +1888,7 @@ + proplist_test_OBJECTS = $(am_proplist_test_OBJECTS) + proplist_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + proplist_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(proplist_test_CFLAGS) \ + $(CFLAGS) $(proplist_test_LDFLAGS) $(LDFLAGS) -o $@ +@@ -1920,7 +1922,7 @@ + remix_test_OBJECTS = $(am_remix_test_OBJECTS) + remix_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + remix_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(remix_test_CFLAGS) \ + $(CFLAGS) $(remix_test_LDFLAGS) $(LDFLAGS) -o $@ +@@ -1928,7 +1930,7 @@ + resampler_test_OBJECTS = $(am_resampler_test_OBJECTS) + resampler_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + resampler_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(resampler_test_CFLAGS) $(CFLAGS) $(resampler_test_LDFLAGS) \ +@@ -1977,7 +1979,7 @@ + stripnul_OBJECTS = $(am_stripnul_OBJECTS) + stripnul_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + stripnul_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(stripnul_CFLAGS) \ + $(CFLAGS) $(stripnul_LDFLAGS) $(LDFLAGS) -o $@ +@@ -1985,7 +1987,7 @@ + strlist_test_OBJECTS = $(am_strlist_test_OBJECTS) + strlist_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_1) libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + strlist_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(strlist_test_CFLAGS) \ + $(CFLAGS) $(strlist_test_LDFLAGS) $(LDFLAGS) -o $@ +@@ -2009,14 +2011,15 @@ + thread_test_OBJECTS = $(am_thread_test_OBJECTS) + thread_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + thread_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(thread_test_CFLAGS) \ + $(CFLAGS) $(thread_test_LDFLAGS) $(LDFLAGS) -o $@ + am_usergroup_test_OBJECTS = usergroup_test-usergroup-test.$(OBJEXT) + usergroup_test_OBJECTS = $(am_usergroup_test_OBJECTS) + usergroup_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +- libpulsecore-@PA_MAJORMINORMICRO@.la ++ libpulsecore-@PA_MAJORMINORMICRO@.la \ ++ libpulsecommon-@PA_MAJORMINORMICRO@.la + usergroup_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(usergroup_test_CFLAGS) $(CFLAGS) $(usergroup_test_LDFLAGS) \ +@@ -2025,7 +2028,7 @@ + utf8_test_OBJECTS = $(am_utf8_test_OBJECTS) + utf8_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + libpulsecore-@PA_MAJORMINORMICRO@.la \ +- libpulsecommon-@PA_MAJORMINORMICRO@.la ++ libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + utf8_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(utf8_test_CFLAGS) \ + $(CFLAGS) $(utf8_test_LDFLAGS) $(LDFLAGS) -o $@ +@@ -2039,7 +2042,8 @@ + $(CFLAGS) $(vector_test_LDFLAGS) $(LDFLAGS) -o $@ + am_voltest_OBJECTS = voltest-voltest.$(OBJEXT) + voltest_OBJECTS = $(am_voltest_OBJECTS) +-voltest_DEPENDENCIES = $(am__DEPENDENCIES_2) libpulse.la ++voltest_DEPENDENCIES = $(am__DEPENDENCIES_2) libpulse.la \ ++ libpulsecommon-@PA_MAJORMINORMICRO@.la + voltest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(voltest_CFLAGS) \ + $(CFLAGS) $(voltest_LDFLAGS) $(LDFLAGS) -o $@ +@@ -2688,7 +2692,7 @@ + $(am__append_7) $(am__append_8) $(am__append_9) + mainloop_test_SOURCES = tests/mainloop-test.c + mainloop_test_CFLAGS = $(AM_CFLAGS) +-mainloop_test_LDADD = $(AM_LDADD) libpulse.la ++mainloop_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la + mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c + thread_mainloop_test_CFLAGS = $(AM_CFLAGS) +@@ -2696,7 +2700,7 @@ + thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + utf8_test_SOURCES = tests/utf8-test.c + utf8_test_CFLAGS = $(AM_CFLAGS) +-utf8_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++utf8_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + get_binary_name_test_SOURCES = tests/get-binary-name-test.c + get_binary_name_test_CFLAGS = $(AM_CFLAGS) +@@ -2712,15 +2716,15 @@ + hook_list_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + memblock_test_SOURCES = tests/memblock-test.c + memblock_test_CFLAGS = $(AM_CFLAGS) +-memblock_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++memblock_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + memblock_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + thread_test_SOURCES = tests/thread-test.c + thread_test_CFLAGS = $(AM_CFLAGS) +-thread_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++thread_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + thread_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + flist_test_SOURCES = tests/flist-test.c + flist_test_CFLAGS = $(AM_CFLAGS) +-flist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++flist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + flist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + asyncq_test_SOURCES = tests/asyncq-test.c + asyncq_test_CFLAGS = $(AM_CFLAGS) +@@ -2752,7 +2756,7 @@ + parec_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + strlist_test_SOURCES = tests/strlist-test.c + strlist_test_CFLAGS = $(AM_CFLAGS) +-strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + strlist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + close_test_SOURCES = tests/close-test.c + close_test_CFLAGS = $(AM_CFLAGS) +@@ -2760,7 +2764,7 @@ + close_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + voltest_SOURCES = tests/voltest.c + voltest_CFLAGS = $(AM_CFLAGS) +-voltest_LDADD = $(AM_LDADD) libpulse.la ++voltest_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la + voltest_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + vector_test_SOURCES = tests/vector-test.c + vector_test_CFLAGS = $(AM_CFLAGS) +@@ -2772,11 +2776,11 @@ + channelmap_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + cpulimit_test_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h + cpulimit_test_CFLAGS = $(AM_CFLAGS) +-cpulimit_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++cpulimit_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + cpulimit_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + cpulimit_test2_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h + cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2 +-cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + cpulimit_test2_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES) + mainloop_test_glib_CFLAGS = $(mainloop_test_CFLAGS) $(GLIB20_CFLAGS) -DGLIB_MAIN_LOOP +@@ -2799,15 +2803,15 @@ + sig2str_test_CFLAGS = $(AM_CFLAGS) + sig2str_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + resampler_test_SOURCES = tests/resampler-test.c +-resampler_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++resampler_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + resampler_test_CFLAGS = $(AM_CFLAGS) + resampler_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + mix_test_SOURCES = tests/mix-test.c +-mix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++mix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + mix_test_CFLAGS = $(AM_CFLAGS) + mix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + remix_test_SOURCES = tests/remix-test.c +-remix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++remix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + remix_test_CFLAGS = $(AM_CFLAGS) + remix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + smoother_test_SOURCES = tests/smoother-test.c +@@ -2815,11 +2819,11 @@ + smoother_test_CFLAGS = $(AM_CFLAGS) + smoother_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + envelope_test_SOURCES = tests/envelope-test.c +-envelope_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++envelope_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + envelope_test_CFLAGS = $(AM_CFLAGS) + envelope_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + proplist_test_SOURCES = tests/proplist-test.c +-proplist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++proplist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + proplist_test_CFLAGS = $(AM_CFLAGS) + proplist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + rtstutter_SOURCES = tests/rtstutter.c +@@ -2827,11 +2831,11 @@ + rtstutter_CFLAGS = $(AM_CFLAGS) + rtstutter_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + stripnul_SOURCES = tests/stripnul.c +-stripnul_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++stripnul_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + stripnul_CFLAGS = $(AM_CFLAGS) + stripnul_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + lock_autospawn_test_SOURCES = tests/lock-autospawn-test.c +-lock_autospawn_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la ++lock_autospawn_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la + lock_autospawn_test_CFLAGS = $(AM_CFLAGS) + lock_autospawn_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + prioq_test_SOURCES = tests/prioq-test.c +@@ -2851,7 +2855,7 @@ + alsa_time_test_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS) + alsa_time_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(ASOUNDLIB_LIBS) + usergroup_test_SOURCES = tests/usergroup-test.c +-usergroup_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la ++usergroup_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la + usergroup_test_CFLAGS = $(AM_CFLAGS) + usergroup_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) + diff -Nru pulseaudio-0.9.22~git20100719/debian/patches/0097-regenerate-configure.patch pulseaudio-0.9.22/debian/patches/0097-regenerate-configure.patch --- pulseaudio-0.9.22~git20100719/debian/patches/0097-regenerate-configure.patch 2010-07-19 10:42:43.000000000 +0000 +++ pulseaudio-0.9.22/debian/patches/0097-regenerate-configure.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,276 +0,0 @@ -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/config.h.in -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/config.h.in 2010-02-18 22:47:49.000000000 -0500 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/config.h.in 2010-02-18 23:28:42.000000000 -0500 -@@ -92,9 +92,18 @@ - /* Define to 1 if you have the header file. */ - #undef HAVE_EXECINFO_H - -+/* Define to 1 if you have the `fchmod' function. */ -+#undef HAVE_FCHMOD -+ -+/* Define to 1 if you have the `fchown' function. */ -+#undef HAVE_FCHOWN -+ - /* Define to 1 if you have the `fork' function. */ - #undef HAVE_FORK - -+/* Define to 1 if you have the `fstat' function. */ -+#undef HAVE_FSTAT -+ - /* Have gdbm? */ - #undef HAVE_GDBM - -Index: pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/configure -=================================================================== ---- pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478.orig/configure 2010-02-18 22:47:49.000000000 -0500 -+++ pulseaudio-0.9.22~0.9.21+stable-queue-32-g8478/configure 2010-02-18 23:28:42.000000000 -0500 -@@ -1,6 +1,6 @@ - #! /bin/sh - # Guess values for system-dependent variables and create Makefiles. --# Generated by GNU Autoconf 2.65 for pulseaudio 0.9.21-32-g8478. -+# Generated by GNU Autoconf 2.65 for pulseaudio 0.9.21-63-gd3efa-dirty. - # - # Report bugs to . - # -@@ -701,8 +701,8 @@ - # Identity of this package. - PACKAGE_NAME='pulseaudio' - PACKAGE_TARNAME='pulseaudio' --PACKAGE_VERSION='0.9.21-32-g8478' --PACKAGE_STRING='pulseaudio 0.9.21-32-g8478' -+PACKAGE_VERSION='0.9.21-63-gd3efa-dirty' -+PACKAGE_STRING='pulseaudio 0.9.21-63-gd3efa-dirty' - PACKAGE_BUGREPORT='mzchyfrnhqvb (at) 0pointer (dot) net' - PACKAGE_URL='' - -@@ -1697,7 +1697,7 @@ - # 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 pulseaudio 0.9.21-32-g8478 to adapt to many kinds of systems. -+\`configure' configures pulseaudio 0.9.21-63-gd3efa-dirty to adapt to many kinds of systems. - - Usage: $0 [OPTION]... [VAR=VALUE]... - -@@ -1767,7 +1767,7 @@ - - if test -n "$ac_init_help"; then - case $ac_init_help in -- short | recursive ) echo "Configuration of pulseaudio 0.9.21-32-g8478:";; -+ short | recursive ) echo "Configuration of pulseaudio 0.9.21-63-gd3efa-dirty:";; - esac - cat <<\_ACEOF - -@@ -1978,7 +1978,7 @@ - test -n "$ac_init_help" && exit $ac_status - if $ac_init_version; then - cat <<\_ACEOF --pulseaudio configure 0.9.21-32-g8478 -+pulseaudio configure 0.9.21-63-gd3efa-dirty - generated by GNU Autoconf 2.65 - - Copyright (C) 2009 Free Software Foundation, Inc. -@@ -2442,7 +2442,7 @@ - This file contains any messages produced by compilers while - running configure, to aid debugging if configure makes a mistake. - --It was created by pulseaudio $as_me 0.9.21-32-g8478, which was -+It was created by pulseaudio $as_me 0.9.21-63-gd3efa-dirty, which was - generated by GNU Autoconf 2.65. Invocation command line was - - $ $0 $@ -@@ -2756,6 +2756,9 @@ - as_fn_append ac_func_list " strtof" - as_fn_append ac_func_list " chmod" - as_fn_append ac_func_list " chown" -+as_fn_append ac_func_list " fstat" -+as_fn_append ac_func_list " fchown" -+as_fn_append ac_func_list " fchmod" - as_fn_append ac_func_list " clock_gettime" - as_fn_append ac_func_list " getaddrinfo" - as_fn_append ac_func_list " getgrgid_r" -@@ -3341,7 +3344,7 @@ - - # Define the identity of the package. - PACKAGE='pulseaudio' -- VERSION='0.9.21-32-g8478' -+ VERSION='0.9.21-63-gd3efa-dirty' - - - cat >>confdefs.h <<_ACEOF -@@ -6408,13 +6411,13 @@ - else - lt_cv_nm_interface="BSD nm" - echo "int some_variable = 0;" > conftest.$ac_ext -- (eval echo "\"\$as_me:6411: $ac_compile\"" >&5) -+ (eval echo "\"\$as_me:6414: $ac_compile\"" >&5) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&5 -- (eval echo "\"\$as_me:6414: $NM \\\"conftest.$ac_objext\\\"\"" >&5) -+ (eval echo "\"\$as_me:6417: $NM \\\"conftest.$ac_objext\\\"\"" >&5) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&5 -- (eval echo "\"\$as_me:6417: output\"" >&5) -+ (eval echo "\"\$as_me:6420: output\"" >&5) - cat conftest.out >&5 - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface="MS dumpbin" -@@ -7616,7 +7619,7 @@ - ;; - *-*-irix6*) - # Find out which ABI we are using. -- echo '#line 7619 "configure"' > conftest.$ac_ext -+ echo '#line 7622 "configure"' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -@@ -9174,11 +9177,11 @@ - -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:9177: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:9180: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:9181: \$? = $ac_status" >&5 -+ echo "$as_me:9184: \$? = $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. -@@ -9513,11 +9516,11 @@ - -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:9516: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:9519: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:9520: \$? = $ac_status" >&5 -+ echo "$as_me:9523: \$? = $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. -@@ -9618,11 +9621,11 @@ - -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:9621: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:9624: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:9625: \$? = $ac_status" >&5 -+ echo "$as_me:9628: \$? = $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 -@@ -9673,11 +9676,11 @@ - -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:9676: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:9679: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:9680: \$? = $ac_status" >&5 -+ echo "$as_me:9683: \$? = $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 -@@ -12057,7 +12060,7 @@ - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 12060 "configure" -+#line 12063 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -12153,7 +12156,7 @@ - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 12156 "configure" -+#line 12159 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -14847,6 +14850,12 @@ - - - -+ -+ -+ -+ -+ -+ - for ac_func in mkfifo - do : - ac_fn_c_check_func "$LINENO" "mkfifo" "ac_cv_func_mkfifo" -@@ -18957,12 +18966,12 @@ - pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ -- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gconf-2.0 >= 2.4.0 \""; } >&5 -- ($PKG_CONFIG --exists --print-errors " gconf-2.0 >= 2.4.0 ") 2>&5 -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gconf-2.0 >= 2.4.0 gobject-2.0 \""; } >&5 -+ ($PKG_CONFIG --exists --print-errors " gconf-2.0 >= 2.4.0 gobject-2.0 ") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then -- pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags " gconf-2.0 >= 2.4.0 " 2>/dev/null` -+ pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags " gconf-2.0 >= 2.4.0 gobject-2.0 " 2>/dev/null` - else - pkg_failed=yes - fi -@@ -18975,12 +18984,12 @@ - pkg_cv_GCONF_LIBS="$GCONF_LIBS" - else - if test -n "$PKG_CONFIG" && \ -- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gconf-2.0 >= 2.4.0 \""; } >&5 -- ($PKG_CONFIG --exists --print-errors " gconf-2.0 >= 2.4.0 ") 2>&5 -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gconf-2.0 >= 2.4.0 gobject-2.0 \""; } >&5 -+ ($PKG_CONFIG --exists --print-errors " gconf-2.0 >= 2.4.0 gobject-2.0 ") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then -- pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs " gconf-2.0 >= 2.4.0 " 2>/dev/null` -+ pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs " gconf-2.0 >= 2.4.0 gobject-2.0 " 2>/dev/null` - else - pkg_failed=yes - fi -@@ -18999,9 +19008,9 @@ - _pkg_short_errors_supported=no - fi - if test $_pkg_short_errors_supported = yes; then -- GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gconf-2.0 >= 2.4.0 "` -+ GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gconf-2.0 >= 2.4.0 gobject-2.0 "` - else -- GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gconf-2.0 >= 2.4.0 "` -+ GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gconf-2.0 >= 2.4.0 gobject-2.0 "` - fi - # Put the nasty error message in config.log where it belongs - echo "$GCONF_PKG_ERRORS" >&5 -@@ -21059,7 +21068,7 @@ - # report actual input values of CONFIG_FILES etc. instead of their - # values after options handling. - ac_log=" --This file was extended by pulseaudio $as_me 0.9.21-32-g8478, which was -+This file was extended by pulseaudio $as_me 0.9.21-63-gd3efa-dirty, which was - generated by GNU Autoconf 2.65. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES -@@ -21125,7 +21134,7 @@ - cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" - ac_cs_version="\\ --pulseaudio config.status 0.9.21-32-g8478 -+pulseaudio config.status 0.9.21-63-gd3efa-dirty - configured by $0, generated by GNU Autoconf 2.65, - with options \\"\$ac_cs_config\\" - diff -Nru pulseaudio-0.9.22~git20100719/debian/patches/series pulseaudio-0.9.22/debian/patches/series --- pulseaudio-0.9.22~git20100719/debian/patches/series 2010-07-19 12:16:56.000000000 +0000 +++ pulseaudio-0.9.22/debian/patches/series 2010-12-07 11:36:33.000000000 +0000 @@ -1,18 +1,13 @@ -0001-change-resample-and-buffering.patch 0003-add-padsp-wrapper-check.patch #0005-load-sample-dir-lazy.patch 0007-esd-honour-system-pulseaudio.patch #0090-use-volume-ignore-for-analog-output.patch 0054-mute-iec958-optical-raw-for-audigyX.patch -0090-disable-flat-volumes.patch 0091-dont-load-cork-music-on-phone.patch 0057-load-module-x11-bell.patch 0055-handle-Master-Front.patch 0092-delay-gnome-autostart.patch -#0093-backport-fixes-stable-queue-head.patch -#0094-add-missing-mixer-paths-and-rerun-automake.patch -#0095-cve-2009-1299.patch 0096-lp533877-handle-digmic.patch 0096-lp453966-handle-digmic-pt2.patch 0096-lp451635-handle-dove-x0-line-hp-swap.patch -#0097-regenerate-configure.patch +0097-explicitly-link-libraries.patch diff -Nru pulseaudio-0.9.22~git20100719/debian/rules pulseaudio-0.9.22/debian/rules --- pulseaudio-0.9.22~git20100719/debian/rules 2010-07-19 13:53:08.000000000 +0000 +++ pulseaudio-0.9.22/debian/rules 2010-12-07 11:36:33.000000000 +0000 @@ -34,6 +34,12 @@ clean:: rm -f debian/pulseaudio.install.kfreebsd-i386 rm -f debian/pulseaudio.install.kfreebsd-amd64 + rm -f debian/stamp-post-patches +# rm -f .version + if test -f $(CURDIR)/debian/daemon.conf.in; then \ + mv $(CURDIR)/debian/daemon.conf.in $(CURDIR)/src/daemon/daemon.conf.in; \ + fi +# -find $(CURDIR)/ -name "*-symdef.h" | xargs rm update-patch-series: mkdir -p $(CURDIR)/debian/patches @@ -48,7 +54,30 @@ done DEB_OPT_FLAG = -O3 +LDFLAGS += -Wl,--no-as-needed DEB_CONFIGURE_EXTRA_FLAGS = --enable-static DEB_DH_MAKESHLIBS_ARGS_ALL = --exclude=usr/lib/pulse-0.9.22/modules DEB_DH_INSTALL_ARGS = --sourcedir=$(CURDIR)/debian/tmp DEB_UPDATE_RCD_PARAMS = start 50 2 3 4 5 . stop 15 1 . + +# Dynamically patch default configuration file +ifeq ($(DEB_HOST_ARCH),armel) +RESAMPLE_METHOD := speex-fixed-1 +DEFAULT_FRAGMENTS := 2 +DEFAULT_FRAGMENT_SIZE_MSEC := 10 +else +RESAMPLE_METHOD := speex-float-1 +DEFAULT_FRAGMENTS := 8 +DEFAULT_FRAGMENT_SIZE_MSEC := 10 +endif + +post-patches:: debian/stamp-post-patches + +debian/stamp-post-patches: + cp $(CURDIR)/src/daemon/daemon.conf.in $(CURDIR)/debian/daemon.conf.in + sed -i -e 's/; \(resample-method =\).*/\1 $(RESAMPLE_METHOD)/' \ + -e 's/; \(default-fragments =\).*/\1 $(DEFAULT_FRAGMENTS)/' \ + -e 's/; \(default-fragment-size-msec =\).*/\1 $(DEFAULT_FRAGMENT_SIZE_MSEC)/' \ + -e 's/; flat-volumes = yes/flat-volumes = no/' \ + $(CURDIR)/src/daemon/daemon.conf.in + touch debian/stamp-post-patches diff -Nru pulseaudio-0.9.22~git20100719/doxygen/Makefile.in pulseaudio-0.9.22/doxygen/Makefile.in --- pulseaudio-0.9.22~git20100719/doxygen/Makefile.in 2010-07-19 12:43:10.000000000 +0000 +++ pulseaudio-0.9.22/doxygen/Makefile.in 2010-11-26 00:59:06.000000000 +0000 @@ -117,8 +117,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ -FFTW_CFLAGS = @FFTW_CFLAGS@ -FFTW_LIBS = @FFTW_LIBS@ FGREP = @FGREP@ GCONF_CFLAGS = @GCONF_CFLAGS@ GCONF_LIBS = @GCONF_LIBS@ @@ -137,8 +135,6 @@ HAVE_ALSA = @HAVE_ALSA@ HAVE_AVAHI = @HAVE_AVAHI@ HAVE_BLUEZ = @HAVE_BLUEZ@ -HAVE_BONJOUR = @HAVE_BONJOUR@ -HAVE_COREAUDIO = @HAVE_COREAUDIO@ HAVE_DBUS = @HAVE_DBUS@ HAVE_GCONF = @HAVE_GCONF@ HAVE_GDBM = @HAVE_GDBM@ @@ -249,7 +245,6 @@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ -STOW = @STOW@ STRIP = @STRIP@ TDB_CFLAGS = @TDB_CFLAGS@ TDB_LIBS = @TDB_LIBS@ @@ -298,7 +293,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ modlibexecdir = @modlibexecdir@ diff -Nru pulseaudio-0.9.22~git20100719/ltmain.sh pulseaudio-0.9.22/ltmain.sh --- pulseaudio-0.9.22~git20100719/ltmain.sh 2010-07-19 12:43:04.000000000 +0000 +++ pulseaudio-0.9.22/ltmain.sh 2010-11-26 00:58:58.000000000 +0000 @@ -1,9 +1,10 @@ # Generated from ltmain.m4sh. -# ltmain.sh (GNU libtool) 2.2.6b +# libtool (GNU libtool) 2.2.10 # Written by Gordon Matzigkeit , 1996 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, +# 2007, 2008, 2009, 2010 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. @@ -32,50 +33,54 @@ # # Provide generalized library-building support services. # -# --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 -# --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 informational messages (default) -# --version print version information -# -h, --help print short or long help message +# --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 +# --preserve-dup-deps don't remove duplicate dependency libraries +# --quiet, --silent don't print informational messages +# --no-quiet, --no-silent +# print informational messages (default) +# --tag=TAG use configuration variables from tag TAG +# -v, --verbose print more informational messages than default +# --no-verbose don't print the extra informational messages +# --version print version information +# -h, --help, --help-all print short, long, or detailed 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 +# 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. +# 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) -# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1 -# automake: $automake_version -# autoconf: $autoconf_version +# host-triplet: $host +# shell: $SHELL +# compiler: $LTCC +# compiler flags: $LTCFLAGS +# linker: $LD (gnu? $with_gnu_ld) +# $progname: (GNU libtool) 2.2.10 +# automake: $automake_version +# autoconf: $autoconf_version # # Report bugs to . -PROGRAM=ltmain.sh +PROGRAM=libtool PACKAGE=libtool -VERSION="2.2.6b Debian-2.2.6b-2ubuntu1" +VERSION=2.2.10 TIMESTAMP="" -package_revision=1.3017 +package_revision=1.3175 # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then @@ -91,10 +96,15 @@ BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + # NLS nuisances: We save the old values to restore during execute mode. -# Only set LANG and LC_ALL to C if already set. -# These must not be set unconditionally because not all systems understand -# e.g. LANG=C (notably SCO). lt_user_locale= lt_safe_locale= for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES @@ -107,15 +117,24 @@ lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" fi" done +LC_ALL=C +LANGUAGE=C +export LANGUAGE LC_ALL $lt_unset CDPATH +# 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" : ${CP="cp -f"} -: ${ECHO="echo"} +test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} : ${EGREP="/bin/grep -E"} : ${FGREP="/bin/grep -F"} : ${GREP="/bin/grep"} @@ -159,32 +178,168 @@ func_dirname_and_basename () { # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` + func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` + func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` } # Generated shell functions inserted here. -# 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" +# These SED scripts presuppose an absolute path with a trailing slash. +pathcar='s,^/\([^/]*\).*$,\1,' +pathcdr='s,^/[^/]*,,' +removedotparts=':dotsl + s@/\./@/@g + t dotsl + s,/\.$,/,' +collapseslashes='s@/\{1,\}@/@g' +finalslash='s,/*$,/,' + +# 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. +# value returned in "$func_normal_abspath_result" +func_normal_abspath () +{ + # 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 "$removedotparts" -e "$collapseslashes" -e "$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 "$pathcar"` + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$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_normal_abspath_result=$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_relative_path SRCDIR DSTDIR +# generates a relative path from SRCDIR to DSTDIR, with a trailing +# slash if non-empty, suitable for immediately appending a filename +# without needing to append a separator. +# value returned in "$func_relative_path_result" +func_relative_path () +{ + 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 "x$func_relative_path_tlibdir" = x ; 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 "x$func_stripname_result" != x ; then + func_relative_path_result=${func_relative_path_result}/${func_stripname_result} + fi + + # Normalisation. If bindir is libdir, return empty string, + # else relative path ending with a slash; either way, target + # file name can be directly appended. + if test ! -z "$func_relative_path_result"; then + func_stripname './' '' "$func_relative_path_result/" + func_relative_path_result=$func_stripname_result + fi +} # The name of this program: -# In the unlikely event $progname began with a '-', it would play havoc with -# func_echo (imagine progname=-n), so we prepend ./ in that case: func_dirname_and_basename "$progpath" progname=$func_basename_result -case $progname in - -*) progname=./$progname ;; -esac # Make sure we have an absolute path for reexecution: case $progpath in @@ -258,6 +413,13 @@ : } +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + # func_error arg... # Echo program name prefixed message to standard error. func_error () @@ -326,9 +488,9 @@ case $my_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop - my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"` + my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` done - my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` + my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` save_mkdir_p_IFS="$IFS"; IFS=':' for my_dir in $my_dir_list; do @@ -378,7 +540,7 @@ func_fatal_error "cannot create temporary directory \`$my_tmpdir'" fi - $ECHO "X$my_tmpdir" | $Xsed + $ECHO "$my_tmpdir" } @@ -392,7 +554,7 @@ { case $1 in *[\\\`\"\$]*) - func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;; + func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; *) func_quote_for_eval_unquoted_result="$1" ;; esac @@ -419,7 +581,7 @@ { case $1 in *[\\\`\"]*) - my_arg=`$ECHO "X$1" | $Xsed \ + my_arg=`$ECHO "$1" | $SED \ -e "$double_quote_subst" -e "$sed_double_backslash"` ;; *) my_arg="$1" ;; @@ -489,14 +651,19 @@ } - - - # func_version # Echo version message to standard output and exit. func_version () { - $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / { + $SED -n '/(C)/!b go + :more + /\./!{ + N + s/\n# / / + b more + } + :go + /^# '$PROGRAM' (GNU /,/# warranty; / { s/^# // s/^# *$// s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ @@ -509,19 +676,20 @@ # Echo short help message to standard output and exit. func_usage () { - $SED -n '/^# Usage:/,/# -h/ { + $SED -n '/^# Usage:/,/^# *.*--help/ { s/^# // s/^# *$// s/\$progname/'$progname'/ p }' < "$progpath" - $ECHO + echo $ECHO "run \`$progname --help | more' for full usage" exit $? } -# func_help -# Echo long help message to standard output and exit. +# func_help [NOEXIT] +# Echo long help message to standard output and exit, +# unless 'noexit' is passed as argument. func_help () { $SED -n '/^# Usage:/,/# Report bugs to/ { @@ -538,7 +706,10 @@ s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ p }' < "$progpath" - exit $? + ret=$? + if test -z "$1"; then + exit $ret + fi } # func_missing_arg argname @@ -546,7 +717,7 @@ # exit_cmd. func_missing_arg () { - func_error "missing argument for $1" + func_error "missing argument for $1." exit_cmd=exit } @@ -556,29 +727,6 @@ -# Check that we have a working $ECHO. -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell, and then maybe $ECHO will work. - exec $SHELL "$progpath" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null; then + case $nonopt in *shtool*) :;; *) false;; esac; then # Aesthetically quote it. func_quote_for_eval "$nonopt" install_prog="$func_quote_for_eval_result " @@ -1867,6 +2067,11 @@ # Aesthetically quote it. func_quote_for_eval "$arg" install_prog="$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= @@ -1876,8 +2081,10 @@ install_type= isdir=no stripme= + no_mode=: for arg do + arg2= if test -n "$dest"; then files="$files $dest" dest=$arg @@ -1887,10 +2094,9 @@ case $arg in -d) isdir=yes ;; -f) - case " $install_prog " in - *[\\\ /]cp\ *) ;; - *) prev=$arg ;; - esac + if $install_cp; then :; else + prev=$arg + fi ;; -g | -m | -o) prev=$arg @@ -1904,6 +2110,10 @@ *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then + if test "x$prev" = x-m && test -n "$install_override_mode"; then + arg2=$install_override_mode + no_mode=false + fi prev= else dest=$arg @@ -1915,6 +2125,10 @@ # Aesthetically quote the argument. func_quote_for_eval "$arg" install_prog="$install_prog $func_quote_for_eval_result" + if test -n "$arg2"; then + func_quote_for_eval "$arg2" + fi + install_shared_prog="$install_shared_prog $func_quote_for_eval_result" done test -z "$install_prog" && \ @@ -1923,6 +2137,13 @@ 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" + install_shared_prog="$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" @@ -2010,7 +2231,7 @@ if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. - inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"` + 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 @@ -2023,9 +2244,9 @@ if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"` + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi func_warning "relinking \`$file'" @@ -2043,7 +2264,7 @@ test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. - func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \ + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme="$stripme" case $host_os in @@ -2183,7 +2404,7 @@ if test -f "$lib"; then func_source "$lib" fi - libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test + libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then func_warning "\`$lib' has not been installed in \`$libdir'" finalize=no @@ -2202,7 +2423,7 @@ file="$func_basename_result" outputname="$tmpdir/$file" # Replace the output file specification. - relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_silent || { func_quote_for_expand "$relink_command" @@ -2221,7 +2442,7 @@ } else # Install the binary that we compiled earlier. - file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` fi fi @@ -2323,6 +2544,10 @@ extern \"C\" { #endif +#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" +#endif + /* External symbol declarations for the compiler. */\ " @@ -2332,7 +2557,7 @@ $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. - progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` for progfile in $progfiles; do func_verbose "extracting global C symbols from \`$progfile'" $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'" @@ -2371,7 +2596,7 @@ eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in - *cygwin | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; @@ -2415,10 +2640,10 @@ if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' else - $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" + echo '/* NONE */' >> "$output_objdir/$my_dlsyms" fi - $ECHO >> "$output_objdir/$my_dlsyms" "\ + echo >> "$output_objdir/$my_dlsyms" "\ /* The mapping between symbol names and symbols. */ typedef struct { @@ -2428,7 +2653,7 @@ " case $host in *cygwin* | *mingw* | *cegcc* ) - $ECHO >> "$output_objdir/$my_dlsyms" "\ + echo >> "$output_objdir/$my_dlsyms" "\ /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */" @@ -2441,7 +2666,7 @@ lt_dlsym_const=const ;; esac - $ECHO >> "$output_objdir/$my_dlsyms" "\ + echo >> "$output_objdir/$my_dlsyms" "\ extern $lt_dlsym_const lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[]; $lt_dlsym_const lt_dlsymlist @@ -2457,7 +2682,7 @@ eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac - $ECHO >> "$output_objdir/$my_dlsyms" "\ + echo >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; @@ -2515,16 +2740,16 @@ case $host in *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + 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 "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` fi ;; *) - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` ;; esac ;; @@ -2538,8 +2763,8 @@ # really was required. # Nullify the symbol file. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` fi } @@ -2549,6 +2774,7 @@ # 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 () { $opt_debug @@ -2559,8 +2785,9 @@ 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 pe-i386(.*architecture: i386)?' >/dev/null ; then + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then win32_nmres=`eval $NM -f posix -A $1 | $SED -n -e ' 1,100{ @@ -2598,7 +2825,18 @@ $opt_debug f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" - func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?' + if test "$lock_old_archive_extraction" = yes; 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 "$lock_old_archive_extraction" = yes; 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 @@ -2669,7 +2907,7 @@ darwin_file= darwin_files= for darwin_file in $darwin_filelist; do - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ @@ -2684,25 +2922,30 @@ func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + 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_part1 [arg=no] +# func_emit_wrapper [arg=no] # -# Emit the first part of a libtool wrapper script on stdout. -# For more information, see the description associated with -# func_emit_wrapper(), below. -func_emit_wrapper_part1 () -{ - func_emit_wrapper_part1_arg1=no - if test -n "$1" ; then - func_emit_wrapper_part1_arg1=$1 - fi +# 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 in which 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 @@ -2718,7 +2961,6 @@ # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. -Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' # Be Bourne compatible @@ -2749,31 +2991,132 @@ else # When we are sourced in execute mode, \$file and \$ECHO are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then - ECHO=\"$qecho\" - file=\"\$0\" - # Make sure echo works. - if test \"X\$1\" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift - elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then - # Yippee, \$ECHO works! - : - else - # Restart under the correct shell, and then maybe \$ECHO will work. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} - fi - fi\ + 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/ which is used only on +# windows platforms, and (c) all begin with the string "--lt-" +# (application programs are unlikely to have options which 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$TIMESTAMP) $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 () +{ " - $ECHO "\ + 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 () +{ + for lt_wr_arg + do + case \$lt_wr_arg in + --lt-*) ;; + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; + esac + shift + done + func_exec_program_core \${1+\"\$@\"} +} + + # Parse options + func_parse_lt_options \"\$0\" \${1+\"\$@\"} # Find the directory that this script lives in. - thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` + 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'\` + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` while test -n \"\$file\"; do - destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then @@ -2783,30 +3126,13 @@ esac fi - file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\` - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` + file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` done -" -} -# end: func_emit_wrapper_part1 - -# func_emit_wrapper_part2 [arg=no] -# -# Emit the second part of a libtool wrapper script on stdout. -# For more information, see the description associated with -# func_emit_wrapper(), below. -func_emit_wrapper_part2 () -{ - func_emit_wrapper_part2_arg1=no - if test -n "$1" ; then - func_emit_wrapper_part2_arg1=$1 - fi - - $ECHO "\ # Usually 'no', except on cygwin/mingw when embedded into # the cwrapper. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1 + 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 @@ -2814,7 +3140,7 @@ fi # remove .libs from thisdir case \"\$thisdir\" in - *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;; + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; $objdir ) thisdir=. ;; esac fi @@ -2877,7 +3203,7 @@ # 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 \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` export $shlibpath_var " @@ -2894,64 +3220,18 @@ $ECHO "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. -" - case $host in - # Backslashes separate directories on plain windows - *-*-mingw | *-*-os2* | *-cegcc*) - $ECHO "\ - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} -" - ;; - - *) - $ECHO "\ - exec \"\$progdir/\$program\" \${1+\"\$@\"} -" - ;; - esac - $ECHO "\ - \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 - exit 1 + 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 + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi fi\ " } -# end: func_emit_wrapper_part2 - - -# 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 in which it is stored is -# the $objdir directory. This is a cygwin/mingw-specific -# behavior. -func_emit_wrapper () -{ - func_emit_wrapper_arg1=no - if test -n "$1" ; then - func_emit_wrapper_arg1=$1 - fi - - # split this up so that func_emit_cwrapperexe_src - # can call each part independently. - func_emit_wrapper_part1 "${func_emit_wrapper_arg1}" - func_emit_wrapper_part2 "${func_emit_wrapper_arg1}" -} # func_to_host_path arg @@ -2978,23 +3258,19 @@ func_to_host_path () { func_to_host_path_result="$1" - if test -n "$1" ; then + if test -n "$1"; then case $host in *mingw* ) lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' case $build in *mingw* ) # actually, msys # awkward: cmd appends spaces to result - lt_sed_strip_trailing_spaces="s/[ ]*\$//" - func_to_host_path_tmp1=`( cmd //c echo "$1" |\ - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` + func_to_host_path_result=`( cmd //c echo "$1" ) 2>/dev/null | + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` ;; *cygwin* ) - func_to_host_path_tmp1=`cygpath -w "$1"` - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` + func_to_host_path_result=`cygpath -w "$1" | + $SED -e "$lt_sed_naive_backslashify"` ;; * ) # Unfortunately, winepath does not exit with a non-zero @@ -3006,17 +3282,17 @@ # the odd construction: func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ + func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" | $SED -e "$lt_sed_naive_backslashify"` else # Allow warning below. - func_to_host_path_result="" + func_to_host_path_result= fi ;; esac if test -z "$func_to_host_path_result" ; then func_error "Could not determine host path corresponding to" - func_error " '$1'" + func_error " \`$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback: func_to_host_path_result="$1" @@ -3049,30 +3325,24 @@ func_to_host_pathlist () { func_to_host_pathlist_result="$1" - if test -n "$1" ; then + if test -n "$1"; then case $host in *mingw* ) lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # 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_to_host_pathlist_tmp2="$1" - # Once set for this call, this variable should not be - # reassigned. It is used in tha fallback case. - func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e 's|^:*||' -e 's|:*$||'` + func_stripname : : "$1" + func_to_host_pathlist_tmp1=$func_stripname_result case $build in *mingw* ) # Actually, msys. # Awkward: cmd appends spaces to result. - lt_sed_strip_trailing_spaces="s/[ ]*\$//" - func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\ - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e "$lt_sed_naive_backslashify"` + func_to_host_pathlist_result=` + ( cmd //c echo "$func_to_host_pathlist_tmp1" ) 2>/dev/null | + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` ;; *cygwin* ) - func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"` - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ + func_to_host_pathlist_result=`cygpath -w -p "$func_to_host_pathlist_tmp1" | $SED -e "$lt_sed_naive_backslashify"` ;; * ) @@ -3088,18 +3358,17 @@ if test -z "$func_to_host_pathlist_result" ; then func_to_host_pathlist_result="$func_to_host_path_result" else - func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result" + func_append func_to_host_pathlist_result ";$func_to_host_path_result" fi fi fi - IFS=: done IFS=$func_to_host_pathlist_oldIFS ;; esac - if test -z "$func_to_host_pathlist_result" ; then + if test -z "$func_to_host_pathlist_result"; then func_error "Could not determine the host path(s) corresponding to" - func_error " '$1'" + func_error " \`$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback. This may break if $1 contains DOS-style drive # specifications. The fix is not to complicate the expression @@ -3116,7 +3385,7 @@ ;; esac case "$1" in - *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" + *: ) func_append func_to_host_pathlist_result ";" ;; esac ;; @@ -3141,31 +3410,23 @@ This wrapper executable should never be moved out of the build directory. If it is, it will not operate correctly. - - Currently, it simply execs the wrapper *script* "$SHELL $output", - but could eventually absorb all of the scripts functionality and - exec $objdir/$outputname directly. */ EOF cat <<"EOF" +#ifdef _MSC_VER +# define _CRT_SECURE_NO_DEPRECATE 1 +#endif #include #include #ifdef _MSC_VER # include # include # include -# define setmode _setmode #else # include # include # ifdef __CYGWIN__ # include -# define HAVE_SETENV -# ifdef __STRICT_ANSI__ -char *realpath (const char *, char *); -int putenv (char *); -int setenv (const char *, const char *, int); -# endif # endif #endif #include @@ -3177,6 +3438,44 @@ #include #include +/* 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 platforms) ... */ +#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 +# ifndef _INTPTR_T_DEFINED +# define _INTPTR_T_DEFINED +# define intptr_t int +# endif +#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) @@ -3192,14 +3491,7 @@ # define S_IXGRP 0 #endif -#ifdef _MSC_VER -# define S_IXUSR _S_IEXEC -# define stat _stat -# ifndef _INTPTR_T_DEFINED -# define intptr_t int -# endif -#endif - +/* path handling portability macros */ #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' @@ -3230,10 +3522,6 @@ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ -#ifdef __CYGWIN__ -# define FOPEN_WB "wb" -#endif - #ifndef FOPEN_WB # define FOPEN_WB "w" #endif @@ -3246,22 +3534,13 @@ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) -#undef LTWRAPPER_DEBUGPRINTF -#if defined DEBUGWRAPPER -# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args -static void -ltwrapper_debugprintf (const char *fmt, ...) -{ - va_list args; - va_start (args, fmt); - (void) vfprintf (stderr, fmt, args); - va_end (args); -} +#if defined(LT_DEBUGWRAPPER) +static int lt_debug = 1; #else -# define LTWRAPPER_DEBUGPRINTF(args) +static int lt_debug = 0; #endif -const char *program_name = NULL; +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ void *xmalloc (size_t num); char *xstrdup (const char *string); @@ -3271,31 +3550,17 @@ int make_executable (const char *path); int check_executable (const char *path); char *strendzap (char *str, const char *pat); -void lt_fatal (const char *message, ...); +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_opt_process_env_set (const char *arg); -void lt_opt_process_env_prepend (const char *arg); -void lt_opt_process_env_append (const char *arg); -int lt_split_name_value (const char *arg, char** name, char** value); void lt_update_exe_path (const char *name, const char *value); void lt_update_lib_path (const char *name, const char *value); - -static const char *script_text_part1 = -EOF - - func_emit_wrapper_part1 yes | - $SED -e 's/\([\\"]\)/\\\1/g' \ - -e 's/^/ "/' -e 's/$/\\n"/' - echo ";" - cat <"))); + lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n", + nonnull (lt_argv_zero)); for (i = 0; i < newargc; i++) { - LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : ""))); + lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n", + i, nonnull (newargz[i])); } EOF @@ -3560,11 +3782,14 @@ mingw*) cat <<"EOF" /* execv doesn't actually work on mingw as expected on unix */ + newargz = prepare_spawn (newargz); rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); if (rval == -1) { /* failed to start process */ - LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno)); + lt_debugprintf (__FILE__, __LINE__, + "(main) failed to launch target \"%s\": %s\n", + lt_argv_zero, nonnull (strerror (errno))); return 127; } return rval; @@ -3586,7 +3811,7 @@ { void *p = (void *) malloc (num); if (!p) - lt_fatal ("Memory exhausted"); + lt_fatal (__FILE__, __LINE__, "memory exhausted"); return p; } @@ -3620,8 +3845,8 @@ { struct stat st; - LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n", - path ? (*path ? path : "EMPTY!") : "NULL!")); + lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n", + nonempty (path)); if ((!path) || (!*path)) return 0; @@ -3638,8 +3863,8 @@ int rval = 0; struct stat st; - LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n", - path ? (*path ? path : "EMPTY!") : "NULL!")); + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", + nonempty (path)); if ((!path) || (!*path)) return 0; @@ -3665,8 +3890,8 @@ int tmp_len; char *concat_name; - LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n", - wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!")); + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", + nonempty (wrapper)); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; @@ -3719,7 +3944,8 @@ { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); @@ -3744,7 +3970,8 @@ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); + 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); @@ -3770,8 +3997,9 @@ int has_symlinks = 0; while (strlen (tmp_pathspec) && !has_symlinks) { - LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n", - tmp_pathspec)); + 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) @@ -3793,8 +4021,9 @@ } else { - char *errstr = strerror (errno); - lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr); + lt_fatal (__FILE__, __LINE__, + "error accessing file \"%s\": %s", + tmp_pathspec, nonnull (strerror (errno))); } } XFREE (tmp_pathspec); @@ -3807,7 +4036,8 @@ tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { - lt_fatal ("Could not follow symlinks for %s", pathspec); + lt_fatal (__FILE__, __LINE__, + "could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif @@ -3833,11 +4063,25 @@ 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 *mode, +lt_error_core (int exit_status, const char *file, + int line, const char *mode, const char *message, va_list ap) { - fprintf (stderr, "%s: %s: ", program_name, mode); + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); @@ -3846,20 +4090,32 @@ } void -lt_fatal (const char *message, ...) +lt_fatal (const char *file, int line, const char *message, ...) { va_list ap; va_start (ap, message); - lt_error_core (EXIT_FAILURE, "FATAL", message, ap); + 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) { - LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n", - (name ? name : ""), - (value ? 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 */ @@ -3904,95 +4160,12 @@ return new_value; } -int -lt_split_name_value (const char *arg, char** name, char** value) -{ - const char *p; - int len; - if (!arg || !*arg) - return 1; - - p = strchr (arg, (int)'='); - - if (!p) - return 1; - - *value = xstrdup (++p); - - len = strlen (arg) - strlen (*value); - *name = XMALLOC (char, len); - strncpy (*name, arg, len-1); - (*name)[len - 1] = '\0'; - - return 0; -} - -void -lt_opt_process_env_set (const char *arg) -{ - char *name = NULL; - char *value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg); - } - - lt_setenv (name, value); - XFREE (name); - XFREE (value); -} - -void -lt_opt_process_env_prepend (const char *arg) -{ - char *name = NULL; - char *value = NULL; - char *new_value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg); - } - - new_value = lt_extend_str (getenv (name), value, 0); - lt_setenv (name, new_value); - XFREE (new_value); - XFREE (name); - XFREE (value); -} - -void -lt_opt_process_env_append (const char *arg) -{ - char *name = NULL; - char *value = NULL; - char *new_value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg); - } - - new_value = lt_extend_str (getenv (name), value, 1); - lt_setenv (name, new_value); - XFREE (new_value); - XFREE (name); - XFREE (value); -} - void lt_update_exe_path (const char *name, const char *value) { - LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n", - (name ? name : ""), - (value ? value : ""))); + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); if (name && *name && value && *value) { @@ -4011,9 +4184,9 @@ void lt_update_lib_path (const char *name, const char *value) { - LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n", - (name ? name : ""), - (value ? value : ""))); + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); if (name && *name && value && *value) { @@ -4023,11 +4196,152 @@ } } +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 -e 's/\([\\"]\)/\\\1/g' \ + -e 's/^/ fputs ("/' -e 's/$/\\n", f);/' + 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 () +{ + $opt_debug + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in + *import*) : ;; + *) false ;; + esac +} + # func_mode_link arg... func_mode_link () { @@ -4072,6 +4386,7 @@ new_inherited_linker_flags= avoid_version=no + bindir= dlfiles= dlprefiles= dlself=no @@ -4164,6 +4479,11 @@ esac case $prev in + bindir) + bindir="$arg" + prev= + continue + ;; dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. @@ -4425,6 +4745,11 @@ continue ;; + -bindir) + prev=bindir + continue + ;; + -dlopen) prev=dlfiles continue @@ -4503,7 +4828,7 @@ esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; @@ -4522,7 +4847,7 @@ -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; @@ -4708,7 +5033,7 @@ for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" - arg="$arg $wl$func_quote_for_eval_result" + arg="$arg $func_quote_for_eval_result" compiler_flags="$compiler_flags $func_quote_for_eval_result" done IFS="$save_ifs" @@ -4754,18 +5079,19 @@ arg="$func_quote_for_eval_result" ;; - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler - # -r[0-9][0-9]* specifies the processor on the SGI compiler - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler - # +DA*, +DD* enable 64-bit mode on the HP compiler - # -q* pass through compiler args for the IBM compiler - # -m*, -t[45]*, -txscale* pass through architecture-specific - # compiler args for GCC - # -F/path gives path to uninstalled frameworks, gcc on darwin - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC - # @file GCC response files + # 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 + # @file GCC response files + # -tp=* Portland pgcc target processor selection -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" func_append compile_command " $arg" @@ -4925,7 +5251,7 @@ if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var - eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` + eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\` else shlib_search_path= fi @@ -5033,10 +5359,7 @@ case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; - link) - libs="$deplibs %DEPLIBS%" - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" - ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; esac fi if test "$linkmode,$pass" = "lib,dlpreopen"; then @@ -5051,7 +5374,8 @@ # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do - deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"` + func_basename "$deplib" + deplib_base=$func_basename_result case " $weak_libs " in *" $deplib_base "*) ;; *) deplibs="$deplibs $deplib" ;; @@ -5230,7 +5554,7 @@ match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` - if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \ + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi @@ -5240,15 +5564,15 @@ ;; esac if test "$valid_a_lib" != yes; then - $ECHO + 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." + 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." else - $ECHO + echo $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" @@ -5321,7 +5645,7 @@ # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then - tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'` + 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 "*) ;; @@ -5329,7 +5653,7 @@ esac done fi - dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then @@ -5347,19 +5671,19 @@ # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if $opt_duplicate_deps ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done elif test "$linkmode" != prog && test "$linkmode" != lib; then func_fatal_error "\`$lib' is not a convenience library" fi + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_duplicate_deps ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done continue fi # $pass = conv @@ -5583,7 +5907,7 @@ fi done if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then - $ECHO + echo if test "$linkmode" = prog; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else @@ -5686,9 +6010,9 @@ 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" + 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 @@ -5828,21 +6152,21 @@ # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. - $ECHO + echo $ECHO "*** Warning: This system can not 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." + 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 "$module" = yes; 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." + 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." + 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 "$build_old_libs" = no; then build_libtool_libs=module @@ -5962,7 +6286,7 @@ compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else - compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs="$newdependency_libs" @@ -6130,7 +6454,7 @@ if test "$deplibs_check_method" != pass_all; then func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" else - $ECHO + echo $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" libobjs="$libobjs $objs" @@ -6198,7 +6522,7 @@ age="$number_minor" revision="$number_revision" ;; - freebsd-aout|freebsd-elf|sunos) + freebsd-aout|freebsd-elf|qnx|sunos) current="$number_major" revision="$number_minor" age="0" @@ -6210,9 +6534,6 @@ revision="$number_minor" lt_irix_increment=no ;; - *) - func_fatal_configuration "$modename: unknown library version type \`$version_type'" - ;; esac ;; no) @@ -6435,14 +6756,14 @@ oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. - oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` + 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 "X$lib_search_path " | $Xsed -e "s% $path % %g"` - # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"` - # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"` + # 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 @@ -6483,7 +6804,7 @@ if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) @@ -6568,13 +6889,13 @@ newdeplibs="$newdeplibs $i" else droppeddeps=yes - $ECHO + echo $ECHO "*** Warning: dynamic linker does not accept needed library $i." - $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 I believe you do not have" - $ECHO "*** because a test_compile did reveal that the linker did not use it for" - $ECHO "*** its dynamic dependency list that programs get resolved with at runtime." + 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 I believe you do not have" + echo "*** because a test_compile did reveal that the linker did not use it for" + echo "*** its dynamic dependency list that programs get resolved with at runtime." fi fi ;; @@ -6611,22 +6932,22 @@ newdeplibs="$newdeplibs $i" else droppeddeps=yes - $ECHO + echo $ECHO "*** Warning: dynamic linker does not accept needed library $i." - $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 a test_compile did reveal that the linker did not use this one" - $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime." + 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 a test_compile did reveal that the linker did not use this one" + echo "*** as a dynamic dependency that programs can get resolved with at runtime." fi fi else droppeddeps=yes - $ECHO + echo $ECHO "*** Warning! Library $i is needed by this library but I was not able to" - $ECHO "*** make it link in! You will probably need to install it or some" - $ECHO "*** library that it depends on before this library will be fully" - $ECHO "*** functional. Installing it before continuing would be even better." + echo "*** make it link in! You will probably need to install it or some" + echo "*** library that it depends on before this library will be fully" + echo "*** functional. Installing it before continuing would be even better." fi ;; *) @@ -6672,7 +6993,7 @@ potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; - *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; + *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | @@ -6687,12 +7008,12 @@ fi if test -n "$a_deplib" ; then droppeddeps=yes - $ECHO + 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" + 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 @@ -6730,7 +7051,7 @@ 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 \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \ + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" @@ -6741,12 +7062,12 @@ fi if test -n "$a_deplib" ; then droppeddeps=yes - $ECHO + 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" + 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 @@ -6764,25 +7085,25 @@ ;; none | unknown | *) newdeplibs="" - tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \ - -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'` + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' - tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"` + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` done fi - if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' | - $GREP . >/dev/null; then - $ECHO + case $tmp_deplibs in + *[!\ \ ]*) + echo if test "X$deplibs_check_method" = "Xnone"; then - $ECHO "*** Warning: inter-library dependencies are not supported in this platform." + echo "*** Warning: inter-library dependencies are not supported in this platform." else - $ECHO "*** Warning: inter-library dependencies are not known to be supported." + echo "*** Warning: inter-library dependencies are not known to be supported." fi - $ECHO "*** All declared inter-library dependencies are being dropped." + echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes - fi + ;; + esac ;; esac versuffix=$versuffix_save @@ -6794,23 +7115,23 @@ case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library with the System framework - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'` + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then - $ECHO - $ECHO "*** Warning: libtool could not satisfy all declared inter-library" + 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." + 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." + 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 "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" @@ -6820,16 +7141,16 @@ 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." + 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 "$allow_undefined" = no; 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." + 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 "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module @@ -6846,9 +7167,9 @@ # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + 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 @@ -6970,7 +7291,7 @@ done # Use standard objects if they are pic - test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` test "X$libobjs" = "X " && libobjs= delfiles= @@ -7036,7 +7357,7 @@ 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 "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then @@ -7137,7 +7458,8 @@ save_libobjs=$libobjs fi save_output=$output - output_la=`$ECHO "X$output" | $Xsed -e "$basename"` + func_basename "$output" + output_la=$func_basename_result # Clear the reloadable object creation command queue and # initialize k to one. @@ -7150,12 +7472,12 @@ if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then output=${output_objdir}/${output_la}.lnkscript func_verbose "creating GNU ld script: $output" - $ECHO 'INPUT (' > $output + echo 'INPUT (' > $output for obj in $save_libobjs do $ECHO "$obj" >> $output done - $ECHO ')' >> $output + echo ')' >> $output delfiles="$delfiles $output" elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then output=${output_objdir}/${output_la}.lnk @@ -7197,17 +7519,19 @@ # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\" + reload_objs=$objlist + eval concat_cmds=\"$reload_cmds\" else # All subsequent reloadable object files will link in # the last one created. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\" + 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 + objlist=" $obj" func_len " $last_robj" func_arith $len0 + $func_len_result len=$func_arith_result @@ -7217,7 +7541,8 @@ # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" + 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 @@ -7276,7 +7601,7 @@ 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 "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test -n "$orig_export_symbols"; then @@ -7441,7 +7766,7 @@ if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" - reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` + reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` else gentop="$output_objdir/${obj}x" generated="$generated $gentop" @@ -7452,7 +7777,7 @@ fi # Create the old-style object. - reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" func_execute_cmds "$reload_cmds" 'exit $?' @@ -7512,8 +7837,8 @@ case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac @@ -7530,8 +7855,8 @@ esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac @@ -7668,8 +7993,8 @@ if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. - compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" "no" @@ -7681,15 +8006,15 @@ wrappers_required=yes case $host in + *cegcc* | *mingw32ce*) + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. + wrappers_required=no + ;; *cygwin* | *mingw* ) if test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; - *cegcc) - # Disable wrappers for cegcc, we are cross compiling anyway. - wrappers_required=no - ;; *) if test "$need_relink" = no || test "$build_libtool_libs" != yes; then wrappers_required=no @@ -7698,7 +8023,7 @@ esac if test "$wrappers_required" = no; then # Replace the output file specification. - compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + 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. @@ -7745,7 +8070,7 @@ # 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 "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + 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 @@ -7764,7 +8089,7 @@ if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then - relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= @@ -7776,7 +8101,7 @@ fi # Replace the output file specification. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + 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 @@ -7800,18 +8125,7 @@ fi done relink_command="(cd `pwd`; $relink_command)" - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` - fi - - # Quote $ECHO for shipping. - if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then - case $progpath in - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; - esac - qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"` - else - qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"` + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. @@ -7932,7 +8246,7 @@ done | sort | sort -uc >/dev/null 2>&1); then : else - $ECHO "copying selected object files to avoid basename conflicts..." + echo "copying selected object files to avoid basename conflicts..." gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_mkdir_p "$gentop" @@ -8043,7 +8357,7 @@ 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 "X$relink_command" | $Xsed -e "$sed_quote_subst"` + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi @@ -8128,9 +8442,27 @@ 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) tdlname=../bin/$dlname ;; + *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 "x$bindir" != x ; + 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 diff -Nru pulseaudio-0.9.22~git20100719/m4/iconv.m4 pulseaudio-0.9.22/m4/iconv.m4 --- pulseaudio-0.9.22~git20100719/m4/iconv.m4 2010-07-19 12:43:04.000000000 +0000 +++ pulseaudio-0.9.22/m4/iconv.m4 2010-11-26 00:58:57.000000000 +0000 @@ -1,5 +1,5 @@ -# iconv.m4 serial AM6 (gettext-0.17) -dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc. +# iconv.m4 serial 11 (gettext-0.18.1) +dnl Copyright (C) 2000-2002, 2007-2010 Free Software 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. @@ -34,7 +34,7 @@ am_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) - AC_CACHE_CHECK([for iconv], am_cv_func_iconv, [ + AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no AC_TRY_LINK([#include @@ -42,7 +42,7 @@ [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], - am_cv_func_iconv=yes) + [am_cv_func_iconv=yes]) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" @@ -51,14 +51,14 @@ [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], - am_cv_lib_iconv=yes - am_cv_func_iconv=yes) + [am_cv_lib_iconv=yes] + [am_cv_func_iconv=yes]) LIBS="$am_save_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then - AC_CACHE_CHECK([for working iconv], am_cv_func_iconv_works, [ - dnl This tests against bugs in AIX 5.1 and HP-UX 11.11. + AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ + dnl This tests against bugs in AIX 5.1, HP-UX 11.11, Solaris 10. am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" @@ -87,6 +87,25 @@ return 1; } } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\263"; + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + return 1; + } + } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { @@ -134,7 +153,7 @@ am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then - AC_DEFINE(HAVE_ICONV, 1, + AC_DEFINE([HAVE_ICONV], [1], [Define if you have the iconv() function and it works.]) fi if test "$am_cv_lib_iconv" = yes; then @@ -147,16 +166,31 @@ LIBICONV= LTLIBICONV= fi - AC_SUBST(LIBICONV) - AC_SUBST(LTLIBICONV) + AC_SUBST([LIBICONV]) + AC_SUBST([LTLIBICONV]) ]) -AC_DEFUN([AM_ICONV], +dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to +dnl avoid warnings like +dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". +dnl This is tricky because of the way 'aclocal' is implemented: +dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN. +dnl Otherwise aclocal's initial scan pass would miss the macro definition. +dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions. +dnl Otherwise aclocal would emit many "Use of uninitialized value $1" +dnl warnings. +m4_define([gl_iconv_AC_DEFUN], + m4_version_prereq([2.64], + [[AC_DEFUN_ONCE( + [$1], [$2])]], + [[AC_DEFUN( + [$1], [$2])]])) +gl_iconv_AC_DEFUN([AM_ICONV], [ AM_ICONV_LINK if test "$am_cv_func_iconv" = yes; then AC_MSG_CHECKING([for iconv declaration]) - AC_CACHE_VAL(am_cv_proto_iconv, [ + AC_CACHE_VAL([am_cv_proto_iconv], [ AC_TRY_COMPILE([ #include #include @@ -169,12 +203,12 @@ #else size_t iconv(); #endif -], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") +], [], [am_cv_proto_iconv_arg1=""], [am_cv_proto_iconv_arg1="const"]) am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - AC_MSG_RESULT([$]{ac_t:- - }[$]am_cv_proto_iconv) - AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, + AC_MSG_RESULT([ + $am_cv_proto_iconv]) + AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], [Define as const if the declaration of iconv() needs const.]) fi ]) diff -Nru pulseaudio-0.9.22~git20100719/m4/lib-ld.m4 pulseaudio-0.9.22/m4/lib-ld.m4 --- pulseaudio-0.9.22~git20100719/m4/lib-ld.m4 2010-07-19 12:43:04.000000000 +0000 +++ pulseaudio-0.9.22/m4/lib-ld.m4 2010-11-26 00:58:57.000000000 +0000 @@ -1,5 +1,5 @@ -# lib-ld.m4 serial 3 (gettext-0.13) -dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. +# lib-ld.m4 serial 4 (gettext-0.18) +dnl Copyright (C) 1996-2003, 2009-2010 Free Software 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. @@ -10,7 +10,7 @@ dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], [# I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 /dev/null 2>&1; do - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; @@ -77,7 +77,7 @@ else AC_MSG_CHECKING([for non-GNU ld]) fi -AC_CACHE_VAL(acl_cv_path_LD, +AC_CACHE_VAL([acl_cv_path_LD], [if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do @@ -89,9 +89,9 @@ # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) - test "$with_gnu_ld" != no && break ;; + test "$with_gnu_ld" != no && break ;; *) - test "$with_gnu_ld" != yes && break ;; + test "$with_gnu_ld" != yes && break ;; esac fi done @@ -101,9 +101,9 @@ fi]) LD="$acl_cv_path_LD" if test -n "$LD"; then - AC_MSG_RESULT($LD) + AC_MSG_RESULT([$LD]) else - AC_MSG_RESULT(no) + AC_MSG_RESULT([no]) fi test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) AC_LIB_PROG_LD_GNU diff -Nru pulseaudio-0.9.22~git20100719/m4/lib-link.m4 pulseaudio-0.9.22/m4/lib-link.m4 --- pulseaudio-0.9.22~git20100719/m4/lib-link.m4 2010-07-19 12:43:04.000000000 +0000 +++ pulseaudio-0.9.22/m4/lib-link.m4 2010-11-26 00:58:57.000000000 +0000 @@ -1,12 +1,12 @@ -# lib-link.m4 serial 13 (gettext-0.17) -dnl Copyright (C) 2001-2007 Free Software Foundation, Inc. +# lib-link.m4 serial 21 (gettext-0.18) +dnl Copyright (C) 2001-2010 Free Software 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 From Bruno Haible. -AC_PREREQ(2.54) +AC_PREREQ([2.54]) dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. @@ -18,9 +18,9 @@ [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) - define([Name],[translit([$1],[./-], [___])]) - define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], - [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + pushdef([Name],[translit([$1],[./-], [___])]) + pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ac_cv_lib[]Name[]_libs="$LIB[]NAME" @@ -39,16 +39,17 @@ dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the dnl results of this search when this library appears as a dependency. HAVE_LIB[]NAME=yes - undefine([Name]) - undefine([NAME]) + popdef([NAME]) + popdef([Name]) ]) -dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message]) dnl searches for libname and the libraries corresponding to explicit and dnl implicit dependencies, together with the specified include files and -dnl the ability to compile and link the specified testcode. If found, it -dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and -dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and +dnl the ability to compile and link the specified testcode. The missing-message +dnl defaults to 'no' and may contain additional hints for the user. +dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} +dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname @@ -57,9 +58,9 @@ [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) - define([Name],[translit([$1],[./-], [___])]) - define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], - [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + pushdef([Name],[translit([$1],[./-], [___])]) + pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME dnl accordingly. @@ -73,13 +74,25 @@ AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ac_save_LIBS="$LIBS" - LIBS="$LIBS $LIB[]NAME" - AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) + dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, + dnl because these -l options might require -L options that are present in + dnl LIBS. -l options benefit only from the -L options listed before it. + dnl Otherwise, add it to the front of LIBS, because it may be a static + dnl library that depends on another static library that is present in LIBS. + dnl Static libraries benefit only from the static libraries listed after + dnl it. + case " $LIB[]NAME" in + *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; + *) LIBS="$LIB[]NAME $LIBS" ;; + esac + AC_TRY_LINK([$3], [$4], + [ac_cv_lib[]Name=yes], + [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) LIBS="$ac_save_LIBS" ]) if test "$ac_cv_lib[]Name" = yes; then HAVE_LIB[]NAME=yes - AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) AC_MSG_CHECKING([how to link with lib[]$1]) AC_MSG_RESULT([$LIB[]NAME]) else @@ -95,8 +108,8 @@ AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) - undefine([Name]) - undefine([NAME]) + popdef([NAME]) + popdef([Name]) ]) dnl Determine the platform dependent parameters needed to use rpath: @@ -114,7 +127,7 @@ AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir - AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ + AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh @@ -131,11 +144,32 @@ acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. - AC_ARG_ENABLE(rpath, + AC_ARG_ENABLE([rpath], [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) +dnl AC_LIB_FROMPACKAGE(name, package) +dnl declares that libname comes from the given package. The configure file +dnl will then not have a --with-libname-prefix option but a +dnl --with-package-prefix option. Several libraries can come from the same +dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar +dnl macro call that searches for libname. +AC_DEFUN([AC_LIB_FROMPACKAGE], +[ + pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + define([acl_frompackage_]NAME, [$2]) + popdef([NAME]) + pushdef([PACK],[$2]) + pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + define([acl_libsinpackage_]PACKUP, + m4_ifdef([acl_libsinpackage_]PACKUP, [acl_libsinpackage_]PACKUP[[, ]],)[lib$1]) + popdef([PACKUP]) + popdef([PACK]) +]) + dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. @@ -144,19 +178,23 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) - define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], - [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) + pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) dnl Autoconf >= 2.61 supports dots in --with options. - define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])]) + pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit(PACK,[.],[_])],PACK)]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) - AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix], -[ --with-lib]N_A_M_E[-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib - --without-lib]N_A_M_E[-prefix don't search for lib$1 in includedir and libdir], + AC_ARG_WITH(P_A_C_K[-prefix], +[[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib + --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], [ if test "X$withval" = "Xno"; then use_additional=no @@ -169,6 +207,10 @@ else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" + if test "$acl_libdirstem2" != "$acl_libdirstem" \ + && ! test -d "$withval/$acl_libdirstem"; then + additional_libdir="$withval/$acl_libdirstem2" + fi fi fi ]) @@ -178,6 +220,9 @@ LTLIB[]NAME= INC[]NAME= LIB[]NAME[]_PREFIX= + dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been + dnl computed. So it has to be reset here. + HAVE_LIB[]NAME= rpathdirs= ltrpathdirs= names_already_handled= @@ -327,7 +372,9 @@ dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. - if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then + if test "$enable_rpath" = no \ + || test "X$found_dir" = "X/usr/$acl_libdirstem" \ + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else @@ -415,7 +462,16 @@ case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` - LIB[]NAME[]_PREFIX="$basedir" + if test "$name" = '$1'; then + LIB[]NAME[]_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + */$acl_libdirstem2 | */$acl_libdirstem2/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` + if test "$name" = '$1'; then + LIB[]NAME[]_PREFIX="$basedir" + fi additional_includedir="$basedir/include" ;; esac @@ -476,9 +532,11 @@ dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. - if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= - if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; @@ -609,6 +667,11 @@ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi + popdef([P_A_C_K]) + popdef([PACKLIBS]) + popdef([PACKUP]) + popdef([PACK]) + popdef([NAME]) ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, @@ -654,7 +717,8 @@ if test -n "$next"; then dir="$next" dnl No need to hardcode the standard /usr/lib. - if test "X$dir" != "X/usr/$acl_libdirstem"; then + if test "X$dir" != "X/usr/$acl_libdirstem" \ + && test "X$dir" != "X/usr/$acl_libdirstem2"; then rpathdirs="$rpathdirs $dir" fi next= @@ -663,7 +727,8 @@ -L) next=yes ;; -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` dnl No need to hardcode the standard /usr/lib. - if test "X$dir" != "X/usr/$acl_libdirstem"; then + if test "X$dir" != "X/usr/$acl_libdirstem" \ + && test "X$dir" != "X/usr/$acl_libdirstem2"; then rpathdirs="$rpathdirs $dir" fi next= ;; diff -Nru pulseaudio-0.9.22~git20100719/m4/lib-prefix.m4 pulseaudio-0.9.22/m4/lib-prefix.m4 --- pulseaudio-0.9.22~git20100719/m4/lib-prefix.m4 2010-07-19 12:43:04.000000000 +0000 +++ pulseaudio-0.9.22/m4/lib-prefix.m4 2010-11-26 00:58:57.000000000 +0000 @@ -1,5 +1,5 @@ -# lib-prefix.m4 serial 5 (gettext-0.15) -dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. +# lib-prefix.m4 serial 7 (gettext-0.18) +dnl Copyright (C) 2001-2005, 2008-2010 Free Software 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. @@ -153,33 +153,72 @@ prefix="$acl_save_prefix" ]) -dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing -dnl the basename of the libdir, either "lib" or "lib64". +dnl AC_LIB_PREPARE_MULTILIB creates +dnl - a variable acl_libdirstem, containing the basename of the libdir, either +dnl "lib" or "lib64" or "lib/64", +dnl - a variable acl_libdirstem2, as a secondary possible value for +dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or +dnl "lib/amd64". AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ - dnl There is no formal standard regarding lib and lib64. The current - dnl practice is that on a system supporting 32-bit and 64-bit instruction - dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit - dnl libraries go under $prefix/lib. We determine the compiler's default - dnl mode by looking at the compiler's library search path. If at least - dnl of its elements ends in /lib64 or points to a directory whose absolute - dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the - dnl default, namely "lib". + dnl There is no formal standard regarding lib and lib64. + dnl On glibc systems, the current practice is that on a system supporting + dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under + dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine + dnl the compiler's default mode by looking at the compiler's library search + dnl path. If at least one of its elements ends in /lib64 or points to a + dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI. + dnl Otherwise we use the default, namely "lib". + dnl On Solaris systems, the current practice is that on a system supporting + dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under + dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or + dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. + AC_REQUIRE([AC_CANONICAL_HOST]) acl_libdirstem=lib - searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` - if test -n "$searchpath"; then - acl_save_IFS="${IFS= }"; IFS=":" - for searchdir in $searchpath; do - if test -d "$searchdir"; then - case "$searchdir" in - */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; - *) searchdir=`cd "$searchdir" && pwd` - case "$searchdir" in - */lib64 ) acl_libdirstem=lib64 ;; - esac ;; + acl_libdirstem2= + case "$host_os" in + solaris*) + dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment + dnl . + dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." + dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the + dnl symlink is missing, so we set acl_libdirstem2 too. + AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit], + [AC_EGREP_CPP([sixtyfour bits], [ +#ifdef _LP64 +sixtyfour bits +#endif + ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no]) + ]) + if test $gl_cv_solaris_64bit = yes; then + acl_libdirstem=lib/64 + case "$host_cpu" in + sparc*) acl_libdirstem2=lib/sparcv9 ;; + i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi - done - IFS="$acl_save_IFS" - fi + ;; + *) + searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` + if test -n "$searchpath"; then + acl_save_IFS="${IFS= }"; IFS=":" + for searchdir in $searchpath; do + if test -d "$searchdir"; then + case "$searchdir" in + */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; + */../ | */.. ) + # Better ignore directories of this form. They are misleading. + ;; + *) searchdir=`cd "$searchdir" && pwd` + case "$searchdir" in + */lib64 ) acl_libdirstem=lib64 ;; + esac ;; + esac + fi + done + IFS="$acl_save_IFS" + fi + ;; + esac + test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" ]) diff -Nru pulseaudio-0.9.22~git20100719/m4/libtool.m4 pulseaudio-0.9.22/m4/libtool.m4 --- pulseaudio-0.9.22~git20100719/m4/libtool.m4 2010-07-19 12:43:04.000000000 +0000 +++ pulseaudio-0.9.22/m4/libtool.m4 2010-11-26 00:58:58.000000000 +0000 @@ -1,7 +1,8 @@ # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives @@ -10,7 +11,8 @@ m4_define([_LT_COPYING], [dnl # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. @@ -37,7 +39,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ]) -# serial 56 LT_INIT +# serial 57 LT_INIT # LT_PREREQ(VERSION) @@ -66,6 +68,7 @@ # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT +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 @@ -82,6 +85,8 @@ 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]) @@ -118,7 +123,7 @@ *) break;; esac done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` ]) @@ -138,6 +143,9 @@ 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([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl @@ -179,7 +187,6 @@ _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl -_LT_PROG_ECHO_BACKSLASH case $host_os in aix3*) @@ -193,23 +200,6 @@ ;; esac -# 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. -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' - # Global variables: ofile=libtool can_build_shared=yes @@ -250,6 +240,28 @@ ])# _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' @@ -408,7 +420,7 @@ # 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 "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS @@ -418,7 +430,7 @@ # embedded single quotes properly. In configure, this macro expands # each variable declared with _LT_DECL (and _LT_TAGDECL) into: # -# ='`$ECHO "X$" | $Xsed -e "$delay_single_quote_subst"`' +# ='`$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)])])]) @@ -517,12 +529,20 @@ 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 "X\\\\\$\$var"\` in + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -533,9 +553,9 @@ # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -543,16 +563,38 @@ esac done -# Fix-up fallback echo if it was mangled by the above quoting rules. -case \$lt_ECHO in -*'\\\[$]0 --fallback-echo"')dnl " - lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` - ;; -esac - _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 $lt_write_fail = 0 && chmod +x $1[]dnl +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- @@ -562,20 +604,11 @@ AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) -cat >"$CONFIG_LT" <<_LTEOF -#! $SHELL -# Generated by $as_me. -# Run this file to recreate a libtool stub with the current configuration. - -lt_cl_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_LTEOF +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], +[# Run this file to recreate a libtool stub with the current configuration.]) cat >>"$CONFIG_LT" <<\_LTEOF -AS_SHELL_SANITIZE -_AS_PREPARE - -exec AS_MESSAGE_FD>&1 +lt_cl_silent=false exec AS_MESSAGE_LOG_FD>>config.log { echo @@ -601,7 +634,7 @@ m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. -Copyright (C) 2008 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." @@ -646,15 +679,13 @@ # 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. -if test "$no_create" != yes; then - lt_cl_success=: - test "$silent" = yes && - 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) -fi +lt_cl_success=: +test "$silent" = yes && + 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 @@ -831,11 +862,13 @@ 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 @@ -940,6 +973,31 @@ [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 -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; 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' ;; @@ -967,7 +1025,7 @@ else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi - if test "$DSYMUTIL" != ":"; then + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= @@ -987,7 +1045,11 @@ _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_TAGVAR(whole_archive_flag_spec, $1)='' + if test "$lt_cv_ld_force_load" = "yes"; 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\"`' + 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 @@ -995,7 +1057,7 @@ *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo + 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}" @@ -1041,170 +1103,65 @@ # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], -[ifdef([AC_DIVERSION_NOTICE], - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -$1 -AC_DIVERT_POP -])# _LT_SHELL_INIT +[m4_divert_text([M4SH-INIT], [$1 +])])# _LT_SHELL_INIT + # _LT_PROG_ECHO_BACKSLASH # ----------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. +# 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 which will find a shell with a builtin +# printf (which we can use as an echo command). m4_defun([_LT_PROG_ECHO_BACKSLASH], -[_LT_SHELL_INIT([ -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$lt_ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -ECHO=${lt_ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then - # Yippee, $ECHO works! - : +[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 - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat <<_LT_EOF -[$]* -_LT_EOF - exit 0 + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$[]1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' fi -# 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 - -if test -z "$lt_ECHO"; then - if test "X${echo_test_string+set}" != Xset; then - # find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if { echo_test_string=`eval $cmd`; } 2>/dev/null && - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null - then - break - fi - done - fi - - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : - else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$ECHO" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - ECHO='print -r' - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} - else - # Try using printf. - ECHO='printf %s\n' - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - ECHO="$CONFIG_SHELL [$]0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$CONFIG_SHELL [$]0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null - then - break - fi - prev="$cmd" - done +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} - if test "$prev" != 'sed 50q "[$]0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} - else - # Oops. We lost completely, so just stick with echo. - ECHO=echo - fi - fi - fi - fi - fi -fi +case "$ECHO" in + printf*) AC_MSG_RESULT([printf]) ;; + print*) AC_MSG_RESULT([print -r]) ;; + *) AC_MSG_RESULT([cat]) ;; +esac -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -lt_ECHO=$ECHO -if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then - lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" -fi +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" )])]) -AC_SUBST(lt_ECHO) -]) _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) -_LT_DECL([], [ECHO], [1], - [An echo program that does not interpret backslashes]) +_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) ])# _LT_PROG_ECHO_BACKSLASH @@ -1236,7 +1193,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in @@ -1388,10 +1345,19 @@ esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$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 @@ -1416,15 +1382,15 @@ -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:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (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:__oline__: \$? = $ac_status" >&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 "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $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 @@ -1464,7 +1430,7 @@ if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $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 @@ -1527,6 +1493,11 @@ 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. @@ -1591,8 +1562,8 @@ # 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"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ - = "XX$teststring$teststring"; } >/dev/null 2>&1 && + while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` @@ -1643,7 +1614,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -[#line __oline__ "configure" +[#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -1684,7 +1655,13 @@ # endif #endif -void fnord() { int i=42;} +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +void fnord () __attribute__((visibility("default"))); +#endif + +void fnord () { int i=42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); @@ -1693,7 +1670,11 @@ if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } /* dlclose (self); */ } else @@ -1869,16 +1850,16 @@ -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:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (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:__oline__: \$? = $ac_status" >&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 "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $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 @@ -2037,6 +2018,7 @@ 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 AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ @@ -2045,16 +2027,23 @@ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then + 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 -e 's/;/ /g'` - else - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi + 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= @@ -2067,7 +2056,7 @@ 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 ' + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; @@ -2087,7 +2076,13 @@ if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` + # 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]) @@ -2175,7 +2170,7 @@ 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=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $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' + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $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 ;; @@ -2228,23 +2223,12 @@ 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="/usr/lib /lib/w32api /lib /usr/local/lib" +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}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - 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 ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' @@ -2344,6 +2328,19 @@ hardcode_into_libs=yes ;; +haiku*) + version_type=linux + 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=yes + 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. @@ -2386,8 +2383,10 @@ soname_spec='${libname}${release}${shared_ext}$major' ;; esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. + # 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]]*) @@ -2454,26 +2453,35 @@ 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 - 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], - [shlibpath_overrides_runpath=yes])]) - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir + 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" + # Append ld.so.conf contents 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;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + 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 @@ -2485,18 +2493,6 @@ dynamic_linker='GNU/Linux ld.so' ;; -netbsdelf*-gnu) - version_type=linux - 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='NetBSD ld.elf_so' - ;; - netbsd*) version_type=sunos need_lib_prefix=no @@ -2717,6 +2713,8 @@ 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], @@ -2829,6 +2827,7 @@ 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], @@ -2958,8 +2957,8 @@ fi ;; esac -_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl -_LT_DECL([], [reload_cmds], [2])dnl +_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl +_LT_TAGDECL([], [reload_cmds], [2])dnl ])# _LT_CMD_RELOAD @@ -3011,16 +3010,18 @@ # 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 + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && 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 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + # 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) +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' @@ -3050,6 +3051,10 @@ lt_cv_deplibs_check_method=pass_all ;; +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in @@ -3058,11 +3063,11 @@ 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]) shared object file - PA-RISC [0-9].[0-9]'] + [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_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 @@ -3088,7 +3093,7 @@ lt_cv_deplibs_check_method=pass_all ;; -netbsd* | netbsdelf*-gnu) +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 @@ -3226,7 +3231,19 @@ NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. - AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi AC_SUBST([DUMPBIN]) if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" @@ -3239,13 +3256,13 @@ 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:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) + (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:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&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:__oline__: output\"" >&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" @@ -3268,7 +3285,7 @@ [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) @@ -3296,7 +3313,12 @@ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + 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, @@ -3313,6 +3335,7 @@ 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 @@ -3438,7 +3461,7 @@ 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 + 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" @@ -3600,6 +3623,11 @@ # 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. @@ -3738,8 +3766,8 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; - xlc* | xlC*) - # IBM XL 8.0 on PPC + 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' @@ -3769,7 +3797,7 @@ ;; esac ;; - netbsd* | netbsdelf*-gnu) + netbsd*) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise @@ -3801,7 +3829,7 @@ ;; solaris*) case $cc_basename in - CC*) + 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' @@ -3905,6 +3933,12 @@ _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 @@ -3947,6 +3981,13 @@ _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 ' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC' + ;; + esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in @@ -4010,7 +4051,7 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; - pgcc* | pgf77* | pgf90* | pgf95*) + 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,' @@ -4022,25 +4063,25 @@ # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; - xl*) - # IBM XL C 8.0/Fortran 10.1 on PPC + 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\ C*) - # Sun C 5.9 + *Sun\ F* | *Sun*Fortran*) + # 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)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker + *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)='' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; @@ -4072,7 +4113,7 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in - f77* | f90* | f95*) + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; @@ -4182,8 +4223,10 @@ aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global defined + # symbols, whereas GNU nm marks them as "W". 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")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi @@ -4194,9 +4237,6 @@ cygwin* | mingw* | cegcc*) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' ;; - linux* | k*bsd*-gnu) - _LT_TAGVAR(link_all_deplibs, $1)=no - ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; @@ -4261,13 +4301,36 @@ openbsd*) with_gnu_ld=no ;; - linux* | k*bsd*-gnu) - _LT_TAGVAR(link_all_deplibs, $1)=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 "$with_gnu_ld" = yes; 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 "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' @@ -4301,11 +4364,12 @@ _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** 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 modify your PATH -*** so that a non-GNU linker is found, and then restart. +*** 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 @@ -4341,6 +4405,7 @@ # _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 @@ -4362,6 +4427,11 @@ 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 + ;; + interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no @@ -4391,11 +4461,12 @@ 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + _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*) # 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + 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' ;; @@ -4406,13 +4477,17 @@ lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) + 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + _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 @@ -4428,17 +4503,17 @@ fi case $cc_basename in - xlf*) + 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)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; 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 $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac @@ -4447,7 +4522,7 @@ fi ;; - netbsd* | netbsdelf*-gnu) + 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= @@ -4559,8 +4634,10 @@ else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". 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")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi @@ -4622,7 +4699,6 @@ if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi - _LT_TAGVAR(link_all_deplibs, $1)=no else # not using gcc if test "$host_cpu" = ia64; then @@ -4650,7 +4726,7 @@ # empty executable. _LT_SYS_MODULE_PATH_AIX _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 "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' @@ -4665,8 +4741,13 @@ # -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' - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + if test "$with_gnu_ld" = yes; 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 # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' @@ -4705,7 +4786,7 @@ # 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 `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' + _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. @@ -4772,7 +4853,7 @@ ;; hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then + if test "$GCC" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${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' @@ -4791,7 +4872,7 @@ ;; hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then + if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' @@ -4812,7 +4893,14 @@ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -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 @@ -4840,19 +4928,19 @@ irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $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. save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" AC_LINK_IFELSE(int foo(void) {}, - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $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' ) LDFLAGS="$save_LDFLAGS" else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -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" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + _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' @@ -4861,7 +4949,7 @@ _LT_TAGVAR(link_all_deplibs, $1)=yes ;; - netbsd* | netbsdelf*-gnu) + 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 @@ -4914,17 +5002,17 @@ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; 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" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _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" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _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' @@ -4934,13 +5022,13 @@ osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; 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}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_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" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $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' @@ -5131,36 +5219,38 @@ # 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_MSG_CHECKING([whether -lc should be explicitly linked in]) - $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_TAGVAR(archive_cmds_need_lc, $1)=no - else - _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* - AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)]) + 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 @@ -5330,37 +5420,21 @@ ])# _LT_LANG_C_CONFIG -# _LT_PROG_CXX -# ------------ -# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++ -# compiler, we have our own version here. -m4_defun([_LT_PROG_CXX], -[ -pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes]) -AC_PROG_CXX -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - AC_PROG_CXXCPP -else - _lt_caught_CXX_error=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_CXX - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_CXX], []) - - # _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], -[AC_REQUIRE([_LT_PROG_CXX])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_PROG_CXXCPP +else + _lt_caught_CXX_error=yes +fi AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no @@ -5382,6 +5456,8 @@ _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 @@ -5484,7 +5560,7 @@ # 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 "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no @@ -5596,7 +5672,7 @@ _LT_SYS_MODULE_PATH_AIX _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 "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' @@ -5611,8 +5687,13 @@ # -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' - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + if test "$with_gnu_ld" = yes; 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 # This is similar to how AIX traditionally builds its shared # libraries. @@ -5645,6 +5726,7 @@ # _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 @@ -5705,6 +5787,11 @@ gnu*) ;; + 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)=: @@ -5729,7 +5816,7 @@ # 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; $ECHO "X$list" | $Xsed' + 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 "$GXX" = yes; then @@ -5794,7 +5881,7 @@ # 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; $ECHO "X$list" | $Xsed' + 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 "$GXX" = yes; then @@ -5837,7 +5924,7 @@ 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" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _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 @@ -5848,9 +5935,9 @@ *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -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 -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -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 @@ -5879,7 +5966,7 @@ # 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; $ECHO "X$list" | $Xsed' + 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' @@ -5916,26 +6003,26 @@ pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in - *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) + *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 | $NL2SP`"' + 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 | $NL2SP`~ + $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 | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + $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 | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + $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 will use weak symbols + *) # 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' ;; @@ -5943,7 +6030,7 @@ _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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + _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++ @@ -5962,9 +6049,9 @@ # 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=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + 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*) + 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' @@ -5984,13 +6071,13 @@ _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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + _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='echo' + 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 @@ -6059,7 +6146,7 @@ _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=echo + output_verbose_link_cmd=func_echo_all else _LT_TAGVAR(ld_shlibs, $1)=no fi @@ -6094,15 +6181,15 @@ 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" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _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" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ + $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' ;; @@ -6118,17 +6205,17 @@ # 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=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + 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 "$GXX" = yes && test "$with_gnu_ld" = no; 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" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _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 -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -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 @@ -6138,7 +6225,7 @@ # 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 "\-L"' + 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 @@ -6174,7 +6261,7 @@ solaris*) case $cc_basename in - CC*) + 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' @@ -6195,7 +6282,7 @@ esac _LT_TAGVAR(link_all_deplibs, $1)=yes - output_verbose_link_cmd='echo' + 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 @@ -6222,7 +6309,7 @@ # 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 "\-L"' + 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. @@ -6233,7 +6320,7 @@ # 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 "\-L"' + 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' @@ -6287,6 +6374,10 @@ 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' @@ -6533,7 +6624,7 @@ solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as @@ -6577,32 +6668,16 @@ ])# _LT_SYS_HIDDEN_LIBDEPS -# _LT_PROG_F77 -# ------------ -# Since AC_PROG_F77 is broken, in that it returns the empty string -# if there is no fortran compiler, we have our own version here. -m4_defun([_LT_PROG_F77], -[ -pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes]) -AC_PROG_F77 -if test -z "$F77" || test "X$F77" = "Xno"; then - _lt_disable_F77=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_F77 - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_F77], []) - - # _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_REQUIRE([_LT_PROG_F77])dnl -AC_LANG_PUSH(Fortran 77) +[AC_LANG_PUSH(Fortran 77) +if test -z "$F77" || test "X$F77" = "Xno"; then + _lt_disable_F77=yes +fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= @@ -6621,6 +6696,8 @@ _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 @@ -6720,32 +6797,17 @@ ])# _LT_LANG_F77_CONFIG -# _LT_PROG_FC -# ----------- -# Since AC_PROG_FC is broken, in that it returns the empty string -# if there is no fortran compiler, we have our own version here. -m4_defun([_LT_PROG_FC], -[ -pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes]) -AC_PROG_FC -if test -z "$FC" || test "X$FC" = "Xno"; then - _lt_disable_FC=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_FC - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_FC], []) - - # _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_REQUIRE([_LT_PROG_FC])dnl -AC_LANG_PUSH(Fortran) +[AC_LANG_PUSH(Fortran) + +if test -z "$FC" || test "X$FC" = "Xno"; then + _lt_disable_FC=yes +fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= @@ -6764,6 +6826,8 @@ _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 @@ -6909,6 +6973,8 @@ _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 ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change @@ -7276,7 +7342,7 @@ func_dirname () { # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else @@ -7287,7 +7353,7 @@ # func_basename file func_basename () { - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` + func_basename_result=`$ECHO "${1}" | $SED "$basename"` } dnl func_dirname_and_basename @@ -7303,10 +7369,8 @@ func_stripname () { case ${2} in - .*) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; - *) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; esac } @@ -7317,20 +7381,20 @@ # func_opt_split func_opt_split () { - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` + func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` + func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` } # func_lo2o object func_lo2o () { - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` } # func_xform libobj-or-source func_xform () { - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` + func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'` } # func_arith arithmetic-term... diff -Nru pulseaudio-0.9.22~git20100719/m4/lt~obsolete.m4 pulseaudio-0.9.22/m4/lt~obsolete.m4 --- pulseaudio-0.9.22~git20100719/m4/lt~obsolete.m4 2010-07-19 12:43:05.000000000 +0000 +++ pulseaudio-0.9.22/m4/lt~obsolete.m4 2010-11-26 00:58:59.000000000 +0000 @@ -1,13 +1,13 @@ # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2007, 2009 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 4 lt~obsolete.m4 +# serial 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # @@ -77,7 +77,6 @@ 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_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) 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])]) @@ -90,3 +89,10 @@ 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])]) diff -Nru pulseaudio-0.9.22~git20100719/m4/ltoptions.m4 pulseaudio-0.9.22/m4/ltoptions.m4 --- pulseaudio-0.9.22~git20100719/m4/ltoptions.m4 2010-07-19 12:43:04.000000000 +0000 +++ pulseaudio-0.9.22/m4/ltoptions.m4 2010-11-26 00:58:59.000000000 +0000 @@ -1,13 +1,14 @@ # Helper functions for option handling. -*- Autoconf -*- # -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2007, 2008, 2009 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 ltoptions.m4 +# serial 7 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) @@ -125,7 +126,7 @@ [enable_win32_dll=yes case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) @@ -133,13 +134,13 @@ esac test -z "$AS" && AS=as -_LT_DECL([], [AS], [0], [Assembler program])dnl +_LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], diff -Nru pulseaudio-0.9.22~git20100719/m4/ltversion.m4 pulseaudio-0.9.22/m4/ltversion.m4 --- pulseaudio-0.9.22~git20100719/m4/ltversion.m4 2010-07-19 12:43:05.000000000 +0000 +++ pulseaudio-0.9.22/m4/ltversion.m4 2010-11-26 00:58:59.000000000 +0000 @@ -9,15 +9,15 @@ # Generated from ltversion.in. -# serial 3017 ltversion.m4 +# serial 3175 ltversion.m4 # This file is part of GNU Libtool -m4_define([LT_PACKAGE_VERSION], [2.2.6b]) -m4_define([LT_PACKAGE_REVISION], [1.3017]) +m4_define([LT_PACKAGE_VERSION], [2.2.10]) +m4_define([LT_PACKAGE_REVISION], [1.3175]) AC_DEFUN([LTVERSION_VERSION], -[macro_version='2.2.6b' -macro_revision='1.3017' +[macro_version='2.2.10' +macro_revision='1.3175' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) diff -Nru pulseaudio-0.9.22~git20100719/m4/nls.m4 pulseaudio-0.9.22/m4/nls.m4 --- pulseaudio-0.9.22~git20100719/m4/nls.m4 2010-07-19 12:43:04.000000000 +0000 +++ pulseaudio-0.9.22/m4/nls.m4 2010-11-26 00:58:57.000000000 +0000 @@ -1,5 +1,6 @@ -# nls.m4 serial 3 (gettext-0.15) -dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. +# nls.m4 serial 5 (gettext-0.18) +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, +dnl 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. @@ -17,15 +18,15 @@ dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. -AC_PREREQ(2.50) +AC_PREREQ([2.50]) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS - AC_ARG_ENABLE(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) + AC_MSG_RESULT([$USE_NLS]) + AC_SUBST([USE_NLS]) ]) diff -Nru pulseaudio-0.9.22~git20100719/Makefile.am pulseaudio-0.9.22/Makefile.am --- pulseaudio-0.9.22~git20100719/Makefile.am 2010-07-19 12:40:03.000000000 +0000 +++ pulseaudio-0.9.22/Makefile.am 2010-11-26 01:08:00.000000000 +0000 @@ -55,6 +55,7 @@ test -d $$HOME/homepage/private mkdir -p $$HOME/homepage/private/projects/pulseaudio $$HOME/homepage/private/projects/pulseaudio/doxygen cp pulseaudio-@PACKAGE_VERSION@.tar.gz $$HOME/homepage/private/projects/pulseaudio + cp pulseaudio-@PACKAGE_VERSION@.tar.gz $$HOME/git.fedora/pulseaudio cp -a doxygen/html/* $$HOME/homepage/private/projects/pulseaudio/doxygen doxygen: @@ -67,7 +68,7 @@ find \( -name '*.c' -o -name '*.h' \) -exec perl -i -pe 's/\t/ /g;' \{\} \; fedora-snapshot: dist - cp $(distdir).tar.gz $$HOME/cvs.fedora/pulseaudio/devel/$(distdir).tar.gz + cp $(distdir).tar.gz $$HOME/git.fedora/pulseaudio/$(distdir).tar.gz dist-hook: if test -d .git ; then \ diff -Nru pulseaudio-0.9.22~git20100719/Makefile.in pulseaudio-0.9.22/Makefile.in --- pulseaudio-0.9.22~git20100719/Makefile.in 2010-07-19 12:43:12.000000000 +0000 +++ pulseaudio-0.9.22/Makefile.in 2010-11-26 01:08:53.000000000 +0000 @@ -206,8 +206,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ -FFTW_CFLAGS = @FFTW_CFLAGS@ -FFTW_LIBS = @FFTW_LIBS@ FGREP = @FGREP@ GCONF_CFLAGS = @GCONF_CFLAGS@ GCONF_LIBS = @GCONF_LIBS@ @@ -226,8 +224,6 @@ HAVE_ALSA = @HAVE_ALSA@ HAVE_AVAHI = @HAVE_AVAHI@ HAVE_BLUEZ = @HAVE_BLUEZ@ -HAVE_BONJOUR = @HAVE_BONJOUR@ -HAVE_COREAUDIO = @HAVE_COREAUDIO@ HAVE_DBUS = @HAVE_DBUS@ HAVE_GCONF = @HAVE_GCONF@ HAVE_GDBM = @HAVE_GDBM@ @@ -338,7 +334,6 @@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ -STOW = @STOW@ STRIP = @STRIP@ TDB_CFLAGS = @TDB_CFLAGS@ TDB_LIBS = @TDB_LIBS@ @@ -387,7 +382,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ modlibexecdir = @modlibexecdir@ @@ -997,6 +991,7 @@ test -d $$HOME/homepage/private mkdir -p $$HOME/homepage/private/projects/pulseaudio $$HOME/homepage/private/projects/pulseaudio/doxygen cp pulseaudio-@PACKAGE_VERSION@.tar.gz $$HOME/homepage/private/projects/pulseaudio + cp pulseaudio-@PACKAGE_VERSION@.tar.gz $$HOME/git.fedora/pulseaudio cp -a doxygen/html/* $$HOME/homepage/private/projects/pulseaudio/doxygen doxygen: @@ -1009,7 +1004,7 @@ find \( -name '*.c' -o -name '*.h' \) -exec perl -i -pe 's/\t/ /g;' \{\} \; fedora-snapshot: dist - cp $(distdir).tar.gz $$HOME/cvs.fedora/pulseaudio/devel/$(distdir).tar.gz + cp $(distdir).tar.gz $$HOME/git.fedora/pulseaudio/$(distdir).tar.gz dist-hook: if test -d .git ; then \ diff -Nru pulseaudio-0.9.22~git20100719/man/Makefile.in pulseaudio-0.9.22/man/Makefile.in --- pulseaudio-0.9.22~git20100719/man/Makefile.in 2010-07-19 12:43:10.000000000 +0000 +++ pulseaudio-0.9.22/man/Makefile.in 2010-11-26 00:59:06.000000000 +0000 @@ -148,8 +148,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ -FFTW_CFLAGS = @FFTW_CFLAGS@ -FFTW_LIBS = @FFTW_LIBS@ FGREP = @FGREP@ GCONF_CFLAGS = @GCONF_CFLAGS@ GCONF_LIBS = @GCONF_LIBS@ @@ -168,8 +166,6 @@ HAVE_ALSA = @HAVE_ALSA@ HAVE_AVAHI = @HAVE_AVAHI@ HAVE_BLUEZ = @HAVE_BLUEZ@ -HAVE_BONJOUR = @HAVE_BONJOUR@ -HAVE_COREAUDIO = @HAVE_COREAUDIO@ HAVE_DBUS = @HAVE_DBUS@ HAVE_GCONF = @HAVE_GCONF@ HAVE_GDBM = @HAVE_GDBM@ @@ -280,7 +276,6 @@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ -STOW = @STOW@ STRIP = @STRIP@ TDB_CFLAGS = @TDB_CFLAGS@ TDB_LIBS = @TDB_LIBS@ @@ -329,7 +324,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ modlibexecdir = @modlibexecdir@ diff -Nru pulseaudio-0.9.22~git20100719/man/pactl.1 pulseaudio-0.9.22/man/pactl.1 --- pulseaudio-0.9.22~git20100719/man/pactl.1 2010-07-19 12:43:46.000000000 +0000 +++ pulseaudio-0.9.22/man/pactl.1 2010-11-26 00:59:48.000000000 +0000 @@ -78,9 +78,6 @@ \fBunload-module\f1 \fIID\f1 Unload the module instance identified by the specified numeric index. .TP -\fBunload-module\f1 \fIID\f1 -Unload the module instance identified by the specified numeric index. -.TP \fBsuspend-sink\f1 \fISINK\f1 \fI1|0\f1 Suspend or resume the specified sink (which my be specified either by its symbolic name, or by its numeric index), depending whether 1 (suspend) or 0 (resume) is passed as last argument. Suspending a sink will pause all playback. Depending on the module implementing the sink this might have the effect that the underlying device is closed, making it available for other applications to use. The exact behaviour depends on the module. .TP diff -Nru pulseaudio-0.9.22~git20100719/man/pactl.1.xml.in pulseaudio-0.9.22/man/pactl.1.xml.in --- pulseaudio-0.9.22~git20100719/man/pactl.1.xml.in 2010-07-19 12:40:03.000000000 +0000 +++ pulseaudio-0.9.22/man/pactl.1.xml.in 2010-11-26 00:45:22.000000000 +0000 @@ -143,12 +143,6 @@ - - - - - -
diff -Nru pulseaudio-0.9.22~git20100719/man/pulse-daemon.conf.5 pulseaudio-0.9.22/man/pulse-daemon.conf.5 --- pulseaudio-0.9.22~git20100719/man/pulse-daemon.conf.5 2010-07-19 12:43:46.000000000 +0000 +++ pulseaudio-0.9.22/man/pulse-daemon.conf.5 2010-11-26 00:59:48.000000000 +0000 @@ -14,9 +14,9 @@ For the settings that take a boolean argument the values \fBtrue\f1, \fByes\f1, \fBon\f1 and \fB1\f1 are equivalent, resp. \fBfalse\f1, \fBno\f1, \fBoff\f1, \fB0\f1. .SH GENERAL DIRECTIVES .TP -\fBdaemonize= \f1 Daemonize after startup. Takes a boolean value, defaults to \fBno\f1. The \fB--daemonize\f1 command line option takes precedence. +\fBdaemonize= \f1 Daemonize after startup. Takes a boolean value, defaults to "no". The \fB--daemonize\f1 command line option takes precedence. .TP -\fBfail=\f1 Fail to start up if any of the directives in the configuration script \fIdefault.pa\f1 fail. Takes a boolean argument, defaults to \fByes\f1. The \fB--fail\f1 command line option takes precedence. +\fBfail=\f1 Fail to start up if any of the directives in the configuration script \fIdefault.pa\f1 fail. Takes a boolean argument, defaults to "yes". The \fB--fail\f1 command line option takes precedence. .TP \fBallow-module-loading=\f1 Allow/disallow module loading after startup. This is a security feature that if dsabled makes sure that no further modules may be loaded into the PulseAudio server after startup completed. It is recommended to disable this when \fBsystem-instance\f1 is enabled. Please note that certain features like automatic hot-plug support will not work if this option is enabled. Takes a boolean argument, defaults to \fByes\f1. The \fB--disallow-module-loading\f1 command line option takes precedence. .TP @@ -43,11 +43,11 @@ \fBflat-volumes=\f1 Enable 'flat' volumes, i.e. where possible let the sink volume equal the maximum of the volumes of the inputs connected to it. Takes a boolean argument, defaults to \fByes\f1. .SH SCHEDULING .TP -\fBhigh-priority=\f1 Renice the daemon after startup to become a high-priority process. This a good idea if you experience drop-outs during playback. However, this is a certain security issue, since it works when called SUID root only, or RLIMIT_NICE is used. root is dropped immediately after gaining the nice level on startup, thus it is presumably safe. See \fBpulseaudio(1)\f1 for more information. Takes a boolean argument, defaults to \fByes\f1. The \fB--high-priority\f1 command line option takes precedence. +\fBhigh-priority=\f1 Renice the daemon after startup to become a high-priority process. This a good idea if you experience drop-outs during playback. However, this is a certain security issue, since it works when called SUID root only, or RLIMIT_NICE is used. root is dropped immediately after gaining the nice level on startup, thus it is presumably safe. See \fBpulseaudio(1)\f1 for more information. Takes a boolean argument, defaults to "yes". The \fB--high-priority\f1 command line option takes precedence. .TP -\fBrealtime-scheduling=\f1 Try to acquire SCHED_FIFO scheduling for the IO threads. The same security concerns as mentioned above apply. However, if PA enters an endless loop, realtime scheduling causes a system lockup. Thus, realtime scheduling should only be enabled on trusted machines for now. Please not that only the IO threads of PulseAudio are made real-time. The controlling thread is left a normally scheduled thread. Thus enabling the high-priority option is orthogonal. See \fBpulseaudio(1)\f1 for more information. Takes a boolean argument, defaults to \fByes\f1. The \fB--realtime\f1 command line option takes precedence. +\fBrealtime-scheduling=\f1 Try to acquire SCHED_FIFO scheduling for the IO threads. The same security concerns as mentioned above apply. However, if PA enters an endless loop, realtime scheduling causes a system lockup. Thus, realtime scheduling should only be enabled on trusted machines for now. Please not that only the IO threads of PulseAudio are made real-time. The controlling thread is left a normally scheduled thread. Thus enabling the high-priority option is orthogonal. See \fBpulseaudio(1)\f1 for more information. Takes a boolean argument, defaults to "yes". The \fB--realtime\f1 command line option takes precedence. .TP -\fBrealtime-priority=\f1 The realtime priority to acquire, if \fBrealtime-scheduling\f1 is enabled. Note: JACK uses 10 by default, 9 for clients. Thus it is recommended to choose the PulseAudio real-time priorities lower. Some PulseAudio threads might choose a priority a little lower or higher than the specified value. Defaults to \fB5\f1. +\fBrealtime-priority=\f1 The realtime priority to acquire, if \fBrealtime-scheduling\f1 is enabled. Note: JACK uses 10 by default, 9 for clients. Thus it is recommended to choose the PulseAudio real-time priorities lower. Some PulseAudio threads might choose a priority a little lower or higher than the specified value. Defaults to "5". .TP \fBnice-level=\f1 The nice level to acquire for the daemon, if \fBhigh-priority\f1 is enabled. Note: on some distributions X11 uses -10 by default. Defaults to -11. .SH IDLE TIMES diff -Nru pulseaudio-0.9.22~git20100719/man/pulse-daemon.conf.5.xml.in pulseaudio-0.9.22/man/pulse-daemon.conf.5.xml.in --- pulseaudio-0.9.22~git20100719/man/pulse-daemon.conf.5.xml.in 2010-07-19 12:40:03.000000000 +0000 +++ pulseaudio-0.9.22/man/pulse-daemon.conf.5.xml.in 2010-11-26 00:45:43.000000000 +0000 @@ -53,14 +53,14 @@ @@ -191,7 +191,7 @@ RLIMIT_NICE is used. root is dropped immediately after gaining the nice level on startup, thus it is presumably safe. See for more - information. Takes a boolean argument, defaults to yes. The --high-priority + information. Takes a boolean argument, defaults to "yes". The --high-priority command line option takes precedence.

@@ -205,7 +205,7 @@ real-time. The controlling thread is left a normally scheduled thread. Thus enabling the high-priority option is orthogonal. See for more - information. Takes a boolean argument, defaults to yes. The + information. Takes a boolean argument, defaults to "yes". The --realtime command line option takes precedence.

@@ -215,7 +215,7 @@ by default, 9 for clients. Thus it is recommended to choose the PulseAudio real-time priorities lower. Some PulseAudio threads might choose a priority a little lower or higher than the - specified value. Defaults to 5.

+ specified value. Defaults to "5".