254
  5   ˆl–Ým_J•!®Å	@ŠàZ¸ËJbÑ¿�þZ�å›’8Ë+N3^óÂƒ€÷ÁÀ¿ ¸    # firefox completion                                       -*- shell-script -*-

_firefox()
{
    local cur prev words cword split
    _init_completion -s || return

    [[ $cur == -MOZ_LOG*=* ]] && prev=${cur%%=*} cur=${cur#*=}

    case $prev in
        --help | --version | --display | --UILocale | -MOZ_LOG | --new-window | --new-tab | \
            --private-window | --window-size | --search | --start-debugger-server | \
            --recording | --debugger-args | -[hvPa])
            return
            ;;
        --profile | --screenshot)
            _filedir -d
            return
            ;;
        -MOZ_LOG_FILE)
            _filedir log
            return
            ;;
        --recording-file)
            _filedir
            return
            ;;
        --debugger | -d)
            COMPREPLY=($(compgen -c -- "$cur"))
            return
            ;;
    esac

    $split && return

    if [[ $cur == -* ]]; then
        COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
        [[ ${COMPREPLY-} == *= ]] && compopt -o nospace
        return
    fi

    _filedir "@(?([xs])htm?(l)|pdf|txt)"
} &&
    complete -F _firefox firefox mozilla-firefox iceweasel

# ex: filetype=sh
  .   ˆ{‹„„-i[D<†ªoZƒ›Ù«Ã‚p"_‘I|¥‰ÓMdœv ©ƒ†ü+=ÃÂ d    ‹      ÍV]oÚ0}ï¯ðü°·äòÕ1µÁSG�†FQ¦iš&äÄ†X$qf;Púëg¾:�J÷ÐñäkçØ>çøæÚÞ;ÐÿvÐ—ñ}¿}îuÛ; ßëm ì—n¥
Ðéc„#c²€åré.ë®T3� 2IÜ m”�ËÃäÊ[�‘+äEœ2Û"ÏsÒMDrŠ@æFÆkÛ ˜L4hž²©ˆ¹Ëx"ÝH»¡”™Ý€ÉP;ZÇ[´Ýn¥�ñ…¹†…P&§1±çÛ)× óÀBOŠ~&<(IXZ°áå’­Öt«ÿ›šePØDƒ‚á:TÄ3ZÐXÌÒ62ÃÄÉi¶0ˆP¦Ú®KÓ¹;SŒhlZøg·=øeq`¢õlâQ)>máOíVÿvÐò1éÓ„{@�cî-æ“Õ%’‰©àì$ø¡?ˆ§Óú%Æç:T"3B¦{(X‰‡RCëŒZ­×VA¤Q%„½äŸ™1¼uúc¿;*-aë%öìÞü 1RÅSƒ|¡xh¤Zm¼(‰½O�Ýn»h£T‰Yd0AÈAG‘¯°'Oç©\¦‡Y÷�z“ÐÇ‰¢ö¸0Ù…‡dÿbW«Ô>8ÕšS©¢jó¦Ñ@èÐÖ’¯o)C¤;ÛðRdLeÌ¸:Tq*Q3¹äÊfOÙžÍ¿Þ<Éÿ�³IÙj;¡ëš;™˜<ë^Êq¼BŽ.ªô$£3®'ŠÿÎíïlo½£Ã—"ïülÛW-+i¿¨£êÔ+…Ž‹Éºœ/l±Å¤lÏðñâÌ›6w¼ÅãÃƒò­ôÓt-9Ž	    ?   ˆl–Ü4ý(TÐ;â�À·q ©‹Fÿ�þBÐÝYÆˆáD	#mùÆƒlO;Å_ˆI|¥�+V[(ÅÄ §    # Copyright Â© 2007, 2016 RaphaÃ«l Hertzog <hertzog@debian.org>
# Copyright Â© 2007-2008, 2012-2015 Guillem Jover <guillem@debian.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.

package Dpkg::Shlibs;

use strict;
use warnings;
use feature qw(state);

our $VERSION = '0.03';
our @EXPORT_OK = qw(
    blank_library_paths
    setup_library_paths
    get_library_paths
    add_library_dir
    find_library
);

use Exporter qw(import);
use List::Util qw(none);
use File::Spec;

use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Shlibs::Objdump;
use Dpkg::Path qw(resolve_symlink canonpath);
use Dpkg::Arch qw(get_build_arch get_host_arch :mappers);

use constant DEFAULT_LIBRARY_PATH =>
    qw(/lib /usr/lib);
# XXX: Deprecated multilib paths.
use constant DEFAULT_MULTILIB_PATH =>
    qw(/lib32 /usr/lib32 /lib64 /usr/lib64);

# Library paths set by the user.
my @custom_librarypaths;
# Library paths from the system.
my @system_librarypaths;
my $librarypaths_init;

sub parse_ldso_conf {
    my $file = shift;
    state %visited;
    local $_;

    open my $fh, '<', $file or syserr(g_('cannot open %s'), $file);
    $visited{$file}++;
    while (<$fh>) {
	next if /^\s*$/;
	chomp;
	s{/+$}{};
	if (/^include\s+(\S.*\S)\s*$/) {
	    foreach my $include (glob($1)) {
		parse_ldso_conf($include) if -e $include
		    && !$visited{$include};
	    }
	} elsif (m{^\s*/}) {
	    s/^\s+//;
	    my $libdir = $_;
	    if (none { $_ eq $libdir } (@custom_librarypaths, @