Projects
Extra
yad
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 27
View file
yad.changes
Changed
@@ -1,4 +1,241 @@ ------------------------------------------------------------------- +Tue May 3 17:37:34 UTC 2016 - aloisio@gmx.com + +- Update to 0.36.2 + * honor precision for floats in numeric fields of form and + entry dialogs + * fix settings title and icon for browser mode in html dialog + Version 0.36.1: + * fix quoting buttons commands in form dialog + Version 0.36.0: + * add --no-selection option to list dialog + * improve --center option + * add spell checking support for text field in form and + text-info dialog + * add gtksourceview support to text-info dialog + * fix setting initial value for numeric text entry in entry + dialog + * do not close print dialog when preview button is clicked + * add --monitor option to icon dialog + * change default font for text-info and print text files to + Monospace + * quote field values for button callback in form dialog + Version 0.35.0: + * add BAR column type to list dialog + * add SZ column type to list dialog (displays human readable + sizes) + * add --show-cursor option to text dialog + * fix handling leading spaces in button callback of form + dialog + * fix --show-hidden behavior + * switch float output from %g to %f + * fix setting custom bg color in text-info dialog for gtk3 + Version 0.34.2: + * fix clearing fields in form when --cycle-read is using + Version 0.34.1: + * fix expander + * update man page + Version 0.34.0: + * add --select-action option to list dialog + * add --separate-output option to font dialog + * honor --quoted-output option in font dialog + * add --show-hidden option to file selection dialogs + * add --watch-bar to multi-progress dialog + * improve handling of autoclosing event in multi-progress + dialog + * improve output of color values in form dialog + * fix build with gtk+-3.0 and webkit-3.0 + Version 0.33.1: + * fix timeout handling + Version 0.33.0: + * add --picture dialog, a simple image viewer + * add --focus-field option to form dialog for set initially + focused field + * add --complete option for extended completions in entry + fields + * add ability to fill form data through stdin + * fix handling empty data in form dialog + * improvements in browser mode of html dialog + * add --float-precision option + * improve output of floating point numbers + Version 0.32.0: + * enable rules-hint for icons list in icon browser + * add --splash options (thanks to Konstantin Baierer) + * add --no-focus option + * fix timeout progressbar layout for gtk3 builds + * add --num-output option for output index of active element + in combo-boxes + Version 0.31.3: + * fix setting default value for completion entry in form + dialog + Version 0.31.2: + * fix segfault in list dialog when separators enabled but --sep-value is unset + Version 0.31.1: + * fix segfault in html dialog + Version 0.31.0: + * add separators to list dialog + * use YAD_OPTIONS variable for specify default yad arguments + * add --no-rules-hint option to list dialog + * add parameters for controlling palettes in color selection + * remove some entries from settings file + * set default open command and date format through the settings + file + * add additional filter settings for file selection dialogs + * apply filter and preview settings to all of file selection + dialogs + * fix settings custom icon theme + Version 0.30.1: + * fix parsing paned orientation + Version 0.30.0: + * add paned dialog + * add --parent-win option to make dialog transient for special + window + * add --uri-color option for setting text color of URIs in + text-info dialog + Version 0.29.1: + * fix build without HTML dialog + Version 0.29.0: + * fix focus problems in html dialog + * set default encoding from locale for html widget + * fix quoted output in form dialog + * add --no-escape option to prevent close dialog when Esc is + pressed + * show gtk version within --version and about dialog + * fix build with gcc 5.x + Version 0.28.1: + * fix incorrect rows output order in form dialog + Version 0.28.0: + * add HTML dialog + * add different output formats for color dialog + * add mnemonic feature for field labels in form and entry + dialogs + * add completion entry as field type in form dialog + * add output by rows in form dialog when layout with several + columns is used + * fix labels in multiprogress dialog + * fix print to file in print dialog + * fix setup arguments for double-click action in list dialog + * update man page + Version 0.27.0: + * add --hidden option to notification icon + * add --tooltip-column option to list dialog + * add --gtkrc option + * fix detection of expandind columns in list dialog + * fix markup handling + * add YAD_XID variable for dialogs children + * code cleanup for remove deprecated api + Version 0.26.1: + * fix output in list dialog for check and radiolists + * fix button alignment in form dialog + * don't add last item separator in multifile field of form + dialog + Version 0.26.0: + * double-click actions in list dialog can change values in + current row + * impove handling of markup text in list dialog + * add FBTN field type (relief buttons) to form dialog + * add buttons with custom icons + * add labels with icons for tab labels in notebook dialog + * remove --align option for notebook dialog + * numeric entries aligned to the right side + Version 0.25.1: + * use normal window hints for dialog windows + * fix menu in notification icon (issue #196) + Version 0.25.0: + * add --menu option for notification icon + * add --maximized and --fullscreen options + * unify --listen option for different kind of dialogs + * replace --stdin option by --listen in icon dialog + Version 0.24.1: + * fix parsing menu in notification dialog + Version 0.24.0: + * add --auto-close option for multi-progress dialog + * add --image-path option + * add --no-click option to list dialog + * allow clear text in text-info dialog with ^L + * new translations + * bug fixes + Version 0.23.1: + * wait for child termination in notebook dialog + * honour custom width and height settings in unresizable + dialogs + Version 0.23.0: + * add --quoted-output option for file, form and list dialogs + * add default values for combo-box field in form dialog + * fix dialogs responses when working in notebook mode + Version 0.22.1: + * fix resize of dialog text + * fix usage of stock items in popup menu of notification icon + Version 0.22.0: + * add scale field to form dialog + * fix form layout on gtk+-3.0 + * fix borders around child dialogs in notebook + * fix handle stdin for icons dialog in compact mode + * fix dialog text alignment + * add italian translation + * update man page + Version 0.21.0: + * add optional scrollbars for form dialog + * add "duplicate row" menu entry for editable lists + * some fixes in man page + Version 0.20.3: + * update slovak translation + * use double-ckick for selecting date in form dialog + * fix check field layout in form dialog for gtk3 + Version 0.20.2: + * fix tooltips in list dialog + Version 0.20.1: + * fix --kill-parent option + Version 0.20.0: + * default value for combo-box can be specified by --entry-text + from one of existings entries in list + * add --single-click option for icon dialog + * add log window to progress dialog + * fix geometry settings for unresizable windows + * fix layout on gtk3 + * add custom signals for --kill-parent option + Version 0.19.1: + * use current path as a default folder for file selection dialogs + * fix parsing .desktop files in icons dialog + Version 0.19.0: + * add preview to file dialog + * recognize link type in .desktop files for icon dialog + * make icon description selectable in icon browser + * fix quoting special characters when pass data to the command in + list and dnd dialogs + Version 0.18.0: + * add notebook dialog + * add --button-layout option + * use markup for bar labels in multiprogress dialog + * make --align works for multi-progress too + * fix --geometry behavior + * fix wrap for multiline text fields in form dialog + * add radio and hidden column types in list dialog + * add @disabled@ value to form dialog + * add precisions to form and entry numeric fields + * add --listen option to list and text dialogs + Version 0.17.1.1: + * fix --listen mode of notification + Version 0.17.1: + * fix build with gtk+ < 2.22 + * add wrapping to multiline text field in form dialog + * fix search in text-info dialog + * fix handling empty strings in --listen mode of notification + * add traditional chinese translation + Version 0.17.0: + * add search in --text-info dialog (activate by pressing Ctrl+S) + * add multiline text field to form dialog + * add multiply directory selection to form dialog + * add --rest option for specify extra command-line options + through the external file + * add new setting "ignore_unknown_options" + * list dialog now can handle command-line and stdin data at + the same time + * sending "^L" to list dialog will clear the list + +- Enabled gtk3 + +------------------------------------------------------------------- Fri Dec 09 00:00:00 UTC 2011 - detlef@links2linux.de - new upstream version <0.16.3>
View file
yad.spec
Changed
@@ -1,20 +1,34 @@ -# norootforbuild - -Name: yad -Version: 0.16.3 -Release: 1 - -Summary: A fork of Zenity with many improvements -License: GPLv3 -Group: Development/Tools/GUI Builders -URL: http://code.google.com/p/yad/ - -Source0: %{name}-%{version}.tar.bz2 - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot - -BuildRequires: gtk2-devel intltool pkgconfig update-desktop-files - +# +# spec file for package yad +# +# Copyright (c) 2016 Packman Team <packman@links2linux.de> +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.links2linux.org/ +# + + +Name: yad +Version: 0.36.2 +Release: 0 +Summary: A fork of Zenity with many improvements +License: GPL-3.0 +Group: Development/Tools/GUI Builders +Url: http://yad-dialog.sourceforge.net/ +Source0: https://sourceforge.net/projects/yad-dialog/files/%{name}-%{version}.tar.xz +BuildRequires: intltool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: update-desktop-files +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Yad (yet another dialog) is a fork of Zenity with many improvements, such as @@ -27,25 +41,21 @@ for the long time, but many interesting ideas which are ignored by developers/maintainers were in GNOME Bugzilla. - %prep -%setup -q -n %{name}-%{version} +%setup -q %build -%configure --enable-icon-browser -%__make %{?jobs:-j%{jobs}} +%configure --enable-icon-browser --with-gtk=gtk3 +make %{?_smp_mflags} %install -%makeinstall +make %{?_smp_mflags} DESTDIR=%{buildroot} install %find_lang %{name} %suse_update_desktop_file -r %{name}-icon-browser Utility DesktopUtility -%clean -rm -rf "%{buildroot}" - %files -f %{name}.lang %defattr(-,root,root,-) @@ -57,6 +67,4 @@ %{_datadir}/aclocal/%{name}.m4 %{_mandir}/man1/%{name}.1.gz - %changelog -
View file
yad-0.16.3.tar.bz2/depcomp
Deleted
@@ -1,630 +0,0 @@ -#! /bin/sh -# depcomp - compile a program generating dependencies as side-effects - -scriptversion=2009-04-28.21; # UTC - -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free -# Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. - -case $1 in - '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: depcomp --help --version PROGRAM ARGS - -Run PROGRAMS ARGS to compile a file, generating dependencies -as side-effects. - -Environment variables: - depmode Dependency tracking mode. - source Source file read by `PROGRAMS ARGS'. - object Object file output by `PROGRAMS ARGS'. - DEPDIR directory where to store dependencies. - depfile Dependency file to output. - tmpdepfile Temporary file to use when outputing dependencies. - libtool Whether libtool is used (yes/no). - -Report bugs to <bug-automake@gnu.org>. -EOF - exit $? - ;; - -v | --v*) - echo "depcomp $scriptversion" - exit $? - ;; -esac - -if test -z "$depmode" || test -z "$source" || test -z "$object"; then - echo "depcomp: Variables source, object and depmode must be set" 1>&2 - exit 1 -fi - -# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. -depfile=${depfile-`echo "$object" | - sed 's|^\\/*$|'${DEPDIR-.deps}'/&|;s|\.\(^.*\)$|.P\1|;s|Pobj$|Po|'`} -tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\(^.*\)$/.T\1/'`} - -rm -f "$tmpdepfile" - -# Some modes work just like other modes, but use different flags. We -# parameterize here, but still list the modes in the big case below, -# to make depend.m4 easier to write. Note that we *cannot* use a case -# here, because this file can only contain one case statement. -if test "$depmode" = hp; then - # HP compiler uses -M and no extra arg. - gccflag=-M - depmode=gcc -fi - -if test "$depmode" = dashXmstdout; then - # This is just like dashmstdout with a different argument. - dashmflag=-xM - depmode=dashmstdout -fi - -cygpath_u="cygpath -u -f -" -if test "$depmode" = msvcmsys; then - # This is just like msvisualcpp but w/o cygpath translation. - # Just convert the backslash-escaped backslashes to single forward - # slashes to satisfy depend.m4 - cygpath_u="sed s,\\\\\\\\,/,g" - depmode=msvisualcpp -fi - -case "$depmode" in -gcc3) -## gcc 3 implements dependency tracking that does exactly what -## we want. Yay! Note: for some reason libtool 1.4 doesn't like -## it if -MD -MP comes after the -MF stuff. Hmm. -## Unfortunately, FreeBSD c89 acceptance of flags depends upon -## the command line argument order; so add the flags where they -## appear in depend2.am. Note that the slowdown incurred here -## affects only configure: in makefiles, %FASTDEP% shortcuts this. - for arg - do - case $arg in - -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; - *) set fnord "$@" "$arg" ;; - esac - shift # fnord - shift # $arg - done - "$@" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - mv "$tmpdepfile" "$depfile" - ;; - -gcc) -## There are various ways to get dependency output from gcc. Here's -## why we pick this rather obscure method: -## - Don't want to use -MD because we'd like the dependencies to end -## up in a subdir. Having to rename by hand is ugly. -## (We might end up doing this anyway to support other compilers.) -## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like -## -MM, not -M (despite what the docs say). -## - Using -M directly means running the compiler twice (even worse -## than renaming). - if test -z "$gccflag"; then - gccflag=-MD, - fi - "$@" -Wp,"$gccflag$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - echo "$object : \\" > "$depfile" - alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz -## The second -e expression handles DOS-style file names with drive letters. - sed -e 's/^^:*: / /' \ - -e 's/^'$alpha':\/^:*: / /' < "$tmpdepfile" >> "$depfile" -## This next piece of magic avoids the `deleted header file' problem. -## The problem is that when a header file which appears in a .P file -## is deleted, the dependency causes make to die (because there is -## typically no way to rebuild the header). We avoid this by adding -## dummy dependencies for each header file. Too bad gcc doesn't do -## this for us directly. - tr ' ' ' -' < "$tmpdepfile" | -## Some versions of gcc put a space before the `:'. On the theory -## that the space means something, we add a space to the output as -## well. -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -sgi) - if test "$libtool" = yes; then - "$@" "-Wp,-MDupdate,$tmpdepfile" - else - "$@" -MDupdate "$tmpdepfile" - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - - if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files - echo "$object : \\" > "$depfile" - - # Clip off the initial element (the dependent). Don't try to be - # clever and replace this with sed code, as IRIX sed won't handle - # lines with more than a fixed number of characters (4096 in - # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like `#:fec' to the end of the - # dependency line. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ - tr ' -' ' ' >> "$depfile" - echo >> "$depfile" - - # The second pass generates a dummy entry for each header file. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ - >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -aix) - # The C for AIX Compiler uses -M and outputs the dependencies - # in a .u file. In older versions, this file always lives in the - # current directory. Also, the AIX compiler puts `$object:' at the - # start of each line; $object doesn't have directory information. - # Version 6 uses the directory in both cases. - dir=`echo "$object" | sed -e 's|/^/*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.u - tmpdepfile2=$base.u - tmpdepfile3=$dir.libs/$base.u - "$@" -Wc,-M - else - tmpdepfile1=$dir$base.u - tmpdepfile2=$dir$base.u - tmpdepfile3=$dir$base.u - "$@" -M - fi - stat=$? - - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - # Each line is of the form `foo.o: dependent.h'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed -e "s,^.*\.a-z*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a tab and a space in the . - sed -e 's,^.*\.a-z*: *,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -icc) - # Intel's C compiler understands `-MD -MF file'. However on - # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c - # ICC 7.0 will fill foo.d with something like - # foo.o: sub/foo.c - # foo.o: sub/foo.h - # which is wrong. We want: - # sub/foo.o: sub/foo.c - # sub/foo.o: sub/foo.h - # sub/foo.c: - # sub/foo.h: - # ICC 7.1 will output - # foo.o: sub/foo.c sub/foo.h - # and will wrap long lines using \ : - # foo.o: sub/foo.c ... \ - # sub/foo.h ... \ - # ... - - "$@" -MD -MF "$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - # Each line is of the form `foo.o: dependent.h', - # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed "s,^^:*:,$object :," < "$tmpdepfile" > "$depfile" - # Some versions of the HPUX 10.20 sed can't process this invocation - # correctly. Breaking it into two sed invocations is a workaround. - sed 's,^^:*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | - sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp2) - # The "hp" stanza above does not work with aCC (C++) and HP's ia64 - # compilers, which have integrated preprocessors. The correct option - # to use with these is +Maked; it writes dependencies to a file named - # 'foo.d', which lands next to the object file, wherever that - # happens to be. - # Much of this is similar to the tru64 case; see comments there. - dir=`echo "$object" | sed -e 's|/^/*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir.libs/$base.d - "$@" -Wc,+Maked - else - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir$base.d - "$@" +Maked - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.a-z*:,$object:," "$tmpdepfile" > "$depfile" - # Add `dependent.h:' lines. - sed -ne '2,${ - s/^ *// - s/ \\*$// - s/$/:/ - p - }' "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" "$tmpdepfile2" - ;; - -tru64) - # The Tru64 compiler uses -MD to generate dependencies as a side - # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put - # dependencies in `foo.d' instead, so we check for that too. - # Subdirectories are respected. - dir=`echo "$object" | sed -e 's|/^/*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - - if test "$libtool" = yes; then - # With Tru64 cc, shared objects can also be used to make a - # static library. This mechanism is used in libtool 1.4 series to - # handle both shared and static libraries in a single compilation. - # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. - # - # With libtool 1.5 this exception was removed, and libtool now - # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in $dir.libs/$base.o.d and - # in $dir$base.o.d. We have to check for both files, because - # one of the two compilations can be disabled. We should prefer - # $dir$base.o.d over $dir.libs/$base.o.d because the latter is - # automatically cleaned when .libs/ is deleted, while ignoring - # the former would cause a distcleancheck panic. - tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 - tmpdepfile2=$dir$base.o.d # libtool 1.5 - tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 - tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 - "$@" -Wc,-MD - else - tmpdepfile1=$dir$base.o.d - tmpdepfile2=$dir$base.d - tmpdepfile3=$dir$base.d - tmpdepfile4=$dir$base.d - "$@" -MD - fi - - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.a-z*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a tab and a space in the . - sed -e 's,^.*\.a-z*: *,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -#nosideeffect) - # This comment above is used by automake to tell side-effect - # dependency tracking mechanisms from slower ones. - -dashmstdout) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - test -z "$dashmflag" && dashmflag=-M - # Require at least two characters before searching for `:' - # in the target name. This is to cope with DOS-style filenames: - # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. - "$@" $dashmflag | - sed 's:^ *^: ^:^:*\: *:'"$object"'\: :' > "$tmpdepfile" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - tr ' ' ' -' < "$tmpdepfile" | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -dashXmstdout) - # This case only exists to satisfy depend.m4. It is never actually - # run, as this mode is specially recognized in the preamble. - exit 1 - ;; - -makedepend) - "$@" || exit $? - # Remove any Libtool call - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - # X makedepend - shift - cleared=no eat=no - for arg - do - case $cleared in - no) - set ""; shift - cleared=yes ;; - esac - if test $eat = yes; then - eat=no - continue - fi - case "$arg" in - -D*|-I*) - set fnord "$@" "$arg"; shift ;; - # Strip any option that makedepend may not understand. Remove - # the object too, otherwise makedepend will parse it as a source file. - -arch) - eat=yes ;; - -*|$object) - ;; - *) - set fnord "$@" "$arg"; shift ;; - esac - done - obj_suffix=`echo "$object" | sed 's/^.*\././'` - touch "$tmpdepfile" - ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - sed '1,2d' "$tmpdepfile" | tr ' ' ' -' | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" "$tmpdepfile".bak - ;; - -cpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - "$@" -E | - sed -n -e '/^# 0-90-9* "\(^"*\)".*/ s:: \1 \\:p' \ - -e '/^#line 0-90-9* "\(^"*\)".*/ s:: \1 \\:p' | - sed '$ s: \\$::' > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - cat < "$tmpdepfile" >> "$depfile" - sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvisualcpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - IFS=" " - for arg - do - case "$arg" in - -o) - shift - ;; - $object) - shift - ;; - "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") - set fnord "$@" - shift - shift - ;; - *) - set fnord "$@" "$arg" - shift - shift - ;; - esac - done - "$@" -E 2>/dev/null | - sed -n '/^#line 0-90-9* "\(^"*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" - echo " " >> "$depfile" - sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvcmsys) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -none) - exec "$@" - ;; - -*) - echo "Unknown depmode $depmode" 1>&2 - exit 1 - ;; -esac - -exit 0 - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End:
View file
yad-0.16.3.tar.bz2/install-sh
Deleted
@@ -1,520 +0,0 @@ -#!/bin/sh -# install - install a program, script, or datafile - -scriptversion=2009-04-28.21; # UTC - -# This originates from X11R5 (mit/util/scripts/install.sh), which was -# later released in X11R6 (xc/config/util/install.sh) with the -# following copyright and license. -# -# Copyright (C) 1994 X Consortium -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- -# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# -# Except as contained in this notice, the name of the X Consortium shall not -# be used in advertising or otherwise to promote the sale, use or other deal- -# ings in this Software without prior written authorization from the X Consor- -# tium. -# -# -# FSF changes to this file are in the public domain. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. - -nl=' -' -IFS=" "" $nl" - -# set DOITPROG to echo to test this script - -# Don't use :- since 4.3BSD and earlier shells don't like it. -doit=${DOITPROG-} -if test -z "$doit"; then - doit_exec=exec -else - doit_exec=$doit -fi - -# Put in absolute file names if you don't have them in your path; -# or use environment vars. - -chgrpprog=${CHGRPPROG-chgrp} -chmodprog=${CHMODPROG-chmod} -chownprog=${CHOWNPROG-chown} -cmpprog=${CMPPROG-cmp} -cpprog=${CPPROG-cp} -mkdirprog=${MKDIRPROG-mkdir} -mvprog=${MVPROG-mv} -rmprog=${RMPROG-rm} -stripprog=${STRIPPROG-strip} - -posix_glob='?' -initialize_posix_glob=' - test "$posix_glob" != "?" || { - if (set -f) 2>/dev/null; then - posix_glob= - else - posix_glob=: - fi - } -' - -posix_mkdir= - -# Desired mode of installed file. -mode=0755 - -chgrpcmd= -chmodcmd=$chmodprog -chowncmd= -mvcmd=$mvprog -rmcmd="$rmprog -f" -stripcmd= - -src= -dst= -dir_arg= -dst_arg= - -copy_on_change=false -no_target_directory= - -usage="\ -Usage: $0 OPTION... -T SRCFILE DSTFILE - or: $0 OPTION... SRCFILES... DIRECTORY - or: $0 OPTION... -t DIRECTORY SRCFILES... - or: $0 OPTION... -d DIRECTORIES... - -In the 1st form, copy SRCFILE to DSTFILE. -In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. -In the 4th, create DIRECTORIES. - -Options: - --help display this help and exit. - --version display version info and exit. - - -c (ignored) - -C install only if different (preserve the last data modification time) - -d create directories instead of installing files. - -g GROUP $chgrpprog installed files to GROUP. - -m MODE $chmodprog installed files to MODE. - -o USER $chownprog installed files to USER. - -s $stripprog installed files. - -t DIRECTORY install into DIRECTORY. - -T report an error if DSTFILE is a directory. - -Environment variables override the default commands: - CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG - RMPROG STRIPPROG -" - -while test $# -ne 0; do - case $1 in - -c) ;; - - -C) copy_on_change=true;; - - -d) dir_arg=true;; - - -g) chgrpcmd="$chgrpprog $2" - shift;; - - --help) echo "$usage"; exit $?;; - - -m) mode=$2 - case $mode in - *' '* | *' '* | *' -'* | *'*'* | *'?'* | *''*) - echo "$0: invalid mode: $mode" >&2 - exit 1;; - esac - shift;; - - -o) chowncmd="$chownprog $2" - shift;; - - -s) stripcmd=$stripprog;; - - -t) dst_arg=$2 - shift;; - - -T) no_target_directory=true;; - - --version) echo "$0 $scriptversion"; exit $?;; - - --) shift - break;; - - -*) echo "$0: invalid option: $1" >&2 - exit 1;; - - *) break;; - esac - shift -done - -if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then - # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dst_arg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dst_arg" - shift # fnord - fi - shift # arg - dst_arg=$arg - done -fi - -if test $# -eq 0; then - if test -z "$dir_arg"; then - echo "$0: no input file specified." >&2 - exit 1 - fi - # It's OK to call `install-sh -d' without argument. - # This can happen when creating conditional directories. - exit 0 -fi - -if test -z "$dir_arg"; then - trap '(exit $?); exit' 1 2 13 15 - - # Set umask so as not to create temps with too-generous modes. - # However, 'strip' requires both read and write access to temps. - case $mode in - # Optimize common cases. - *644) cp_umask=133;; - *755) cp_umask=22;; - - *0-7) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw='% 200' - fi - cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; - *) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw=,u+rw - fi - cp_umask=$mode$u_plus_rw;; - esac -fi - -for src -do - # Protect names starting with `-'. - case $src in - -*) src=./$src;; - esac - - if test -n "$dir_arg"; then - dst=$src - dstdir=$dst - test -d "$dstdir" - dstdir_status=$? - else - - # Waiting for this to be detected by the "$cpprog $src $dsttmp" command - # might cause directories to be created, which would be especially bad - # if $src (and thus $dsttmp) contains '*'. - if test ! -f "$src" && test ! -d "$src"; then - echo "$0: $src does not exist." >&2 - exit 1 - fi - - if test -z "$dst_arg"; then - echo "$0: no destination specified." >&2 - exit 1 - fi - - dst=$dst_arg - # Protect names starting with `-'. - case $dst in - -*) dst=./$dst;; - esac - - # If destination is a directory, append the input filename; won't work - # if double slashes aren't ignored. - if test -d "$dst"; then - if test -n "$no_target_directory"; then - echo "$0: $dst_arg: Is a directory" >&2 - exit 1 - fi - dstdir=$dst - dst=$dstdir/`basename "$src"` - dstdir_status=0 - else - # Prefer dirname, but fall back on a substitute if dirname fails. - dstdir=` - (dirname "$dst") 2>/dev/null || - expr X"$dst" : 'X\(.*^/\)//*^/^/*/*$' \| \ - X"$dst" : 'X\(//\)^/' \| \ - X"$dst" : 'X\(//\)$' \| \ - X"$dst" : 'X\(/\)' \| . 2>/dev/null || - echo X"$dst" | - sed '/^X\(.*^/\)\/\/*^/^/*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)^/.*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q' - ` - - test -d "$dstdir" - dstdir_status=$? - fi - fi - - obsolete_mkdir_used=false - - if test $dstdir_status != 0; then - case $posix_mkdir in - '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *23672367) mkdir_umask=$umask;; - .*00202 | .0202 | .02) mkdir_umask=22;; - - *0-7) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - - # With -d, create the new directory with the user-specified mode. - # Otherwise, rely on $mkdir_umask. - if test -n "$dir_arg"; then - mkdir_mode=-m$mode - else - mkdir_mode= - fi - - posix_mkdir=false - case $umask in - *1235670-70-7) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 - - if (umask $mkdir_umask && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writeable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - ls_ld_tmpdir=`ls -ld "$tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/d" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null - fi - trap '' 0;; - esac;; - esac - - if - $posix_mkdir && ( - umask $mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" - ) - then : - else - - # The umask is ridiculous, or mkdir does not conform to POSIX, - # or it failed possibly due to a race condition. Create the - # directory the slow way, step by step, checking for races as we go. - - case $dstdir in - /*) prefix='/';; - -*) prefix='./';; - *) prefix='';; - esac - - eval "$initialize_posix_glob" - - oIFS=$IFS - IFS=/ - $posix_glob set -f - set fnord $dstdir - shift - $posix_glob set +f - IFS=$oIFS - - prefixes= - - for d - do - test -z "$d" && continue - - prefix=$prefix$d - if test -d "$prefix"; then - prefixes= - else - if $posix_mkdir; then - (umask=$mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break - # Don't fail if two instances are running concurrently. - test -d "$prefix" || exit 1 - else - case $prefix in - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; - *) qprefix=$prefix;; - esac - prefixes="$prefixes '$qprefix'" - fi - fi - prefix=$prefix/ - done - - if test -n "$prefixes"; then - # Don't fail if two instances are running concurrently. - (umask $mkdir_umask && - eval "\$doit_exec \$mkdirprog $prefixes") || - test -d "$dstdir" || exit 1 - obsolete_mkdir_used=true - fi - fi - fi - - if test -n "$dir_arg"; then - { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && - { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || - test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 - else - - # Make a couple of temp file names in the proper directory. - dsttmp=$dstdir/_inst.$$_ - rmtmp=$dstdir/_rm.$$_ - - # Trap to clean up those temp files at exit. - trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 - - # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && - - # and set any options; do chmod last to preserve setuid bits. - # - # If any of these fail, we abort the whole thing. If we want to - # ignore errors from any of these, just make sure not to ignore - # errors from the above "$doit $cpprog $src $dsttmp" command. - # - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && - { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && - { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && - - # If -C, don't bother to copy if it wouldn't change the file. - if $copy_on_change && - old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && - new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && - - eval "$initialize_posix_glob" && - $posix_glob set -f && - set X $old && old=:$2:$4:$5:$6 && - set X $new && new=:$2:$4:$5:$6 && - $posix_glob set +f && - - test "$old" = "$new" && - $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 - then - rm -f "$dsttmp" - else - # Rename the file to the real destination. - $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || - - # The rename failed, perhaps because mv can't rename something else - # to itself, or perhaps because mv is so ancient that it does not - # support -f. - { - # Now remove or move aside any old file at destination location. - # We try this two ways since rm can't unlink itself on some - # systems and the destination file might be busy for other - # reasons. In this case, the final cleanup might fail but the new - # file should still install successfully. - { - test ! -f "$dst" || - $doit $rmcmd -f "$dst" 2>/dev/null || - { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } - } || - { echo "$0: cannot unlink or rename $dst" >&2 - (exit 1); exit 1 - } - } && - - # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dst" - } - fi || exit 1 - - trap '' 0 - fi -done - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End:
View file
yad-0.16.3.tar.bz2/missing
Deleted
@@ -1,376 +0,0 @@ -#! /bin/sh -# Common stub for a few missing GNU programs while installing. - -scriptversion=2009-04-28.21; # UTC - -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, -# 2008, 2009 Free Software Foundation, Inc. -# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -if test $# -eq 0; then - echo 1>&2 "Try \`$0 --help' for more information" - exit 1 -fi - -run=: -sed_output='s/.* --output =\(^ *\).*/\1/p' -sed_minuso='s/.* -o \(^ *\).*/\1/p' - -# In the cases where this matters, `missing' is being run in the -# srcdir already. -if test -f configure.ac; then - configure_ac=configure.ac -else - configure_ac=configure.in -fi - -msg="missing on your system" - -case $1 in ---run) - # Try to run requested program, and just exit if it succeeds. - run= - shift - "$@" && exit 0 - # Exit code 63 means version mismatch. This often happens - # when the user try to use an ancient version of a tool on - # a file that requires a minimum version. In this case we - # we should proceed has if the program had been absent, or - # if --run hadn't been passed. - if test $? = 63; then - run=: - msg="probably too old" - fi - ;; - - -h|--h|--he|--hel|--help) - echo "\ -$0 OPTION... PROGRAM ARGUMENT... - -Handle \`PROGRAM ARGUMENT...' for when PROGRAM is missing, or return an -error status if there is no known handling for PROGRAM. - -Options: - -h, --help display this help and exit - -v, --version output version information and exit - --run try to run the given command, and emulate it if it fails - -Supported PROGRAM values: - aclocal touch file \`aclocal.m4' - autoconf touch file \`configure' - autoheader touch file \`config.h.in' - autom4te touch the output file, or create a stub one - automake touch all \`Makefile.in' files - bison create \`y.tab.ch', if possible, from existing .ch - flex create \`lex.yy.c', if possible, from existing .c - help2man touch the output file - lex create \`lex.yy.c', if possible, from existing .c - makeinfo touch the output file - tar try tar, gnutar, gtar, then tar without non-portable flags - yacc create \`y.tab.ch', if possible, from existing .ch - -Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and -\`g' are ignored when checking the name. - -Send bug reports to <bug-automake@gnu.org>." - exit $? - ;; - - -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing $scriptversion (GNU Automake)" - exit $? - ;; - - -*) - echo 1>&2 "$0: Unknown \`$1' option" - echo 1>&2 "Try \`$0 --help' for more information" - exit 1 - ;; - -esac - -# normalize program name to check for. -program=`echo "$1" | sed ' - s/^gnu-//; t - s/^gnu//; t - s/^g//; t'` - -# Now exit if we have it, but it failed. Also exit now if we -# don't have it and --version was passed (most likely to detect -# the program). This is about non-GNU programs, so use $1 not -# $program. -case $1 in - lex*|yacc*) - # Not GNU programs, they don't have --version. - ;; - - tar*) - if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - exit 1 - fi - ;; - - *) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - # Could not run --version or --help. This is probably someone - # running `$TOOL --version' or `$TOOL --help' to check whether - # $TOOL exists and not knowing $TOOL uses missing. - exit 1 - fi - ;; -esac - -# If it does not exist, or fails to run (possibly an outdated version), -# try to emulate it. -case $program in - aclocal*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acinclude.m4' or \`${configure_ac}'. You might want - to install the \`Automake' and \`Perl' packages. Grab them from - any GNU archive site." - touch aclocal.m4 - ;; - - autoconf*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`${configure_ac}'. You might want to install the - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU - archive site." - touch configure - ;; - - autoheader*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acconfig.h' or \`${configure_ac}'. You might want - to install the \`Autoconf' and \`GNU m4' packages. Grab them - from any GNU archive site." - files=`sed -n 's/^ *ACM_CONFIG_HEADER(\(^)*\)).*/\1/p' ${configure_ac}` - test -z "$files" && files="config.h" - touch_files= - for f in $files; do - case $f in - *:*) touch_files="$touch_files "`echo "$f" | - sed -e 's/^^:*://' -e 's/:.*//'`;; - *) touch_files="$touch_files $f.in";; - esac - done - touch $touch_files - ;; - - automake*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. - You might want to install the \`Automake' and \`Perl' packages. - Grab them from any GNU archive site." - find . -type f -name Makefile.am -print | - sed 's/\.am$/.in/' | - while read f; do touch "$f"; done - ;; - - autom4te*) - echo 1>&2 "\ -WARNING: \`$1' is needed, but is $msg. - You might have modified some files without having the - proper tools for further handling them. - You can get \`$1' as part of \`Autoconf' from any GNU - archive site." - - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo "#! /bin/sh" - echo "# Created by GNU Automake missing as a replacement of" - echo "# $ $@" - echo "exit 0" - chmod +x $file - exit 1 - fi - ;; - - bison*|yacc*) - echo 1>&2 "\ -WARNING: \`$1' $msg. You should only need it if - you modified a \`.y' file. You may need the \`Bison' package - in order for those modifications to take effect. You can get - \`Bison' from any GNU archive site." - rm -f y.tab.c y.tab.h - if test $# -ne 1; then - eval LASTARG="\${$#}" - case $LASTARG in - *.y) - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" y.tab.c - fi - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" y.tab.h - fi - ;; - esac - fi - if test ! -f y.tab.h; then - echo >y.tab.h - fi - if test ! -f y.tab.c; then - echo 'main() { return 0; }' >y.tab.c - fi - ;; - - lex*|flex*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.l' file. You may need the \`Flex' package - in order for those modifications to take effect. You can get - \`Flex' from any GNU archive site." - rm -f lex.yy.c - if test $# -ne 1; then - eval LASTARG="\${$#}" - case $LASTARG in - *.l) - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" lex.yy.c - fi - ;; - esac - fi - if test ! -f lex.yy.c; then - echo 'main() { return 0; }' >lex.yy.c - fi - ;; - - help2man*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a dependency of a manual page. You may need the - \`Help2man' package in order for those modifications to take - effect. You can get \`Help2man' from any GNU archive site." - - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo ".ab help2man is required to generate this page" - exit $? - fi - ;; - - makeinfo*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.texi' or \`.texinfo' file, or any other file - indirectly affecting the aspect of the manual. The spurious - call might also be the consequence of using a buggy \`make' (AIX, - DU, IRIX). You might want to install the \`Texinfo' package or - the \`GNU make' package. Grab either from any GNU archive site." - # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -z "$file"; then - # ... or it is the one specified with @setfilename ... - infile=`echo "$*" | sed 's/.* \(^ *\) *$/\1/'` - file=`sed -n ' - /^@setfilename/{ - s/.* \(^ *\) *$/\1/ - p - q - }' $infile` - # ... or it is derived from the source name (dir/f.texi becomes f.info) - test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.^.*$,,'`.info - fi - # If the file does not exist, the user really needs makeinfo; - # let's fail without touching anything. - test -f $file || exit 1 - touch $file - ;; - - tar*) - shift - - # We have already tried tar in the generic part. - # Look for gnutar/gtar before invocation to avoid ugly error - # messages. - if (gnutar --version > /dev/null 2>&1); then - gnutar "$@" && exit 0 - fi - if (gtar --version > /dev/null 2>&1); then - gtar "$@" && exit 0 - fi - firstarg="$1" - if shift; then - case $firstarg in - *o*) - firstarg=`echo "$firstarg" | sed s/o//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - case $firstarg in - *h*) - firstarg=`echo "$firstarg" | sed s/h//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - fi - - echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. - You may want to install GNU tar or Free paxutils, or check the - command line arguments." - exit 1 - ;; - - *) - echo 1>&2 "\ -WARNING: \`$1' is needed, and is $msg. - You might have modified some files without having the - proper tools for further handling them. Check the \`README' file, - it often tells you about the needed prerequisites for installing - this package. You may also peek at any GNU archive site, in case - some other package would contain this missing \`$1' program." - exit 1 - ;; -esac - -exit 0 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End:
View file
yad-0.16.3.tar.bz2/ChangeLog -> yad-0.36.2.tar.xz/ChangeLog
Changed
@@ -1,3 +1,2154 @@ +2016-04-30 13:43 v1c0nt + + * src/html.c: fix settings title and icon for browser mode in html + dialog + +2016-04-30 11:16 v1c0nt + + * src/entry.c, src/form.c: honor precision for floats in numeric + fields of form and entry dialogs + +2016-04-28 16:59 v1c0nt + + * ChangeLog, NEWS: release 0.36.1 + +2016-04-28 16:58 v1c0nt + + * configure.ac, data/yad.1, src/form.c, src/util.c, src/yad.h: fix + man page + +2016-04-28 10:42 v1c0nt + + * src/form.c: fix set button command in form + +2016-04-28 08:15 v1c0nt + + * src/form.c: fix set button command in form when data reads from + stdin + +2016-04-27 16:59 v1c0nt + + * src/form.c, src/util.c, src/yad.h: fix hadling double quotes in + form callback + +2016-04-26 13:19 v1c0nt + + * ChangeLog, NEWS: release 0.36.0 + +2016-04-26 13:12 v1c0nt + + * configure.ac: bump version to 0.36.0. prepare to release + +2016-04-26 13:05 v1c0nt + + * po/ru.po, po/uk.po: update translations + +2016-04-26 12:58 v1c0nt + + * data/yad.1, src/about.c: improve about dialog + +2016-04-26 10:49 v1c0nt + + * ChangeLog, src/list.c, src/util.c, src/yad.h: cleanup + +2016-04-26 10:29 v1c0nt + + * src/form.c: quote argument in form button callbacks + +2016-04-26 10:22 v1c0nt + + * src/form.c: quote argument in form button callbacks + +2016-04-22 14:35 v1c0nt + + * configure.ac: bump version + +2016-04-22 14:35 v1c0nt + + * src/text.c: use Monospace as default font for text-info dialog + +2016-04-22 14:32 v1c0nt + + * src/option.c, src/text.c, src/yad.h: add --lang option to + source-info + +2016-04-22 14:07 v1c0nt + + * configure.ac, src/Makefile.am, src/text.c, src/yad.h: add initial + support of gtksourceview + +2016-04-15 03:58 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/icons.c, src/option.c, + src/yad.h: add --monitor option to icons dialog + +2016-04-14 16:59 v1c0nt + + * configure.ac: prepare for dir monitoring + +2016-04-14 15:19 v1c0nt + + * src/icons.c: some cleanups in icon dialog + +2016-04-13 18:16 v1c0nt + + * src/list.c, src/util.c: + +2016-04-13 15:04 v1c0nt + + * src/print.c: do not close print dialog when preview is clicked + +2016-04-13 09:19 v1c0nt + + * src/print.c: change default font for text in print dialog + +2016-04-04 09:18 v1c0nt + + * README.md, src/entry.c: fix setting initial value for numeric + text entry + +2016-04-03 02:44 v1c0nt + + * Makefile.am, data/Makefile.am: + +2016-04-03 02:40 v1c0nt + + * README, README.md, data/get-lang.c: + +2016-04-02 11:23 v1c0nt + + * configure.ac, src/Makefile.am, src/form.c, src/yad.h: fix spell + buildings + +2016-04-02 11:20 v1c0nt + + * configure.ac, data/yad.1, po/ru.po, po/uk.po, src/option.c, + src/text.c, src/yad.h: add optional spell checking + +2016-03-26 06:51 v1c0nt + + * src/main.c: use CENTER_ALWAYS when --center is specified + +2016-03-25 06:07 v1c0nt + + * TODO, data/yad.1, po/ru.po, po/uk.po, src/list.c, src/option.c, + src/yad.h: add --no-selection option to list dialog + +2016-03-21 06:23 v1c0nt + + * TODO: update TODO + +2016-03-20 20:36 v1c0nt + + * TODO: update TODO + +2016-03-20 20:32 v1c0nt + + * TODO: update TODO + +2016-03-20 10:54 v1c0nt + + * ChangeLog, NEWS: release 0.35.0 + +2016-03-20 10:52 v1c0nt + + * data/yad.1, src/list.c, src/option.c, src/yad.h: fuck, forget to + add sz column type + +2016-03-20 10:28 v1c0nt + + * ChangeLog, NEWS, configure.ac: bump version to 0.35.0. prepare to + release + +2016-03-20 10:12 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/font.c, src/list.c, + src/option.c, src/yad.h: add BAR column to list dialog + +2016-03-10 08:58 v1c0nt + + * src/text.c: fix setting custom bg color in text-info dialog for + gtk3 + +2016-03-07 18:51 v1c0nt + + * src/entry.c, src/form.c, src/list.c: switch float output from %g + to %f + +2016-03-02 14:17 v1c0nt + + * src/file.c, src/form.c, src/util.c, src/yad.h: fix --show-hidden + behavior + +2016-03-01 17:00 v1c0nt + + * src/form.c: fix handling leading spaces in button callback of + form dialog + +2016-02-28 07:36 v1c0nt + + * README: update README + +2016-02-28 07:17 v1c0nt + + * src/text.c: cleanup + +2016-02-28 07:11 v1c0nt + + * configure.ac, data/yad.1, po/ru.po, po/uk.po, src/option.c, + src/text.c, src/yad.h: add --show-cursor option to text dialog. + place cursor at the start of file + +2016-02-28 06:30 v1c0nt + + * ChangeLog, NEWS, configure.ac: release 0.34.2 + +2016-02-27 17:44 v1c0nt + + * ChangeLog, src/form.c: fix clearing fields in form when + --cycle-read is using + +2016-02-25 06:03 v1c0nt + + * ChangeLog, NEWS: release 0.34.1 + +2016-02-25 06:00 v1c0nt + + * configure.ac, src/main.c: fix expander. bump version to 0.34.1 + +2016-02-23 05:31 v1c0nt + + * src/form.c: improve parsing of output form buttons callbacks + +2016-02-23 05:24 v1c0nt + + * data/yad.1: update man page + +2016-02-22 09:31 v1c0nt + + * NEWS: + +2016-02-21 16:00 v1c0nt + + * ChangeLog: release 0.34.0 + +2016-02-21 11:22 v1c0nt + + * ChangeLog, NEWS, configure.ac: bump version to 0.34.0. prepare to + release + +2016-02-21 11:00 v1c0nt + + * ChangeLog, data/yad.1, src/color.c, src/form.c, src/util.c, + src/yad.h: extend output of color button field in form dialog + +2016-02-21 09:36 v1c0nt + + * data/yad.1: update man page + +2016-02-21 09:27 v1c0nt + + * po/ru.po: fix typo in russian translation + +2016-02-21 09:22 v1c0nt + + * po/ru.po, po/uk.po: update translations + +2016-02-21 09:18 v1c0nt + + * src/about.c, src/browser.c, src/calendar.c, src/color.c, + src/dnd.c, src/entry.c, src/font.c, src/form.c, src/html.c, + src/icons.c, src/main.c, src/notebook.c, src/notification.c, + src/option.c, src/paned.c, src/picture.c, src/print.c, + src/progress.c, src/scale.c, src/text.c, src/util.c: update + copyright year + +2016-02-21 09:14 v1c0nt + + * src/multi-progress.c, src/option.c, src/yad.h: add --watch-bar + options for multi-progress dialog. change behavior of auto-close + function + +2016-02-21 08:44 v1c0nt + + * data/yad.1: update man page + +2016-02-19 06:52 v1c0nt + + * configure.ac, po/ru.po, po/uk.po, src/file.c, src/form.c, + src/option.c, src/yad.h: add initial support of show-hidden + files. need more testing + +2016-02-18 19:24 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/font.c, src/option.c, + src/yad.h: add --separate-output option to font dialog + +2016-02-17 17:31 v1c0nt + + * src/font.c: add quoted output to font dialog + +2016-02-12 15:18 v1c0nt + + * configure.ac: fix webkit package name for gtk3 build + +2016-02-06 07:34 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/list.c, src/option.c, + src/yad.h: add --select-action to list dialog + +2016-01-17 19:30 v1c0nt + + * po/POTFILES.in, po/ru.po, po/uk.po, src/html.c: fix translation + +2016-01-16 07:20 v1c0nt + + * configure.ac: some configure improvements for build yad with gtk3 + and webkit. needs additional testing + +2016-01-13 04:41 v1c0nt + + * ChangeLog, src/main.c: + +2016-01-11 12:35 v1c0nt + + * NEWS, configure.ac: version 0.33.1 + +2016-01-11 12:32 v1c0nt + + * src/main.c: fix timeout handling + +2015-12-29 14:55 v1c0nt + + * NEWS, data/yad.1, po/ru.po, po/uk.po: update translations and man + page + +2015-12-29 14:47 v1c0nt + + * src/entry.c, src/form.c, src/list.c, src/option.c, src/yad.h: add + --float-precision option + +2015-12-29 14:28 v1c0nt + + * src/entry.c, src/list.c: + +2015-12-29 14:27 v1c0nt + + * src/entry.c, src/form.c, src/list.c: fix output of floating + numbers (remove trailing zeroes) + +2015-12-28 09:35 v1c0nt + + * data/yad.1, src/form.c: add FormFeed for clear the form + +2015-12-28 06:56 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/form.c, src/option.c, + src/yad.h: add --cycle-read option for form dialog. update + translations + +2015-12-27 14:13 v1c0nt + + * NEWS, data/yad.1, src/form.c: fix form stdin handling + +2015-12-27 09:25 v1c0nt + + * ChangeLog, NEWS, configure.ac: bump version to 0.33.0. prepare to + release + +2015-12-26 09:42 v1c0nt + + * src/notebook.c, src/paned.c: some cleanups + +2015-12-26 09:41 v1c0nt + + * configure.ac, data/yad.1, src/main.c: some cleanups + +2015-12-26 09:29 v1c0nt + + * src/main.c, src/notebook.c, src/paned.c: fix paned and notebook + close segfault + +2015-12-25 09:40 v1c0nt + + * src/util.c: fix extended completions + +2015-12-10 16:14 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/option.c: update docs + +2015-12-10 16:10 v1c0nt + + * po/ru.po, po/uk.po: update translations + +2015-12-10 16:07 v1c0nt + + * src/main.c, src/util.c: some fixes + +2015-12-10 16:03 v1c0nt + + * src/entry.c, src/form.c, src/option.c, src/util.c, src/yad.h: + extended completion + +2015-12-09 17:49 v1c0nt + + * src/main.c: rewrite layout management + +2015-12-07 16:55 v1c0nt + + * src/form.c, src/picture.c: fix focus in form, fix uninitialized + warning in picture + +2015-12-06 09:19 v1c0nt + + * src/form.c, src/util.c: fix handling empty values in form dialog + +2015-12-06 08:58 v1c0nt + + * data/yad.1: fix man page + +2015-12-06 08:51 v1c0nt + + * data/yad.1, src/util.c: fix typos + +2015-11-29 18:58 v1c0nt + + * src/form.c: enable read form data from stdin + +2015-11-29 18:35 v1c0nt + + * src/picture.c: fix fit_to_window in picture dialog + +2015-11-29 14:44 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/form.c, src/option.c, + src/yad.h: add --focus-field option to form dialog + +2015-11-29 14:32 v1c0nt + + * po/ru.po: correct russian translation + +2015-11-29 14:23 v1c0nt + + * configure.ac: bump beta version + +2015-11-29 14:22 v1c0nt + + * data/yad.1, po/POTFILES.in, po/ru.po, po/uk.po, src/Makefile.am, + src/form.c, src/main.c, src/option.c, src/picture.c, src/yad.h: + add --picture dialog + +2015-11-29 08:23 v1c0nt + + * src/file.c, src/main.c, src/yad.h: change initialization style + +2015-11-28 06:09 v1c0nt + + * src/util.c: check for NULL value in regex completion + +2015-11-26 13:07 v1c0nt + + * src/html.c, src/main.c: improve --browser mode of html dialog. + does not show default buttons and add quit menu item + +2015-11-24 06:28 v1c0nt + + * src/util.c: fix completion regex + +2015-11-22 10:50 v1c0nt + + * configure.ac, data/Makefile.am, data/notify-send, + src/Makefile.am, src/main.c, src/option.c, src/send-notify.c, + src/yad.h: remove send notify. add misc script instead + +2015-11-20 13:06 v1c0nt + + * configure.ac, src/Makefile.am, src/main.c, src/option.c, + src/send-notify.c, src/util.c, src/yad.h: initial implementation + of send-notify + +2015-11-20 06:09 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/entry.c, src/form.c, + src/option.c, src/util.c, src/yad.h: add --complete-regex option + +2015-11-19 22:23 v1c0nt + + * configure.ac: add check for gio in configure for future use + +2015-11-19 22:11 v1c0nt + + * po/uk.po: update ukrainian translation + +2015-11-19 21:43 v1c0nt + + * configure.ac, po/ru.po, po/uk.po, src/option.c: optimize options + +2015-11-19 06:35 v1c0nt + + * ChangeLog: release 0.32.0 + +2015-11-19 05:45 v1c0nt + + * ChangeLog, NEWS, data/yad.1: prepare to release + +2015-11-19 05:35 v1c0nt + + * ChangeLog, configure.ac, data/yad.1, po/ru.po, po/uk.po, + src/entry.c, src/form.c, src/option.c, src/yad.h: add + --num-output option. bump version to 0.32.0 + +2015-11-17 20:46 v1c0nt + + * src/main.c: fix timeout progressbar vertical orientation for gtk3 + +2015-11-16 16:02 v1c0nt + + * src/main.c: fix timeout progress layout for gtk3 + +2015-11-03 09:37 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/main.c, src/option.c, + src/yad.h: add --no-focus option + +2015-11-02 11:51 v1c0nt + + * src/main.c: unfocus splash dialogs + +2015-11-01 15:53 v1c0nt + + * src/main.c: use single close button as a default buttons set for + dnd dialog + +2015-10-31 16:22 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/main.c, src/option.c, + src/yad.h: add --splash options. thanks to Konstantin Baierer + (https://github.com/kba) + +2015-10-31 15:34 v1c0nt + + * configure.ac, src/browser.c: add rules-hint for icons list in + icon browser + +2015-10-31 14:54 v1c0nt + + * configure.ac: release 0.31.3 + +2015-10-31 14:52 v1c0nt + + * NEWS, src/form.c: fix set default value for completion entry in + form dialog + +2015-10-08 18:27 v1c0nt + + * data/yad.1: update man page + +2015-10-08 10:04 v1c0nt + + * ChangeLog, NEWS: release 0.32.2 + +2015-10-08 10:01 v1c0nt + + * configure.ac, src/list.c: fix segfault in list dialog when + separators enabled but --sep-value is unset + +2015-09-29 13:04 v1c0nt + + * ChangeLog: + +2015-09-29 13:04 v1c0nt + + * ChangeLog: release 0.31.1 + +2015-09-29 11:42 v1c0nt + + * configure.ac: bump version + +2015-09-29 08:50 v1c0nt + + * NEWS, src/html.c: fix segfault in html dialog + +2015-09-11 05:15 v1c0nt + + * po/uk.po: + +2015-09-10 11:07 v1c0nt + + * ChangeLog, NEWS, configure.ac: bump version. prepare to release + +2015-09-10 05:31 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/file.c, src/form.c, + src/option.c, src/util.c, src/yad.h: enable preview for all of + file chooser dialogs + +2015-09-09 16:34 v1c0nt + + * po/ru.po, po/uk.po: remove crap from translation + +2015-09-09 16:19 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/file.c, src/form.c, + src/option.c, src/yad.h: extend file filters and apply them to + all of file dialogs + +2015-09-09 12:15 v1c0nt + + * src/form.c, src/option.c, src/util.c, src/yad.h: add date_format + default settings + +2015-09-09 11:25 v1c0nt + + * src/option.c, src/yad.h: remove rules_hint from settings + +2015-09-09 11:21 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/color.c, src/option.c, + src/util.c, src/yad.h: add palette options to color dialog. + remove this settings fron yad settings file + +2015-09-09 10:29 v1c0nt + + * data/yad.1, src/html.c, src/icons.c, src/text.c, src/util.c, + src/yad.h: change hardcoded xdg-open to yad setting + "open_command" + +2015-09-09 09:53 v1c0nt + + * src/main.c, src/option.c, src/util.c, src/yad.h: remove obsolete + dialog-sep option. code cleanup + +2015-09-09 05:48 v1c0nt + + * ChangeLog: + +2015-09-08 14:22 v1c0nt + + * po/ru.po, po/uk.po: + +2015-09-08 14:22 v1c0nt + + * data/yad.1, src/option.c: + +2015-09-08 14:16 v1c0nt + + * configure.ac: add -no-rules-hint option to list dialog + +2015-09-08 14:15 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/color.c, src/list.c, + src/option.c, src/util.c, src/yad.h: + +2015-09-08 12:20 v1c0nt + + * data/yad.1, src/main.c: add YAD_OPTIONS variable + +2015-09-08 12:03 v1c0nt + + * src/main.c: fix setting icon theme + +2015-09-08 10:35 v1c0nt + + * configure.ac: + +2015-09-08 10:34 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/list.c, src/option.c, + src/yad.h: add separators to --list dialog + +2015-09-08 04:57 v1c0nt + + * src/option.c: fix parsing orientation + +2015-09-05 06:28 v1c0nt + + * ChangeLog, NEWS: update NEWS + +2015-09-05 05:31 v1c0nt + + * configure.ac, data/yad.1: update man page. bump version to + 0.30.0. prepare to next release + +2015-09-05 05:21 v1c0nt + + * po/POTFILES.in, po/ru.po, po/uk.po, src/notebook.c, src/option.c, + src/paned.c, src/yad.h: add paned dialog + +2015-09-04 14:54 v1c0nt + + * src/paned.c: + +2015-09-04 14:53 v1c0nt + + * src/main.c: + +2015-09-04 11:57 v1c0nt + + * src/Makefile.am, src/about.c, src/notebook.c, src/option.c, + src/util.c, src/yad.h: add placeholder for paned dialog + +2015-08-31 08:15 v1c0nt + + * po/ru.po, po/uk.po: fix translation + +2015-08-27 06:04 v1c0nt + + * data/yad.1, src/option.c: rename --parent to --parent-win + +2015-08-26 16:16 v1c0nt + + * configure.ac: bump version + +2015-08-26 16:15 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/main.c, src/option.c, + src/yad.h: add --parent option + +2015-08-26 15:39 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/option.c, src/text.c, + src/yad.h: add --uri-color option for text dialog + +2015-08-01 16:34 v1c0nt + + * NEWS, src/about.c, src/browser.c, src/calendar.c, src/color.c, + src/dnd.c, src/entry.c, src/file.c, src/font.c, src/form.c, + src/html.c, src/icons.c, src/list.c, src/multi-progress.c, + src/notebook.c, src/notification.c, src/option.c, src/print.c, + src/progress.c, src/scale.c, src/text.c, src/util.c, src/yad.h: + update copyright years + +2015-07-29 09:50 v1c0nt + + * configure.ac, src/main.c: fix build with --disable-html + +2015-07-15 12:58 v1c0nt + + * ChangeLog: + +2015-07-15 12:58 v1c0nt + + * ChangeLog, NEWS, configure.ac: release 0.29.0 + +2015-07-15 12:51 v1c0nt + + * ChangeLog, po/ru.po, po/uk.po, src/html.c: set default html + encoding from locale + +2015-07-15 12:23 v1c0nt + + * src/html.c, src/main.c: fix focus problems in html dialog + +2015-07-14 11:22 v1c0nt + + * src/form.c: fix output of empty or unset fields in form dialog + +2015-07-14 11:05 v1c0nt + + * src/html.c: set default encoding to utf-8 in html dialog + +2015-07-07 12:04 v1c0nt + + * src/html.c: add custom file chooser handler for html dialog + +2015-06-02 16:58 v1c0nt + + * configure.ac, data/yad.1, po/ru.po, po/uk.po, src/html.c, + src/main.c, src/option.c, src/yad.h: add --no-escape option + +2015-05-04 11:13 v1c0nt + + * po/ru.po, po/uk.po, src/about.c, src/main.c: show current gtk + version in --version and --about dialog + +2015-05-04 11:02 v1c0nt + + * src/file.c, src/form.c, src/html.c, src/util.c, src/yad.h: fix + build with gcc 5.x + +2015-03-31 09:00 v1c0nt + + * ChangeLog, po/ru.po, po/uk.po, src/about.c: extend about info + +2015-03-12 10:25 v1c0nt + + * NEWS: release 0.28.1 + +2015-03-10 11:50 v1c0nt + + * ChangeLog, NEWS: + +2015-03-10 11:36 v1c0nt + + * configure.ac: bump version to 0.28.1 + +2015-03-10 10:44 v1c0nt + + * src/form.c: fix output by row in form dialog + +2015-03-06 13:53 v1c0nt + + * ChangeLog, NEWS: release 0.28.0 + +2015-03-06 11:15 v1c0nt + + * ChangeLog, src/html.c: + +2015-03-06 10:28 v1c0nt + + * configure.ac: bump version to 0.28.0. preparing for release + +2015-03-06 10:27 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/form.c, src/option.c, + src/yad.h: add completion entry for form dialog + +2015-03-06 08:55 v1c0nt + + * src/list.c: fix setup arguments for double-click action in list + dialog + +2015-03-05 16:57 v1c0nt + + * README: update README + +2015-03-05 15:36 v1c0nt + + * data/yad.1: fix man page + +2015-03-05 15:26 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po: update data + +2015-03-05 15:19 v1c0nt + + * ChangeLog, src/form.c, src/option.c, src/yad.h: add + --output-by-row option to form dialog + +2015-03-05 14:41 v1c0nt + + * src/multi-progress.c: previous doesn't need in multiprogress + +2015-03-05 14:31 v1c0nt + + * src/entry.c, src/form.c, src/multi-progress.c, src/util.c: add + mnemonic possibility for labels in some dialog + +2015-03-04 09:16 v1c0nt + + * src/print.c: fix printing to a file + +2015-03-03 16:15 v1c0nt + + * data/yad.1: update man page + +2015-03-03 11:51 v1c0nt + + * data/yad.1: update man page + +2015-03-03 11:18 v1c0nt + + * configure.ac, po/ru.po, po/uk.po, src/html.c, src/option.c, + src/yad.h: completely add html dialog + +2015-03-02 16:59 v1c0nt + + * src/html.c: some changes in html + +2015-03-02 16:44 v1c0nt + + * src/option.c, src/yad.h: some changes in html + +2015-03-02 16:41 v1c0nt + + * src/html.c: some changes in html + +2015-03-02 16:40 v1c0nt + + * configure.ac: some changes in html + +2015-03-02 15:21 v1c0nt + + * configure.ac, src/Makefile.am, src/main.c, src/option.c, + src/text.c, src/yad.h: add initial html dialog + +2015-02-18 07:44 v1c0nt + + * po/ru.po, po/uk.po: + +2015-02-04 06:10 v1c0nt + + * po/ru.po, po/uk.po, src/option.c: update translation + +2015-01-13 13:00 v1c0nt + + * configure.ac, src/multi-progress.c, src/notebook.c: set labels in + pulsate progress bar in multi-progress dialog + +2014-08-28 07:18 v1c0nt + + * configure.ac: fix setting combo field values in form dialog + +2014-08-28 07:17 v1c0nt + + * src/form.c: + +2014-08-18 12:36 v1c0nt + + * data/yad.1, src/color.c: fix rgba output in color dialog + +2014-08-18 11:16 v1c0nt + + * data/yad.1, src/color.c: fix output order of opacity in color + dialog + +2014-08-18 10:56 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/option.c: update translation + and man page + +2014-08-18 10:08 v1c0nt + + * configure.ac, src/color.c, src/option.c, src/yad.h: add --alpha + and --mode options for color dialog + +2014-08-01 09:24 v1c0nt + + * ChangeLog: release 0.27.0 + +2014-08-01 08:33 v1c0nt + + * NEWS, configure.ac: bump version to 0.27.0. prepare to release + +2014-08-01 07:38 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/main.c, src/option.c, + src/yad.h: add --gtkrc option + +2014-07-23 18:37 v1c0nt + + * configure.ac, src/text.c: replace g_memmove with memmove + +2014-07-23 07:42 v1c0nt + + * src/form.c, src/main.c: + +2014-07-22 08:25 v1c0nt + + * src/list.c, src/main.c: add shared memory header. fix condition + for detect expanding columns in list dialog + +2014-04-18 07:50 v1c0nt + + * data/yad.1: update man page + +2014-04-18 07:48 v1c0nt + + * po/ru.po, po/uk.po: add --hidden option for notification icon + +2014-04-18 07:45 v1c0nt + + * po/ru.po, po/uk.po, src/notification.c, src/option.c, src/yad.h: + fix tooltip-colimn description + +2014-04-15 10:30 v1c0nt + + * data/yad.1, src/main.c: add YAD_XID variable + +2014-04-15 04:59 v1c0nt + + * data/yad.1: fix typo in man page + +2014-04-15 03:49 v1c0nt + + * src/option.c: fix build for windows + +2014-03-17 16:02 v1c0nt + + * src/print.c, src/util.c, src/yad.h: + +2014-02-28 11:48 v1c0nt + + * src/list.c: + +2014-02-27 12:06 v1c0nt + + * src/icons.c: fix markup tooltip in icon dialog + +2014-02-27 11:29 v1c0nt + + * src/form.c, src/util.c, src/yad.h: undelete escape_str function + +2014-02-27 11:14 v1c0nt + + * configure.ac, src/form.c, src/icons.c, src/list.c, src/option.c, + src/util.c, src/yad.h: add --tooltip-column option. cleanup + parsing markup code + +2014-02-22 07:00 v1c0nt + + * ChangeLog, NEWS: release 0.26.1 + +2014-02-21 07:10 v1c0nt + + * configure.ac: fix name of dist package + +2014-02-21 07:08 v1c0nt + + * configure.ac, src/form.c: fix setting values in multifile field + of form dialog + +2014-02-20 09:28 v1c0nt + + * configure.ac: fix package name + +2014-02-16 19:43 v1c0nt + + * configure.ac: bump version to 0.26.1 + +2014-02-16 19:43 v1c0nt + + * src/form.c: fix button alignment in form dialog + +2014-02-16 18:42 v1c0nt + + * src/list.c: fix output in list dialog from check and radiolists + +2014-02-13 12:25 v1c0nt + + * configure.ac: update configure.ac with new hosting description + +2014-02-08 08:03 ananasik + + * ChangeLog: + +2014-02-08 08:02 ananasik + + * ChangeLog, NEWS: release 0.26.0 + +2014-02-08 07:52 ananasik + + * src/entry.c, src/form.c: make numeric entries aligned to the + right + +2014-02-07 15:29 ananasik + + * src/util.c: improve image labels behavior + +2014-02-07 12:27 ananasik@gmail.com + + * src/main.c, src/util.c: fix alignment of image labels + +2014-02-07 12:06 ananasik@gmail.com + + * ChangeLog, src/util.c: update image labels creation + +2014-02-07 10:52 ananasik@gmail.com + + * configure.ac: bump version to 0.26.0. prepare for release + +2014-02-07 10:51 ananasik@gmail.com + + * data/yad.1: fix typo + +2014-02-07 10:50 ananasik@gmail.com + + * data/yad.1: update man page + +2014-02-07 10:40 ananasik@gmail.com + + * configure.ac, src/about.c, src/browser.c, src/calendar.c, + src/color.c, src/dnd.c, src/entry.c, src/file.c, src/font.c, + src/form.c, src/icons.c, src/list.c, src/main.c, + src/multi-progress.c, src/notebook.c, src/notification.c, + src/option.c, src/print.c, src/progress.c, src/scale.c, + src/text.c, src/yad.h: + +2014-02-07 10:36 ananasik@gmail.com + + * src/form.c, src/main.c, src/notebook.c, src/util.c, src/yad.h: + use image labels for all such elements + +2014-02-07 09:56 ananasik@gmail.com + + * src/form.c, src/util.c: update image labels + +2014-02-07 07:44 ananasik + + * ChangeLog, src/notebook.c, src/yad.h: use image labels in + notebook tabs + +2014-02-07 07:26 ananasik + + * configure.ac, po/de.po, po/fr.po, po/it.po, po/pt_BR.po, + po/ru.po, po/sk.po, po/uk.po, po/zh_TW.po: update translations + +2014-02-07 07:21 ananasik + + * src/option.c: fix typo + +2014-02-07 07:19 ananasik + + * data/yad.1: update man page + +2014-02-07 07:10 ananasik + + * src/util.c: some gtk3 fixes for image labels + +2014-02-07 07:07 ananasik + + * src/form.c, src/option.c, src/yad.h: add fbtn field type for form + dialog + +2014-02-07 06:58 ananasik + + * src/notebook.c, src/option.c, src/yad.h: remove align option and + add tab-pos option for notebook dialog + +2014-02-07 06:50 ananasik + + * src/util.c: use markup for image labels + +2014-02-07 06:41 ananasik + + * src/util.c: add parser for labels with images + +2014-02-07 06:06 ananasik + + * src/main.c: set YAD_PID variable for child processes + +2014-01-24 08:24 ananasik + + * ChangeLog: + +2014-01-24 06:38 ananasik + + * src/list.c: improve ellipsizing in list dialog + +2014-01-24 03:34 ananasik + + * configure.ac: bump version in configure + +2014-01-24 03:34 ananasik + + * data/yad.1, src/list.c: add \@ handler for double-click action in + list dialog + +2014-01-24 02:53 ananasik + + * src/list.c: improve handling no-markup option in list dialog + +2014-01-24 02:47 ananasik + + * src/list.c: fix handling no-markup option in list dialog + +2014-01-24 02:44 ananasik + + * src/list.c: + +2013-12-18 12:58 ananasik@gmail.com + + * src/list.c: fix markup in list dialog + +2013-12-06 05:51 ananasik + + * ChangeLog, NEWS, configure.ac: release 0.25.1 + +2013-12-06 05:25 ananasik + + * src/notification.c: fix notification menu + +2013-12-03 10:53 ananasik + + * src/option.c: fix indentation + +2013-12-03 10:43 ananasik + + * src/main.c: set normal windows hints for yad windows + +2013-12-03 09:14 ananasik + + * NEWS: fix typo + +2013-12-03 09:05 ananasik + + * ChangeLog: release 0.25.0 + +2013-11-30 15:08 ananasik + + * NEWS, configure.ac: prepare to the next release + +2013-11-30 14:23 ananasik + + * data/yad.1, po/de.po, po/fr.po, po/it.po, po/pt_BR.po, po/ru.po, + po/sk.po, po/uk.po, po/zh_TW.po, src/main.c, src/option.c, + src/yad.h: add --maximized and --fullscreen options + +2013-11-30 13:59 ananasik + + * data/yad.1, po/de.po, po/fr.po, po/it.po, po/pt_BR.po, po/ru.po, + po/sk.po, po/uk.po, po/zh_TW.po, src/notification.c, + src/option.c, src/yad.h: add --menu option for notification icon + +2013-11-24 07:07 ananasik + + * data/yad.1, po/ru.po: update man page + +2013-11-24 07:01 ananasik + + * configure.ac, src/icons.c, src/option.c, src/yad.h: remove + aliases for --listen option. replace --stdin on --listen in icons + dialog(!!!) + +2013-11-23 16:39 ananasik + + * NEWS: release 0.24.1 + +2013-11-23 16:38 ananasik + + * configure.ac, src/notification.c: fix parsing menu in + notification dialog + +2013-11-15 05:52 ananasik + + * NEWS: fix typo + +2013-11-15 05:47 ananasik + + * ChangeLog, NEWS, configure.ac: release 0.24.0 + +2013-11-14 11:21 ananasik@gmail.com + + * configure.ac, data/yad.1, po/de.po, po/fr.po, po/it.po, + po/pt_BR.po, po/ru.po, po/sk.po, po/uk.po, po/zh_TW.po, + src/option.c: add --image-path option/ update man page and + translations + +2013-11-09 05:56 ananasik + + * configure.ac: prepare to next release + +2013-11-09 05:53 ananasik + + * src/list.c, src/option.c, src/yad.h: add --no-click option to + list dialog + +2013-11-09 05:39 ananasik + + * src/text.c: allow clear text in text-info dialog with ^L + +2013-10-27 09:22 ananasik + + * configure.ac: bump version to 0.23.2 + +2013-10-27 09:18 ananasik + + * src/main.c: use signal name instead of number + +2013-10-27 09:16 ananasik + + * po/de.po, po/fr.po, po/it.po, po/pt_BR.po, po/ru.po, po/sk.po, + po/uk.po, po/zh_TW.po, src/main.c, src/option.c, src/yad.h: + correct --auto-kill and --auto-close options for multi-progress + dialog + +2013-10-27 09:01 ananasik + + * po/ru.po: fix russian translation + +2013-10-27 08:57 ananasik + + * src/multi-progress.c: add auto-close feature to multi-progress + dialog + +2013-10-27 08:31 ananasik + + * src/multi-progress.c: fix segfault on wrong bar number in + multiprogress dialog + +2013-10-27 07:43 ananasik + + * po/LINGUAS, po/pt_BR.po: add Brazilian Portuguese translation + +2013-10-24 10:57 ananasik@gmail.com + + * src/list.c: fix tooltips in list dialog + +2013-09-23 05:02 ananasik + + * ChangeLog, NEWS: release 0.23.1 + +2013-09-14 08:04 ananasik + + * src/main.c: fix setting size of unresizable dialogs + +2013-09-13 09:46 ananasik + + * configure.ac, src/notebook.c: fix previous commit + +2013-09-13 09:11 ananasik + + * src/notebook.c: wait for child termination in notebook + +2013-09-02 14:34 ananasik@gmail.com + + * ChangeLog, NEWS: release 0.23.0 + +2013-09-02 14:28 ananasik@gmail.com + + * po/de.po, po/fr.po, po/it.po, po/ru.po, po/sk.po, po/uk.po, + po/zh_TW.po: update translation + +2013-09-02 14:22 ananasik@gmail.com + + * configure.ac: bump version to 0.23.0 + +2013-09-02 14:20 ananasik@gmail.com + + * data/yad.1, src/file.c, src/form.c, src/list.c: add + --quoted-putput option + +2013-09-02 13:42 ananasik@gmail.com + + * data/yad.1, src/form.c: add default values for combo-boxes in + form dialog + +2013-09-02 13:33 ananasik + + * src/option.c, src/yad.h: add quoted-output option (without + implementation) + +2013-08-26 08:25 ananasik + + * src/main.c: fix dialog text align + +2013-08-26 08:07 ananasik + + * src/main.c: some cleanups + +2013-07-19 08:33 ananasik@gmail.com + + * src/calendar.c, src/entry.c, src/file.c, src/form.c, src/list.c, + src/progress.c: fix invalid cast for notebook dialog + +2013-07-12 12:42 ananasik + + * ChangeLog, NEWS: reelease 0.22.1 + +2013-07-12 12:40 ananasik + + * configure.ac: bump version to 0.22.1 + +2013-07-12 12:39 ananasik + + * src/main.c: fix dialog text sizing for gtk-3.0 + +2013-07-10 07:09 ananasik@gmail.com + + * src/main.c, src/notification.c: fix dialog text wrapping and use + of stock items in notification menu + +2013-06-24 09:22 ananasik + + * data/yad.1, src/form.c: a bit of fixes before upload release + +2013-06-24 09:17 ananasik + + * ChangeLog, NEWS: release 0.22.0 + +2013-06-24 08:59 ananasik + + * configure.ac: bump version to 0.22.0 + +2013-06-24 07:59 ananasik + + * TODO, configure.ac, data/yad.1, po/de.po, po/fr.po, po/it.po, + po/ru.po, po/sk.po, po/uk.po, po/zh_TW.po, src/form.c, + src/option.c, src/scale.c, src/yad.h: add scale field to form + dialog + +2013-06-02 05:52 ananasik + + * data/yad.1: update man page + +2013-06-01 16:49 ananasik + + * src/main.c: some fixes in dialog text alignment + +2013-05-31 11:41 ananasik@gmail.com + + * data/yad.1, po/de.po, po/fr.po, po/it.po, po/ru.po, po/sk.po, + po/uk.po, po/zh_TW.po, src/main.c, src/option.c, src/yad.h: fix + dialog text alignment + +2013-05-29 15:08 ananasik@gmail.com + + * configure.ac: bump version to 0.21.90 + +2013-05-29 15:07 ananasik@gmail.com + + * data/yad.1, po/de.po, po/fr.po, po/it.po, po/ru.po, po/sk.po, + po/uk.po, po/zh_TW.po, src/notification.c, src/option.c, + src/yad.h: add --no-middle option to notification icon + +2013-05-29 14:19 ananasik@gmail.com + + * src/icons.c: fix handle stdin for icons dialog in compact mode + +2013-05-29 14:19 ananasik@gmail.com + + * po/LINGUAS, po/it.po: add italian translation + +2013-05-12 11:52 ananasik + + * configure.ac: bump version to 0.21.1 + +2013-05-12 11:51 ananasik + + * src/notebook.c: fix borders around child dialogs in notebook + +2013-05-12 11:09 ananasik + + * data/yad.1, src/option.c: update man page + +2013-05-12 10:31 ananasik + + * src/form.c: fix form layout on gtk+-3.0 + +2013-05-10 06:12 ananasik + + * ChangeLog: + +2013-05-10 06:11 ananasik + + * NEWS, configure.ac: release 0.21.0 + +2013-05-10 06:06 ananasik + + * data/yad.1, po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, + po/zh_TW.po, src/form.c, src/option.c, src/yad.h: add scrolling + for form dialog + +2013-05-10 04:58 ananasik + + * data/yad.1: fix man page + +2013-04-26 11:23 ananasik@gmail.com + + * po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, po/zh_TW.po, + src/list.c: add "Duplicate row" menu entry in editable list + dialog + +2013-04-05 08:14 ananasik@gmail.com + + * ChangeLog: + +2013-04-05 08:14 ananasik@gmail.com + + * NEWS: release 0.20.3 + +2013-04-05 08:11 ananasik@gmail.com + + * configure.ac: bump version to 0.20.3 + +2013-04-05 08:10 ananasik@gmail.com + + * src/form.c: fix check field placement in form dialog for gtk3 + +2013-04-01 08:25 ananasik@gmail.com + + * src/form.c: use double-click for selecting date in date field of + form dialog + +2013-04-01 08:17 ananasik@gmail.com + + * po/sk.po: update slovak translation + +2013-03-29 14:34 ananasik + + * ChangeLog: release 0.20.2 + +2013-03-29 14:33 ananasik + + * NEWS, configure.ac: update NEWS, bump version to 0 20.2 + +2013-03-29 14:29 ananasik + + * src/scale.c: fix gtk3 deprecations in scale + +2013-03-27 16:07 ananasik@gmail.com + + * src/main.c: fix warning + +2013-03-27 06:22 ananasik + + * ChangeLog: update Changelog + +2013-03-27 06:21 ananasik + + * ChangeLog, src/list.c: fix tooltips in list dialog + +2013-03-21 06:27 ananasik + + * NEWS, configure.ac, src/main.c, src/option.c, src/util.c: improve + parse arguments for --kill-parent + +2013-03-21 06:12 ananasik + + * src/option.c: fix initial value of kill_parent option + +2013-03-20 06:03 ananasik + + * ChangeLog, NEWS: release 0.20.0 + +2013-03-20 05:51 ananasik + + * configure.ac: bump version to 0.20.0 + +2013-03-20 05:50 ananasik + + * src/main.c: fix geometry for windows with --fixed argument + +2013-03-20 05:38 ananasik + + * data/yad.1, po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, + po/zh_TW.po, src/option.c, src/progress.c, src/yad.h: add + log-height option for progress dialog + +2013-03-19 16:28 ananasik + + * src/browser.c, src/form.c, src/multi-progress.c: switch to grid + from table on gtk3 + +2013-03-19 15:43 ananasik + + * src/browser.c, src/multi-progress.c: improve gtk3 layout in + multi-progress dialog + +2013-03-18 19:11 ananasik + + * src/browser.c, src/main.c, src/yad.h: improve gtk3 for icon + browser + +2013-03-18 15:24 ananasik@gmail.com + + * src/progress.c: add newline to log strings + +2013-03-18 15:20 ananasik@gmail.com + + * data/yad.1, src/form.c: update man page + +2013-03-18 14:11 ananasik@gmail.com + + * src/form.c, src/progress.c: gtk3 improvement + +2013-03-18 11:56 ananasik@gmail.com + + * configure.ac, data/yad.1, po/de.po, po/fr.po, po/ru.po, po/sk.po, + po/uk.po, po/zh_TW.po, src/option.c, src/progress.c, src/yad.h: + add log window to progress dialog + +2013-03-11 14:58 ananasik@gmail.com + + * data/yad.1, po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, + po/zh_TW.po, src/main.c, src/option.c, src/yad.h: add + user-specified signals to --kill-parent + +2013-02-19 11:24 ananasik@gmail.com + + * src/about.c, src/browser.c, src/calendar.c, src/color.c, + src/dnd.c, src/entry.c, src/file.c, src/font.c, src/form.c, + src/list.c, src/main.c, src/multi-progress.c, src/notebook.c, + src/notification.c, src/print.c, src/progress.c, src/scale.c, + src/text.c, src/util.c, src/yad.h: update copyright info + +2013-02-19 11:20 ananasik@gmail.com + + * src/icons.c: + +2013-02-19 11:13 ananasik@gmail.com + + * ChangeLog, configure.ac: bump version in configure.ac to 0.19.90. + prepare to next release + +2013-02-19 11:12 ananasik@gmail.com + + * data/yad.1, po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, + po/zh_TW.po, src/icons.c, src/option.c, src/yad.h: add + --single-click option to icons dialog + +2013-02-19 09:30 ananasik@gmail.com + + * src/entry.c: --entry-text sets existing default item in combo-box + or add it if not found + +2012-12-31 11:37 ananasik + + * ChangeLog, NEWS: release 0.19.1 + +2012-12-31 11:36 ananasik + + * ChangeLog, configure.ac, data/yad.1: update man page. bump + version to 0.19.1 + +2012-12-31 08:22 ananasik + + * src/icons.c: fix parsing .desktop files in icons dialog + +2012-12-28 12:21 ananasik@gmail.com + + * src/file.c, src/form.c: make previous commit more robust + +2012-12-28 11:04 ananasik@gmail.com + + * src/file.c, src/form.c: use current folder as the default + location in file and form dialog + +2012-12-24 13:35 ananasik@gmail.com + + * ChangeLog, NEWS: + +2012-12-24 13:31 ananasik@gmail.com + + * configure.ac, data/yad.1, po/de.po, po/fr.po, po/ru.po, po/sk.po, + po/uk.po, po/zh_TW.po: release 0.19.0 + +2012-12-24 13:19 ananasik@gmail.com + + * src/file.c, src/option.c, src/print.c, src/yad.h: add preview to + file dialog + +2012-12-24 12:16 ananasik@gmail.com + + * src/icons.c: recognize link type of .desktop files in icon dialog + +2012-12-11 10:50 ananasik + + * po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, po/zh_TW.po, + src/browser.c: improved icon description in icon browser + +2012-11-29 09:13 ananasik@gmail.com + + * src/dnd.c, src/list.c: fix quoting special characters when pass + data to the command in list and dnd + +2012-11-25 13:49 ananasik + + * data/yad.1: fix man page + +2012-11-22 10:55 ananasik@gmail.com + + * ChangeLog, NEWS, configure.ac, src/main.c: release 0.18.0 + +2012-11-22 10:44 ananasik@gmail.com + + * data/yad.1, po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, + po/zh_TW.po: update translation and man page + +2012-11-22 10:10 ananasik@gmail.com + + * src/main.c: fix output for plugged dialog + +2012-11-21 14:50 ananasik@gmail.com + + * src/main.c, src/notebook.c: fixe shared memory cleanup + +2012-11-21 10:39 ananasik@gmail.com + + * src/main.c, src/notebook.c, src/util.c: fix shared memory cleanup + +2012-11-20 13:14 ananasik@gmail.com + + * src/main.c, src/notebook.c: first working implementation of + tabbed dialog + +2012-11-20 11:54 ananasik@gmail.com + + * src/main.c, src/yad.h: + +2012-11-20 09:46 ananasik@gmail.com + + * src/list.c, src/main.c, src/notebook.c, src/util.c: + +2012-11-16 08:25 ananasik@gmail.com + + * src/list.c: fix segfault in list dialog when print column is + greater than number of columns + +2012-11-15 16:08 ananasik@gmail.com + + * src/main.c, src/notebook.c, src/util.c, src/yad.h: + +2012-10-18 04:22 ananasik + + * src/about.c, src/browser.c, src/calendar.c, src/color.c, + src/dnd.c, src/entry.c, src/file.c, src/font.c, src/form.c, + src/icons.c, src/list.c, src/main.c, src/multi-progress.c, + src/notebook.c, src/notification.c, src/option.c, src/print.c, + src/progress.c, src/scale.c, src/text.c, src/util.c, src/yad.h: + indenting code + +2012-10-18 03:57 ananasik + + * src/icons.c, src/list.c, src/main.c, src/multi-progress.c, + src/notification.c, src/progress.c, src/text.c: handle eof in all + listen dialogs + +2012-10-17 18:58 ananasik + + * src/list.c: handle eof in list dialog + +2012-10-17 16:55 ananasik + + * src/yad.h: fix plug/socket includes for compatibility with gtk3 + +2012-10-17 16:15 ananasik + + * src/yad.h: fix xid type for compatibility with gtk3 + +2012-10-16 10:55 ananasik@gmail.com + + * src/list.c: queue notify signals when list fills from + command-line + +2012-10-12 04:19 ananasik + + * src/main.c: + +2012-10-12 03:26 ananasik + + * src/list.c, src/text.c: + +2012-10-11 13:05 ananasik + + * src/main.c, src/notebook.c: remove debug staff + +2012-10-11 13:04 ananasik + + * src/main.c, src/notebook.c: fix typo + +2012-10-11 13:04 ananasik + + * src/main.c, src/notebook.c, src/util.c, src/yad.h: some changes + in notebook (not completely working) + +2012-10-11 08:29 ananasik + + * src/option.c, src/yad.h: + +2012-10-11 08:19 ananasik + + * src/util.c, src/yad.h: + +2012-10-11 08:16 ananasik + + * src/main.c, src/yad.h: + +2012-10-11 08:02 ananasik + + * po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, po/zh_TW.po, + src/main.c, src/option.c, src/yad.h: + +2012-10-11 07:05 ananasik + + * src/main.c, src/option.c, src/yad.h: + +2012-10-11 06:58 ananasik + + * src/Makefile.am, src/main.c, src/util.c, src/yad.h: add max_tab + settings + +2012-10-02 08:25 ananasik + + * po/Makefile.in.in: update po/Makefile.in.in from latest intltool + +2012-10-02 08:15 ananasik + + * src/form.c, src/list.c, src/main.c, src/notebook.c, src/print.c: + fix some warnings and errors + +2012-10-02 07:45 ananasik + + * src/util.c, src/yad.h: fix issue #145 (building yad with clang) + +2012-09-05 04:54 ananasik + + * src/notification.c: fix parsing malformed command in notification + +2012-09-05 03:35 ananasik + + * data/yad.1: fix typo in man page + +2012-08-29 18:15 ananasik + + * configure.ac, src/Makefile.am: cosmetic changes + +2012-08-29 18:05 ananasik + + * configure.ac: bump minor version + +2012-08-29 15:31 ananasik + + * src/progress.c: fix progressbar height (patch by + larchunix@gmail.com) + +2012-08-27 12:17 ananasik + + * src/option.c, src/util.c: fix parsing arguments and options + +2012-08-09 08:36 ananasik + + * data/yad.1: update man page + +2012-08-07 14:08 ananasik + + * src/multi-progress.c: fix setting labels in multi-progress dialog + +2012-06-01 13:02 ananasik + + * po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, po/zh_TW.po, + src/main.c: fix grammar error + +2012-05-31 09:54 ananasik + + * configure.ac, src/list.c: + +2012-05-29 04:25 ananasik + + * data/yad.1: fix man page + +2012-05-22 15:06 ananasik + + * src/form.c: fix previous commit + +2012-05-22 14:59 ananasik + + * configure.ac, src/form.c: fix read-only field in form dialog + +2012-05-05 15:50 ananasik + + * src/main.c, src/notebook.c: + +2012-04-27 09:20 ananasik + + * po/uk.po: + +2012-04-25 14:00 ananasik + + * src/main.c, src/notebook.c, src/yad.h: + +2012-04-23 14:56 ananasik + + * po/uk.po: fix ukrainian translation + +2012-04-23 13:00 ananasik + + * data/yad.1, po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, + po/zh_TW.po: update man and translations + +2012-04-23 12:04 ananasik + + * src/list.c, src/notification.c, src/option.c, src/text.c, + src/yad.h: add --listen option to list and text dialogs + +2012-04-23 10:39 ananasik + + * src/list.c: make double-click in list dialog always works + +2012-04-23 08:04 ananasik + + * data/yad.1, src/entry.c, src/form.c, src/list.c, + src/notification.c: add precisions to form and entry numeric + fields + +2012-04-11 16:25 ananasik + + * src/main.c, src/notebook.c, src/option.c, src/yad.h: + +2012-04-09 14:59 ananasik + + * src/main.c: + +2012-04-09 13:59 ananasik + + * src/main.c, src/option.c, src/yad.h: + +2012-04-09 10:47 ananasik + + * src/main.c: + +2012-04-09 10:31 ananasik + + * src/main.c, src/notebook.c: + +2012-04-09 06:20 ananasik + + * src/option.c, src/yad.h: + +2012-04-09 06:13 ananasik + + * src/notebook.c: + +2012-04-09 06:11 ananasik + + * src/main.c, src/option.c, src/yad.h: + +2012-04-07 09:20 ananasik + + * src/main.c: + +2012-04-07 08:25 ananasik + + * po/POTFILES.in, src/Makefile.am, src/main.c, src/notebook.c, + src/option.c, src/yad.h: initial implementation of notebook + dialog + +2012-04-05 19:11 ananasik + + * configure.ac, data/yad.1, src/form.c: add @disabled@ value to + form dialog + +2012-04-03 12:47 ananasik + + * configure.ac, data/yad.1, po/de.po, po/fr.po, po/ru.po, po/sk.po, + po/uk.po, po/zh_TW.po: final implementation of radio toggle + columns + +2012-04-03 12:40 ananasik + + * src/list.c: fix output for radiolist + +2012-04-03 12:38 ananasik + + * src/list.c, src/option.c, src/yad.h: add radiolist option to list + dialog + +2012-04-03 12:28 ananasik + + * src/list.c: fix toggling radio column + +2012-04-03 11:51 ananasik + + * src/list.c, src/option.c, src/yad.h: add initial radio column + support to list dialog + +2012-04-02 15:41 ananasik + + * configure.ac, src/list.c: fix tooltips in list dialog + +2012-04-02 13:17 ananasik + + * configure.ac, data/yad.1, po/de.po, po/fr.po, po/ru.po, po/sk.po, + po/uk.po, po/zh_TW.po, src/list.c, src/option.c, src/yad.h: add + hidden column type for list dialog + +2012-03-22 15:21 ananasik + + * configure.ac: bump version to 0.17.91 + +2012-03-22 15:09 ananasik + + * src/form.c: fix wrap for multiline text fields in form dialog + +2012-03-16 14:41 ananasik + + * src/main.c: fix --geometry bug + +2012-03-11 05:56 ananasik + + * data/yad.1, src/option.c: fix default buttons layout + +2012-03-09 18:26 ananasik + + * ChangeLog: + +2012-03-09 18:25 ananasik + + * configure.ac, data/yad.1: update man page. bump version to + 0.17.90 + +2012-03-09 18:21 ananasik + + * po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, po/zh_TW.po, + src/main.c, src/option.c, src/yad.h: add --buttons-layout option + +2012-03-09 17:53 ananasik + + * po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, po/zh_TW.po, + src/form.c, src/multi-progress.c, src/option.c, src/yad.h: make + --align works for multi-progress too + +2012-03-09 17:42 ananasik + + * src/multi-progress.c: use markup for bar labels in multiprogress + dialog + +2012-03-09 10:09 ananasik + + * data/yad.1: fix man page + +2012-03-05 14:38 ananasik + + * ChangeLog, NEWS: release 0.17.1.1 + +2012-03-05 14:37 ananasik + + * configure.ac, src/notification.c: fix --listen mode of + notification + +2012-03-05 08:26 ananasik + + * src/notification.c: + +2012-03-05 08:14 ananasik + + * ChangeLog, NEWS: release 0.17.1 + +2012-03-05 08:02 ananasik + + * src/notification.c: fix handling empty strings in --listen mode + of notification + +2012-03-03 08:21 ananasik + + * src/main.c: cleanup + +2012-03-01 15:07 ananasik + + * src/text.c: fix releasing search regexp in text-info dialog + +2012-03-01 10:55 ananasik + + * po/LINGUAS, po/zh_TW.po: add traditional chinese translation + +2012-03-01 10:52 ananasik + + * src/text.c: fix releasing search result in test-info dialog + +2012-02-29 11:56 ananasik + + * src/text.c: + +2012-02-29 11:16 ananasik + + * src/text.c: + +2012-02-28 12:55 ananasik + + * src/text.c: improve search in text-info + +2012-02-28 10:37 ananasik + + * configure.ac: bump version to 0.17.1 + +2012-02-28 10:20 ananasik + + * src/form.c, src/util.c, src/yad.h: fix output of multiline text + field in form dialog + +2012-02-28 09:04 ananasik + + * src/form.c, src/text.c: add wrap to text field in form + +2012-02-28 08:08 ananasik + + * src/text.c: fix build for gtk < 2.22.0 + +2012-02-23 16:58 ananasik + + * ChangeLog, NEWS, configure.ac: release 0.17.0 + +2012-02-23 14:52 ananasik + + * data/yad.1: update man page + +2012-02-23 14:31 ananasik + + * src/list.c: send ^L cleanup the list data + +2012-02-23 12:49 ananasik + + * src/list.c: handle both command line and stdin data in list + dialog + +2012-02-17 11:45 ananasik + + * src/about.c, src/browser.c, src/calendar.c, src/color.c, + src/dnd.c, src/entry.c, src/file.c, src/font.c, src/form.c, + src/icons.c, src/list.c, src/main.c, src/multi-progress.c, + src/notification.c, src/option.c, src/print.c, src/progress.c, + src/scale.c, src/text.c, src/util.c, src/yad.h: update copyright + years + +2012-02-17 11:42 ananasik + + * data/yad.1, po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po, + src/main.c, src/option.c, src/yad.h: add --rest option + +2012-02-10 06:18 ananasik + + * data/yad.1: update man page + +2012-02-09 19:51 ananasik + + * src/text.c: add frame to search window in text dialog + +2012-02-09 15:17 ananasik + + * po/de.po, po/fr.po, po/ru.po, po/sk.po, po/uk.po: update + translations + +2012-02-09 14:48 ananasik + + * data/yad.1: update man page + +2012-02-09 14:45 ananasik + + * configure.ac, src/form.c, src/option.c, src/yad.h: add TXT field + to form + +2012-02-09 11:25 ananasik + + * data/yad.1: update man page + +2012-02-09 11:22 ananasik + + * src/form.c, src/option.c, src/yad.h: add MDIR field type to form + +2012-02-09 10:17 ananasik + + * src/text.c: + +2012-02-09 10:07 ananasik + + * src/text.c: improve search in text-info dialog + +2012-02-08 16:24 ananasik + + * src/text.c: implement search in text-info dialog + +2012-02-07 16:25 ananasik + + * src/text.c: working commit + +2012-02-01 15:58 ananasik + + * src/browser.c, src/entry.c, src/list.c, src/text.c: some cleanups + +2011-12-11 09:16 ananasik + + * data/yad.1: update man page + +2011-12-11 07:35 ananasik + + * src/option.c, src/util.c, src/yad.h: add new settings + "ignore_unknown_options" + +2011-12-05 16:18 ananasik + + * ChangeLog, NEWS, configure.ac: release 0.16.3 + 2011-12-05 16:10 ananasik * src/form.c: recognize special characters like \n in form labels
View file
yad-0.16.3.tar.bz2/Makefile.am -> yad-0.36.2.tar.xz/Makefile.am
Changed
@@ -2,5 +2,3 @@ SUBDIRS = src po data EXTRA_DIST = COPYING ChangeLog NEWS README AUTHORS TODO THANKS - -
View file
yad-0.16.3.tar.bz2/Makefile.in -> yad-0.36.2.tar.xz/Makefile.in
Changed
@@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -15,6 +14,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\\ \ *) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs$$bs $$bs *//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -dEDm) skip_next=yes;; \ + -JT) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -32,51 +86,91 @@ PRE_UNINSTALL = : POST_UNINSTALL = : subdir = . -DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/config.h.in \ - $(top_srcdir)/configure AUTHORS COPYING ChangeLog NEWS THANKS \ - TODO depcomp install-sh missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ + $(am__configure_deps) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ - distdir dist dist-all distcheck +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir dist dist-all distcheck +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)config.h.in +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items$$0 = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags +CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(top_srcdir)/build/compile $(top_srcdir)/build/install-sh \ + $(top_srcdir)/build/missing AUTHORS COPYING ChangeLog NEWS \ + README THANKS TODO build/compile build/depcomp \ + build/install-sh build/missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ - { test ! -d "$(distdir)" \ - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -fr "$(distdir)"; }; } + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\(^/*\)/.*$$,\1,'; \ @@ -104,7 +198,10 @@ reldir="$$dir2" GZIP_ENV = --best DIST_ARCHIVES = $(distdir).tar.xz +DIST_TARGETS = dist-xz distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ @@ -135,9 +232,15 @@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_CFLAGS = @HTML_CFLAGS@ +HTML_LIBS = @HTML_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -149,6 +252,10 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ @@ -178,12 +285,14 @@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +SOURCEVIEW_CFLAGS = @SOURCEVIEW_CFLAGS@ +SOURCEVIEW_LIBS = @SOURCEVIEW_LIBS@ +SPELL_CFLAGS = @SPELL_CFLAGS@ +SPELL_LIBS = @SPELL_LIBS@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ -YAD_CFLAGS = @YAD_CFLAGS@ -YAD_LIBS = @YAD_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -207,6 +316,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -232,7 +343,7 @@ $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: -am--refresh: +am--refresh: Makefile @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ @@ -247,7 +358,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -268,10 +378,8 @@ $(am__aclocal_m4_deps): config.h: stamp-h1 - @if test ! -f $@; then \ - rm -f stamp-h1; \ - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ - else :; fi + @test -f $@ || rm -f stamp-h1 + @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 @@ -285,22 +393,25 @@ -rm -f config.h stamp-h1 # This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --!k*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ @@ -315,57 +426,12 @@ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --!k*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ @@ -381,12 +447,7 @@ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -398,15 +459,11 @@ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -415,9 +472,31 @@ here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + \\/* | ?:\\/*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) @@ -453,13 +532,10 @@ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ @@ -488,35 +564,41 @@ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) + $(am__post_remove_distdir) dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 - $(am__remove_distdir) + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) -dist-lzma: distdir - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma - $(am__remove_distdir) +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) dist-xz: distdir - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz - $(am__remove_distdir) + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) dist-tarZ: distdir + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__remove_distdir) + $(am__post_remove_distdir) dist-shar: distdir + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - $(am__remove_distdir) + $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) + $(am__post_remove_distdir) -dist dist-all: distdir - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz - $(am__remove_distdir) +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another @@ -527,8 +609,8 @@ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lzma*) \ - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ @@ -538,17 +620,19 @@ *.zip*) \ unzip $(distdir).zip ;;\ esac - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/_build - mkdir $(distdir)/_inst + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^^:\\/:\\/,/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ - && $(am__cd) $(distdir)/_build \ - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + && $(am__cd) $(distdir)/_build/sub \ + && ../../configure \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ + --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ @@ -571,13 +655,21 @@ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 - $(am__remove_distdir) + $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: - @$(am__cd) '$(distuninstallcheck_dir)' \ - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ @@ -608,10 +700,15 @@ installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -692,23 +789,25 @@ uninstall-am: -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ - ctags-recursive install-am install-strip tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am am--refresh check check-am clean clean-generic \ - ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ - dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ - distclean distclean-generic distclean-hdr distclean-tags \ - distcleancheck distdir distuninstallcheck dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am tags tags-recursive uninstall uninstall-am +.MAKE: $(am__recursive_targets) all install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am clean clean-cscope clean-generic \ + cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ + dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ + distcheck distclean distclean-generic distclean-hdr \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am + +.PRECIOUS: Makefile # Tell versions 3.59,3.63) of GNU make to not export all variables.
View file
yad-0.16.3.tar.bz2/NEWS -> yad-0.36.2.tar.xz/NEWS
Changed
@@ -1,3 +1,251 @@ +Version 0.36.2 + - honor precision for floats in numeric fields of form and entry dialogs + - fix settings title and icon for browser mode in html dialog + +Version 0.36.1 + - fix quoting buttons commands in form dialog + +Version 0.36.0 + - add --no-selection option to list dialog + - improve --center option + - add spell checking support for text field in form and text-info dialog + - add gtksourceview support to text-info dialog + - fix setting initial value for numeric text entry in entry dialog + - do not close print dialog when preview button is clicked + - add --monitor option to icon dialog + - change default font for text-info and print text files to Monospace + - quote field values for button callback in form dialog + +Version 0.35.0 + - add BAR column type to list dialog + - add SZ column type to list dialog (displays human readable sizes) + - add --show-cursor option to text dialog + - fix handling leading spaces in button callback of form dialog + - fix --show-hidden behavior + - switch float output from %g to %f + - fix setting custom bg color in text-info dialog for gtk3 + +Version 0.34.2 + - fix clearing fields in form when --cycle-read is using + +Version 0.34.1 + - fix expander + - update man page + +Version 0.34.0 + - add --select-action option to list dialog + - add --separate-output option to font dialog + - honor --quoted-output option in font dialog + - add --show-hidden option to file selection dialogs + - add --watch-bar to multi-progress dialog + - improve handling of autoclosing event in multi-progress dialog + - improve output of color values in form dialog + - fix build with gtk+-3.0 and webkit-3.0 + +Version 0.33.1 + - fix timeout handling + +Version 0.33.0 + - add --picture dialog, a simple image viewer + - add --focus-field option to form dialog for set initialy fosuced field + - add --complete option for extended completions in entry fields + - add ability to fill form data through stdin + - fix handling empty data in form dialog + - improvements in browser mode of html dialog + - add --float-precision option + - improve output of floating point numbers + +Version 0.32.0 + - enable rules-hint for icons list in icon browser + - add --splash options (thanks to Konstantin Baierer) + - add --no-focus option + - fix timeout progressbar layout for gtk3 builds + - add --num-output option for output index of active element in combo-boxes + +Version 0.31.3 + - fix setting default value for completion entry in form dialog + +Version 0.31.2 + - fix segfault in list dialog when separators enabled but --sep-value is unset + +Version 0.31.1 + - fix segfault in html dialog + +Version 0.31.0 + - add separators to list dialog + - use YAD_OPTIONS variable for specify default yad arguments + - add --no-rules-hint option to list dialog + - add parameters for controlling palettes in color selection + - remove some entries from settings file + - set default open command and date format through the settings file + - add additional filter settings for file selection dialogs + - apply filter and preview settings to all of file selection dialogs + - fix settings custom icon theme + +Version 0.30.1 + - fix parsing paned orientation + +Version 0.30.0 + - add paned dialog + - add --parent-win option to make dialog transient for special window + - add --uri-color option for setting text color of URIs in text-info dialog + +Version 0.29.1 + - fix build without HTML dialog + +Version 0.29.0 + - fix focus problems in html dialog + - set default encoding from locale for html widget + - fix quoted output in form dialog + - add --no-escape option to prevent close dialog when Esc is pressed + - show gtk version within --version and about dialog + - fix build with gcc 5.x + +Version 0.28.1 + - fix incorrect rows output order in form dialog + +Version 0.28.0 + - add HTML dialog + - add different output formats for color dialog + - add mnemonic feature for field labels in form and entry dialogs + - add completion entry as field type in form dialog + - add output by rows in form dialog when layout with several columns is used + - fix labels in multiprogress dialog + - fix print to file in print dialog + - fix setup arguments for double-click action in list dialog + - update man page + +Version 0.27.0 + - add --hidden option to notification icon + - add --tooltip-column option to list dialog + - add --gtkrc option + - fix detection of expandind columns in list dialog + - fix markup handling + - add YAD_XID variable for dialogs children + - code cleanup for remove deprecated api + +Version 0.26.1 + - fix output in list dialog for check and radiolists + - fix button alignment in form dialog + - don't add last item separator in multifile field of form dialog + +Version 0.26.0 + - double-click actions in list dialog can change values in current row + - impove handling of markup text in list dialog + - add FBTN field type (relief buttons) to form dialog + - add buttons with custom icons + - add labels with icons for tab labels in notebook dialog + - remove --align option for notebook dialog + - numeric entries aligned to the right side + +Version 0.25.1 + - use normal window hints for dialog windows + - fix menu in notification icon (issue #196) + +Version 0.25.0 + - add --menu option for notification icon + - add --maximized and --fullscreen options + - unify --listen option for different kind of dialogs + - replace --stdin option by --listen in icon dialog + +Vesrion 0.24.1 + - fix parsing menu in notification dialog + +Version 0.24.0 + - add --auto-close option for multi-progress dialog + - add --image-path option + - add --no-click option to list dialog + - allow clear text in text-info dialog with ^L + - new translations + - bug fixes + +Version 0.23.1 + - wait for child termination in notebook dialog + - honour custom width and height settings in unresizable dialogs + +Version 0.23.0 + - add --quoted-output option for file, form and list dialogs + - add default values for combo-box field in form dialog + - fix dialogs responses when working in notebook mode + +Version 0.22.1 + - fix resize of dialog text + - fix usage of stock items in popup menu of notification icon + +Version 0.22.0 + - add scale field to form dialog + - fix form layout on gtk+-3.0 + - fix borders around child dialogs in notebook + - fix handle stdin for icons dialog in compact mode + - fix dialog text alignment + - add italian translation + - update man page + +Version 0.21.0 + - add optional scrollbars for form dialog + - add "duplicate row" menu entry for editable lists + - some fixes in man page + +Version 0.20.3 + - update slovak translation + - use double-ckick for selecting date in form dialog + - fix check field layout in form dialog for gtk3 + +Version 0.20.2 + - fix tooltips in list dialog + +Version 0.20.1 + - fix --kill-parent option + +Version 0.20.0 + - default value for combo-box can be specified by --entry-text from one of existings entries in list + - add --single-click option for icon dialog + - add log window to progress dialog + - fix geometry settings for unresizable windows + - fix layout on gtk3 + - add custom signals for --kill-parent option + +Version 0.19.1 + - use current path as a default folder for file selection dialogs + - fix parsing .desktop files in icons dialog + +Version 0.19.0 + - add preview to file dialog + - recognize link type in .desktop files for icon dialog + - make icon description selectable in icon browser + - fix quoting special characters when pass data to the command in list and dnd dialogs + +Version 0.18.0 + - add notebook dialog + - add --button-layout option + - use markup for bar labels in multiprogress dialog + - make --align works for multi-progress too + - fix --geometry behavior + - fix wrap for multiline text fields in form dialog + - add radio and hidden column types in list dialog + - add @disabled@ value to form dialog + - add precisions to form and entry numeric fields + - add --listen option to list and text dialogs + +Version 0.17.1.1 + - fix --listen mode of notification + +Version 0.17.1 + - fix build with gtk+ < 2.22 + - add wrapping to multiline text field in form dialog + - fix search in text-info dialog + - fix handling empty strings in --listen mode of notification + - add traditional chinese translation + +Version 0.17.0 + - add search in --text-info dialog (activate by pressing Ctrl+S) + - add multiline text field to form dialog + - add multiply directory selection to form dialog + - add --rest option for specify extra command-line options through the external file + - add new setting "ignore_unknown_options" + - list dialog now can handle command-line and stdin data at the same time + - sending "^L" to list dialog will clear the list + Version 0.16.3 - fix text settings in text-info dialog on gtk3 - fix --percentage option in progress dialog @@ -58,7 +306,7 @@ - fixes for icons in entry dialog - add icons for editable combo-boxes in entry dialog - add new field types for form dialog - labels and buttons - - fix blinking behavior in notification icon + - fix blinking behavior in notification icon - some improvements in user-defined double-click action for list dialog - dialog text can be selected if --selectable-labels specified - fix image clipping in gtk+-3.0 @@ -89,7 +337,7 @@ Version 0.12.0 - add icons to entry dialog - add --details option to calendar dialog - - add new field types to form dialog: CBE for editable combo-boxes, DT for date field + - add new field types to form dialog: CBE for editable combo-boxes, DT for date field and MFL for choose multiple files - add user-specified doubleclick actions to list dialog - makes YAD buildable under MS Windows @@ -99,7 +347,7 @@ - new --skip-taskbar option for hiding yad window from taskbar and pager - add --search-column option to list dialog for set quicksearch column number - add --elipsize option to list dialog for shortened long text in text columns - - add tooltips for list dialog. when tooltip column is not specified tooltips + - add tooltips for list dialog. when tooltip column is not specified tooltips shows content of cell under mouse - add markup for entry labels in entry and form dialogs @@ -120,7 +368,7 @@ - vertical and invert scale dialog - numeric entry - new font selection dialog - - tagging URIs in text dialog + - tagging URIs in text dialog - new option --kill-parent for send SIGTERM to parent process - fix URI handling in dnd dialog @@ -140,12 +388,12 @@ - fix setting initial value in DIR field of form dialog Version 0.8.0 - - add --icon-theme option for use specific icon theme + - add --icon-theme option for use specific icon theme instead of default - add --align option for label alignment in form dialog - fix handling ESC for return proper exit code - fix handling colons in options - - add yad-icon-browser, a separate tool for exploring GTK icon + - add yad-icon-browser, a separate tool for exploring GTK icon themes - add autoconf macros AM_PATH_YAD for easily check for yad when use autotools @@ -182,7 +430,7 @@ - notification icon always close on middle click - YAD now understand SIGUSR1 and SIGUSR2 signals - YAD can be build against new gtk+ 3.0 - - fix output bug in list dialog + - fix output bug in list dialog Version 0.4.0 - add --no-headers option in list dialog @@ -225,7 +473,7 @@ Version 0.0.10 - add rtl direction to progress bar - - add --image-on-top option + - add --image-on-top option - set cursor invisible when text is not editable in text dialog - add oprtion for setting colors of text-dialog - add --tail options to text dialog for autoscrolling
View file
yad-0.16.3.tar.bz2/README -> yad-0.36.2.tar.xz/README
Changed
@@ -1,10 +1,31 @@ -Yet Another Dialog -======================= +# Yet Another Dialog +================== Program allows you to display GTK+ dialog boxes from command line or shell scripts. YAD depends on GTK+ only. Minimal GTK+ version is 2.16.0 This software is licensed under the GPL v.3 -Project homepage: http://code.google.com/p/yad/ -Example usage: http://code.google.com/p/yad/wiki/Examples +Project homepage: https://sourceforge.net/projects/yad-dialog/ +Example usage: https://sourceforge.net/p/yad-dialog/wiki/browse_pages/ Maillist: http://groups.google.com/group/yad-common + +Some miscellaneous stuff can be found in data directory including notify-send script +and simple zenity-compatible wrapper + +# Building SVN version +==================== +Before run the standard ./configure && make && make install procedure +you need to generate build scripts. This can be done by running command + +`autoreconf -ivf` + +For successfully build you may need to install the following packages: +* GNU Autotools (https://www.gnu.org/software/autoconf/ http://www.gnu.org/software/automake/) +* Intltool >= 0.40.0 (http://freedesktop.org/wiki/Software/intltool/) +* GTK+ >= 2.16.0 (http://www.gtk.org) +with appropriate *-dev* packages depends on your distro + +# Spell check +=========== +Get list of supported spell checking languages +`gcc $(pkg-config --cflags --libs glib-2.0 gtkspell3-2.0) -o get-lang data/get-lang.c`
View file
yad-0.16.3.tar.bz2/TODO -> yad-0.36.2.tar.xz/TODO
Changed
@@ -1,5 +1,5 @@ -- Parse ESC sequences in text-info dialog (or something like wiki syntax) -- DBus support (?) -- Common search dialog for list and text dialogs -- Use item-separator in filters of file dialog (?) -- Add scale field for form dialog +- add actions to list, text-info and icons dialogs +- use optional gtksourceview in text-info dialog +- done add option for disable selection in list dialog +- add slideshow to picture dialog (reading uris from stdin) +- add single model for completion and combo-boxes
View file
yad-0.16.3.tar.bz2/aclocal.m4 -> yad-0.36.2.tar.xz/aclocal.m4
Changed
@@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.11.1 -*- Autoconf -*- +# generated automatically by aclocal 1.15 -*- Autoconf -*- + +# Copyright (C) 1996-2014 Free Software Foundation, Inc. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,15 +11,16 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. +m4_ifndef(AC_CONFIG_MACRO_DIRS, m4_defun(_AM_CONFIG_MACRO_DIRS, )m4_defun(AC_CONFIG_MACRO_DIRS, _AM_CONFIG_MACRO_DIRS($@))) m4_ifndef(AC_AUTOCONF_VERSION, m4_copy(m4_PACKAGE_VERSION, AC_AUTOCONF_VERSION))dnl -m4_if(m4_defn(AC_AUTOCONF_VERSION), 2.68,, -m4_warning(this file was generated for autoconf 2.68. +m4_if(m4_defn(AC_AUTOCONF_VERSION), 2.69,, +m4_warning(this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. -To do so, use the procedure documented by the package, typically `autoreconf'.)) +To do so, use the procedure documented by the package, typically 'autoreconf'.)) -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2002-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -31,10 +32,10 @@ # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN(AM_AUTOMAKE_VERSION, -am__api_version='1.11' +am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if($1, 1.11.1, , +m4_if($1, 1.15, , AC_FATAL(Do not call $0, use AM_INIT_AUTOMAKE($1).))dnl ) @@ -50,22 +51,22 @@ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN(AM_SET_CURRENT_AUTOMAKE_VERSION, -AM_AUTOMAKE_VERSION(1.11.1)dnl +AM_AUTOMAKE_VERSION(1.15)dnl m4_ifndef(AC_AUTOCONF_VERSION, m4_copy(m4_PACKAGE_VERSION, AC_AUTOCONF_VERSION))dnl _AM_AUTOCONF_VERSION(m4_defn(AC_AUTOCONF_VERSION))) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR(foo), Autoconf sets -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and @@ -84,7 +85,7 @@ # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually -# harmless because $srcdir is `.', but things will broke when you +# harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, @@ -102,30 +103,26 @@ # configured tree to be moved without reconfiguration. AC_DEFUN(AM_AUX_DIR_EXPAND, -dnl Rely on autoconf to set up CDPATH properly. -AC_PREREQ(2.50)dnl -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` +AC_REQUIRE(AC_CONFIG_AUX_DIR_DEFAULT)dnl +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` ) # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 -# Free Software Foundation, Inc. +# Copyright (C) 1997-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 9 - # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN(AM_CONDITIONAL, -AC_PREREQ(2.52)dnl - ifelse($1, TRUE, AC_FATAL($0: invalid condition: $1), - $1, FALSE, AC_FATAL($0: invalid condition: $1))dnl +AC_PREREQ(2.52)dnl + m4_if($1, TRUE, AC_FATAL($0: invalid condition: $1), + $1, FALSE, AC_FATAL($0: invalid condition: $1))dnl AC_SUBST($1_TRUE)dnl AC_SUBST($1_FALSE)dnl _AM_SUBST_NOTMAKE($1_TRUE)dnl @@ -144,16 +141,14 @@ Usually this means the macro was only invoked conditionally.) fi)) -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 -# Free Software Foundation, Inc. +# Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 10 -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing @@ -163,7 +158,7 @@ # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "GCJ", or "OBJC". +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was @@ -176,12 +171,13 @@ AC_REQUIRE(AM_MAKE_INCLUDE)dnl AC_REQUIRE(AM_DEP_TRACK)dnl -ifelse($1, CC, depcc="$CC" am_compiler_list=, - $1, CXX, depcc="$CXX" am_compiler_list=, - $1, OBJC, depcc="$OBJC" am_compiler_list='gcc3 gcc', - $1, UPC, depcc="$UPC" am_compiler_list=, - $1, GCJ, depcc="$GCJ" am_compiler_list='gcc3 gcc', - depcc="$$1" am_compiler_list=) +m4_if($1, CC, depcc="$CC" am_compiler_list=, + $1, CXX, depcc="$CXX" am_compiler_list=, + $1, OBJC, depcc="$OBJC" am_compiler_list='gcc3 gcc', + $1, OBJCXX, depcc="$OBJCXX" am_compiler_list='gcc3 gcc', + $1, UPC, depcc="$UPC" am_compiler_list=, + $1, GCJ, depcc="$GCJ" am_compiler_list='gcc3 gcc', + depcc="$$1" am_compiler_list=) AC_CACHE_CHECK(dependency style of $depcc, am_cv_$1_dependencies_compiler_type, @@ -189,8 +185,9 @@ # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -229,16 +226,16 @@ : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - # We check with `-c' and `-o' for the sake of the "dashmstdout" + # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in @@ -247,16 +244,16 @@ test "$am__universal" = false || continue ;; nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} @@ -304,7 +301,7 @@ # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES +# This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN(AM_SET_DEPDIR, AC_REQUIRE(AM_SET_LEADING_DOT)dnl AC_SUBST(DEPDIR, "${am__leading_dot}deps")dnl @@ -314,34 +311,39 @@ # AM_DEP_TRACK # ------------ AC_DEFUN(AM_DEP_TRACK, -AC_ARG_ENABLE(dependency-tracking, - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors) +AC_ARG_ENABLE(dependency-tracking, dnl +AS_HELP_STRING( + --enable-dependency-tracking, + do not reject slow dependency extractors) +AS_HELP_STRING( + --disable-dependency-tracking, + speeds up one-time build)) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' + am__nodep='_no' fi AM_CONDITIONAL(AMDEP, test "x$enable_dependency_tracking" != xno) AC_SUBST(AMDEPBACKSLASH)dnl _AM_SUBST_NOTMAKE(AMDEPBACKSLASH)dnl +AC_SUBST(am__nodep)dnl +_AM_SUBST_NOTMAKE(am__nodep)dnl ) # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. +# Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -#serial 5 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN(_AM_OUTPUT_DEPENDENCY_COMMANDS, { - # Autoconf 2.62 quotes --file arguments for eval, but not when files + # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in @@ -354,7 +356,7 @@ # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but + # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. @@ -366,21 +368,19 @@ continue fi # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. + # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue + test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME("$file")` @@ -398,7 +398,7 @@ # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking -# is enabled. FIXME. This creates each `.P' file that we will +# is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN(AM_OUTPUT_DEPENDENCY_COMMANDS, AC_CONFIG_COMMANDS(depfiles, @@ -647,6 +647,10 @@ CATOBJEXT=.mo DATADIRNAME=lib) ;; + *-*-openbsd*) + CATOBJEXT=.mo + DATADIRNAME=share + ;; *) CATOBJEXT=.mo DATADIRNAME=lib @@ -717,9 +721,8 @@ # on various variables needed by the Makefile.in.in installed by # glib-gettextize. dnl -glib_DEFUN(GLIB_GNU_GETTEXT, +AU_DEFUN(GLIB_GNU_GETTEXT, AC_REQUIRE(AC_PROG_CC)dnl - AC_REQUIRE(AC_HEADER_STDC)dnl GLIB_LC_MESSAGES GLIB_WITH_NLS @@ -788,7 +791,8 @@ rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES - ) + , + $0: This macro is deprecated. You should use upstream gettext instead.) # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) # ------------------------------- @@ -841,18 +845,21 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. +# Copyright (C) 1996-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 16 - # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. +m4_define(AC_PROG_CC, +m4_defn(AC_PROG_CC) +_AM_PROG_CC_C_O +) + # AM_INIT_AUTOMAKE(PACKAGE, VERSION, NO-DEFINE) # AM_INIT_AUTOMAKE(OPTIONS) # ----------------------------------------------- @@ -865,7 +872,7 @@ # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN(AM_INIT_AUTOMAKE, -AC_PREREQ(2.62)dnl +AC_PREREQ(2.65)dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow(^AM_A-Z+FLAGS$)dnl @@ -894,33 +901,42 @@ # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval($2, -m4_ifval($3, _AM_SET_OPTION(no-define))dnl +AC_DIAGNOSE(obsolete, + $0: two- and three-arguments forms are deprecated.) +m4_ifval($3, _AM_SET_OPTION(no-define))dnl AC_SUBST(PACKAGE, $1)dnl AC_SUBST(VERSION, $2), _AM_SET_OPTIONS($1)dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if(m4_ifdef(AC_PACKAGE_NAME, 1)m4_ifdef(AC_PACKAGE_VERSION, 1), 11,, +m4_if( + m4_ifdef(AC_PACKAGE_NAME, ok):m4_ifdef(AC_PACKAGE_VERSION, ok), + ok:ok,, m4_fatal(AC_INIT should be called with package and version arguments))dnl AC_SUBST(PACKAGE, 'AC_PACKAGE_TARNAME')dnl AC_SUBST(VERSION, 'AC_PACKAGE_VERSION'))dnl _AM_IF_OPTION(no-define,, -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", Name of package) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", Version number of package))dnl +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", Name of package) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", Version number of package))dnl # Some tools Automake needs. AC_REQUIRE(AM_SANITY_CHECK)dnl AC_REQUIRE(AC_ARG_PROGRAM)dnl -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) -AM_MISSING_PROG(AUTOCONF, autoconf) -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) -AM_MISSING_PROG(AUTOHEADER, autoheader) -AM_MISSING_PROG(MAKEINFO, makeinfo) +AM_MISSING_PROG(ACLOCAL, aclocal) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) AC_REQUIRE(AM_PROG_INSTALL_SH)dnl AC_REQUIRE(AM_PROG_INSTALL_STRIP)dnl -AC_REQUIRE(AM_PROG_MKDIR_P)dnl -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. +AC_REQUIRE(AC_PROG_MKDIR_P)dnl +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> +AC_SUBST(mkdir_p, '$(MKDIR_P)') +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. AC_REQUIRE(AC_PROG_AWK)dnl AC_REQUIRE(AC_PROG_MAKE_SET)dnl AC_REQUIRE(AM_SET_LEADING_DOT)dnl @@ -929,34 +945,82 @@ _AM_PROG_TAR(v7))) _AM_IF_OPTION(no-dependencies,, AC_PROVIDE_IFELSE(AC_PROG_CC, - _AM_DEPENDENCIES(CC), - define(AC_PROG_CC, - defn(AC_PROG_CC)_AM_DEPENDENCIES(CC)))dnl + _AM_DEPENDENCIES(CC), + m4_define(AC_PROG_CC, + m4_defn(AC_PROG_CC)_AM_DEPENDENCIES(CC)))dnl AC_PROVIDE_IFELSE(AC_PROG_CXX, - _AM_DEPENDENCIES(CXX), - define(AC_PROG_CXX, - defn(AC_PROG_CXX)_AM_DEPENDENCIES(CXX)))dnl + _AM_DEPENDENCIES(CXX), + m4_define(AC_PROG_CXX, + m4_defn(AC_PROG_CXX)_AM_DEPENDENCIES(CXX)))dnl AC_PROVIDE_IFELSE(AC_PROG_OBJC, - _AM_DEPENDENCIES(OBJC), - define(AC_PROG_OBJC, - defn(AC_PROG_OBJC)_AM_DEPENDENCIES(OBJC)))dnl + _AM_DEPENDENCIES(OBJC), + m4_define(AC_PROG_OBJC, + m4_defn(AC_PROG_OBJC)_AM_DEPENDENCIES(OBJC)))dnl +AC_PROVIDE_IFELSE(AC_PROG_OBJCXX, + _AM_DEPENDENCIES(OBJCXX), + m4_define(AC_PROG_OBJCXX, + m4_defn(AC_PROG_OBJCXX)_AM_DEPENDENCIES(OBJCXX)))dnl ) -_AM_IF_OPTION(silent-rules, AC_REQUIRE(AM_SILENT_RULES))dnl -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_REQUIRE(AM_SILENT_RULES)dnl +dnl The testsuite driver may need to know about EXEEXT, so add the +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl m4_provide_if(_AM_COMPILER_EXEEXT, AM_CONDITIONAL(am__EXEEXT, test -n "$EXEEXT")))dnl + +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: <http://www.gnu.org/software/coreutils/>. + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + AC_MSG_ERROR(Your 'rm' program is bad, sorry.) + fi +fi +dnl The trailing newline in this macro's definition is deliberate, for +dnl backward compatibility and to allow trailing 'dnl'-style comments +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ) -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define(_AC_COMPILER_EXEEXT, m4_defn(_AC_COMPILER_EXEEXT)m4_provide(_AM_COMPILER_EXEEXT)) - # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. @@ -978,7 +1042,7 @@ done echo "timestamp for $_am_arg" >`AS_DIRNAME("$_am_arg")`/stamp-h$_am_stamp_count) -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -989,7 +1053,7 @@ # Define $install_sh. AC_DEFUN(AM_PROG_INSTALL_SH, AC_REQUIRE(AM_AUX_DIR_EXPAND)dnl -if test x"${install_sh}" != xset; then +if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; @@ -997,11 +1061,11 @@ install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi -AC_SUBST(install_sh)) +AC_SUBST(install_sh)) dnl IT_PROG_INTLTOOL(MINIMUM-VERSION, no-xml) -# serial 40 IT_PROG_INTLTOOL +# serial 42 IT_PROG_INTLTOOL AC_DEFUN(IT_PROG_INTLTOOL, AC_PREREQ(2.50)dnl AC_REQUIRE(AM_NLS)dnl @@ -1014,13 +1078,11 @@ ;; esac +INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` +INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` if test -n "$1"; then AC_MSG_CHECKING(for intltool >= $1) - - INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` - INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` - INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` - AC_MSG_RESULT($INTLTOOL_APPLIED_VERSION found) test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || AC_MSG_ERROR(Your intltool is too old. You need intltool $1 or later.) @@ -1033,25 +1095,48 @@ AC_MSG_ERROR(The intltool scripts were not found. Please install intltool.) 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 $< $@' -INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.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 $< $@' - INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' - INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' -INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u --no-translations $< $@' - INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +if test -z "$AM_DEFAULT_VERBOSITY"; then + AM_DEFAULT_VERBOSITY=1 +fi +AC_SUBST(AM_DEFAULT_VERBOSITY) + +INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' +INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' +INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' +AC_SUBST(INTLTOOL_V_MERGE) +AC_SUBST(INTLTOOL__v_MERGE_) +AC_SUBST(INTLTOOL__v_MERGE_0) + +INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' +intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' +intltool__v_merge_options_0='-q' +AC_SUBST(INTLTOOL_V_MERGE_OPTIONS) +AC_SUBST(intltool__v_merge_options_) +AC_SUBST(intltool__v_merge_options_0) + + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' + INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' +else + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' +fi + INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' _IT_SUBST(INTLTOOL_DESKTOP_RULE) _IT_SUBST(INTLTOOL_DIRECTORY_RULE) @@ -1112,31 +1197,6 @@ # Substitute ALL_LINGUAS so we can use it in po/Makefile AC_SUBST(ALL_LINGUAS) -# Set DATADIRNAME correctly if it is not set yet -# (copied from glib-gettext.m4) -if test -z "$DATADIRNAME"; then - AC_LINK_IFELSE( - AC_LANG_PROGRAM(, - extern int _nl_msg_cat_cntr; - return _nl_msg_cat_cntr), - DATADIRNAME=share, - case $host in - *-*-solaris*) - dnl On Solaris, if bind_textdomain_codeset is in libc, - dnl GNU format message catalog is always supported, - dnl since both are added to the libc all together. - dnl Hence, we'd like to go with DATADIRNAME=share - dnl in this case. - AC_CHECK_FUNC(bind_textdomain_codeset, - DATADIRNAME=share, DATADIRNAME=lib) - ;; - *) - DATADIRNAME=lib - ;; - esac) -fi -AC_SUBST(DATADIRNAME) - IT_PO_SUBDIR(po) ) @@ -1193,14 +1253,12 @@ # AC_DEFUN(AC_PROG_INTLTOOL, ...) -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2003-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 2 - # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN(AM_SET_LEADING_DOT, @@ -1217,20 +1275,17 @@ # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. +# Copyright (C) 1996-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 5 - # AM_MAINTAINER_MODE(DEFAULT-MODE) # ---------------------------------- # Control maintainer-specific portions of Makefiles. -# Default is to disable them, unless `enable' is passed literally. -# For symmetry, `disable' may be passed as well. Anyway, the user +# Default is to disable them, unless 'enable' is passed literally. +# For symmetry, 'disable' may be passed as well. Anyway, the user # can override the default with the --enable/--disable switch. AC_DEFUN(AM_MAINTAINER_MODE, m4_case(m4_default($1, disable), @@ -1238,13 +1293,14 @@ disable, m4_define(am_maintainer_other, enable), m4_define(am_maintainer_other, enable) m4_warn(syntax, unexpected argument to AM@&t@_MAINTAINER_MODE: $1)) -AC_MSG_CHECKING(whether to am_maintainer_other maintainer-specific portions of Makefiles) +AC_MSG_CHECKING(whether to enable maintainer-specific portions of Makefiles) dnl maintainer-mode's default is 'disable' unless 'enable' is passed AC_ARG_ENABLE(maintainer-mode, - --am_maintainer_other-maintainer-mode am_maintainer_other make rules and dependencies not useful - (and sometimes confusing) to the casual installer, - USE_MAINTAINER_MODE=$enableval, - USE_MAINTAINER_MODE=m4_if(am_maintainer_other, enable, no, yes)) + AS_HELP_STRING(--am_maintainer_other-maintainer-mode, + am_maintainer_other make rules and dependencies not useful + (and sometimes confusing) to the casual installer), + USE_MAINTAINER_MODE=$enableval, + USE_MAINTAINER_MODE=m4_if(am_maintainer_other, enable, no, yes)) AC_MSG_RESULT($USE_MAINTAINER_MODE) AM_CONDITIONAL(MAINTAINER_MODE, test $USE_MAINTAINER_MODE = yes) MAINT=$MAINTAINER_MODE_TRUE @@ -1252,18 +1308,14 @@ ) -AU_DEFUN(jm_MAINTAINER_MODE, AM_MAINTAINER_MODE) - # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 4 - # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. @@ -1281,7 +1333,7 @@ _am_result=none # First try GNU make style include. echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. +# Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include @@ -1308,15 +1360,12 @@ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. +# Copyright (C) 1997-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 6 - # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN(AM_MISSING_PROG, @@ -1324,11 +1373,10 @@ $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)) - # AM_MISSING_HAS_RUN # ------------------ -# Define MISSING if not defined so far and test if it supports --run. -# If it does, set am_missing_run to use it, otherwise, to nothing. +# Define MISSING if not defined so far and test if it is modern enough. +# If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN(AM_MISSING_HAS_RUN, AC_REQUIRE(AM_AUX_DIR_EXPAND)dnl AC_REQUIRE_AUX_FILE(missing)dnl @@ -1341,54 +1389,28 @@ esac fi # Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " else am_missing_run= - AC_MSG_WARN(`missing' script is too old or missing) + AC_MSG_WARN('missing' script is too old or missing) fi ) -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_MKDIR_P -# --------------- -# Check for `mkdir -p'. -AC_DEFUN(AM_PROG_MKDIR_P, -AC_PREREQ(2.60)dnl -AC_REQUIRE(AC_PROG_MKDIR_P)dnl -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, -dnl while keeping a definition of mkdir_p for backward compatibility. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of -dnl Makefile.ins that do not define MKDIR_P, so we do our own -dnl adjustment using top_builddir (which is defined more often than -dnl MKDIR_P). -AC_SUBST(mkdir_p, "$MKDIR_P")dnl -case $mkdir_p in - \\/$* | ?:\\/*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac -) - # nls.m4 serial 5 (gettext-0.18) -dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 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. dnl -dnl This file can can be used in projects which are not available under +dnl This file can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU -dnl gettext package package is covered by the GNU General Public License. +dnl gettext package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: @@ -1410,27 +1432,25 @@ # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 4 - # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN(_AM_MANGLE_OPTION, _AM_OPTION_m4_bpatsubst($1, ^a-zA-Z0-9_, _)) # _AM_SET_OPTION(NAME) -# ------------------------------ +# -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN(_AM_SET_OPTION, -m4_define(_AM_MANGLE_OPTION($1), 1)) +m4_define(_AM_MANGLE_OPTION($1), 1)) # _AM_SET_OPTIONS(OPTIONS) -# ---------------------------------- +# ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN(_AM_SET_OPTIONS, m4_foreach_w(_AM_Option, $1, _AM_SET_OPTION(_AM_Option))) @@ -1469,7 +1489,8 @@ # ---------------------------------- AC_DEFUN(PKG_PROG_PKG_CONFIG, m4_pattern_forbid(^_?PKG_A-Z_+$) -m4_pattern_allow(^PKG_CONFIG(_PATH)?$) +m4_pattern_allow(^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$) +m4_pattern_allow(^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$) AC_ARG_VAR(PKG_CONFIG, path to pkg-config utility) AC_ARG_VAR(PKG_CONFIG_PATH, directories to add to pkg-config's search path) AC_ARG_VAR(PKG_CONFIG_LIBDIR, path overriding pkg-config's built-in search path) @@ -1515,7 +1536,8 @@ pkg_cv_$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS($3, - pkg_cv_$1=`$PKG_CONFIG --$2 "$3" 2>/dev/null`, + pkg_cv_$1=`$PKG_CONFIG --$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes , pkg_failed=yes) else pkg_failed=untried @@ -1563,9 +1585,9 @@ AC_MSG_RESULT(no) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then - $1_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` + $1_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else - $1_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` + $1_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1_PKG_ERRORS" >&AS_MESSAGE_LOG_FD @@ -1599,24 +1621,137 @@ fidnl )# PKG_CHECK_MODULES -# Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 -# Free Software Foundation, Inc. +# PKG_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable pkgconfigdir as the location where a module +# should install pkg-config .pc files. By default the directory is +# $libdir/pkgconfig, but the default can be changed by passing +# DIRECTORY. The user can override through the --with-pkgconfigdir +# parameter. +AC_DEFUN(PKG_INSTALLDIR, +m4_pushdef(pkg_default, m4_default($1, '${libdir}/pkgconfig')) +m4_pushdef(pkg_description, + pkg-config installation directory @<:@pkg_default@:>@) +AC_ARG_WITH(pkgconfigdir, + AS_HELP_STRING(--with-pkgconfigdir, pkg_description),, + with_pkgconfigdir=pkg_default) +AC_SUBST(pkgconfigdir, $with_pkgconfigdir) +m4_popdef(pkg_default) +m4_popdef(pkg_description) +) dnl PKG_INSTALLDIR + + +# PKG_NOARCH_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable noarch_pkgconfigdir as the location where a +# module should install arch-independent pkg-config .pc files. By +# default the directory is $datadir/pkgconfig, but the default can be +# changed by passing DIRECTORY. The user can override through the +# --with-noarch-pkgconfigdir parameter. +AC_DEFUN(PKG_NOARCH_INSTALLDIR, +m4_pushdef(pkg_default, m4_default($1, '${datadir}/pkgconfig')) +m4_pushdef(pkg_description, + pkg-config arch-independent installation directory @<:@pkg_default@:>@) +AC_ARG_WITH(noarch-pkgconfigdir, + AS_HELP_STRING(--with-noarch-pkgconfigdir, pkg_description),, + with_noarch_pkgconfigdir=pkg_default) +AC_SUBST(noarch_pkgconfigdir, $with_noarch_pkgconfigdir) +m4_popdef(pkg_default) +m4_popdef(pkg_description) +) dnl PKG_NOARCH_INSTALLDIR + + +# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, +# ACTION-IF-FOUND, ACTION-IF-NOT-FOUND) +# ------------------------------------------- +# Retrieves the value of the pkg-config variable for the given module. +AC_DEFUN(PKG_CHECK_VAR, +AC_REQUIRE(PKG_PROG_PKG_CONFIG)dnl +AC_ARG_VAR($1, value of $3 for $2, overriding pkg-config)dnl + +_PKG_CONFIG($1, variable="$3", $2) +AS_VAR_COPY($1, pkg_cv_$1) + +AS_VAR_IF($1, "", $5, $4)dnl +)# PKG_CHECK_VAR + +# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_PROG_CC_C_O +# --------------- +# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC +# to automatically call this. +AC_DEFUN(_AM_PROG_CC_C_O, +AC_REQUIRE(AM_AUX_DIR_EXPAND)dnl +AC_REQUIRE_AUX_FILE(compile)dnl +AC_LANG_PUSH(C)dnl +AC_CACHE_CHECK( + whether $CC understands -c and -o together, + am_cv_prog_cc_c_o, + AC_LANG_CONFTEST(AC_LANG_PROGRAM()) + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if AM_RUN_LOG($CC -c conftest.$ac_ext -o conftest2.$ac_objext) \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i) +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +AC_LANG_POP(C)) + +# For backward compatibility. +AC_DEFUN_ONCE(AM_PROG_CC_C_O, AC_REQUIRE(AC_PROG_CC)) + +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 5 +# AM_RUN_LOG(COMMAND) +# ------------------- +# Run COMMAND, save the exit status in ac_status, and log it. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) +AC_DEFUN(AM_RUN_LOG, +{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + (exit $ac_status); }) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN(AM_SANITY_CHECK, AC_MSG_CHECKING(whether build environment is sane) -# Just in case -sleep 1 -echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' @@ -1627,32 +1762,40 @@ esac case $srcdir in *\\\"\#\$\&\'\`$am_lf\ \ *) - AC_MSG_ERROR(unsafe srcdir value: `$srcdir');; + AC_MSG_ERROR(unsafe srcdir value: '$srcdir');; esac -# Do `set' in a subshell so we don't clobber the current shell's +# Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR(ls -t appears to fail. Make sure there is not a broken -alias in your environment) - fi - + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR(ls -t appears to fail. Make sure there is not a broken + alias in your environment) + fi + if test "$2" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done test "$2" = conftest.file ) then @@ -1662,36 +1805,85 @@ AC_MSG_ERROR(newly created file is older than distributed files! Check your system clock) fi -AC_MSG_RESULT(yes)) +AC_MSG_RESULT(yes) +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi +AC_CONFIG_COMMANDS_PRE( + AC_MSG_CHECKING(that generated files are newer than configure) + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + AC_MSG_RESULT(done)) +rm -f conftest.file +) -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 1 - # AM_SILENT_RULES(DEFAULT) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT -# (`yes' being less verbose, `no' or empty being verbose). +# ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN(AM_SILENT_RULES, -AC_ARG_ENABLE(silent-rules, - --enable-silent-rules less verbose build output (undo: `make V=1') - --disable-silent-rules verbose build output (undo: `make V=0')) -case $enable_silent_rules in -yes) AM_DEFAULT_VERBOSITY=0;; -no) AM_DEFAULT_VERBOSITY=1;; -*) AM_DEFAULT_VERBOSITY=m4_if($1, yes, 0, 1);; +AC_ARG_ENABLE(silent-rules, dnl +AS_HELP_STRING( + --enable-silent-rules, + less verbose build output (undo: "make V=1")) +AS_HELP_STRING( + --disable-silent-rules, + verbose build output (undo: "make V=0"))dnl +) +case $enable_silent_rules in @%:@ ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=m4_if($1, yes, 0, 1);; esac +dnl +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) +dnl do not support nested variable expansions. +dnl See automake bug#9928 and bug#10237. +am_make=${MAKE-make} +AC_CACHE_CHECK(whether $am_make supports nested variables, + am_cv_make_support_nested_variables, + if AS_ECHO('TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit') | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi) +if test $am_cv_make_support_nested_variables = yes; then + dnl Using '$V' instead of '$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AC_SUBST(AM_V)dnl +AM_SUBST_NOTMAKE(AM_V)dnl +AC_SUBST(AM_DEFAULT_V)dnl +AM_SUBST_NOTMAKE(AM_DEFAULT_V)dnl AC_SUBST(AM_DEFAULT_VERBOSITY)dnl AM_BACKSLASH='\' AC_SUBST(AM_BACKSLASH)dnl _AM_SUBST_NOTMAKE(AM_BACKSLASH)dnl ) -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1699,34 +1891,32 @@ # AM_PROG_INSTALL_STRIP # --------------------- -# One issue with vendor `install' (even GNU) is that you can't +# One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we -# always use install-sh in `make install-strip', and initialize +# always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN(AM_PROG_INSTALL_STRIP, AC_REQUIRE(AM_PROG_INSTALL_SH)dnl -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +# will honor the 'STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL(STRIP, strip, :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST(INSTALL_STRIP_PROGRAM)) -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. +# Copyright (C) 2006-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 2 - # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. @@ -1734,24 +1924,22 @@ AC_DEFUN(_AM_SUBST_NOTMAKE) # AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- +# -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN(AM_SUBST_NOTMAKE, _AM_SUBST_NOTMAKE($@)) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 2004-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 2 - # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. -# FORMAT should be one of `v7', `ustar', or `pax'. +# FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory @@ -1761,75 +1949,114 @@ # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar +# AC_DEFUN(_AM_PROG_TAR, -# Always define AMTAR for backward compatibility. -AM_MISSING_PROG(AMTAR, tar) -m4_if($1, v7, - am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -', - m4_case($1, ustar,, pax,, - m4_fatal(Unknown tar format)) -AC_MSG_CHECKING(how to create a $1 tar archive) -# Loop over all known methods to create a tar archive until one works. +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AC_SUBST(AMTAR, '$${TAR-tar}') + +# We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if($1, ustar, plaintar) pax cpio none' -_am_tools=${am_cv_prog_tar_$1-$_am_tools} -# Do not fold the above two line into one, because Tru64 sh and -# Solaris sh will not grok spaces in the rhs of `-'. -for _am_tool in $_am_tools -do - case $_am_tool in - gnutar) - for _am_tar in tar gnutar gtar; - do - AM_RUN_LOG($_am_tar --version) && break - done - am__tar="$_am_tar --format=m4_if($1, pax, posix, $1) -chf - "'"$$tardir"' - am__tar_="$_am_tar --format=m4_if($1, pax, posix, $1) -chf - "'"$tardir"' - am__untar="$_am_tar -xf -" - ;; - plaintar) - # Must skip GNU tar: if it does not support --format= it doesn't create - # ustar tarball either. - (tar --version) >/dev/null 2>&1 && continue - am__tar='tar chf - "$$tardir"' - am__tar_='tar chf - "$tardir"' - am__untar='tar xf -' - ;; - pax) - am__tar='pax -L -x $1 -w "$$tardir"' - am__tar_='pax -L -x $1 -w "$tardir"' - am__untar='pax -r' - ;; - cpio) - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' - am__untar='cpio -i -H $1 -d' - ;; - none) - am__tar=false - am__tar_=false - am__untar=false - ;; - esac - # If the value was cached, stop now. We just wanted to have am__tar - # and am__untar set. - test -n "${am_cv_prog_tar_$1}" && break +m4_if($1, v7, + am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -', + + m4_case($1, + ustar, + # The POSIX 1988 'ustar' format is defined with fixed-size fields. + # There is notably a 21 bits limit for the UID and the GID. In fact, + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 + # and bug#13588). + am_max_uid=2097151 # 2^21 - 1 + am_max_gid=$am_max_uid + # The $UID and $GID variables are not portable, so we need to resort + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls + # below are definitely unexpected, so allow the users to see them + # (that is, avoid stderr redirection). + am_uid=`id -u || echo unknown` + am_gid=`id -g || echo unknown` + AC_MSG_CHECKING(whether UID '$am_uid' is supported by ustar format) + if test $am_uid -le $am_max_uid; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + _am_tools=none + fi + AC_MSG_CHECKING(whether GID '$am_gid' is supported by ustar format) + if test $am_gid -le $am_max_gid; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + _am_tools=none + fi, + + pax, + , + + m4_fatal(Unknown tar format)) + + AC_MSG_CHECKING(how to create a $1 tar archive) + + # Go ahead even if we have the value already cached. We do so because we + # need to set the values for the 'am__tar' and 'am__untar' variables. + _am_tools=${am_cv_prog_tar_$1-$_am_tools} + + for _am_tool in $_am_tools; do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; do + AM_RUN_LOG($_am_tar --version) && break + done + am__tar="$_am_tar --format=m4_if($1, pax, posix, $1) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if($1, pax, posix, $1) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac - # tar/untar a dummy directory, and stop if the command works - rm -rf conftest.dir - mkdir conftest.dir - echo GrepMe > conftest.dir/file - AM_RUN_LOG(tardir=conftest.dir && eval $am__tar_ >conftest.tar) + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works. + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG(tardir=conftest.dir && eval $am__tar_ >conftest.tar) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG($am__untar <conftest.tar) + AM_RUN_LOG(cat conftest.dir/file) + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break + fi + done rm -rf conftest.dir - if test -s conftest.tar; then - AM_RUN_LOG($am__untar <conftest.tar) - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break - fi -done -rm -rf conftest.dir -AC_CACHE_VAL(am_cv_prog_tar_$1, am_cv_prog_tar_$1=$_am_tool) -AC_MSG_RESULT($am_cv_prog_tar_$1)) + AC_CACHE_VAL(am_cv_prog_tar_$1, am_cv_prog_tar_$1=$_am_tool) + AC_MSG_RESULT($am_cv_prog_tar_$1)) + AC_SUBST(am__tar) AC_SUBST(am__untar) ) # _AM_PROG_TAR
View file
yad-0.36.2.tar.xz/build
Added
+(directory)
View file
yad-0.36.2.tar.xz/build/compile
Added
@@ -0,0 +1,347 @@ +#! /bin/sh +# Wrapper for compilers which do not understand '-c -o'. + +scriptversion=2012-10-14.11; # UTC + +# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Written by Tom Tromey <tromey@cygnus.com>. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to <bug-automake@gnu.org> or send patches to +# <automake-patches@gnu.org>. + +nl=' +' + +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent tools from complaining about whitespace usage. +IFS=" "" $nl" + +file_conv= + +# func_file_conv build_file lazy +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. If the determined conversion +# type is listed in (the comma separated) LAZY, no conversion will +# take place. +func_file_conv () +{ + file=$1 + case $file in + / | /!/*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv/,$2, in + *,$file_conv,*) + ;; + mingw/*) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin/*) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine/*) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_cl_dashL linkdir +# Make cl look for libraries in LINKDIR +func_cl_dashL () +{ + func_file_conv "$1" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" +} + +# func_cl_dashl library +# Do a library search-path lookup for cl +func_cl_dashl () +{ + lib=$1 + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + lib=$dir/$lib.dll.lib + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + lib=$dir/$lib.lib + break + fi + if test -f "$dir/lib$lib.a"; then + found=yes + lib=$dir/lib$lib.a + break + fi + done + IFS=$save_IFS + + if test "$found" != yes; then + lib=$lib.lib + fi +} + +# func_cl_wrapper cl arg... +# Adjust compile command to suit cl +func_cl_wrapper () +{ + # Assume a capable shell + lib_path= + shared=: + linker_opts= + for arg + do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + eat=1 + case $2 in + *.o | *.oObBjJ) + func_file_conv "$2" + set x "$@" -Fo"$file" + shift + ;; + *) + func_file_conv "$2" + set x "$@" -Fe"$file" + shift + ;; + esac + ;; + -I) + eat=1 + func_file_conv "$2" mingw + set x "$@" -I"$file" + shift + ;; + -I*) + func_file_conv "${1#-I}" mingw + set x "$@" -I"$file" + shift + ;; + -l) + eat=1 + func_cl_dashl "$2" + set x "$@" "$lib" + shift + ;; + -l*) + func_cl_dashl "${1#-l}" + set x "$@" "$lib" + shift + ;; + -L) + eat=1 + func_cl_dashL "$2" + ;; + -L*) + func_cl_dashL "${1#-L}" + ;; + -static) + shared=false + ;; + -Wl,*) + arg=${1#-Wl,} + save_ifs="$IFS"; IFS=',' + for flag in $arg; do + IFS="$save_ifs" + linker_opts="$linker_opts $flag" + done + IFS="$save_ifs" + ;; + -Xlinker) + eat=1 + linker_opts="$linker_opts $2" + ;; + -*) + set x "$@" "$1" + shift + ;; + *.cc | *.CC | *.cxx | *.CXX | *.cC++) + func_file_conv "$1" + set x "$@" -Tp"$file" + shift + ;; + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.oO) + func_file_conv "$1" mingw + set x "$@" "$file" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift + done + if test -n "$linker_opts"; then + linker_opts="-link$linker_opts" + fi + exec "$@" $linker_opts + exit 1 +} + +eat= + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile --help --version PROGRAM ARGS + +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file 'INSTALL'. + +Report bugs to <bug-automake@gnu.org>. +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; + cl | */\\cl | cl.exe | */\\cl.exe ) + func_cl_wrapper "$@" # Doesn't return... + ;; +esac + +ofile= +cfile= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no '-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # '.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed 's|^.*\\/||; s|^a-zA-Z:||; s/\.c$/.o/'` + +# Create the lock directory. +# Note: use '/\\:.-' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|/\\:.-|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End:
View file
yad-0.36.2.tar.xz/build/depcomp
Added
@@ -0,0 +1,791 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2013-05-30.07; # UTC + +# Copyright (C) 1999-2014 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp --help --version PROGRAM ARGS + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by 'PROGRAMS ARGS'. + object Object file output by 'PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputting dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to <bug-automake@gnu.org>. +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +# Get the directory component of the given path, and save it in the +# global variables '$dir'. Note that this directory component will +# be either empty or ending with a '/' character. This is deliberate. +set_dir_from () +{ + case $1 in + */*) dir=`echo "$1" | sed -e 's|/^/*$|/|'`;; + *) dir=;; + esac +} + +# Get the suffix-stripped basename of the given path, and save it the +# global variable '$base'. +set_base_from () +{ + base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.^.*$//'` +} + +# If no dependency file was actually created by the compiler invocation, +# we still have to create a dummy depfile, to avoid errors with the +# Makefile "include basename.Plo" scheme. +make_dummy_depfile () +{ + echo "#dummy" > "$depfile" +} + +# Factor out some common post-processing of the generated depfile. +# Requires the auxiliary global variable '$tmpdepfile' to be set. +aix_post_process_depfile () +{ + # If the compiler actually managed to produce a dependency file, + # post-process it. + if test -f "$tmpdepfile"; then + # Each line is of the form 'foo.o: dependency.h'. + # Do two passes, one to just change these to + # $object: dependency.h + # and one to simply output + # dependency.h: + # which is needed to avoid the deleted-header problem. + { sed -e "s,^.*\.$lower*:,$object:," < "$tmpdepfile" + sed -e "s,^.*\.$lower*:$tab *,," -e 's,$,:,' < "$tmpdepfile" + } > "$depfile" + rm -f "$tmpdepfile" + else + make_dummy_depfile + fi +} + +# A tabulation character. +tab=' ' +# A newline character. +nl=' +' +# Character ranges might be problematic outside the C locale. +# These definitions help. +upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ +lower=abcdefghijklmnopqrstuvwxyz +digits=0123456789 +alpha=${upper}${lower} + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|^\\/*$|'${DEPDIR-.deps}'/&|;s|\.\(^.*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\(^.*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Avoid interferences from the environment. +gccflag= dashmflag= + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +cygpath_u="cygpath -u -f -" +if test "$depmode" = msvcmsys; then + # This is just like msvisualcpp but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvisualcpp +fi + +if test "$depmode" = msvc7msys; then + # This is just like msvc7 but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvc7 +fi + +if test "$depmode" = xlc; then + # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. + gccflag=-qmakedep=gcc,-MF + depmode=gcc +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. +## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. +## (see the conditional assignment to $gccflag above). +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). Also, it might not be +## supported by the other compilers which use the 'gcc' depmode. +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The second -e expression handles DOS-style file names with drive + # letters. + sed -e 's/^^:*: / /' \ + -e 's/^'$alpha':\/^:*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the "deleted header file" problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. +## Some versions of gcc put a space before the ':'. On the theory +## that the space means something, we add a space to the output as +## well. hp depmode also adds that space, but also prefixes the VPATH +## to the object. Take care to not repeat it in the output. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like '#:fec' to the end of the + # dependency line. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ + | tr "$nl" ' ' >> "$depfile" + echo >> "$depfile" + # The second pass generates a dummy entry for each header file. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" + ;; + +xlc) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts '$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u + "$@" -Wc,-M + else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u + "$@" -M + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + aix_post_process_depfile + ;; + +tcc) + # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 + # FIXME: That version still under development at the moment of writing. + # Make that this statement remains true also for stable, released + # versions. + # It will wrap lines (doesn't matter whether long or short) with a + # trailing '\', as in: + # + # foo.o : \ + # foo.c \ + # foo.h \ + # + # It will put a trailing '\' even on the last line, and will use leading + # spaces rather than leading tabs (at least since its commit 0394caf7 + # "Emit spaces for -MD"). + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. + # We have to change lines of the first kind to '$object: \'. + sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" + # And for each line of the second kind, we have to emit a 'dep.h:' + # dummy dependency, to avoid the deleted-header problem. + sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" + rm -f "$tmpdepfile" + ;; + +## The order of this option in the case statement is important, since the +## shell code in configure will try each of these formats in the order +## listed in this file. A plain '-MD' option would be understood by many +## compilers, so we must ensure this comes after the gcc and icc options. +pgcc) + # Portland's C compiler understands '-MD'. + # Will always output deps to 'file.d' where file is the root name of the + # source file under compilation, even if file resides in a subdirectory. + # The object file name does not affect the name of the '.d' file. + # pgcc 10.2 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using '\' : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + set_dir_from "$object" + # Use the source, not the object, to determine the base name, since + # that's sadly what pgcc will do too. + set_base_from "$source" + tmpdepfile=$base.d + + # For projects that build the same source file twice into different object + # files, the pgcc approach of using the *source* file root name can cause + # problems in parallel builds. Use a locking strategy to avoid stomping on + # the same $tmpdepfile. + lockdir=$base.d-lock + trap " + echo '$0: caught signal, cleaning up...' >&2 + rmdir '$lockdir' + exit 1 + " 1 2 13 15 + numtries=100 + i=$numtries + while test $i -gt 0; do + # mkdir is a portable test-and-set. + if mkdir "$lockdir" 2>/dev/null; then + # This process acquired the lock. + "$@" -MD + stat=$? + # Release the lock. + rmdir "$lockdir" + break + else + # If the lock is being held by a different process, wait + # until the winning process is done or we timeout. + while test -d "$lockdir" && test $i -gt 0; do + sleep 1 + i=`expr $i - 1` + done + fi + i=`expr $i - 1` + done + trap - 1 2 13 15 + if test $i -le 0; then + echo "$0: failed to acquire lock after $numtries attempts" >&2 + echo "$0: check lockdir '$lockdir'" >&2 + exit 1 + fi + + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^^:*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^^:*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.$lower*:,$object:," "$tmpdepfile" > "$depfile" + # Add 'dependent.h:' lines. + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in 'foo.d' instead, so we check for that too. + # Subdirectories are respected. + set_dir_from "$object" + set_base_from "$object" + + if test "$libtool" = yes; then + # Libtool generates 2 separate objects for the 2 libraries. These + # two compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir$base.o.d # libtool 1.5 + tmpdepfile2=$dir.libs/$base.o.d # Likewise. + tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + # Same post-processing that is required for AIX mode. + aix_post_process_depfile + ;; + +msvc7) + if test "$libtool" = yes; then + showIncludes=-Wc,-showIncludes + else + showIncludes=-showIncludes + fi + "$@" $showIncludes > "$tmpdepfile" + stat=$? + grep -v '^Note: including file: ' "$tmpdepfile" + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The first sed program below extracts the file names and escapes + # backslashes for cygpath. The second sed program outputs the file + # name when reading, but also accumulates all include files in the + # hold buffer in order to output them again at the end. This only + # works with sed implementations that can handle large buffers. + sed < "$tmpdepfile" -n ' +/^Note: including file: *\(.*\)/ { + s//\1/ + s/\\/\\\\/g + p +}' | $cygpath_u | sort -u | sed -n ' +s/ /\\ /g +s/\(.*\)/'"$tab"'\1 \\/p +s/.\(.*\) \\/\1:/ +H +$ { + s/.*/'"$tab"'/ + G + p +}' >> "$depfile" + echo >> "$depfile" # make sure the fragment doesn't end with a backslash + rm -f "$tmpdepfile" + ;; + +msvc7msys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for ':' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. + "$@" $dashmflag | + sed "s|^$tab *^:$tab ^:^:*:$tab *|$object: |" > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this sed invocation + # correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no eat=no + for arg + do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + if test $eat = yes; then + eat=no + continue + fi + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -arch) + eat=yes ;; + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix=`echo "$object" | sed 's/^.*\././'` + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + # makedepend may prepend the VPATH from the source file name to the object. + # No need to regex-escape $object, excess matching of '.' is harmless. + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process the last invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed '1,2d' "$tmpdepfile" \ + | tr ' ' "$nl" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E \ + | sed -n -e '/^# 0-90-9* "\(^"*\)".*/ s:: \1 \\:p' \ + -e '/^#line 0-90-9* "\(^"*\)".*/ s:: \1 \\:p' \ + | sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + IFS=" " + for arg + do + case "$arg" in + -o) + shift + ;; + $object) + shift + ;; + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E 2>/dev/null | + sed -n '/^#line 0-90-9* "\(^"*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" + echo "$tab" >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvcmsys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End:
View file
yad-0.36.2.tar.xz/build/install-sh
Added
@@ -0,0 +1,501 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2013-12-25.23; # UTC + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# 'make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +tab=' ' +nl=' +' +IFS=" $tab$nl" + +# Set DOITPROG to "echo" to test this script. + +doit=${DOITPROG-} +doit_exec=${doit:-exec} + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +is_target_a_directory=possibly + +usage="\ +Usage: $0 OPTION... -T SRCFILE DSTFILE + or: $0 OPTION... SRCFILES... DIRECTORY + or: $0 OPTION... -t DIRECTORY SRCFILES... + or: $0 OPTION... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *''*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) + is_target_a_directory=always + dst_arg=$2 + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | =\(\)!) dst_arg=./$dst_arg;; + esac + shift;; + + -T) is_target_a_directory=never;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +# We allow the use of options -d and -T together, by making -d +# take the precedence; this is for compatibility with GNU install. + +if test -n "$dir_arg"; then + if test -n "$dst_arg"; then + echo "$0: target directory not allowed when installing a directory." >&2 + exit 1 + fi +fi + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | =\(\)!) dst_arg=./$dst_arg;; + esac + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call 'install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + if test $# -gt 1 || test "$is_target_a_directory" = always; then + if test ! -d "$dst_arg"; then + echo "$0: $dst_arg: Is not a directory." >&2 + exit 1 + fi + fi +fi + +if test -z "$dir_arg"; then + do_exit='(exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *0-7) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names problematic for 'test' and other utilities. + case $src in + -* | =\(\)!) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + dst=$dst_arg + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test "$is_target_a_directory" = never; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + dstdir=`dirname "$dst"` + test -d "$dstdir" + dstdir_status=$? + fi + fi + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *23672367) mkdir_umask=$umask;; + .*00202 | .0202 | .02) mkdir_umask=22;; + + *0-7) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *1235670-70-7) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + -=\(\)!*) prefix='./';; + *) prefix='';; + esac + + oIFS=$IFS + IFS=/ + set -f + set fnord $dstdir + shift + set +f + IFS=$oIFS + + prefixes= + + for d + do + test X"$d" = X && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + set +f && + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End:
View file
yad-0.36.2.tar.xz/build/missing
Added
@@ -0,0 +1,215 @@ +#! /bin/sh +# Common wrapper for a few potentially missing GNU programs. + +scriptversion=2013-10-28.13; # UTC + +# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try '$0 --help' for more information" + exit 1 +fi + +case $1 in + + --is-lightweight) + # Used by our autoconf macros to check whether the available missing + # script is modern enough. + exit 0 + ;; + + --run) + # Back-compat with the calling convention used by older automake. + shift + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 OPTION... PROGRAM ARGUMENT... + +Run 'PROGRAM ARGUMENT...', returning a proper advice when this fails due +to PROGRAM being missing or too old. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + +Supported PROGRAM values: + aclocal autoconf autoheader autom4te automake makeinfo + bison yacc flex lex help2man + +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and +'g' are ignored when checking the name. + +Send bug reports to <bug-automake@gnu.org>." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: unknown '$1' option" + echo 1>&2 "Try '$0 --help' for more information" + exit 1 + ;; + +esac + +# Run the given program, remember its exit status. +"$@"; st=$? + +# If it succeeded, we are done. +test $st -eq 0 && exit 0 + +# Also exit now if we it failed (or wasn't found), and '--version' was +# passed; such an option is passed most likely to detect whether the +# program is present and works. +case $2 in --version|--help) exit $st;; esac + +# Exit code 63 means version mismatch. This often happens when the user +# tries to use an ancient version of a tool on a file that requires a +# minimum version. +if test $st -eq 63; then + msg="probably too old" +elif test $st -eq 127; then + # Program was missing. + msg="missing on your system" +else + # Program was found and executed, but failed. Give up. + exit $st +fi + +perl_URL=http://www.perl.org/ +flex_URL=http://flex.sourceforge.net/ +gnu_software_URL=http://www.gnu.org/software + +program_details () +{ + case $1 in + aclocal|automake) + echo "The '$1' program is part of the GNU Automake package:" + echo "<$gnu_software_URL/automake>" + echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/autoconf>" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + autoconf|autom4te|autoheader) + echo "The '$1' program is part of the GNU Autoconf package:" + echo "<$gnu_software_URL/autoconf/>" + echo "It also requires GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + esac +} + +give_advice () +{ + # Normalize program name to check for. + normalized_program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + + printf '%s\n' "'$1' is $msg." + + configure_deps="'configure.ac' or m4 files included by 'configure.ac'" + case $normalized_program in + autoconf*) + echo "You should only need it if you modified 'configure.ac'," + echo "or m4 files included by it." + program_details 'autoconf' + ;; + autoheader*) + echo "You should only need it if you modified 'acconfig.h' or" + echo "$configure_deps." + program_details 'autoheader' + ;; + automake*) + echo "You should only need it if you modified 'Makefile.am' or" + echo "$configure_deps." + program_details 'automake' + ;; + aclocal*) + echo "You should only need it if you modified 'acinclude.m4' or" + echo "$configure_deps." + program_details 'aclocal' + ;; + autom4te*) + echo "You might have modified some maintainer files that require" + echo "the 'autom4te' program to be rebuilt." + program_details 'autom4te' + ;; + bison*|yacc*) + echo "You should only need it if you modified a '.y' file." + echo "You may want to install the GNU Bison package:" + echo "<$gnu_software_URL/bison/>" + ;; + lex*|flex*) + echo "You should only need it if you modified a '.l' file." + echo "You may want to install the Fast Lexical Analyzer package:" + echo "<$flex_URL>" + ;; + help2man*) + echo "You should only need it if you modified a dependency" \ + "of a man page." + echo "You may want to install the GNU Help2man package:" + echo "<$gnu_software_URL/help2man/>" + ;; + makeinfo*) + echo "You should only need it if you modified a '.texi' file, or" + echo "any other file indirectly affecting the aspect of the manual." + echo "You might want to install the Texinfo package:" + echo "<$gnu_software_URL/texinfo/>" + echo "The spurious makeinfo call might also be the consequence of" + echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" + echo "want to install GNU make:" + echo "<$gnu_software_URL/make/>" + ;; + *) + echo "You might have modified some files without having the proper" + echo "tools for further handling them. Check the 'README' file, it" + echo "often tells you about the needed prerequisites for installing" + echo "this package. You may also peek at any GNU archive site, in" + echo "case some other package contains this missing '$1' program." + ;; + esac +} + +give_advice "$1" | sed -e '1s/^/WARNING: /' \ + -e '2,$s/^/ /' >&2 + +# Propagate the correct exit status (expected to be 127 for a program +# not found, 63 for a program that failed due to version mismatch). +exit $st + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End:
View file
yad-0.16.3.tar.bz2/config.h.in -> yad-0.36.2.tar.xz/config.h.in
Changed
@@ -15,6 +15,12 @@ /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT +/* Define this if you have glib gio framework */ +#undef HAVE_GIO + +/* Define this if you have webkit installed */ +#undef HAVE_HTML + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H @@ -27,6 +33,12 @@ /* Define to 1 if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H +/* Define this if you need GtkSourceView support */ +#undef HAVE_SOURCEVIEW + +/* Define this if you need spell check support */ +#undef HAVE_SPELL + /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H
View file
yad-0.16.3.tar.bz2/configure -> yad-0.36.2.tar.xz/configure
Changed
@@ -1,13 +1,11 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for YAD 0.16.3. +# Generated by GNU Autoconf 2.69 for YAD 0.36.2. # -# Report bugs to <http://code.google.com/p/yad/issues/entry>. +# Report bugs to <https://sourceforge.net/p/yad-dialog/tickets/>. # # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software -# Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -136,6 +134,31 @@ # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh @@ -169,7 +192,8 @@ else exitcode=1; echo positional parameters were not saved. fi -test x\$exitcode = x0 || exit 1" +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && @@ -214,21 +238,25 @@ if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - # Preserve -v and -x to the replacement shell. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; - esac - exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi if test x$as_have_required = xno; then : @@ -239,10 +267,10 @@ $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and -$0: http://code.google.com/p/yad/issues/entry about your -$0: system, including any error possibly output before this -$0: message. Then install a modern shell, or manually run -$0: the script under such a shell if you do have one." +$0: https://sourceforge.net/p/yad-dialog/tickets/ about +$0: your system, including any error possibly output before +$0: this message. Then install a modern shell, or manually +$0: run the script under such a shell if you do have one." fi exit 1 fi @@ -331,6 +359,14 @@ } # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take @@ -452,6 +488,10 @@ chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $0, causing all sort of problems # (the dirname of $0 is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). @@ -486,16 +526,16 @@ # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -507,28 +547,8 @@ as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???sx*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%^_$as_cr_alnum%_%g'" @@ -560,10 +580,10 @@ # Identity of this package. PACKAGE_NAME='YAD' PACKAGE_TARNAME='yad' -PACKAGE_VERSION='0.16.3' -PACKAGE_STRING='YAD 0.16.3' -PACKAGE_BUGREPORT='http://code.google.com/p/yad/issues/entry' -PACKAGE_URL='http://code.google.com/p/yad' +PACKAGE_VERSION='0.36.2' +PACKAGE_STRING='YAD 0.36.2' +PACKAGE_BUGREPORT='https://sourceforge.net/p/yad-dialog/tickets/' +PACKAGE_URL='https://sourceforge.net/projects/yad-dialog/' ac_unique_file="src" # Factoring default headers for most tests. @@ -617,6 +637,7 @@ INTLLIBS INSTOBJEXT GMOFILES +DATADIRNAME CATOBJEXT CATALOGS MSGFMT_OPTS @@ -626,16 +647,26 @@ GETTEXT_PACKAGE BUILD_IB_FALSE BUILD_IB_TRUE +SOURCEVIEW_LIBS +SOURCEVIEW_CFLAGS +SPELL_LIBS +SPELL_CFLAGS +GIO_LIBS +GIO_CFLAGS +HTML_FALSE +HTML_TRUE +HTML_LIBS +HTML_CFLAGS DISABLE_DEPRECATED -YAD_LIBS -YAD_CFLAGS +GTK_LIBS +GTK_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG -DATADIRNAME am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE +am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE @@ -674,6 +705,12 @@ INTLTOOL_KEYS_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_DESKTOP_RULE +intltool__v_merge_options_0 +intltool__v_merge_options_ +INTLTOOL_V_MERGE_OPTIONS +INTLTOOL__v_MERGE_0 +INTLTOOL__v_MERGE_ +INTLTOOL_V_MERGE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE @@ -683,6 +720,8 @@ MAINTAINER_MODE_TRUE AM_BACKSLASH AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V am__untar am__tar AMTAR @@ -753,8 +792,12 @@ enable_dependency_tracking with_gtk enable_deprecated -enable_icon_browser with_rgb +enable_html +enable_gio +enable_spell +enable_sourceview +enable_icon_browser ' ac_precious_vars='build_alias host_alias @@ -767,8 +810,16 @@ PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR -YAD_CFLAGS -YAD_LIBS +GTK_CFLAGS +GTK_LIBS +HTML_CFLAGS +HTML_LIBS +GIO_CFLAGS +GIO_LIBS +SPELL_CFLAGS +SPELL_LIBS +SOURCEVIEW_CFLAGS +SOURCEVIEW_LIBS CPP' @@ -1225,8 +1276,6 @@ 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 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi @@ -1312,7 +1361,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 YAD 0.16.3 to adapt to many kinds of systems. +\`configure' configures YAD 0.36.2 to adapt to many kinds of systems. Usage: $0 OPTION... VAR=VALUE... @@ -1378,7 +1427,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of YAD 0.16.3:";; + short | recursive ) echo "Configuration of YAD 0.36.2:";; esac cat <<\_ACEOF @@ -1386,20 +1435,26 @@ --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE=ARG include FEATURE ARG=yes - --enable-silent-rules less verbose build output (undo: `make V=1') - --disable-silent-rules verbose build output (undo: `make V=0') - --enable-maintainer-mode enable make rules and dependencies not useful - (and sometimes confusing) to the casual installer + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") + --enable-maintainer-mode + enable make rules and dependencies not useful (and + sometimes confusing) to the casual installer --disable-nls do not use Native Language Support - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors + --enable-dependency-tracking + do not reject slow dependency extractors + --disable-dependency-tracking + speeds up one-time build --disable-deprecated Disable deprecated GTK functions + --enable-html Build YAD with HTML widget + --enable-gio Build YAD with GIO support + --enable-spell Build YAD with Spell check support (default - no) + --enable-sourceview Build YAD with GtkSourceView support (default - no) --enable-icon-browser Build YAD icon browser Optional Packages: --with-PACKAGE=ARG use PACKAGE ARG=yes --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) -gtkver="$withval" --with-gtk=gtk2|gtk3 set the GTK+ version to use (default - gtk2) --with-rgb=PATH set path to rgb.txt file (default - /etc/X11/rgb.txt) @@ -1417,15 +1472,26 @@ directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path - YAD_CFLAGS C compiler flags for YAD, overriding pkg-config - YAD_LIBS linker flags for YAD, overriding pkg-config + GTK_CFLAGS C compiler flags for GTK, overriding pkg-config + GTK_LIBS linker flags for GTK, overriding pkg-config + HTML_CFLAGS C compiler flags for HTML, overriding pkg-config + HTML_LIBS linker flags for HTML, overriding pkg-config + GIO_CFLAGS C compiler flags for GIO, overriding pkg-config + GIO_LIBS linker flags for GIO, overriding pkg-config + SPELL_CFLAGS + C compiler flags for SPELL, overriding pkg-config + SPELL_LIBS linker flags for SPELL, overriding pkg-config + SOURCEVIEW_CFLAGS + C compiler flags for SOURCEVIEW, overriding pkg-config + SOURCEVIEW_LIBS + linker flags for SOURCEVIEW, overriding pkg-config CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. -Report bugs to <http://code.google.com/p/yad/issues/entry>. -YAD home page: <http://code.google.com/p/yad>. +Report bugs to <https://sourceforge.net/p/yad-dialog/tickets/>. +YAD home page: <https://sourceforge.net/projects/yad-dialog/>. _ACEOF ac_status=$? fi @@ -1488,10 +1554,10 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -YAD configure 0.16.3 -generated by GNU Autoconf 2.68 +YAD configure 0.36.2 +generated by GNU Autoconf 2.69 -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1540,119 +1606,6 @@ } # ac_fn_c_try_compile -# ac_fn_c_try_link LINENO -# ----------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_link - -# ac_fn_c_check_func LINENO FUNC VAR -# ---------------------------------- -# Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_c_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case <limits.h> declares $2. - For example, HP-UX 11i <limits.h> declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - -#undef $2 - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_func - # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. @@ -1690,48 +1643,6 @@ } # ac_fn_c_try_cpp -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_run - # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using @@ -1802,9 +1713,9 @@ $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -( $as_echo "## -------------------------------------------------------- ## -## Report this to http://code.google.com/p/yad/issues/entry ## -## -------------------------------------------------------- ##" +( $as_echo "## ------------------------------------------------------------ ## +## Report this to https://sourceforge.net/p/yad-dialog/tickets/ ## +## ------------------------------------------------------------ ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac @@ -1823,6 +1734,48 @@ } # ac_fn_c_check_header_mongrel +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in @@ -1853,12 +1806,125 @@ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case <limits.h> declares $2. + For example, HP-UX 11i <limits.h> declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + <limits.h> exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by YAD $as_me 0.16.3, which was -generated by GNU Autoconf 2.68. Invocation command line was +It was created by YAD $as_me 0.36.2, which was +generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2205,10 +2271,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -am__api_version='1.11' - ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do +for ac_dir in build "$srcdir"/build; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" @@ -2224,7 +2288,7 @@ 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 build \"$srcdir\"/build" "$LINENO" 5 fi # These three variables are undocumented and unsupported, @@ -2236,6 +2300,9 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + +am__api_version='1.15' + # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: @@ -2273,7 +2340,7 @@ # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. @@ -2331,9 +2398,6 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' @@ -2344,32 +2408,40 @@ 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 +# Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken -alias in your environment" "$LINENO" 5 - fi + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken + alias in your environment" "$LINENO" 5 + fi + if test "$2" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done test "$2" = conftest.file ) then @@ -2381,6 +2453,16 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi + +rm -f conftest.file + test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. @@ -2391,8 +2473,8 @@ ac_script='s/\\$/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in @@ -2403,15 +2485,15 @@ esac fi # Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " else am_missing_run= - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi -if test x"${install_sh}" != xset; then +if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; @@ -2420,10 +2502,10 @@ esac fi -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. +# will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. @@ -2442,7 +2524,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2482,7 +2564,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2533,7 +2615,7 @@ test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ @@ -2562,12 +2644,6 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } -mkdir_p="$MKDIR_P" -case $mkdir_p in - \\/$* | ?:\\/*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac - for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. @@ -2586,7 +2662,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2650,6 +2726,45 @@ fi rmdir .tst 2>/dev/null +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=1;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -2672,7 +2787,7 @@ # Define the identity of the package. PACKAGE='yad' - VERSION='0.16.3' + VERSION='0.36.2' cat >>confdefs.h <<_ACEOF @@ -2686,13 +2801,13 @@ # Some tools Automake needs. -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} @@ -2700,28 +2815,108 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -# Always define AMTAR for backward compatibility. +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> +mkdir_p='$(MKDIR_P)' + +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' + + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar pax cpio none' + +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + -AMTAR=${AMTAR-"${am_missing_run}tar"} -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: <http://www.gnu.org/software/coreutils/>. + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 + fi +fi # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi -case $enable_silent_rules in -yes) AM_DEFAULT_VERBOSITY=0;; -no) AM_DEFAULT_VERBOSITY=1;; -*) AM_DEFAULT_VERBOSITY=0;; +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=0;; esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi AM_BACKSLASH='\' @@ -2769,986 +2964,6 @@ $as_echo "$USE_NLS" >&6; } -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 -$as_echo_n "checking for style of include used by $am_make... " >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 -$as_echo "$_am_result" >&6; } -rm -f confinc confmf - -# Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then : - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest^ *//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { { ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - ab.out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '^.*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "C compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '^.*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details" "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdio.h> -int -main () -{ -FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -ac_clean_files="$ac_clean_files conftest.out" -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -if test "$cross_compiling" != yes; then - { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if { ac_try='./conftest$ac_cv_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5; } - fi - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if ${ac_cv_objext+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if ${ac_cv_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if ${ac_cv_prog_cc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdarg.h> -#include <stdio.h> -#include <sys/types.h> -#include <sys/stat.h> -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return pi; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array '\x00' == 0 ? 1 : -1; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_arrayFOO(a) == 'x' ? 1 : -1; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv0 || f (e, argv, 1) != argv1; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_CC_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\(a-zA-Z0-9*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi - - - case "$am__api_version" in @@ -3759,14 +2974,12 @@ ;; esac +INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` +INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` if test -n "0.40.0"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5 $as_echo_n "checking for intltool >= 0.40.0... " >&6; } - - INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` - INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` - INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` - { $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" || @@ -3791,7 +3004,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3831,7 +3044,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3871,7 +3084,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3897,25 +3110,48 @@ 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 $< $@' -INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.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 $< $@' - INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' - INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' -INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u --no-translations $< $@' - INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +if test -z "$AM_DEFAULT_VERBOSITY"; then + AM_DEFAULT_VERBOSITY=1 +fi + + +INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' +INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' +INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' + + + + +INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' +intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' +intltool__v_merge_options_0='-q' + + + + + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' + INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' +else + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' +fi + INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' @@ -4032,7 +3268,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4072,7 +3308,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4112,7 +3348,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4152,7 +3388,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4203,7 +3439,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4252,44 +3488,6 @@ # Substitute ALL_LINGUAS so we can use it in po/Makefile -# Set DATADIRNAME correctly if it is not set yet -# (copied from glib-gettext.m4) -if test -z "$DATADIRNAME"; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -extern int _nl_msg_cat_cntr; - return _nl_msg_cat_cntr - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - DATADIRNAME=share -else - case $host in - *-*-solaris*) - ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" -if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : - DATADIRNAME=share -else - DATADIRNAME=lib -fi - - ;; - *) - DATADIRNAME=lib - ;; - esac -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi - - @@ -4316,7 +3514,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4356,7 +3554,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4409,7 +3607,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4450,7 +3648,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue @@ -4508,7 +3706,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4552,7 +3750,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4622,6 +3820,256 @@ test $ac_status = 0; } done +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest^ *//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + ab.out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '^.*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '^.*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdio.h> +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : @@ -4748,8 +4196,7 @@ /* end confdefs.h. */ #include <stdarg.h> #include <stdio.h> -#include <sys/types.h> -#include <sys/stat.h> +struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); @@ -4834,6 +4281,128 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } +if ${am_cv_prog_cc_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +$as_echo "$am_cv_prog_cc_c_o" >&6; } +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from 'make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 @@ -4845,8 +4414,9 @@ # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -4880,16 +4450,16 @@ : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - # We check with `-c' and `-o' for the sake of the "dashmstdout" + # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in @@ -4898,16 +4468,16 @@ test "$am__universal" = false || continue ;; nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} @@ -4965,33 +4535,31 @@ # Check whether --with-gtk was given. if test "${with_gtk+set}" = set; then : - withval=$with_gtk; gtkver="gtk2" -fi - - -# Check whether --with-gtk was given. -if test "${with_gtk+set}" = set; then : withval=$with_gtk; case "$with_gtk" in - gtk2|gtk3) ;; - *) as_fn_error $? "invalid gtk version specified" "$LINENO" 5 ;; - esac + gtk2|gtk3) ;; + *) as_fn_error $? "invalid gtk version specified" "$LINENO" 5 ;; + esac else with_gtk=gtk2 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk" >&5 -$as_echo "$with_gtk" >&6; } case "$with_gtk" in gtk3) GTK_MODULE="gtk+-3.0" GTK_REQUIRED="3.0.0" GTK_PRINT="gtk+-unix-print-3.0" + WEBKIT="webkitgtk-3.0" + SPELL="gtkspell3-3.0" + SOURCEVIEW="gtksourceview-3.0" ;; gtk2) GTK_MODULE="gtk+-2.0" GTK_REQUIRED="2.16.0" GTK_PRINT="gtk+-unix-print-2.0" + WEBKIT="webkit-1.0" + SPELL="gtkspell3-2.0" + SOURCEVIEW="gtksourceview-2.0" ;; esac @@ -5000,6 +4568,7 @@ + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. @@ -5020,7 +4589,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5063,7 +4632,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5115,11 +4684,11 @@ fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for YAD" >&5 -$as_echo_n "checking for YAD... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 +$as_echo_n "checking for GTK... " >&6; } -if test -n "$YAD_CFLAGS"; then - pkg_cv_YAD_CFLAGS="$YAD_CFLAGS" +if test -n "$GTK_CFLAGS"; then + pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTK_MODULE >= \$GTK_REQUIRED \$GTK_PRINT\""; } >&5 @@ -5127,15 +4696,16 @@ ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_YAD_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT" 2>/dev/null` + pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi -if test -n "$YAD_LIBS"; then - pkg_cv_YAD_LIBS="$YAD_LIBS" +if test -n "$GTK_LIBS"; then + pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTK_MODULE >= \$GTK_REQUIRED \$GTK_PRINT\""; } >&5 @@ -5143,7 +4713,8 @@ ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_YAD_LIBS=`$PKG_CONFIG --libs "$GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT" 2>/dev/null` + pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -5163,22 +4734,22 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - YAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT" 2>&1` + GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT" 2>&1` else - YAD_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT" 2>&1` + GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT" 2>&1` fi # Put the nasty error message in config.log where it belongs - echo "$YAD_PKG_ERRORS" >&5 + echo "$GTK_PKG_ERRORS" >&5 as_fn_error $? "Package requirements ($GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT) were not met: -$YAD_PKG_ERRORS +$GTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. -Alternatively, you may set the environment variables YAD_CFLAGS -and YAD_LIBS to avoid the need to call pkg-config. +Alternatively, you may set the environment variables GTK_CFLAGS +and GTK_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 @@ -5189,15 +4760,15 @@ is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. -Alternatively, you may set the environment variables YAD_CFLAGS -and YAD_LIBS to avoid the need to call pkg-config. +Alternatively, you may set the environment variables GTK_CFLAGS +and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see <http://pkg-config.freedesktop.org/>. See \`config.log' for more details" "$LINENO" 5; } else - YAD_CFLAGS=$pkg_cv_YAD_CFLAGS - YAD_LIBS=$pkg_cv_YAD_LIBS + GTK_CFLAGS=$pkg_cv_GTK_CFLAGS + GTK_LIBS=$pkg_cv_GTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } @@ -5225,6 +4796,394 @@ +with_rgb="/etc/X11/rgb.txt" + +# Check whether --with-rgb was given. +if test "${with_rgb+set}" = set; then : + withval=$with_rgb; +cat >>confdefs.h <<_ACEOF +#define RGB_FILE "$withval" +_ACEOF + +else + +$as_echo "#define RGB_FILE \"/etc/X11/rgb.txt\"" >>confdefs.h + +fi + + +# Check whether --enable-html was given. +if test "${enable_html+set}" = set; then : + enableval=$enable_html; build_html=$enableval +else + build_html=yes +fi + +if test x$build_html = xyes; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HTML" >&5 +$as_echo_n "checking for HTML... " >&6; } + +if test -n "$HTML_CFLAGS"; then + pkg_cv_HTML_CFLAGS="$HTML_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WEBKIT\""; } >&5 + ($PKG_CONFIG --exists --print-errors "$WEBKIT") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_HTML_CFLAGS=`$PKG_CONFIG --cflags "$WEBKIT" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$HTML_LIBS"; then + pkg_cv_HTML_LIBS="$HTML_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WEBKIT\""; } >&5 + ($PKG_CONFIG --exists --print-errors "$WEBKIT") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_HTML_LIBS=`$PKG_CONFIG --libs "$WEBKIT" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + HTML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$WEBKIT" 2>&1` + else + HTML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$WEBKIT" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$HTML_PKG_ERRORS" >&5 + + have_html=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_html=no +else + HTML_CFLAGS=$pkg_cv_HTML_CFLAGS + HTML_LIBS=$pkg_cv_HTML_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_html=yes +fi +else + have_html=no +fi + + + if test x$have_html = xyes; then + HTML_TRUE= + HTML_FALSE='#' +else + HTML_TRUE='#' + HTML_FALSE= +fi + + +if test x$have_html = xyes; then + +$as_echo "#define HAVE_HTML 1" >>confdefs.h + +fi + +# Check whether --enable-gio was given. +if test "${enable_gio+set}" = set; then : + enableval=$enable_gio; build_gio=$enableval +else + build_gio=yes +fi + +if test x$build_gio = xyes; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5 +$as_echo_n "checking for GIO... " >&6; } + +if test -n "$GIO_CFLAGS"; then + pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GIO_LIBS"; then + pkg_cv_GIO_LIBS="$GIO_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1` + else + GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GIO_PKG_ERRORS" >&5 + + have_gio=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_gio=no +else + GIO_CFLAGS=$pkg_cv_GIO_CFLAGS + GIO_LIBS=$pkg_cv_GIO_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_gio=yes +fi +else + have_gio=no +fi + + + +if test x$have_gio = xyes; then + +$as_echo "#define HAVE_GIO 1" >>confdefs.h + +fi + +# Check whether --enable-spell was given. +if test "${enable_spell+set}" = set; then : + enableval=$enable_spell; with_spell=$enableval +else + with_spell=no +fi + +if test x$with_spell = xyes; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPELL" >&5 +$as_echo_n "checking for SPELL... " >&6; } + +if test -n "$SPELL_CFLAGS"; then + pkg_cv_SPELL_CFLAGS="$SPELL_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SPELL\""; } >&5 + ($PKG_CONFIG --exists --print-errors "$SPELL") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SPELL_CFLAGS=`$PKG_CONFIG --cflags "$SPELL" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SPELL_LIBS"; then + pkg_cv_SPELL_LIBS="$SPELL_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SPELL\""; } >&5 + ($PKG_CONFIG --exists --print-errors "$SPELL") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SPELL_LIBS=`$PKG_CONFIG --libs "$SPELL" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SPELL" 2>&1` + else + SPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SPELL" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SPELL_PKG_ERRORS" >&5 + + have_spell=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_spell=no +else + SPELL_CFLAGS=$pkg_cv_SPELL_CFLAGS + SPELL_LIBS=$pkg_cv_SPELL_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_spell=yes +fi +else + have_spell=no +fi + + + +if test x$have_spell = xyes; then + +$as_echo "#define HAVE_SPELL 1" >>confdefs.h + +fi + +# Check whether --enable-sourceview was given. +if test "${enable_sourceview+set}" = set; then : + enableval=$enable_sourceview; with_sourceview=$enableval +else + with_sourceview=no +fi + +if test x$with_spell = xyes; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOURCEVIEW" >&5 +$as_echo_n "checking for SOURCEVIEW... " >&6; } + +if test -n "$SOURCEVIEW_CFLAGS"; then + pkg_cv_SOURCEVIEW_CFLAGS="$SOURCEVIEW_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SOURCEVIEW\""; } >&5 + ($PKG_CONFIG --exists --print-errors "$SOURCEVIEW") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SOURCEVIEW_CFLAGS=`$PKG_CONFIG --cflags "$SOURCEVIEW" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SOURCEVIEW_LIBS"; then + pkg_cv_SOURCEVIEW_LIBS="$SOURCEVIEW_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SOURCEVIEW\""; } >&5 + ($PKG_CONFIG --exists --print-errors "$SOURCEVIEW") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SOURCEVIEW_LIBS=`$PKG_CONFIG --libs "$SOURCEVIEW" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SOURCEVIEW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SOURCEVIEW" 2>&1` + else + SOURCEVIEW_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SOURCEVIEW" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SOURCEVIEW_PKG_ERRORS" >&5 + + have_sourceview=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_sourceview=no +else + SOURCEVIEW_CFLAGS=$pkg_cv_SOURCEVIEW_CFLAGS + SOURCEVIEW_LIBS=$pkg_cv_SOURCEVIEW_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_sourceview=yes +fi +else + have_sourceview=no +fi + + + +if test x$have_sourceview = xyes; then + +$as_echo "#define HAVE_SOURCEVIEW 1" >>confdefs.h + +fi + # Check whether --enable-icon-browser was given. if test "${enable_icon_browser+set}" = set; then : enableval=$enable_icon_browser; build_ib=$enableval @@ -5241,21 +5200,6 @@ fi - -# Check whether --with-rgb was given. -if test "${with_rgb+set}" = set; then : - withval=$with_rgb; -cat >>confdefs.h <<_ACEOF -#define RGB_FILE "$withval" -_ACEOF - -else - -$as_echo "#define RGB_FILE \"/etc/X11/rgb.txt\"" >>confdefs.h - -fi - - # ******************************* # Internationalization # ******************************* @@ -5268,6 +5212,7 @@ _ACEOF + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -5422,7 +5367,7 @@ for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue + as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in @@ -5488,7 +5433,7 @@ for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue + as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in @@ -6163,7 +6108,7 @@ 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 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6250,6 +6195,10 @@ fi ;; + *-*-openbsd*) + CATOBJEXT=.mo + DATADIRNAME=share + ;; *) CATOBJEXT=.mo DATADIRNAME=lib @@ -6490,6 +6439,14 @@ LTLIBOBJS=$ac_ltlibobjs +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +$as_echo_n "checking that generated files are newer than configure... " >&6; } + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 +$as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' @@ -6502,6 +6459,10 @@ as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi + + ac_config_commands="$ac_config_commands po/stamp-it" + + if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -6510,12 +6471,8 @@ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi - - ac_config_commands="$ac_config_commands po/stamp-it" - - -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +if test -z "${HTML_TRUE}" && test -z "${HTML_FALSE}"; then + as_fn_error $? "conditional \"HTML\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_IB_TRUE}" && test -z "${BUILD_IB_FALSE}"; then @@ -6820,16 +6777,16 @@ # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -6889,28 +6846,16 @@ as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???sx*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%^_$as_cr_alnum%_%g'" @@ -6931,8 +6876,8 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by YAD $as_me 0.16.3, which was -generated by GNU Autoconf 2.68. Invocation command line was +This file was extended by YAD $as_me 0.36.2, which was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -6991,18 +6936,18 @@ Configuration commands: $config_commands -Report bugs to <http://code.google.com/p/yad/issues/entry>. -YAD home page: <http://code.google.com/p/yad>." +Report bugs to <https://sourceforge.net/p/yad-dialog/tickets/>. +YAD home page: <https://sourceforge.net/projects/yad-dialog/>." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/\\""\`\$/\\\\&/g'`" ac_cs_version="\\ -YAD config.status 0.16.3 -configured by $0, generated by GNU Autoconf 2.68, +YAD config.status 0.36.2 +configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -7093,7 +7038,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' @@ -7741,7 +7686,7 @@ case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files + # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in @@ -7754,7 +7699,7 @@ # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but + # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. @@ -7788,21 +7733,19 @@ continue fi # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. + # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue + test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || @@ -7898,5 +7841,12 @@ echo -echo "Build icon browser - $build_ib" +echo "Build configuratioh:" +echo " GTK+ version - $with_gtk" +echo " Path to rgb.txt - $with_rgb" +echo " HTML widget - $have_html" +echo " Spell checking - $have_spell" +echo " GtkSourceView - $have_sourceview" +echo " GIO support - $have_gio" +echo " Icon browser - $build_ib" echo
View file
yad-0.16.3.tar.bz2/configure.ac -> yad-0.36.2.tar.xz/configure.ac
Changed
@@ -1,4 +1,6 @@ -AC_INIT(YAD, 0.16.3, http://code.google.com/p/yad/issues/entry, yad, http://code.google.com/p/yad) +AC_INIT(YAD, 0.36.2, https://sourceforge.net/p/yad-dialog/tickets/, yad, https://sourceforge.net/projects/yad-dialog/) +AC_CONFIG_AUX_DIR(build) + AM_INIT_AUTOMAKE(1.11 foreign dist-xz no-dist-gzip) AM_SILENT_RULES(yes) @@ -14,48 +16,121 @@ AC_PROG_CC AC_ARG_WITH(gtk, - gtkver="$withval", gtkver="gtk2") -AC_ARG_WITH(gtk, AS_HELP_STRING(--with-gtk=gtk2|gtk3,set the GTK+ version to use (default - gtk2)), case "$with_gtk" in - gtk2|gtk3) ;; - *) AC_MSG_ERROR(invalid gtk version specified) ;; - esac, - with_gtk=gtk2) -AC_MSG_RESULT($with_gtk) + gtk2|gtk3) ;; + *) AC_MSG_ERROR(invalid gtk version specified) ;; + esac, + with_gtk=gtk2) case "$with_gtk" in gtk3) GTK_MODULE="gtk+-3.0" GTK_REQUIRED="3.0.0" GTK_PRINT="gtk+-unix-print-3.0" + WEBKIT="webkitgtk-3.0" + SPELL="gtkspell3-3.0" + SOURCEVIEW="gtksourceview-3.0" ;; gtk2) GTK_MODULE="gtk+-2.0" GTK_REQUIRED="2.16.0" GTK_PRINT="gtk+-unix-print-2.0" + WEBKIT="webkit-1.0" + SPELL="gtkspell3-2.0" + SOURCEVIEW="gtksourceview-2.0" ;; esac -PKG_CHECK_MODULES(YAD, $GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT) -AC_SUBST(YAD_CFLAGS) -AC_SUBST(YAD_LIBS) +PKG_CHECK_MODULES(GTK, $GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT) +AC_SUBST(GTK_CFLAGS) +AC_SUBST(GTK_LIBS) GTK_DISABLE_DEPRECATED -dnl icon browser -AC_ARG_ENABLE(icon-browser, - AS_HELP_STRING(--enable-icon-browser, - Build YAD icon browser), - build_ib=$enableval, build_ib=no) -AM_CONDITIONAL(BUILD_IB, test x$build_ib = xyes) - dnl rgb.txt +with_rgb="/etc/X11/rgb.txt" AC_ARG_WITH(rgb, AS_HELP_STRING(--with-rgb=PATH, set path to rgb.txt file (default - /etc/X11/rgb.txt)), AC_DEFINE_UNQUOTED(RGB_FILE, "$withval", Path to rgb.txt file), AC_DEFINE(RGB_FILE, "/etc/X11/rgb.txt", Path to rgb.txt file)) +dnl html widget +AC_ARG_ENABLE(html, + AS_HELP_STRING(--enable-html, + Build YAD with HTML widget), + build_html=$enableval, build_html=yes) +if test x$build_html = xyes; then + PKG_CHECK_MODULES(HTML, $WEBKIT, have_html=yes, have_html=no) +else + have_html=no +fi +AC_SUBST(HTML_CFLAGS) +AC_SUBST(HTML_LIBS) +AM_CONDITIONAL(HTML, test x$have_html = xyes) + +if test x$have_html = xyes; then + AC_DEFINE(HAVE_HTML, 1, Define this if you have webkit installed) +fi + +dnl gio support +AC_ARG_ENABLE(gio, + AS_HELP_STRING(--enable-gio, + Build YAD with GIO support), + build_gio=$enableval, build_gio=yes) +if test x$build_gio = xyes; then + PKG_CHECK_MODULES(GIO, gio-2.0, have_gio=yes, have_gio=no) +else + have_gio=no +fi +AC_SUBST(GIO_CFLAGS) +AC_SUBST(GIO_LIBS) + +if test x$have_gio = xyes; then + AC_DEFINE(HAVE_GIO, 1, Define this if you have glib gio framework) +fi + +dnl spell check +AC_ARG_ENABLE(spell, + AS_HELP_STRING(--enable-spell, + Build YAD with Spell check support (default - no)), + with_spell=$enableval, with_spell=no) +if test x$with_spell = xyes; then + PKG_CHECK_MODULES(SPELL, $SPELL, have_spell=yes, have_spell=no) +else + have_spell=no +fi +AC_SUBST(SPELL_CFLAGS) +AC_SUBST(SPELL_LIBS) + +if test x$have_spell = xyes; then + AC_DEFINE(HAVE_SPELL, 1, Define this if you need spell check support) +fi + +dnl sourceview +AC_ARG_ENABLE(sourceview, + AS_HELP_STRING(--enable-sourceview, + Build YAD with GtkSourceView support (default - no)), + with_sourceview=$enableval, with_sourceview=no) +if test x$with_spell = xyes; then + PKG_CHECK_MODULES(SOURCEVIEW, $SOURCEVIEW, have_sourceview=yes, have_sourceview=no) +else + have_sourceview=no +fi +AC_SUBST(SOURCEVIEW_CFLAGS) +AC_SUBST(SOURCEVIEW_LIBS) + +if test x$have_sourceview = xyes; then + AC_DEFINE(HAVE_SOURCEVIEW, 1, Define this if you need GtkSourceView support) +fi + +dnl icon browser +AC_ARG_ENABLE(icon-browser, + AS_HELP_STRING(--enable-icon-browser, + Build YAD icon browser), + build_ib=$enableval, build_ib=no) +AM_CONDITIONAL(BUILD_IB, test x$build_ib = xyes) + # ******************************* # Internationalization # ******************************* @@ -93,5 +168,12 @@ AC_OUTPUT echo -echo "Build icon browser - $build_ib" +echo "Build configuratioh:" +echo " GTK+ version - $with_gtk" +echo " Path to rgb.txt - $with_rgb" +echo " HTML widget - $have_html" +echo " Spell checking - $have_spell" +echo " GtkSourceView - $have_sourceview" +echo " GIO support - $have_gio" +echo " Icon browser - $build_ib" echo
View file
yad-0.16.3.tar.bz2/data/Makefile.am -> yad-0.36.2.tar.xz/data/Makefile.am
Changed
@@ -12,6 +12,6 @@ m4dir = $(datadir)/aclocal m4_DATA = yad.m4 -EXTRA_DIST = $(desktop_in_files) zenity.sh +EXTRA_DIST = $(desktop_in_files) zenity.sh notify-send get-lang.c DISTCLEAN_FILES = $(desktop_DATA) $(m4_DATA) yad.spec
View file
yad-0.16.3.tar.bz2/data/Makefile.in -> yad-0.36.2.tar.xz/data/Makefile.in
Changed
@@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\\ \ *) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs$$bs $$bs *//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -dEDm) skip_next=yes;; \ + -JT) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -33,33 +87,43 @@ PRE_UNINSTALL = : POST_UNINSTALL = : subdir = data -DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/yad.m4.in \ - $(srcdir)/yad.spec.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = yad.m4 yad.spec CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -81,6 +145,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(desktopdir)" \ "$(DESTDIR)$(m4dir)" @@ -89,12 +159,34 @@ DATA = $(desktop_DATA) $(m4_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items$$0 = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in \ + $(srcdir)/yad.m4.in $(srcdir)/yad.spec.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ @@ -150,9 +242,15 @@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_CFLAGS = @HTML_CFLAGS@ +HTML_LIBS = @HTML_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -164,6 +262,10 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ @@ -193,12 +295,14 @@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +SOURCEVIEW_CFLAGS = @SOURCEVIEW_CFLAGS@ +SOURCEVIEW_LIBS = @SOURCEVIEW_LIBS@ +SPELL_CFLAGS = @SPELL_CFLAGS@ +SPELL_LIBS = @SPELL_LIBS@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ -YAD_CFLAGS = @YAD_CFLAGS@ -YAD_LIBS = @YAD_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -222,6 +326,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -248,7 +354,7 @@ dist_man_MANS = yad.1 m4dir = $(datadir)/aclocal m4_DATA = yad.m4 -EXTRA_DIST = $(desktop_in_files) zenity.sh +EXTRA_DIST = $(desktop_in_files) zenity.sh notify-send get-lang.c DISTCLEAN_FILES = $(desktop_DATA) $(m4_DATA) yad.spec all: all-recursive @@ -265,7 +371,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign data/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -289,11 +394,18 @@ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) - test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" - @list=''; test -n "$(man1dir)" || exit 0; \ - { for i in $$list; do echo "$$i"; done; \ - l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.1a-z*$$/p'; \ + @list1=''; \ + list2='$(dist_man_MANS)'; \ + test -n "$(man1dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.1a-z*$$/p'; \ + fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ @@ -322,13 +434,14 @@ sed -n '/\.1a-z*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^^10-9a-z*$$,1,;x' \ -e 's,\.0-9a-z*$$,,;$(transform);G;s,\n,.,'`; \ - test -z "$$files" || { \ - echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) - test -z "$(desktopdir)" || $(MKDIR_P) "$(DESTDIR)$(desktopdir)" @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -342,13 +455,14 @@ @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(desktopdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(desktopdir)" && rm -f $$files + dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir) install-m4DATA: $(m4_DATA) @$(NORMAL_INSTALL) - test -z "$(m4dir)" || $(MKDIR_P) "$(DESTDIR)$(m4dir)" @list='$(m4_DATA)'; test -n "$(m4dir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(m4dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(m4dir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -362,27 +476,28 @@ @$(NORMAL_UNINSTALL) @list='$(m4_DATA)'; test -n "$(m4dir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(m4dir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(m4dir)" && rm -f $$files + dir='$(DESTDIR)$(m4dir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --!k*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ @@ -397,57 +512,12 @@ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --!k*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ @@ -463,12 +533,7 @@ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -480,15 +545,11 @@ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -497,24 +558,26 @@ here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + \\/* | ?:\\/*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - @list='$(MANS)'; if test -n "$$list"; then \ - list=`for p in $$list; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ - if test -n "$$list" && \ - grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ - echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ - grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ - echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ - echo " typically \`make maintainer-clean' will remove them" >&2; \ - exit 1; \ - else :; fi; \ - else :; fi @srcdirstrip=`echo "$(srcdir)" | sed 's/.^$$\\*/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/.^$$\\*/\\\\&/g'`; \ list='$(DISTFILES)'; \ @@ -546,13 +609,10 @@ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ @@ -590,10 +650,15 @@ installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -673,23 +738,24 @@ uninstall-man: uninstall-man1 -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ - install-am install-strip tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic ctags \ - ctags-recursive distclean distclean-generic distclean-tags \ - distdir dvi dvi-am html html-am info info-am install \ - install-am install-data install-data-am install-desktopDATA \ - install-dvi install-dvi-am install-exec install-exec-am \ - install-html install-html-am install-info install-info-am \ - install-m4DATA install-man install-man1 install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs installdirs-am \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am uninstall-desktopDATA uninstall-m4DATA \ - uninstall-man uninstall-man1 +.MAKE: $(am__recursive_targets) install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ + check-am clean clean-generic cscopelist-am ctags ctags-am \ + distclean distclean-generic distclean-tags distdir dvi dvi-am \ + html html-am info info-am install install-am install-data \ + install-data-am install-desktopDATA install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-m4DATA install-man \ + install-man1 install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am tags tags-am uninstall uninstall-am \ + uninstall-desktopDATA uninstall-m4DATA uninstall-man \ + uninstall-man1 + +.PRECIOUS: Makefile @BUILD_IB_TRUE@@INTLTOOL_DESKTOP_RULE@
View file
yad-0.36.2.tar.xz/data/get-lang.c
Added
@@ -0,0 +1,12 @@ +#include <glib.h> +#include <gtkspell/gtkspell.h> + +int main (int argc, char *argv) +{ + GList *lng; + + for (lng = gtk_spell_checker_get_language_list (); lng; lng = lng->next) + g_print ("%s\n", lng->data); + + return 0; +}
View file
yad-0.16.3.tar.bz2/data/icons/128x128/Makefile.in -> yad-0.36.2.tar.xz/data/icons/128x128/Makefile.in
Changed
@@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\\ \ *) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs$$bs $$bs *//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -dEDm) skip_next=yes;; \ + -JT) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -33,25 +87,36 @@ PRE_UNINSTALL = : POST_UNINSTALL = : subdir = data/icons/128x128 -DIST_COMMON = $(dist_icons_DATA) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(dist_icons_DATA) \ + $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -73,8 +138,16 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(iconsdir)" DATA = $(dist_icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ @@ -105,9 +178,15 @@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_CFLAGS = @HTML_CFLAGS@ +HTML_LIBS = @HTML_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -119,6 +198,10 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ @@ -148,12 +231,14 @@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +SOURCEVIEW_CFLAGS = @SOURCEVIEW_CFLAGS@ +SOURCEVIEW_LIBS = @SOURCEVIEW_LIBS@ +SPELL_CFLAGS = @SPELL_CFLAGS@ +SPELL_LIBS = @SPELL_LIBS@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ -YAD_CFLAGS = @YAD_CFLAGS@ -YAD_LIBS = @YAD_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -177,6 +262,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -213,7 +300,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/icons/128x128/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign data/icons/128x128/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -233,8 +319,11 @@ $(am__aclocal_m4_deps): install-dist_iconsDATA: $(dist_icons_DATA) @$(NORMAL_INSTALL) - test -z "$(iconsdir)" || $(MKDIR_P) "$(DESTDIR)$(iconsdir)" @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -248,14 +337,12 @@ @$(NORMAL_UNINSTALL) @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(iconsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(iconsdir)" && rm -f $$files -tags: TAGS -TAGS: + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: -ctags: CTAGS -CTAGS: +cscope cscopelist: distdir: $(DISTFILES) @@ -305,10 +392,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -388,17 +480,19 @@ .MAKE: install-am install-strip -.PHONY: all all-am check check-am clean clean-generic distclean \ - distclean-generic distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am \ - install-dist_iconsDATA install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am uninstall uninstall-am \ - uninstall-dist_iconsDATA +.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ + ctags-am distclean distclean-generic distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dist_iconsDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-dist_iconsDATA + +.PRECIOUS: Makefile # Tell versions 3.59,3.63) of GNU make to not export all variables.
View file
yad-0.16.3.tar.bz2/data/icons/16x16/Makefile.in -> yad-0.36.2.tar.xz/data/icons/16x16/Makefile.in
Changed
@@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\\ \ *) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs$$bs $$bs *//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -dEDm) skip_next=yes;; \ + -JT) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -33,25 +87,36 @@ PRE_UNINSTALL = : POST_UNINSTALL = : subdir = data/icons/16x16 -DIST_COMMON = $(dist_icons_DATA) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(dist_icons_DATA) \ + $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -73,8 +138,16 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(iconsdir)" DATA = $(dist_icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ @@ -105,9 +178,15 @@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_CFLAGS = @HTML_CFLAGS@ +HTML_LIBS = @HTML_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -119,6 +198,10 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ @@ -148,12 +231,14 @@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +SOURCEVIEW_CFLAGS = @SOURCEVIEW_CFLAGS@ +SOURCEVIEW_LIBS = @SOURCEVIEW_LIBS@ +SPELL_CFLAGS = @SPELL_CFLAGS@ +SPELL_LIBS = @SPELL_LIBS@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ -YAD_CFLAGS = @YAD_CFLAGS@ -YAD_LIBS = @YAD_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -177,6 +262,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -213,7 +300,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/icons/16x16/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign data/icons/16x16/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -233,8 +319,11 @@ $(am__aclocal_m4_deps): install-dist_iconsDATA: $(dist_icons_DATA) @$(NORMAL_INSTALL) - test -z "$(iconsdir)" || $(MKDIR_P) "$(DESTDIR)$(iconsdir)" @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -248,14 +337,12 @@ @$(NORMAL_UNINSTALL) @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(iconsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(iconsdir)" && rm -f $$files -tags: TAGS -TAGS: + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: -ctags: CTAGS -CTAGS: +cscope cscopelist: distdir: $(DISTFILES) @@ -305,10 +392,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -388,17 +480,19 @@ .MAKE: install-am install-strip -.PHONY: all all-am check check-am clean clean-generic distclean \ - distclean-generic distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am \ - install-dist_iconsDATA install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am uninstall uninstall-am \ - uninstall-dist_iconsDATA +.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ + ctags-am distclean distclean-generic distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dist_iconsDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-dist_iconsDATA + +.PRECIOUS: Makefile # Tell versions 3.59,3.63) of GNU make to not export all variables.
View file
yad-0.16.3.tar.bz2/data/icons/24x24/Makefile.in -> yad-0.36.2.tar.xz/data/icons/24x24/Makefile.in
Changed
@@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\\ \ *) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs$$bs $$bs *//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -dEDm) skip_next=yes;; \ + -JT) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -33,25 +87,36 @@ PRE_UNINSTALL = : POST_UNINSTALL = : subdir = data/icons/24x24 -DIST_COMMON = $(dist_icons_DATA) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(dist_icons_DATA) \ + $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -73,8 +138,16 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(iconsdir)" DATA = $(dist_icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ @@ -105,9 +178,15 @@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_CFLAGS = @HTML_CFLAGS@ +HTML_LIBS = @HTML_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -119,6 +198,10 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ @@ -148,12 +231,14 @@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +SOURCEVIEW_CFLAGS = @SOURCEVIEW_CFLAGS@ +SOURCEVIEW_LIBS = @SOURCEVIEW_LIBS@ +SPELL_CFLAGS = @SPELL_CFLAGS@ +SPELL_LIBS = @SPELL_LIBS@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ -YAD_CFLAGS = @YAD_CFLAGS@ -YAD_LIBS = @YAD_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -177,6 +262,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -213,7 +300,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/icons/24x24/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign data/icons/24x24/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -233,8 +319,11 @@ $(am__aclocal_m4_deps): install-dist_iconsDATA: $(dist_icons_DATA) @$(NORMAL_INSTALL) - test -z "$(iconsdir)" || $(MKDIR_P) "$(DESTDIR)$(iconsdir)" @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -248,14 +337,12 @@ @$(NORMAL_UNINSTALL) @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(iconsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(iconsdir)" && rm -f $$files -tags: TAGS -TAGS: + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: -ctags: CTAGS -CTAGS: +cscope cscopelist: distdir: $(DISTFILES) @@ -305,10 +392,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -388,17 +480,19 @@ .MAKE: install-am install-strip -.PHONY: all all-am check check-am clean clean-generic distclean \ - distclean-generic distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am \ - install-dist_iconsDATA install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am uninstall uninstall-am \ - uninstall-dist_iconsDATA +.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ + ctags-am distclean distclean-generic distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dist_iconsDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-dist_iconsDATA + +.PRECIOUS: Makefile # Tell versions 3.59,3.63) of GNU make to not export all variables.
View file
yad-0.16.3.tar.bz2/data/icons/32x32/Makefile.in -> yad-0.36.2.tar.xz/data/icons/32x32/Makefile.in
Changed
@@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\\ \ *) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs$$bs $$bs *//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -dEDm) skip_next=yes;; \ + -JT) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -33,25 +87,36 @@ PRE_UNINSTALL = : POST_UNINSTALL = : subdir = data/icons/32x32 -DIST_COMMON = $(dist_icons_DATA) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(dist_icons_DATA) \ + $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -73,8 +138,16 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(iconsdir)" DATA = $(dist_icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ @@ -105,9 +178,15 @@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_CFLAGS = @HTML_CFLAGS@ +HTML_LIBS = @HTML_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -119,6 +198,10 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ @@ -148,12 +231,14 @@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +SOURCEVIEW_CFLAGS = @SOURCEVIEW_CFLAGS@ +SOURCEVIEW_LIBS = @SOURCEVIEW_LIBS@ +SPELL_CFLAGS = @SPELL_CFLAGS@ +SPELL_LIBS = @SPELL_LIBS@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ -YAD_CFLAGS = @YAD_CFLAGS@ -YAD_LIBS = @YAD_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -177,6 +262,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -213,7 +300,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/icons/32x32/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign data/icons/32x32/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -233,8 +319,11 @@ $(am__aclocal_m4_deps): install-dist_iconsDATA: $(dist_icons_DATA) @$(NORMAL_INSTALL) - test -z "$(iconsdir)" || $(MKDIR_P) "$(DESTDIR)$(iconsdir)" @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -248,14 +337,12 @@ @$(NORMAL_UNINSTALL) @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(iconsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(iconsdir)" && rm -f $$files -tags: TAGS -TAGS: + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: -ctags: CTAGS -CTAGS: +cscope cscopelist: distdir: $(DISTFILES) @@ -305,10 +392,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -388,17 +480,19 @@ .MAKE: install-am install-strip -.PHONY: all all-am check check-am clean clean-generic distclean \ - distclean-generic distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am \ - install-dist_iconsDATA install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am uninstall uninstall-am \ - uninstall-dist_iconsDATA +.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ + ctags-am distclean distclean-generic distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dist_iconsDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-dist_iconsDATA + +.PRECIOUS: Makefile # Tell versions 3.59,3.63) of GNU make to not export all variables.
View file
yad-0.16.3.tar.bz2/data/icons/48x48/Makefile.in -> yad-0.36.2.tar.xz/data/icons/48x48/Makefile.in
Changed
@@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\\ \ *) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs$$bs $$bs *//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -dEDm) skip_next=yes;; \ + -JT) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -33,25 +87,36 @@ PRE_UNINSTALL = : POST_UNINSTALL = : subdir = data/icons/48x48 -DIST_COMMON = $(dist_icons_DATA) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(dist_icons_DATA) \ + $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -73,8 +138,16 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(iconsdir)" DATA = $(dist_icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ @@ -105,9 +178,15 @@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_CFLAGS = @HTML_CFLAGS@ +HTML_LIBS = @HTML_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -119,6 +198,10 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ @@ -148,12 +231,14 @@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +SOURCEVIEW_CFLAGS = @SOURCEVIEW_CFLAGS@ +SOURCEVIEW_LIBS = @SOURCEVIEW_LIBS@ +SPELL_CFLAGS = @SPELL_CFLAGS@ +SPELL_LIBS = @SPELL_LIBS@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ -YAD_CFLAGS = @YAD_CFLAGS@ -YAD_LIBS = @YAD_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -177,6 +262,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -213,7 +300,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/icons/48x48/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign data/icons/48x48/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -233,8 +319,11 @@ $(am__aclocal_m4_deps): install-dist_iconsDATA: $(dist_icons_DATA) @$(NORMAL_INSTALL) - test -z "$(iconsdir)" || $(MKDIR_P) "$(DESTDIR)$(iconsdir)" @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -248,14 +337,12 @@ @$(NORMAL_UNINSTALL) @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(iconsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(iconsdir)" && rm -f $$files -tags: TAGS -TAGS: + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: -ctags: CTAGS -CTAGS: +cscope cscopelist: distdir: $(DISTFILES) @@ -305,10 +392,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -388,17 +480,19 @@ .MAKE: install-am install-strip -.PHONY: all all-am check check-am clean clean-generic distclean \ - distclean-generic distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am \ - install-dist_iconsDATA install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am uninstall uninstall-am \ - uninstall-dist_iconsDATA +.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ + ctags-am distclean distclean-generic distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dist_iconsDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-dist_iconsDATA + +.PRECIOUS: Makefile # Tell versions 3.59,3.63) of GNU make to not export all variables.
View file
yad-0.16.3.tar.bz2/data/icons/96x96/Makefile.in -> yad-0.36.2.tar.xz/data/icons/96x96/Makefile.in
Changed
@@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\\ \ *) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs$$bs $$bs *//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -dEDm) skip_next=yes;; \ + -JT) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -33,25 +87,36 @@ PRE_UNINSTALL = : POST_UNINSTALL = : subdir = data/icons/96x96 -DIST_COMMON = $(dist_icons_DATA) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(dist_icons_DATA) \ + $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -73,8 +138,16 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(iconsdir)" DATA = $(dist_icons_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ @@ -105,9 +178,15 @@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_CFLAGS = @HTML_CFLAGS@ +HTML_LIBS = @HTML_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -119,6 +198,10 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ @@ -148,12 +231,14 @@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +SOURCEVIEW_CFLAGS = @SOURCEVIEW_CFLAGS@ +SOURCEVIEW_LIBS = @SOURCEVIEW_LIBS@ +SPELL_CFLAGS = @SPELL_CFLAGS@ +SPELL_LIBS = @SPELL_LIBS@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ -YAD_CFLAGS = @YAD_CFLAGS@ -YAD_LIBS = @YAD_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -177,6 +262,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -213,7 +300,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/icons/96x96/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign data/icons/96x96/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -233,8 +319,11 @@ $(am__aclocal_m4_deps): install-dist_iconsDATA: $(dist_icons_DATA) @$(NORMAL_INSTALL) - test -z "$(iconsdir)" || $(MKDIR_P) "$(DESTDIR)$(iconsdir)" @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -248,14 +337,12 @@ @$(NORMAL_UNINSTALL) @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(iconsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(iconsdir)" && rm -f $$files -tags: TAGS -TAGS: + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: -ctags: CTAGS -CTAGS: +cscope cscopelist: distdir: $(DISTFILES) @@ -305,10 +392,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -388,17 +480,19 @@ .MAKE: install-am install-strip -.PHONY: all all-am check check-am clean clean-generic distclean \ - distclean-generic distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am \ - install-dist_iconsDATA install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am uninstall uninstall-am \ - uninstall-dist_iconsDATA +.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ + ctags-am distclean distclean-generic distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dist_iconsDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-dist_iconsDATA + +.PRECIOUS: Makefile # Tell versions 3.59,3.63) of GNU make to not export all variables.
View file
yad-0.16.3.tar.bz2/data/icons/Makefile.in -> yad-0.36.2.tar.xz/data/icons/Makefile.in
Changed
@@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -15,6 +14,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\\ \ *) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs$$bs $$bs *//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -dEDm) skip_next=yes;; \ + -JT) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -32,39 +86,72 @@ PRE_UNINSTALL = : POST_UNINSTALL = : subdir = data/icons -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items$$0 = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ @@ -120,9 +207,15 @@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_CFLAGS = @HTML_CFLAGS@ +HTML_LIBS = @HTML_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -134,6 +227,10 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ @@ -163,12 +260,14 @@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +SOURCEVIEW_CFLAGS = @SOURCEVIEW_CFLAGS@ +SOURCEVIEW_LIBS = @SOURCEVIEW_LIBS@ +SPELL_CFLAGS = @SPELL_CFLAGS@ +SPELL_LIBS = @SPELL_LIBS@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ -YAD_CFLAGS = @YAD_CFLAGS@ -YAD_LIBS = @YAD_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -192,6 +291,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -228,7 +329,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/icons/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign data/icons/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -248,22 +348,25 @@ $(am__aclocal_m4_deps): # This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --!k*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ @@ -278,57 +381,12 @@ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --!k*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ @@ -344,12 +402,7 @@ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -361,15 +414,11 @@ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -378,6 +427,21 @@ here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + \\/* | ?:\\/*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -414,13 +478,10 @@ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ @@ -455,10 +516,15 @@ installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -537,22 +603,23 @@ uninstall-am: uninstall-local -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ - install-am install-data-am install-strip tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic ctags \ - ctags-recursive distclean distclean-generic distclean-tags \ - distdir dvi dvi-am html html-am info info-am install \ - install-am install-data install-data-am install-data-hook \ - install-dvi install-dvi-am install-exec install-exec-am \ - install-html install-html-am install-info install-info-am \ - install-man install-pdf install-pdf-am install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ - uninstall-local +.MAKE: $(am__recursive_targets) install-am install-data-am \ + install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ + check-am clean clean-generic cscopelist-am ctags ctags-am \ + distclean distclean-generic distclean-tags distdir dvi dvi-am \ + html html-am info info-am install install-am install-data \ + install-data-am install-data-hook install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am uninstall-local + +.PRECIOUS: Makefile install-data-hook:
View file
yad-0.36.2.tar.xz/data/notify-send
Added
@@ -0,0 +1,29 @@ +#! /bin/bash + +# Defaults +APP="notification" +TIMEOUT=600 +ICON="dialog-information" +TITLE= +BODY= + +# Parse command line +OPTIND=1 +while getopts a:i:t: opt ; do + case "$opt" in + a) APP=$OPTARG ;; + i) ICON=$OPTARG ;; + t) TIMEOUT=$OPTARG ;; + esac +done +shift $(($OPTIND - 1)) + "$1" == '--' && shift + +TITLE="$1" +shift +BODY="$@" + +gdbus call --session --dest org.freedesktop.Notifications \ + --object-path /org/freedesktop/Notifications \ + --method org.freedesktop.Notifications.Notify \ + "$APP" 0 "$ICON" "$TITLE" "$BODY" "" "{}" $TIMEOUT &> /dev/null
View file
yad-0.16.3.tar.bz2/data/yad.1 -> yad-0.36.2.tar.xz/data/yad.1
Changed
@@ -1,14 +1,14 @@ -.TH YAD 1 "Marth 24, 2011" +.TH YAD 1 "March 3, 2015" .SH NAME -yad \- display GTK+ dialogs +yad \- display GTK+ dialogs in shell scripts .SH SYNOPSIS .B yad -.RI options +.RI OPTIONS .SH DESCRIPTION \fBYAD\fP is a program that will display GTK+ dialogs, and return -(either in the return code, or on standard output) the users +(either in the return code or on standard output) the users input. This allows you to present information, and ask for information from the user, from all manner of shell scripts. .PP @@ -18,8 +18,7 @@ This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). -.PP -Dialog options +.SS Dialog options .TP .B \-\-calendar Display calendar dialog. @@ -45,12 +44,18 @@ .B \-\-form Display form dialog .TP +.B \-\-html +Display HTML dialog +.TP .B \-\-list Display list dialog .TP .B \-\-multi-progress Display multi progress bars dialog. .TP +.B \-\-notebook +Display notebook dialog. +.TP .B \-\-notification Display notification icon. .TP @@ -66,73 +71,89 @@ .B \-\-scale Display scale dialog. -.PP -General options +.SS General options .TP -.B \-\-title=TITLE +.B \-\-title=\fITITLE\fP Set the dialog title. .TP -.B \-\-window-icon=ICONPATH +.B \-\-window-icon=\fIICON\fP Set the window icon. .TP -.B \-\-width=WIDTH +.B \-\-width=\fIWIDTH\fP Set the dialog width. .TP -.B \-\-height=HEIGHT +.B \-\-height=\fIHEIGHT\fP Set the dialog height. .TP -.B \-\-timeout=TIMEOUT +.B \-\-timeout=\fITIMEOUT\fP Set the dialog timeout in seconds. .TP -.B \-\-timeout-indicator=POSITION +.B \-\-timeout-indicator=\fIPOSITION\fP Show timeout indicator in given position. Positions are \fItop\fP, \fIbottom\fP, \fIleft\fP or \fIright\fP. -Style of indicator may be set through the gtkrc file. +Style of indicator may be set through the gtkrc file. See \fIhttp://code.google.com/p/yad/wiki/TimeoutIndicator\fP for details. .TP -.B \-\-kill-parent -Send SIGTERM to parent process. +.B \-\-parent-win=\fIXID\fP +Specify a parent window for the dialog. This makes \fIYAD\fP possible to use as embedded GUI tool. +.TP +.B \-\-kill-parent\fI=SIGNAL\fP +Send SIGNAL to parent process. Default value of SIGNAL is a SIGTERM. +SIGNAL may be specified by it's number or symbolic name with or without SIG prefix. +See signal(7) for details about signals. .TP -.B --print-xid -Print X Window Id of a dialog window to the stderr. +.B \-\-plug=\fIKEY\fP +Run dialog in plug mode for swallow as a notebook tab. See \fINOTEBOOK\fP section for more. .TP -.B \-\-text=STRING +.B \-\-tabnum=\fINUMBER\fP +Set the tab number for plugged dialog. See \fINOTEBOOK\fP section for more. +.TP +.B \-\-text=\fISTRING\fP Set the dialog text. .TP -.B \-\-image=IMAGE +.B \-\-text-align=\fITYPE\fP +Set type of dialog text justification. \fITYPE\fP may be \fIleft\fP, \fIright\fP, \fIcenter\fP or \fIfill\fP. +.TP +.B \-\-image=\fIIMAGE\fP Set the dialog image which appears on the left side of dialog. \fIIMAGE\fP might be file name or icon name from current icon theme. .TP .B \-\-image-on-top Show image above main widget instead of left. This option is always on for print dialog. .TP -.B \-\-icon-theme=THEME +.B \-\-icon-theme=\fITHEME\fP Use specified GTK icon theme instead of default. .TP -.B \-\-expander=TEXT +.B \-\-expander=\fITEXT\fP Hide main widget with expander. \fITEXT\fP is an optional argument with expander's label. .TP -.B \-\-button=BUTTON:ID +.B \-\-button=\fIBUTTON:ID\fP Add the dialog button. May be used multiply times. \fIID\fP is an exit code or a command. -\fIBUTTON\fP may be gtk stock item name for predefined buttons (like gtk-close or gtk-ok) or simple text label. -Full list of stock items may be found in gtk-demo program, in snippet called \fI"Stock Items and Icon Browser"\fP. +\fIBUTTON\fP may be gtk stock item name for predefined buttons (like gtk-close or gtk-ok) or text in a form +\fILABEL!ICON!TOOLTIP\fP where `!' is an item separator. +Full list of stock items may be found in gtk-demo program, in snippet called \fI"Stock Items and Icon Browser"\fP. If no buttons specified \fIOK\fP and \fICancel\fP buttons used. See \fBEXIT STATUS\fP section for more. If \fIID\fP have a non-numeric value it treats like a command and click on such button doesn't close the dialog. -If command have a `%d' template, \fIYAD\fP replace it with value of his pid. - .TP .B \-\-no-buttons Don't show buttons. .TP +.B \-\-buttons-layout=\fITYPE\fP +Set buttons layout type. Possible types are: \fIspread\fP, \fIedge\fP, \fIstart\fP, \fIend\fP or \fIcenter\fP. +Default is \fIend\fP. +.TP .B \-\-no-markup Don't use pango markup in dialog's text. .TP +.B \-\-no-escape +Don't close dialog if \fIEscape\fP was pressed. +.TP .B \-\-always-print-result -Always print result. +Print result for aby of the return codes. This options doesn't work if timeout was reached or \fIEscape\fP was pressed. .TP .B \-\-dialog-sep Show separator between dialog and buttons. Works only with gtk+-2.0. .TP -.B \-\-borders=NUM +.B \-\-borders=\fINUM\fP Set dialog window borders. .TP .B \-\-sticky @@ -156,32 +177,59 @@ .B \-\-skip-taskbar Don't show window in taskbar and pager. .TP -.B \-\-geometry=WIDTHxHEIGHT+X+Y +.B \-\-maximized +Run dialog window maximized. +.TP +.B \-\-fullscreen +Run dialog in fullscreen mode. This option may not work on all window managers. +.TP +.B \-\-splash +Open window with "splashscreen" window hints. For details see description of \fI_NET_WM_WINDOW_TYPE_SPLASH\fP +in EWMH specification. The behavior of dialog with this option is HIGHLY DEPENDS on settings of your window manager. +.TP +.B \-\-no-focus +Dialog window never take focus. +.TP +.B \-\-geometry=\fIWIDTHxHEIGHT+X+Y\fP Use standard X Window geometry notation for placing dialog. When this option is used, \fIwidth\fP, \fIheight\fP, \fImouse\fP and \fIcenter\fP options are ignored. .TP .B \-\-selectable-labels -If set, user can select dialog's text and copy it to clipboard. -This option also affects on label fields in form dialog. +If set, user can select dialog's text and copy it to clipboard. +This option also affects on label fields in form dialog. +.TP +.B \-\-image-path=\fIPATH\fP +Add specified path to the standard list of directories for looking for icons. This option can be used multiply times. +.TP +.B \-\-rest=\fIFILENAME\fP +Read extra arguments from given file instead of command line. Each line of a file treats as a single argument. +.TP +.B \-\-gtkrc=\fIFILENAME\fP +Read and parse additional GTK+ settings from given file. This option doesn't work with GTK+-3.x builds. +.TP +.B \-\-enable-spell +Enable spell checking in textview widgets +.TP +.B \-\-spell-lang=\fILANGUAGE\fP +Set spell checking language to \fILANGUAGE\fP. By default language guesses from current locale. -.PP -Calendar options +.SS Calendar options .TP -.B \-\-day=INT +.B \-\-day=\fINUMBER\fP Set the calendar day. .TP -.B \-\-month=INT +.B \-\-month=\fINUMBER\fP Set the calendar month. .TP -.B \-\-year=INT +.B \-\-year=\fINUMBER\fP Set the calendar year. .TP -.B \-\-date-format=PATTERN +.B \-\-date-format=\fIPATTERN\fP Set the format for the returned date. By default is `%x'. See \fIstrftime(3)\fP for more details. .TP -.B \-\-details=FILENAME -Read days description from \fIFILENAME\fP. +.B \-\-details=\fIFILENAME\fP +Read days description from \fIFILENAME\fP. .PP File with days details must be in following format: .IP @@ -190,37 +238,47 @@ \fIdate\fP field is date in format, specified with \fI\-\-date-format\fP option. \fIdescription\fP is a string with date details, which may include Pango markup. -.PP -Color selection options +.SS Color selection options .TP -.B \-\-init\-color=COLOR +.B \-\-init\-color=\fICOLOR\fP Set initial color value. .TP +.B \-\-gtk-palette +Show system palette inside color dialog. +.TP .B \-\-extra Show extra information about color in returned string. .TP -.B \-\-palette=FILENAME -Show palette ans set predefined colors from given filename. +.B \-\-alpha +Add opacity to output color string. +.TP +.B \-\-palette\fI=FILENAME\fP +Show palette and set predefined colors from given filename. By default used \fI/etc/X11/rgb.txt\fP. +.TP +.B \-\-expand-palette +Expander for list of user-defined colors will be initially opened. +.TP +.B \-\-mode=\fIMODE\fP +Set output color mode. Possible values are \fIhex\fP or \fIrgb\fP. Default is \fIhex\fP. HEX mode looks like \fI#rrggbbaa\fP, RGB mode - \fIrgba(r, g, b, a)\fP. +In RGBA mode opacity have values from 0.0 to 1.0. -.PP -Drag-and-Drop box options +.SS Drag-and-Drop box options .TP .B \-\-tooltip Use dialog text as a tooltip for Drag-and-Drop box. .TP -.B \-\-command=CMD -Run command when data received. Data strings pass to command as an agrument. +.B \-\-command=\fICMD\fP +Run command when data received. Data strings pass to command as an agrument. By default data just prints to stdout. -.PP -Text entry options +.SS Text entry options .TP -.B \-\-entry-label=STRING +.B \-\-entry-label=\fISTRING\fP Set the entry label text. .TP -.B \-\-entry-text=STRING -Set the initial entry text. +.B \-\-entry-text=\fISTRING\fP +Set the initial entry text or default item in combo-box. .TP .B \-\-hide-text Hide the entry text. @@ -228,35 +286,48 @@ .B \-\-completion Use completion instead of combo-box. .TP +.B \-\-complete=\fITYPE\fP +Use specific type for extended completion. \fITYPE\fP can be \fIany\fP for match any of typed words, \fIall\fP for match all of typed words or +\fIregex\fP when typed text treats as regular expression. +.TP .B \-\-editable -Allow changes to text in combo-box. +Allow make changes to text in combo-box. .TP .B \-\-numeric -Use spin button instead of text entry. Additional parameters in command line treats as minimum and maximum values and step value (in that order). All this values are optional. Default range is from 0 to 65535 with step 1. +Use spin button instead of text entry. Additional parameters in command line treats as minimum and maximum +values, step value and precisions (in that order). All this values are optional. Default range is from 0 to 65535 with step 1. +.TP +.B \-\-float-precision=\fINUMBER\fP +Set precision of floating point numbers. By default precision is three digits after point. .TP -.B \-\-licon +.B \-\-licon=\fIIMAGE\fP Set an icon on a left side of entry. .TP -.B \-\-licon-action +.B \-\-licon-action=\fICMD\fP Specify a command which will be run when the left icon clicked. Output of command will be set as entry text. .TP -.B \-\-ricon +.B \-\-ricon=\fIIMAGE\fP Set an icon on a right side of entry. .TP -.B \-\-ricon-action +.B \-\-ricon-action=\fICMD\fP Specify a command which will be run when the right icon clicked. Output of command will be set as entry text. - +.TP +.B \-\-num-output +Output index of active element instead of text for combo-box entry. +.PP Any extra data specified in command line adds as an items of combo-box entry, except of numeric mode. -If icon specified and icon action is not given, click on icon just clear the entry. +If icon specified and icon action is not given, click on icon just clear the entry. Numeric fields will ignore the icons. -.PP -Iconbox options +.SS Iconbox options .TP -.B \-\-read-dir=DIRECTORY +.B \-\-read-dir=\fIPATH\fP Read .desktop files from specified directory. .TP +.B \-\-monitor +Watch for changes in directory and automatically update content of iconbox. +.TP .B \-\-generic Use field GenericName instead of Name for shortcut label. .TP @@ -266,22 +337,27 @@ .B \-\-descend Sort items in descending order. If data reads from stdin this option is useless without \fI\-\-sort-by-name\fP. .TP -.B \-\-stdin +.B \-\-listen Read data from stdin. Data must be in order - \fIName\fP, \fITooltip\fP, \fIIcon\fP, \fICommand\fP, \fIInTerm\fP separated by newline. \fIInTerm\fP is a case insensitive boolean constant (\fITRUE\fP or \fIFALSE\fP). .TP .B \-\-item-width Set items width. .TP +.B \-\-compact +Use compact mode. Icon and name of each item is placed in a single row. +.TP +.B \-\-single-click +Activate items by single mouse click. This option may not works properly in case of compact mode. +.TP .B \-\-term Pattern for terminal. By default use `xterm \-e %s' where %s replaced by the command. - +.PP If both directory and stdin specified, content of iconbox will be read from directory. -.PP -File selection options +.SS File selection options .TP -.B \-\-filename=FILENAME +.B \-\-filename=\fIFILENAME\fP Set the filename. .TP .B \-\-multiple @@ -293,46 +369,53 @@ .B \-\-save Activate save mode. .TP -.B \-\-separator=STRING +.B \-\-separator=\fISTRING\fP Specify separator character when returning multiple filenames. .TP -.B \-\-confirm\-overwrite=TEXT -Confirm file selection if filename already exists. +.B \-\-confirm\-overwrite\fI=TEXT\fP +Confirm file selection if filename already exists. Optional argument is a text for confirmation dialog. .TP -.B \-\-file-filter=NAME | PATTERN1 PATTERN2 ... -Add a filename filter. \fINAME\fP is a displayed filter name, \fIPATTERN\fP -is a shell-style filename pattern (for example *.txt). This option may be -used multiply times. +.B \-\-quoted-output +Output values will be shell-style quoted. -.PP -Font selection options +.SS Font selection options .TP -.B \-\-fontname=FONTNAME -Set the initial font. \fIFONTNAME\fP is a string with font representation in the +.B \-\-fontname=\fIFONTNAME\fP +Set the initial font. \fIFONTNAME\fP is a string with font representation in the form \fI"FAMILY-LIST STYLE-OPTIONS SIZE"\fP. .TP .B \-\-preview Set the preview text. +.TP +.B \-\-separate-output +Separate output of selected font description. +.TP +.B \-\-separator=\fISTRING\fP +Set output separator character. Default is `|'. +.TP +.B \-\-quoted-output +Output data will be in shell-style quotes. -.PP -Form options +.SS Form options .TP -.B \-\-field=LABEL:TYPE -Add field to form. Type may be \fIH\fP, \fIRO\fP, \fINUM\fP, \fICHK\fP, \fICB\fP, \fICBE\fP, \fIFL\fP, \fISFL\fP, \fIDIR\fP, \fICDIR\fP, \fIFN\fP, \fIMFL\fP, \fIDT\fP, \fICLR\fP,\fIBTN\fP or \fILBL\fP. +.B \-\-field=\fILABEL:TYPE\fP +Add field to form. Type may be \fIH\fP, \fIRO\fP, \fINUM\fP, \fICHK\fP, \fICB\fP, \fICBE\fP, \fICE\fP, \fIFL\fP, \fISFL\fP, \fIDIR\fP, \fICDIR\fP, \fIFN\fP, \fIMFL\fP, \fIMDIR\fP, \fIDT\fP, \fISCL\fP, \fICLR\fP, \fIBTN\fP, \fIFBTN\fP, \fILBL\fP or \fITXT\fP. .br \fBH\fP - hidden field type. All characters are displayed as the invisible char. .br \fBRO\fP - field is in read-only mode. .br -\fBNUM\fP - field is a numeric. Initial value format for this field is \fIVALUE!RANGE!STEP\fP, where \fIRANGE\fP must be in form \fIMIN..MAX\fP. `!' is a default item separator. +\fBNUM\fP - field is a numeric. Initial value format for this field is \fIVALUE!RANGE!STEP!PREC\fP, where \fIRANGE\fP must be in form \fIMIN..MAX\fP. `!' is a default item separator. \fIPREC\fP is a precision for decimals. .br \fBCHK\fP - checkbox field. Initial value is a case insensitive boolean constant (\fITRUE\fP or \fIFALSE\fP). .br -\fBCB\fP - combo-box field. Initial value is a list \fIVAL1!VAL2!...\fP. The separator is the same as in \fINUM\fP field. +\fBCB\fP - combo-box field. Initial value is a list \fIVAL1!VAL2!...\fP. The separator is the same as in \fINUM\fP field. Value started with `^' threats as default for combo-box. .br \fBCBE\fP - editable combo-box field. Initial value same as for combo-box. .br +\fBCE\fP - entry with completion. Initial value same as for combo-box. +.br \fBFL\fP - file selection button. .br \fBSFL\fP - field for create file. @@ -345,39 +428,95 @@ .br \fBMFL\fP - select multiple files. Value of this field is a list of files separated by \fIitem-separator\fP. .br +\fBMDIR\fP - select multiple folders. Value of this field is a list of folders separated by \fIitem-separator\fP. +.br \fBDT\fP - date field. .br -\fBCLR\fP - color selection button. +\fBSCL\fP - scale field. Value of this field in a range 0..100. +.br +\fBCLR\fP - color selection button. Output values for this field generates in the same manner as for color dialog. .br -\fBBTN\fP - button field. Label may be in form \fITEXT!TOOLTIP\fP. \fITEXT\fP is a text of button label or gtk stock id. \fITOOLTIP\fP is an optional text for popup help string. Initial value is a command which is running when button is clicked. A special sympols \fI%N\fP in command are replaced by value of field \fIN\fP. If command starts with \fI@\fP, the output of command will be parsed and lines started with numeric will be treats as a new field values. +\fBBTN\fP - button field. Label may be in form text in a form \fILABEL!ICON!TOOLTIP\fP where `!' is an item separator. \fILABEL\fP is a text of button label or gtk stock id. \fIICON\fP is a buttons icon (stock id or file name). \fITOOLTIP\fP is an optional text for popup help string. Initial value is a command which is running when button is clicked. A special sympols \fI%N\fP in command are replaced by value of field \fIN\fP. If command starts with \fI@\fP, the output of command will be parsed and lines started with number and colon will be treats as a new field values. +A quoting style for value when \fIsh -c\fP is used \- a single quotes aroung command and double quotes aroung -c argument .br -\fBLBL\fP - text label. If field name is empty, horisontal separator line will be shown. +\fBFBTN\fP - same as button field, but with full relief of a button. +.br +\fBLBL\fP - text label. If field name is empty, horizontal separator line will be shown. +.br +\fBTXT\fP - multiline text entry. This field is always occupy all of form width. + +Without type field will be a simple text entry. .TP -.B \-\-align=TYPE -Set alignment of fields labels. Possible types are \fIleft\fP, \fIcenter\fP or \fIright\fP. Default is left. +.B \-\-align=\fITYPE\fP +Set alignment of field labels. Possible types are \fIleft\fP, \fIcenter\fP or \fIright\fP. Default is left. .TP -.B \-\-columns=NUMBER +.B \-\-columns=\fINUMBER\fP Set number of columns in form. Fields will be placed from top to bottom. .TP -.B \-\-separator=STRING +.B \-\-separator=\fISTRING\fP Set output separator character. Default is `|'. .TP -.B \-\-item-separator=STRING +.B \-\-focus-field=\fINUMBER\fP +Set focused field. +.TP +.B \-\-cycle-read +Cycled reading of stdin data. Sending FormFeed character clears the form. This symbol may be sent as \fIecho \-e '\\f'\fP. +.TP +.B \-\-item-separator=\fISTRING\fP Set separator character for combo-box or scale values. Default is `!'. .TP -.B \-\-date-format=PATTERN +.B \-\-date-format=\fIPATTERN\fP Set the format for the date fields (same as in calendar dialog). +.TP +.B \-\-float-precision=\fINUMBER\fP +Set precision of floating point numbers. By default precision is three digits after point. +.TP +.B \-\-complete=\fITYPE\fP +Use specific type for extended completion. \fITYPE\fP can be \fIany\fP for match any of typed words, \fIall\fP for match all of typed words or +\fIregex\fP when typed text treats as regular expression. +.TP +.B \-\-scroll +Make form scrollable. +.TP +.B \-\-quoted-output +Output values will be in shell-style quotes. +.TP +.B \-\-output-by-row +Output field values row by row if several columns is specified. +.TP +.B \-\-num-output +Output index of active element instead of text for combo-box fields. .PP -Additional data in command line interprets as a default values for form fields. +Additional data in command line interprets as a default values for form fields. A special value \fI@disabled@\fP makes corresponding field inactive. If no extra arguments specified in a command line, data will be readed from stdin, one value per line. Cycled reading means that for \fIN\fP fields \fIN+1\fP value will replace the first field. Empty values are skipped when reading from stdin. -.PP -List options +.SS HTML options +.TP +.B \-\-uri=\fIURI\fP +Open specified location. \fIURI\fP can be a filename or internet address. If \fIURI\fP is not an existing file and protocol is not specified a prefix \fIhttp://\fP will be added to \fIURI\fP. +.TP +.B \-\-browser +Turn on browser mode. In this mode all clicked links will be opened in html widget and command \fIOpen\fP will be added to context menu. .TP -.B \-\-column=STRING:TYPE -Set the column header. Types are \fITEXT\fP, \fINUM\fP, \fIFLT\fP, \fICHK\fP, \fIIMG\fP or \fITIP\fP. -\fITEXT\fP type is default. Use \fINUM\fP for integers and \fIFTL\fP for double values. \fITIP\fP is used for define tooltip column. +.B \-\-print-uri +Print clicked links to standard output. By default clicked links opens with \fIxdg-open\fP. +.TP +.B \-\-mime=\fIMIME\fP +Set mime type of data passed to standard input to \fIMIME\fP. Default is \fItext/html\fP. +.TP +.B \-\-encodintg=\fIENCODING\fP +Set encoding of data passed to standard input to \fIENCODING\fP. Default is \fIUTF-8\fP. + +.SS List options +.TP +.B \-\-column=\fISTRING:TYPE\fP +Set the column header. Types are \fITEXT\fP, \fINUM\fP, \fISZ\fP, \fIFLT\fP, \fICHK\fP, \fIRD\fP, \fIBAR\fP, \fIIMG\fP, \fIHD\fP or \fITIP\fP. +\fITEXT\fP type is default. Use \fINUM\fP for integers and \fIFLT\fP for double values. \fITIP\fP is used for define tooltip column. +\fISZ\fP size column type. Works exactly like \fINUM\fP column but shows human readable sizes instead of numbers. +\fICHK\fP (checkboxes) and \fIRD\fP (radio toggle) are a boolean columns. +\fIBAR\fP is a progress bar column. Vaule must be between \fI0\fP and \fI100\fP. If value is outside is range it will be croped to neares legal value. +\fIHD\fP type means a hidden column. Such columns are not displayes in the list, only in output. \fIIMG\fP may be path to image or icon name from currnet GTK+ icon theme. -Size of icons may be set in config file. Image field prints as empty value. +Size of icons may be set in gtk config file at GTK_ICON_SIZE_MENU position of gtk-icon-sizes. Image field prints as empty value. Special column names \fI@fore@\fP, \fI@back@\fP and \fI@font@\fP sets corresponding rows attributes. Values of those columns don't show in results. @@ -385,7 +524,10 @@ .B \-\-checklist Use check boxes for first column. .TP -.B \-\-separator=STRING +.B \-\-radiolist +Use radio toggle for first column. +.TP +.B \-\-separator=\fISTRING\fP Set output separator characters. .TP .B \-\-multiple @@ -395,71 +537,172 @@ Allow changes to text. .TP .B \-\-no-headers -Do not show column headers +Do not show column headers. +.TP +.B \-\-no-click +Disable sorting of column content by clicking on its header. +.TP +.B \-\-no-rules-hint +Don't draw even and odd rows by a different colors. This option depends on your current gtk theme and may not work. +.TP +.B \-\-no-selection +Disable selection in list. .TP .B \-\-print-all -Print all data from the list. +Print all data from the list. .TP -.B \-\-print-column=NUM +.B \-\-print-column=\fINUMBER\fP Specify what column will be printed to standard output. \fI0\fP may be used to print all columns (this is default). .TP -.B \-\-hide\-column=NUMBER +.B \-\-hide\-column=\fINUMBER\fP Hide a specific column. .TP -.B \-\-expand\-column=NUMBER +.B \-\-expand\-column=\fINUMBER\fP Set the column expandable by default. \fI0\fP sets all columns expandable. .TP -.B \-\-search\-column=NUMBER +.B \-\-search\-column=\fINUMBER\fP Set the quick search column. \fI0\fP mean to disable searching. By default search mades on first column. .TP -.B \-\-limit=NUMBER +.B \-\-tooltip\-column=\fINUMBER\fP +Set the column with popup tooltips. +.TP +.B \-\-sep\-column=\fINUMBER\fP +Set the row separator column. If the cell value from this column equal to specified row separator value such row will be draw as separator. +Separator value must be set. +.TP +.B \-\-sep\-value=\fITEXT\fP +Set the \fITEXT\fP as a row separator value. This feature highly depends on your current GTK+ theme and may not work properly. +.TP +.B \-\-limit=\fINUMBER\fP Set the number of rows in list dialog. Will be shown only the last \fINUMBER\fP rows. This option will take effect only when data reading from stdin. .TP -.B \-\-ellipsize=TYPE +.B \-\-ellipsize=\fITYPE\fP Set ellipsize mode for text columns. \fITYPE\fP may be \fINONE\fP, \fISTART\fP, \fIMIDDLE\fP or \fIEND\fP. .TP -.B \-\-dclick-action=CMD +.B \-\-dclick-action=\fICMD\fP Set the \fICMD\fP as a double-click command. When user double-clicked on row, \fICMD\fP will be launched with values of all columns as an arguments. By default double-click selects row and act as \fIOK\fP button for simple lists, set the checkbox if \fI\-\-checklist\fP specified and do nothing when list run with \fI\-\-multiple\fP option. When double-click specified \fIEnter\fP acts as a double-click and \fICtrl+Enter\fP acts as an \fIOK\fP button. \fICMD\fP may contain a special character `%s' for setting a position for arguments. By default arguments will be concatenated to the end of \fICMD\fP. +If \fICMD\fP starts with \fI@\fP, its output will replace values of current row. +This option doesn't work with \fI--editable\fP. +.TP +.B \-\-select-action=\fICMD\fP +Set the \fICMD\fP as a action when selection is changed. \fICMD\fP will be launched with values of all columns as an arguments. +\fICMD\fP may contain a special character `%s' for setting a position for arguments. By default arguments will be concatenated to the end of \fICMD\fP. +This option doesn't work with \fI--multiple\fP. .TP .B \-\-regex-search Use regular expressions in search for text fields. +.TP +.B \-\-listen +Listen data from stdin even if command-line values was specified. +.TP +.B \-\-quoted-output +Output values will be shell-style quoted. +.TP +.B \-\-float-precision=\fINUMBER\fP +Set precision of floating point numbers. By default precision is three digits after point. -.PP -Multi progress bars dialog options +Sending FormFeed character to list clears it. This symbol may be sent as \fIecho \-e '\\f'\fP. + +.SS Multi progress bars dialog options +.TP +.B \-\-bar=\fILABEL:TYPE\fP +Add progress bar. \fILABEL\fP is a text label for progress bar. \fITYPE\fP is a progress bar type. +Types are: \fINORM\fP for normal progress bar, \fIRTL\fP for inverted progress bar and \fIPULSE\fP for pulsate progress bar. .TP -.B \-\-bar=LABEL:TYPE -Add progress bar. \fILABEL\fP is a text label for progress bar. \fITYPE\fP is a progress bar type. Types are: \fINORM\fP for normal progress bar, \fIRTL\fP for inverted progress bar and \fIPULSE\fP for pulsate progress bar. .B \-\-vertical Set vertical orientation of progress bars. +.TP +.B \-\-align=\fITYPE\fP +Set alignment of bar labels. Possible types are \fIleft\fP, \fIcenter\fP or \fIright\fP. Default is left. +.TP +.B \-\-auto\-close +Close dialog when 100% has been reached for all of non-pulsating progress bars. +.TP +.B \-\-watch-bar\fINUMBER\fP +Watch for 100% of bar \fINUMBER\fP for close dialog. +.TP +.B \-\-auto\-kill +Kill parent process if cancel button is pressed. +.PP +Initial values for bars set as an extra arguments. Each lines with progress data passed to stdin must be started +from \fIN:\fP where \fIN\fP is a number of progress bar. -Initial values for bars set as extra arguments. Each lines with progress data passed to stdin must be started from \fIN:\fP where \fIN\fP is a number of progress bar. Rest is same as in \fIprogress\fP dialog. - +.SS Notebook options +.TP +.B \-\-key=\fIKEY\fP +Set the key of the children. +.TP +.B \-\-tab=\fITEXT\fP +Add tab with specified label to notebook. \fITEXT\fP may be in a form \fILABEL!ICON!TOOLTIP\fP +where `!' is an item separator. +.TP +.B \-\-tab-pos=\fITYPE\fP +Set the tabs position. Value may be \fItop\fP, \fIbottom\fP, \fIleft\fP, or \fIright\fP. Default is \fItop\fP. +.TP +.B \-\-tab-borders=\fINUMBER\fP +Set the borders width around widget in tabs. .PP -Notification options +See \fBNOTEBOOK and PANED\fP section for more about notebook dialog. + +.SS Notification options .TP -.B \-\-command=CMD -Set the command running when clicked on the icon. Default action is \fIquit\fP if \fI\-\-listen\fP not specified. +.B \-\-command=\fICMD\fP +Set the command running when clicked on the icon. Default action is \fIquit\fP if \fI\-\-listen\fP not specified. .TP .B \-\-listen Listen for commands on stdin. See \fBNOTIFICATION\fP section. .TP -.B \-\-separator=STRING +.B \-\-separator=\fISTRING\fP Set separator character for menu values. Default is \fI|\fP. .TP -.B \-\-item-separator=STRING +.B \-\-item-separator=\fISTRING\fP Set separator character for menu items. Default is \fI!\fP. +.TP +.B \-\-menu=\fISTRING\fP +Set initial menu for right-click. +.TP +.B \-\-no-middle +Disable exit on middle click. +.TP +.B \-\-hidden +Doesn't show icon at startup. .PP -See \fBNOTIFICATION\fP section for more about separators. +See \fBNOTIFICATION\fP section for more about separators. +.SS Paned options +.TP +.B \-\-key=\fIKEY\fP +Set the key of the children. +.TP +.B \-\-orient=\fITYPE\fP +Set orientation of panes inside dialog. \fITYPE\fP may be in \fIhorizontal\fP or \fIvertical\fP. +.TP +.B \-\-splitter=\fIPOS\fP +Set the initial splitter position. .PP -Print options +See \fBNOTEBOOK and PANED\fP section for more about paned dialog. + +.SS Picture options +.TP +.B \-\-size=\fIVALUE\fP +Set initial size of picture. Available values are \fIfit\fP for fitting image in window or \fIorig\fP for show picture in original size. .TP -.B \-\-type=TYPE +.B \-\-inc=\fiNUMBER\fp +Set increment value for scaling image. +.TP +.B \-\-filename=\fIFILENAME\fP +Set picture filename. +.PP +Some actions on a picture like scaling or rotating available from popup menu. Those actions can be made only on static images. + +.SS Print options +.TP +.B \-\-type=\fITYPE\fP Set source file type. \fITYPE\fP may be a \fITEXT\fP for text files, \fIIMAGE\fP for image files or \fIRAW\fP for files in postscript or pdf formats. .TP -.B \-\-filename=FILENAME +.B \-\-filename=\fIFILENAME\fP Set name or path to the source file. .TP .B \-\-headers @@ -468,20 +711,19 @@ .B \-\-add-preview Add \fIPreview\fP button to the print dialog. This option doesn't work for \fIRAW\fP type. .TP -.B \-\-fontname=FONTNAME +.B \-\-fontname=\fIFONTNAME\fP Set the font for printing text. \fIFONTNAME\fP is a string with font representation in the form \fI"FAMILY-LIST STYLE-OPTIONS SIZE"\fP. This option works only for \fITEXT\fP type. -.PP -Progress options +.SS Progress options .PP When the \-\-progress option is used, yad reads lines of progress data from stdin. When the lines begin with \fI#\fP the text after \fI#\fP is displayed in the progress bar label. Numeric values treats like a persents for progress bar. .TP -.B \-\-progress-text=STRING -Set text in progress bar to STRING. +.B \-\-progress-text=\fITEXT\fP +Set text in progress bar to \fITEXT\fP. .TP -.B \-\-percentage=INT +.B \-\-percentage=\fINUMBER\fP Set initial percentage. .TP .B \-\-rtl @@ -495,57 +737,83 @@ .TP .B \-\-pulsate Pulsate progress bar. +.TP +.B \-\-enable-log\fI=TEXT\fP +Show log window. This window gathers all of lines from stdin, started from \fI#\fP instead of setting appropriate progress labels. +Optional argument \fITEXT\fP is a text label for window expander. +.TP +.B \-\-log-on-top +Place log window above progress bar. +.TP +.B \-\-log-expanded +Start with expanded log window. +.TP +.B \-\-log-height +Set the height of log window. -.PP -Text options +.SS Text options .TP -.B \-\-filename=FILENAME +.B \-\-filename=\fIFILENAME\fP Open specified file. .TP .B \-\-editable Allow changes to text. .TP -.B \-\-fore=COLOR -Set foreground color of text +.B \-\-fore=\fICOLOR\fP +Set foreground color of text. .TP -.B \-\-back=COLOR -Set background color of text +.B \-\-back=\fICOLOR\fP +Set background color of text. .TP -.B \-\-fontname=FONT -Set text font. \fIFONT\fP must be in a Pango font description format. +.B \-\-fontname=\fIFONTNAME\fP +Set text font. \fIFONTNAME\fP must be in a Pango font description format. .TP .B \-\-wrap Enable text wrapping. .TP -.B \-\-justify=TYPE +.B \-\-justify=\fITYPE\fP Set justification. \fITYPE\fP may be \fIleft\fP, \fIright\fP, \fIcenter\fP or \fIfill\fP. Default is \fIleft\fP. .TP -.B \-\-margins=SIZE -Set text margins to SIZE. +.B \-\-margins=\fINUMBER\fP +Set text margins to \fINUMBER\fP. .TP .B \-\-tail Autoscroll to end when new text appears. Works only when text is read from stdin. .TP +.B \-\-show-cursor +Show cursor in read-only mode. +.TP .B \-\-show-uri -Make URI in text clickable. Links opens with \fIxdg-open\fP command. +Make links in text clickable. Links opens with \fIxdg-open\fP command. +.TP +.B \-\-uri-color +Set color for links. Default is \fIblue\fP. +.TP +.B \-\-lang=LANGUAGE +Highlight syntax for specified \fILANGUAGE\fP. This option works only if yad builds with gtksourceview. +.TP +.B \-\-listen +Listen data from stdin even if filename was specified. -.PP -Scale options +Sending FormFeed character to text dialog clears it. This symbol may be sent as \fIecho \-e '\\f'\fP. +Pressing \fICtrl+S\fP popups the search entry in text dialog. + +.SS Scale options .TP -.B \-\-value=VALUE +.B \-\-value=\fIVALUE\fP Set initial value. .TP -.B \-\-min\-value=VALUE +.B \-\-min\-value=\fIVALUE\fP Set minimum value. .TP -.B \-\-max\-value=VALUE +.B \-\-max\-value=\fIVALUE\fP Set maximum value. .TP -.B \-\-step=VALUE +.B \-\-step=\fIVALUE\fP Set step size. .TP -.B \-\-page=VALUE +.B \-\-page=\fIVALUE\fP Set paging size. By default page value is STEP*10. .TP .B \-\-print\-partial @@ -560,11 +828,30 @@ .B \-\-invert Invert scale direction. .TP -.B \-\-mark=NAME:VALUE +.B \-\-mark=\fINAME:VALUE\fP Add a mark to scale. May be used multiply times. \fINAME\fP is an optional arguments for set label to mark. -.PP -Miscellaneous options +.SS File filters options +.TP +.B \-\-file-filter=\fINAME | PATTERN1 PATTERN2 ...\fP +Add a filename filter. \fINAME\fP is a displayed filter name, \fIPATTERN\fP +is a shell-style filename pattern (for example *.txt). This option may be used multiply times. +.TP +.B \-\-mime-filter=\fINAME | MIME1 MIME2 ...\fP +Add a mime-type filter. \fINAME\fP is a displayed filter name, \fIPATTERN\fP +is a name of mime type (for example text/plain). This option may be used multiply times. +.TP +.B \-\-image-filter=\fINAME\fP +Add filter for images supported by gdk-pixbuf library. \fINAME\fP in as optional name for this filter. +.TP +.B \-\-add-preview +Add preview widget. Preview images loads from large or normal thumbnails according to XDG Thumbnails +specification v0.8.0 (http://standards.freedesktop.org/thumbnail-spec/latest/) or creates by yad for image files and saves +as large thumbnails. + +This options applies to all of yad's file chooser dialogs. + +.SS Miscellaneous options .TP .B \-?, \-\-help Show summary of options. @@ -578,65 +865,86 @@ .PP Also the standard GTK+ options are accepted. +.SH NOTEBOOK and PANED +Notebook is a complex dialog which swallow other dialogs in his tabs. +Dialogs identifies by unique key (integer) and must be runs in a special plug mode (\-\-plug option). +Following example runs notebook dialog with two tabs, first has a simple text and second is an entry dialog. + +.nf +#! /bin/sh +.sp +yad \-\-plug=12345 \-\-tabnum=1 \-\-text="first tab with text" &> res1 & +yad \-\-plug=12345 \-\-tabnum=2 \-\-text="second tab" \-\-entry &> res2 & +yad \-\-notebook \-\-key=12345 \-\-tab="Tab 1" \-\-tab="Tab 2" +.fi + +NOTE: The order of output results for tabs is undefined! + +Paned works in a same manner as a notebook with one restriction - only first and secong plug dialogs +will be swallowed to panes. + .SH NOTIFICATION Allows commands to be sent to yad in the form \fBcommand:args\fP. Possible commands are \fIicon\fP, \fItooltip\fP, \fIvisible\fP, \fIaction\fP, \fImenu\fP and \fIquit\fP. .TP -.B -icon:ICONNAME +.B icon:ICONNAME Set notification icon to ICONNAME. .TP -.B -tooltip:STRING +.B tooltip:STRING Set notification tooltip. .TP -.B -visible:true|false|blink +.B visible:true|false|blink Set notification icon to visible, invisible or blinking states. .TP -.B -action:COMMAND -Specify the command running when click on the icon. +.B action:COMMAND +Specify the command running when click on the icon. Special string \fI"quit"\fP exit the program. .TP -.B -menu:STRING +.B menu:STRING Set popup menu for notification icon. STRING must be in form \fIname1!action1!icon1|name2!action2!icon2...\fP. Empty name add separator to menu. Separator character for values (e.g. `|') sets with \-\-separator argument. Separator character for menu items (e.g. `!') sets with \-\-item-separator argument. .TP -.B -quit +.B quit Exit the program. Middle click on icon also send \fIquit\fP command. +.SH ENVIRONMENT VARIABLES +.TP +.B YAD_OPTIONS +This variable can holds some default options for yad. All options in this +variable may be redefined from command line. +.TP +.B YAD_PID +This variable sets to the value of current dialog's pid and accessible in all +dialog children. +.TP +.B YAD_XID +This variable sets to the value of current dialog's X Window ID and accessible in all +dialog children. This variable is not set in print and notification dialogs, +and in a dialogs which acts as a notebook children. + .SH USER DEFINED SIGNALS .TP -.B -SIGUSR1 +.B SIGUSR1 Close dialog with 0 exit code. .TP -.B -SIGUSR2 +.B SIGUSR2 Close dialog with 1 exit code. .SH EXIT STATUS .TP -.B -0 +.B 0 The user has pressed \fIOK\fP button .TP -.B -1 +.B 1 The user has pressed \fICancel\fP button .TP -.B -70 +.B 70 The dialog has been closed because the timeout has been reached. .TP -.B -252 +.B 252 The dialog has been closed by pressing \fIEsc\fP or used the window functions to close the dialog .TP Exit codes for user-specified buttons must be specified in command line. Even exit code mean to print result, odd just return exit code. @@ -648,7 +956,7 @@ .TS tab (@); l l l. -.B +.B Widget name@Widget type@Description _ yad-dialog-window@GtkDialog@Dialog window @@ -675,17 +983,25 @@ yad-form-font@GtkFontChooserButton@Font field in form yad-form-color@GtkColorChooserButton@Color field in form yad-form-label@GtkLabel@Label field in form -yad-form-separator@GtkHSeparator@ Separator in form +yad-form-scale@GtkScale@Scale widget in form +yad-form-separator@GtkSeparator@Separator in form +yad-form-text@GtkTextView@Multiline text field in form yad-icons-full@GtkIconView@Icons widget for normal mode yad-icons-compact@GtkTreeView@Icons widget for compact mode yad-list-widget@GtkTreeView@List widget yad-progress-widget@GtkProgressBar@Progressbar widget -yad-vscale-widget@GtkScale@Vertical scale widget -yad-hscale-widget@GtkScale@Horizontal scale widget +yad-scale-widget@GtkScale@Scale widget yad-text-widget@GtkTextView@Text info widget yad-timeout-indicator@GtkProgreeBar@Timeout indicator .TE +.SH FILES +.TP +.B yad.conf +YAD default settings. \fIyad.conf\fP placed in \fI$XDG_CONFIG_HOME\fP or \fI$HOME/.config\fP +directory. This file contain comments on every defaults and will be automatically +recreated on yad'd start if it doesn't exists. + .SH EXAMPLES Display a file selector with the title \fISelect a file to remove\fP. The file selected is returned on standard output. @@ -734,7 +1050,9 @@ .PP When using autoconf you may use special m4 macro \fIAM_PATH_YAD\fP for looking for yad and check it version. Usage of this macro is .IP -AM_PATH_YAD(MIN-VERSION,ACT-FOUND,ACT-NOT-FOUND) +AM_PATH_YAD(MINIMUM-VERSION,\\ +ACTION-IF-FOUND,\\ +ACTION-IF-NOT-FOUND) .PP .SH AUTHORS
View file
yad-0.16.3.tar.bz2/po/LINGUAS -> yad-0.36.2.tar.xz/po/LINGUAS
Changed
@@ -4,6 +4,9 @@ # de fr +it +pt_BR ru sk uk +zh_TW
View file
yad-0.16.3.tar.bz2/po/Makefile.in.in -> yad-0.36.2.tar.xz/po/Makefile.in.in
Changed
@@ -49,14 +49,14 @@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ -MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist -GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot +MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist +GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot ALL_LINGUAS = @ALL_LINGUAS@ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) -USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep '^$$lang$$' $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep '^$$lang$$'`"; then printf "$$lang "; fi; done; fi) +USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) @@ -73,15 +73,20 @@ .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V)) +INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) +INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@; + .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: - $(MSGFMT) -o $@ $< + $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $< .po.gmo: - file=`echo $* | sed 's,.*/,,'`.gmo \ + $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: @@ -129,7 +134,7 @@ done # Empty stubs to satisfy archaic automake needs -dvi info tags TAGS ID: +dvi info ctags tags CTAGS TAGS ID: # Define this as empty until I found a useful application. install-exec installcheck:
View file
yad-0.16.3.tar.bz2/po/POTFILES.in -> yad-0.36.2.tar.xz/po/POTFILES.in
Changed
@@ -4,6 +4,7 @@ src/file.c src/font.c src/form.c +src/html.c src/icons.c src/main.c src/notification.c @@ -11,9 +12,12 @@ src/list.c src/option.c src/multi-progress.c +src/paned.c +src/picture.c src/print.c src/progress.c src/color.c src/text.c src/browser.c +src/notebook.c data/yad-icon-browser.desktop.in
View file
yad-0.16.3.tar.bz2/po/de.po -> yad-0.36.2.tar.xz/po/de.po
Changed
@@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: yad\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-11-21 11:42+0200\n" +"POT-Creation-Date: 2014-02-07 09:25+0200\n" "PO-Revision-Date: 2009-11-30 16:53+0100\n" "Last-Translator: Manfred Mueller aka Quax<mmueller@live-modules.org>\n" "Language-Team: German translations at Lin2Go <mmueller@live-modules.org>\n" @@ -63,1042 +63,1226 @@ "\n" "Basiert auf Zenity-Code\n" -#: ../src/calendar.c:39 ../src/text.c:241 +#: ../src/calendar.c:39 ../src/text.c:389 #, c-format msgid "Cannot open file '%s': %s\n" msgstr "" -#: ../src/entry.c:158 ../src/scale.c:39 +#: ../src/entry.c:172 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Der Maximalwert muß kleiner als der Minimalwert sein.\n" -#: ../src/entry.c:164 ../src/scale.c:48 +#: ../src/entry.c:179 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "" -#: ../src/entry.c:169 ../src/scale.c:53 +#: ../src/entry.c:184 ../src/scale.c:53 #, fuzzy, c-format msgid "Initial value greater than maximum.\n" msgstr "Der Maximalwert muß kleiner als der Minimalwert sein.\n" -#: ../src/form.c:305 +#: ../src/form.c:372 #, fuzzy msgid "Select files" msgstr "Datei öffnen" -#: ../src/form.c:369 +#: ../src/form.c:380 +#, fuzzy +msgid "Select folders" +msgstr "Datei öffnen" + +#: ../src/form.c:443 #, fuzzy msgid "Select or create file" msgstr "Datei öffnen" -#: ../src/form.c:378 +#: ../src/form.c:451 msgid "Select or create folder" msgstr "" -#: ../src/form.c:411 +#: ../src/form.c:488 #, fuzzy msgid "Select date" msgstr "Datei öffnen" -#: ../src/form.c:546 +#: ../src/form.c:689 #, fuzzy msgid "Select file" msgstr "Datei öffnen" -#: ../src/form.c:553 +#: ../src/form.c:703 msgid "Select folder" msgstr "" -#: ../src/icons.c:247 +#: ../src/icons.c:321 #, fuzzy, c-format msgid "Unable to parse file %s: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" -#: ../src/icons.c:264 +#: ../src/icons.c:338 #, fuzzy, c-format msgid "Unable to open directory %s: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" -#: ../src/main.c:89 ../src/main.c:229 +#: ../src/main.c:102 ../src/main.c:233 #, c-format msgid "%d sec" msgstr "" -#: ../src/main.c:501 +#: ../src/main.c:656 #, c-format -msgid "Unable parse command line: %s\n" +msgid "Unable to parse command line: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" -#: ../src/notification.c:82 +#: ../src/notification.c:118 #, fuzzy, c-format msgid "Could not load notification icon '%s': %s\n" msgstr "Kann Benachrichtigungs-Symbol '%s' nicht laden: %s" -#: ../src/notification.c:261 +#: ../src/notification.c:301 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Ungültiger UTF-8 Eintrag im Tool-Tip!\n" -#: ../src/notification.c:323 +#: ../src/notification.c:345 #, c-format msgid "Unknown command '%s'\n" msgstr "Befehl '%s' unbekannt\n" -#: ../src/notification.c:359 +#: ../src/notification.c:380 msgid "Yad notification" msgstr "Yad Benachrichtigung" -#: ../src/list.c:703 +#: ../src/list.c:856 msgid "Add row" msgstr "Reihe hinzufügen" -#: ../src/list.c:712 +#: ../src/list.c:863 msgid "Delete row" msgstr "Reihe löschen" -#: ../src/list.c:741 +#: ../src/list.c:870 +#, fuzzy +msgid "Duplicate row" +msgstr "Reihe löschen" + +#: ../src/list.c:897 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Keine Spaltentitel für Listendialog angegeben\n" -#: ../src/option.c:62 +#: ../src/option.c:69 msgid "Set the dialog title" msgstr "Dialogtitel angeben" -#: ../src/option.c:63 +#: ../src/option.c:70 msgid "TITLE" msgstr "TITEL" -#: ../src/option.c:68 +#: ../src/option.c:75 msgid "Set the window icon" msgstr "Fenster-Symbol angeben" -#: ../src/option.c:69 +#: ../src/option.c:76 msgid "ICONPATH" msgstr "SYMBOLPFAD" -#: ../src/option.c:74 +#: ../src/option.c:81 msgid "Set the width" msgstr "Breite angeben" -#: ../src/option.c:75 +#: ../src/option.c:82 msgid "WIDTH" msgstr "BREITE" -#: ../src/option.c:80 +#: ../src/option.c:87 msgid "Set the height" msgstr "Höhe angeben" -#: ../src/option.c:81 +#: ../src/option.c:88 msgid "HEIGHT" msgstr "HÖHE" -#: ../src/option.c:86 +#: ../src/option.c:93 #, fuzzy msgid "Set the window geometry" msgstr "Fenster-Symbol angeben" -#: ../src/option.c:87 +#: ../src/option.c:94 msgid "WxH+X+Y" msgstr "" -#: ../src/option.c:92 +#: ../src/option.c:99 msgid "Set dialog timeout in seconds" msgstr "Ablaufzeit in Sekunden angeben" -#: ../src/option.c:93 +#: ../src/option.c:100 msgid "TIMEOUT" msgstr "ABLAUFZEIT" -#: ../src/option.c:98 +#: ../src/option.c:105 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "" -#: ../src/option.c:99 +#: ../src/option.c:106 msgid "POS" msgstr "" -#: ../src/option.c:104 +#: ../src/option.c:111 msgid "Set the dialog text" msgstr "Dialogtext angeben" -#: ../src/option.c:105 ../src/option.c:135 ../src/option.c:348 -#: ../src/option.c:354 ../src/option.c:360 ../src/option.c:488 -#: ../src/option.c:812 +#: ../src/option.c:112 ../src/option.c:142 ../src/option.c:391 +#: ../src/option.c:397 ../src/option.c:403 ../src/option.c:543 +#: ../src/option.c:971 ../src/option.c:1010 msgid "TEXT" msgstr "TEXT" -#: ../src/option.c:110 -msgid "Set the dialog text alignment (left, center, right)" +#: ../src/option.c:117 +msgid "Set the dialog text alignment (left, center, right, fill)" msgstr "" -#: ../src/option.c:111 ../src/option.c:510 ../src/option.c:658 -#: ../src/option.c:778 ../src/option.c:955 +#: ../src/option.c:118 ../src/option.c:160 ../src/option.c:566 +#: ../src/option.c:738 ../src/option.c:820 ../src/option.c:863 +#: ../src/option.c:937 ../src/option.c:1138 msgid "TYPE" msgstr "" -#: ../src/option.c:116 +#: ../src/option.c:123 msgid "Set the dialog image" msgstr "Dialog-Symbol angeben" -#: ../src/option.c:117 ../src/option.c:384 ../src/option.c:396 +#: ../src/option.c:124 ../src/option.c:427 ../src/option.c:439 msgid "IMAGE" msgstr "SYMBOL" -#: ../src/option.c:122 +#: ../src/option.c:129 msgid "Show image above main widget" msgstr "" -#: ../src/option.c:128 +#: ../src/option.c:135 msgid "Use specified icon theme instead of default" msgstr "" -#: ../src/option.c:129 +#: ../src/option.c:136 msgid "THEME" msgstr "" -#: ../src/option.c:134 +#: ../src/option.c:141 msgid "Hide main widget with expander" msgstr "" -#: ../src/option.c:140 +#: ../src/option.c:147 msgid "Add dialog button (may be used multiple times)" msgstr "Dialog-Schaltfläche hinzufügen (Auch mehrmals)" -#: ../src/option.c:141 +#: ../src/option.c:148 msgid "NAME:ID" msgstr "NAME:ID" -#: ../src/option.c:146 +#: ../src/option.c:153 msgid "Don't show buttons" msgstr "" -#: ../src/option.c:152 +#: ../src/option.c:159 +msgid "Set buttons layout type (spread, edge, start, end or center)" +msgstr "" + +#: ../src/option.c:165 msgid "Don't use pango markup language in dialog's text" msgstr "" -#: ../src/option.c:159 +#: ../src/option.c:172 msgid "Add separator between dialog and buttons" msgstr "Leerraum zwischen Dialog und Schaltflächen" -#: ../src/option.c:166 +#: ../src/option.c:179 #, fuzzy msgid "Set window borders" msgstr "Fenster-Größe fixieren" -#: ../src/option.c:167 ../src/option.c:516 ../src/option.c:664 -#: ../src/option.c:670 ../src/option.c:676 ../src/option.c:682 -#: ../src/option.c:688 +#: ../src/option.c:180 ../src/option.c:259 ../src/option.c:572 +#: ../src/option.c:744 ../src/option.c:750 ../src/option.c:756 +#: ../src/option.c:762 ../src/option.c:768 ../src/option.c:869 msgid "NUMBER" msgstr "ZAHL" -#: ../src/option.c:172 +#: ../src/option.c:185 msgid "Always print result" msgstr "" -#: ../src/option.c:178 +#: ../src/option.c:191 msgid "Dialog text can be selected" msgstr "" -#: ../src/option.c:185 +#: ../src/option.c:198 msgid "Set window sticky" msgstr "Fenster fixieren" -#: ../src/option.c:191 +#: ../src/option.c:204 msgid "Set window unresizable" msgstr "Fenster-Größe fixieren" -#: ../src/option.c:197 +#: ../src/option.c:210 msgid "Place window on top" msgstr "Als oberstes Fenster anzeigen" -#: ../src/option.c:203 +#: ../src/option.c:216 msgid "Place window on center of screen" msgstr "Fenster auf Bildschirm zentrieren" -#: ../src/option.c:209 +#: ../src/option.c:222 #, fuzzy msgid "Place window at the mouse position" msgstr "Als oberstes Fenster anzeigen" -#: ../src/option.c:215 +#: ../src/option.c:228 msgid "Set window undecorated" msgstr "Fenster-Dekoration entfernen" -#: ../src/option.c:221 +#: ../src/option.c:234 #, fuzzy msgid "Don't show window in taskbar" msgstr "Spalten-Bezeichnung angeben" -#: ../src/option.c:228 -msgid "Send TERM to parent" +#: ../src/option.c:240 +#, fuzzy +msgid "Set window maximized" +msgstr "Fenster-Größe fixieren" + +#: ../src/option.c:246 +#, fuzzy +msgid "Set window fulscreen" +msgstr "Fenster-Größe fixieren" + +#: ../src/option.c:252 +msgid "Special type of dialog for XEMBED" msgstr "" -#: ../src/option.c:234 +#: ../src/option.c:253 ../src/option.c:851 +msgid "KEY" +msgstr "" + +#: ../src/option.c:258 +msgid "Tab nubmer of this dialog" +msgstr "" + +#: ../src/option.c:265 +msgid "Send SIGNAL to parent" +msgstr "" + +#: ../src/option.c:266 +msgid "SIGNAL" +msgstr "" + +#: ../src/option.c:271 msgid "Print X Window Id to the stderr" msgstr "" -#: ../src/option.c:245 +#: ../src/option.c:278 +msgid "Add path for search icons by name" +msgstr "" + +#: ../src/option.c:279 +#, fuzzy +msgid "PATH" +msgstr "SYMBOLPFAD" + +#: ../src/option.c:288 msgid "Display calendar dialog" msgstr "Kalender-Dialog" -#: ../src/option.c:251 +#: ../src/option.c:294 msgid "Set the calendar day" msgstr "Kalender-Tag angeben" -#: ../src/option.c:252 +#: ../src/option.c:295 msgid "DAY" msgstr "TAG" -#: ../src/option.c:257 +#: ../src/option.c:300 msgid "Set the calendar month" msgstr "Kalender-Monat angeben" -#: ../src/option.c:258 +#: ../src/option.c:301 msgid "MONTH" msgstr "MONAT" -#: ../src/option.c:263 +#: ../src/option.c:306 msgid "Set the calendar year" msgstr "Kalender-Jahr angeben" -#: ../src/option.c:264 +#: ../src/option.c:307 msgid "YEAR" msgstr "Jahr" -#: ../src/option.c:269 ../src/option.c:533 +#: ../src/option.c:312 ../src/option.c:589 msgid "Set the format for the returned date" msgstr "Format des angezeigten Datums angeben" -#: ../src/option.c:270 ../src/option.c:534 ../src/option.c:581 +#: ../src/option.c:313 ../src/option.c:590 ../src/option.c:649 msgid "PATTERN" msgstr "FORMAT" -#: ../src/option.c:275 +#: ../src/option.c:318 #, fuzzy msgid "Set the filename with dates details" msgstr "Dateinamen angeben" -#: ../src/option.c:276 ../src/option.c:304 ../src/option.c:424 -#: ../src/option.c:772 ../src/option.c:973 +#: ../src/option.c:319 ../src/option.c:347 ../src/option.c:467 +#: ../src/option.c:931 ../src/option.c:1156 ../src/option.c:1200 msgid "FILENAME" msgstr "DATEINAME" -#: ../src/option.c:285 +#: ../src/option.c:328 msgid "Display color selection dialog" msgstr "Farbwahl-Dialog" -#: ../src/option.c:291 +#: ../src/option.c:334 msgid "Alias for --color" msgstr "" -#: ../src/option.c:297 +#: ../src/option.c:340 msgid "Set initial color value" msgstr "Wert der Anfangsfarbe angeben" -#: ../src/option.c:298 ../src/option.c:931 ../src/option.c:937 +#: ../src/option.c:341 ../src/option.c:1114 ../src/option.c:1120 msgid "COLOR" msgstr "FARBE" -#: ../src/option.c:303 +#: ../src/option.c:346 msgid "Set path to palette file. Default - " msgstr "" -#: ../src/option.c:309 +#: ../src/option.c:352 msgid "Use #rrrrggggbbbb format instead of #rrggbb" msgstr "#rrrrggggbbbb statt #rrggbb benutzen" -#: ../src/option.c:319 +#: ../src/option.c:362 #, fuzzy msgid "Display drag-n-drop box" msgstr "Kalender-Dialog" -#: ../src/option.c:325 +#: ../src/option.c:368 msgid "Use dialog text as tooltip" msgstr "" -#: ../src/option.c:331 +#: ../src/option.c:374 msgid "Set command for process d-n-d data" msgstr "" -#: ../src/option.c:332 ../src/option.c:390 ../src/option.c:402 -#: ../src/option.c:694 ../src/option.c:738 +#: ../src/option.c:375 ../src/option.c:433 ../src/option.c:445 +#: ../src/option.c:774 ../src/option.c:885 msgid "CMD" msgstr "" -#: ../src/option.c:341 +#: ../src/option.c:384 msgid "Display text entry or combo-box dialog" msgstr "Texteingabefeld oder Auswahlfeld" -#: ../src/option.c:347 +#: ../src/option.c:390 msgid "Set the entry label" msgstr "Eintrags-Bezeichnung angeben" -#: ../src/option.c:353 +#: ../src/option.c:396 msgid "Set the entry text" msgstr "Eintrags-Text angeben" -#: ../src/option.c:359 +#: ../src/option.c:402 msgid "Hide the entry text" msgstr "Eintrags-Text verbergen" -#: ../src/option.c:365 +#: ../src/option.c:408 msgid "Use completion instead of combo-box" msgstr "Vervollständigen statt Auswahlfeld verwenden" -#: ../src/option.c:371 +#: ../src/option.c:414 #, fuzzy msgid "Use spin button for text entry" msgstr "Bestimmte Schriftart benutzen" -#: ../src/option.c:377 +#: ../src/option.c:420 msgid "Allow changes to text in combo-box" msgstr "Text-Änderungen im Auswahlfeld erlauben" -#: ../src/option.c:383 +#: ../src/option.c:426 #, fuzzy msgid "Set the left entry icon" msgstr "Eintrags-Text angeben" -#: ../src/option.c:389 +#: ../src/option.c:432 #, fuzzy msgid "Set the left entry icon action" msgstr "Textfeld-Einstellungen anzeigen" -#: ../src/option.c:395 +#: ../src/option.c:438 #, fuzzy msgid "Set the right entry icon" msgstr "Fenster-Symbol angeben" -#: ../src/option.c:401 +#: ../src/option.c:444 #, fuzzy msgid "Set the right entry icon action" msgstr "Textfeld-Einstellungen anzeigen" -#: ../src/option.c:411 +#: ../src/option.c:454 msgid "Display file selection dialog" msgstr "Datei-Auswahlfeld" -#: ../src/option.c:417 +#: ../src/option.c:460 msgid "Alias for --file" msgstr "" -#: ../src/option.c:423 +#: ../src/option.c:466 msgid "Set the filename" msgstr "Dateinamen angeben" -#: ../src/option.c:429 +#: ../src/option.c:472 msgid "Allow multiple files to be selected" msgstr "Auswahl mehrerer Dateien erlauben" -#: ../src/option.c:435 +#: ../src/option.c:478 msgid "Activate directory-only selection" msgstr "Nur Verzeichnis-Auswahl aktivieren" -#: ../src/option.c:441 +#: ../src/option.c:484 msgid "Activate save mode" msgstr "Sicheren Modus aktivieren" -#: ../src/option.c:447 ../src/option.c:521 ../src/option.c:633 +#: ../src/option.c:490 ../src/option.c:577 ../src/option.c:713 msgid "Set output separator character" msgstr "Ausgabe-Trennzeichen angeben" -#: ../src/option.c:448 ../src/option.c:522 ../src/option.c:528 -#: ../src/option.c:634 ../src/option.c:750 ../src/option.c:756 +#: ../src/option.c:491 ../src/option.c:578 ../src/option.c:584 +#: ../src/option.c:714 ../src/option.c:897 ../src/option.c:903 msgid "SEPARATOR" msgstr "Trennzeichen" -#: ../src/option.c:453 +#: ../src/option.c:496 msgid "Confirm file selection if filename already exists" msgstr "Datei-Auswahl bei bestehender Datei bestätigen" -#: ../src/option.c:454 +#: ../src/option.c:497 #, fuzzy msgid "TEXT" msgstr "TEXT" -#: ../src/option.c:459 +#: ../src/option.c:502 msgid "Sets a filename filter" msgstr "Dateinames-Filter angeben" -#: ../src/option.c:460 +#: ../src/option.c:503 msgid "NAME | PATTERN1 PATTERN2 ..." msgstr "NAME | MUSTER1 MUSTER2 ..." -#: ../src/option.c:469 +#: ../src/option.c:508 +#, fuzzy +msgid "Enable preview" +msgstr "Text für Fortschrittsbalken angeben" + +#: ../src/option.c:514 ../src/option.c:601 ../src/option.c:791 +#, fuzzy +msgid "Quote dialogs output" +msgstr "Dialogtext angeben" + +#: ../src/option.c:524 #, fuzzy msgid "Display font selection dialog" msgstr "Datei-Auswahlfeld" -#: ../src/option.c:475 +#: ../src/option.c:530 msgid "Alias for --font" msgstr "" -#: ../src/option.c:481 +#: ../src/option.c:536 #, fuzzy msgid "Set initial font" msgstr "Anfangs-Prozentsatz angeben" -#: ../src/option.c:482 ../src/option.c:796 ../src/option.c:943 +#: ../src/option.c:537 ../src/option.c:955 ../src/option.c:1126 msgid "FONTNAME" msgstr "SCHRIFTART" -#: ../src/option.c:487 +#: ../src/option.c:542 #, fuzzy msgid "Set preview text" msgstr "Text für Fortschrittsbalken angeben" -#: ../src/option.c:497 +#: ../src/option.c:552 msgid "Display form dialog" msgstr "Formular-Dialog" -#: ../src/option.c:503 +#: ../src/option.c:559 msgid "" -"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, DIR, CDIR, FN, " -"MFL, DT, CLR, BTN or LBL)" +"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, MFL, DIR, CDIR, " +"MDIR, FN, DT, SCL, CLR, BTN, FBTN, LBL or TXT)" msgstr "" -#: ../src/option.c:504 ../src/option.c:716 +#: ../src/option.c:560 ../src/option.c:808 msgid "LABEL:TYPE" msgstr "" -#: ../src/option.c:509 -msgid "Set alignment of fileds labels (left, center or right)" +#: ../src/option.c:565 +msgid "Set alignment of filed labels (left, center or right)" msgstr "" -#: ../src/option.c:515 +#: ../src/option.c:571 msgid "Set number of columns in form" msgstr "" -#: ../src/option.c:527 +#: ../src/option.c:583 #, fuzzy msgid "Set separator character for combobox or scale data" msgstr "Ausgabe-Trennzeichen angeben" -#: ../src/option.c:543 +#: ../src/option.c:595 +msgid "Make form scrollable" +msgstr "" + +#: ../src/option.c:611 #, fuzzy msgid "Display icons box dialog" msgstr "Listen-Dialog" -#: ../src/option.c:549 +#: ../src/option.c:617 msgid "Read data from .desktop files in specified directory" msgstr "" -#: ../src/option.c:550 +#: ../src/option.c:618 msgid "DIRECTORY" msgstr "" -#: ../src/option.c:555 +#: ../src/option.c:623 msgid "Use compact (list) view" msgstr "" -#: ../src/option.c:561 +#: ../src/option.c:629 msgid "Use GenericName field instead of Name for icon label" msgstr "" -#: ../src/option.c:567 +#: ../src/option.c:635 #, fuzzy msgid "Read data from stdin" msgstr "Alle Werte der Liste" -#: ../src/option.c:573 +#: ../src/option.c:641 #, fuzzy msgid "Set the width of dialog items" msgstr "Dialogtitel angeben" -#: ../src/option.c:580 +#: ../src/option.c:648 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" msgstr "" -#: ../src/option.c:586 +#: ../src/option.c:654 msgid "Sort items by name instead of filename" msgstr "" -#: ../src/option.c:592 +#: ../src/option.c:660 msgid "Sort items in descending order" msgstr "" -#: ../src/option.c:602 +#: ../src/option.c:666 +msgid "Activate items by single click" +msgstr "" + +#: ../src/option.c:676 msgid "Display list dialog" msgstr "Listen-Dialog" -#: ../src/option.c:608 +#: ../src/option.c:682 #, fuzzy msgid "Don't show column headers" msgstr "Spalten-Bezeichnung angeben" -#: ../src/option.c:614 -msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, IMG or TIP)" +#: ../src/option.c:688 +msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, RD, IMG, HD or TIP)" msgstr "" -#: ../src/option.c:615 +#: ../src/option.c:689 #, fuzzy msgid "COLUMN:TYPE" msgstr "SPALTE" -#: ../src/option.c:620 -msgid "Use check boxes for first column" +#: ../src/option.c:694 +#, fuzzy +msgid "Use checkboxes for first column" msgstr "Ankreuzfeld für erste Spalte benutzen" -#: ../src/option.c:626 -msgid "Alias to checklist (deprecated)" -msgstr "Alias für Ankreuzfeld (veraltet)" +#: ../src/option.c:700 +#, fuzzy +msgid "Use radioboxes for first column" +msgstr "Ankreuzfeld für erste Spalte benutzen" + +#: ../src/option.c:706 +msgid "Disable clickable column headers" +msgstr "" -#: ../src/option.c:639 +#: ../src/option.c:719 msgid "Allow multiple rows to be selected" msgstr "Auswahl mehrerer Reihen erlauben" -#: ../src/option.c:645 ../src/option.c:978 +#: ../src/option.c:725 ../src/option.c:1161 msgid "Allow changes to text" msgstr "Textänderungen erlauben" -#: ../src/option.c:651 +#: ../src/option.c:731 msgid "Print all data from list" msgstr "Alle Werte der Liste" -#: ../src/option.c:657 +#: ../src/option.c:737 msgid "Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)" msgstr "" -#: ../src/option.c:663 +#: ../src/option.c:743 #, fuzzy msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" msgstr "Bestimmte Spalte ausgeben (Standard=1 - Alle=0)" -#: ../src/option.c:669 +#: ../src/option.c:749 msgid "Hide a specific column" msgstr "Bestimmte Spalte verbergen" -#: ../src/option.c:675 +#: ../src/option.c:755 msgid "Set the column expandable by default. 0 sets all columns expandable" msgstr "" -#: ../src/option.c:681 +#: ../src/option.c:761 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" msgstr "" -#: ../src/option.c:687 +#: ../src/option.c:767 #, fuzzy msgid "Set the limit of rows in list" msgstr "Dialogtitel angeben" -#: ../src/option.c:693 +#: ../src/option.c:773 msgid "Set double-click action" msgstr "" -#: ../src/option.c:699 +#: ../src/option.c:779 msgid "Use regex in search" msgstr "" -#: ../src/option.c:709 +#: ../src/option.c:785 +msgid "Listen for data on stdin in addition to command-line" +msgstr "" + +#: ../src/option.c:801 #, fuzzy msgid "Display multi progress bars dialog" msgstr "Fortschrittsbalken" -#: ../src/option.c:715 +#: ../src/option.c:807 msgid "Add the progress bar (TYPE - NORM, RTL or PULSE)" msgstr "" -#: ../src/option.c:721 +#: ../src/option.c:813 msgid "Show vertical bars" msgstr "" -#: ../src/option.c:731 +#: ../src/option.c:819 +msgid "Set alignment of bar labels (left, center or right)" +msgstr "" + +#: ../src/option.c:826 +#, fuzzy, no-c-format +msgid "Dismiss the dialog when 100% of all bars has been reached" +msgstr "Dialog bei Erreichen von 100% beenden" + +#: ../src/option.c:833 ../src/option.c:996 +msgid "Kill parent process if cancel button is pressed" +msgstr "Hauptprozess bei Klick auf Abbrechen beenden" + +#: ../src/option.c:844 +#, fuzzy +msgid "Display notebook dialog" +msgstr "Listen-Dialog" + +#: ../src/option.c:850 +msgid "Identifier of embedded dialogs" +msgstr "" + +#: ../src/option.c:856 +msgid "Add a tab to notebook" +msgstr "" + +#: ../src/option.c:857 +msgid "LABEL" +msgstr "BEZEICHNUNG" + +#: ../src/option.c:862 +msgid "Set position of a notebook tabs (top, bottom, left or right)" +msgstr "" + +#: ../src/option.c:868 +#, fuzzy +msgid "Set tab borders" +msgstr "Fenster-Größe fixieren" + +#: ../src/option.c:878 msgid "Display notification" msgstr "Benachrichtigung" -#: ../src/option.c:737 +#: ../src/option.c:884 msgid "Set left-click action" msgstr "" -#: ../src/option.c:743 +#: ../src/option.c:890 #, fuzzy msgid "Listen for commands on stdin" msgstr "Auf Befehle von stdin warten" -#: ../src/option.c:749 +#: ../src/option.c:896 #, fuzzy msgid "Set separator character for menu values" msgstr "Ausgabe-Trennzeichen angeben" -#: ../src/option.c:755 +#: ../src/option.c:902 #, fuzzy msgid "Set separator character for menu items" msgstr "Ausgabe-Trennzeichen angeben" -#: ../src/option.c:765 +#: ../src/option.c:908 +#, fuzzy +msgid "Set initial popup menu" +msgstr "Anfangs-Prozentsatz angeben" + +#: ../src/option.c:909 +msgid "STRING" +msgstr "" + +#: ../src/option.c:914 +msgid "Disable exit on middle click" +msgstr "" + +#: ../src/option.c:924 #, fuzzy msgid "Display printing dialog" msgstr "Listen-Dialog" -#: ../src/option.c:771 +#: ../src/option.c:930 #, fuzzy msgid "Source filename" msgstr "Dateinamen angeben" -#: ../src/option.c:777 +#: ../src/option.c:936 msgid "Set source type (TYPE - TEXT, IMAGE or RAW)" msgstr "" -#: ../src/option.c:783 +#: ../src/option.c:942 msgid "Add headers to page" msgstr "" -#: ../src/option.c:789 +#: ../src/option.c:948 msgid "Enable preview in print dialog" msgstr "" -#: ../src/option.c:795 ../src/option.c:942 +#: ../src/option.c:954 ../src/option.c:1125 msgid "Use specified font" msgstr "Bestimmte Schriftart benutzen" -#: ../src/option.c:805 +#: ../src/option.c:964 msgid "Display progress indication dialog" msgstr "Fortschrittsbalken" -#: ../src/option.c:811 +#: ../src/option.c:970 msgid "Set progress text" msgstr "Text für Fortschrittsbalken angeben" -#: ../src/option.c:817 +#: ../src/option.c:976 msgid "Set initial percentage" msgstr "Anfangs-Prozentsatz angeben" -#: ../src/option.c:818 +#: ../src/option.c:977 msgid "PERCENTAGE" msgstr "Prozentsatz" -#: ../src/option.c:823 +#: ../src/option.c:982 msgid "Pulsate progress bar" msgstr "Pulsierender Fortschrittsbalken" -#: ../src/option.c:830 +#: ../src/option.c:989 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" msgstr "Dialog bei Erreichen von 100% beenden" -#: ../src/option.c:837 -msgid "Kill parent process if cancel button is pressed" -msgstr "Hauptprozess bei Klick auf Abbrechen beenden" - -#: ../src/option.c:844 +#: ../src/option.c:1003 msgid "Right-To-Left progress bar direction" msgstr "" -#: ../src/option.c:854 +#: ../src/option.c:1009 +#, fuzzy +msgid "Show log window" +msgstr "Farb-Einstellungen anzeigen" + +#: ../src/option.c:1015 +msgid "Expand log window" +msgstr "" + +#: ../src/option.c:1021 +#, fuzzy +msgid "Place log window above progress bar" +msgstr "Pulsierender Fortschrittsbalken" + +#: ../src/option.c:1027 +#, fuzzy +msgid "Height of log window" +msgstr "Farb-Einstellungen anzeigen" + +#: ../src/option.c:1037 msgid "Display scale dialog" msgstr "Schieberegler" -#: ../src/option.c:860 +#: ../src/option.c:1043 msgid "Set initial value" msgstr "Anfangswert angeben" -#: ../src/option.c:861 ../src/option.c:867 ../src/option.c:873 -#: ../src/option.c:879 ../src/option.c:885 +#: ../src/option.c:1044 ../src/option.c:1050 ../src/option.c:1056 +#: ../src/option.c:1062 ../src/option.c:1068 msgid "VALUE" msgstr "WERT" -#: ../src/option.c:866 +#: ../src/option.c:1049 msgid "Set minimum value" msgstr "Minimal-Wert angeben" -#: ../src/option.c:872 +#: ../src/option.c:1055 msgid "Set maximum value" msgstr "Maximal-Wert angeben" -#: ../src/option.c:878 +#: ../src/option.c:1061 msgid "Set step size" msgstr "Abstände angeben" -#: ../src/option.c:884 +#: ../src/option.c:1067 #, fuzzy msgid "Set paging size" msgstr "Abstände angeben" -#: ../src/option.c:890 +#: ../src/option.c:1073 msgid "Print partial values" msgstr "Teilwerte ausgeben" -#: ../src/option.c:896 +#: ../src/option.c:1079 msgid "Hide value" msgstr "Wert verbergen" -#: ../src/option.c:902 +#: ../src/option.c:1085 msgid "Show vertical scale" msgstr "" -#: ../src/option.c:908 +#: ../src/option.c:1091 msgid "Invert direction" msgstr "" -#: ../src/option.c:914 +#: ../src/option.c:1097 #, fuzzy msgid "Add mark to scale (may be used multiple times)" msgstr "Dialog-Schaltfläche hinzufügen (Auch mehrmals)" -#: ../src/option.c:915 +#: ../src/option.c:1098 #, fuzzy msgid "NAME:VALUE" msgstr "WERT" -#: ../src/option.c:924 +#: ../src/option.c:1107 msgid "Display text information dialog" msgstr "Textinformations-Dialog" -#: ../src/option.c:930 +#: ../src/option.c:1113 #, fuzzy msgid "Use specified color for text" msgstr "Bestimmte Schriftart benutzen" -#: ../src/option.c:936 +#: ../src/option.c:1119 #, fuzzy msgid "Use specified color for background" msgstr "Bestimmte Schriftart benutzen" -#: ../src/option.c:948 +#: ../src/option.c:1131 #, fuzzy msgid "Enable text wrapping" msgstr "Textumbruch nicht aktivieren" -#: ../src/option.c:954 +#: ../src/option.c:1137 msgid "Set justification (TYPE - left, right, center or fill)" msgstr "" -#: ../src/option.c:960 +#: ../src/option.c:1143 msgid "Set text margins" msgstr "" -#: ../src/option.c:961 +#: ../src/option.c:1144 msgid "SIZE" msgstr "" -#: ../src/option.c:966 +#: ../src/option.c:1149 msgid "Autoscroll to end of text" msgstr "" -#: ../src/option.c:972 +#: ../src/option.c:1155 msgid "Open file" msgstr "Datei öffnen" -#: ../src/option.c:984 +#: ../src/option.c:1167 msgid "Make URI clickable" msgstr "" -#: ../src/option.c:994 +#: ../src/option.c:1173 +msgid "Listen for data on stdin in addition to file" +msgstr "" + +#: ../src/option.c:1183 msgid "Show about dialog" msgstr "Über-Dialog" -#: ../src/option.c:1000 +#: ../src/option.c:1189 msgid "Print version" msgstr "Version" -#: ../src/option.c:1049 ../src/option.c:1236 +#: ../src/option.c:1199 +msgid "Load extra arguments from file" +msgstr "" + +#: ../src/option.c:1244 ../src/option.c:1459 #, fuzzy, c-format msgid "Unknown align type: %s\n" msgstr "Befehl '%s' unbekannt\n" -#: ../src/option.c:1194 +#: ../src/option.c:1401 #, c-format msgid "Mark %s doesn't have a value\n" msgstr "" -#: ../src/option.c:1254 +#: ../src/option.c:1444 +#, fuzzy, c-format +msgid "Unknown buttons layout type: %s\n" +msgstr "Befehl '%s' unbekannt\n" + +#: ../src/option.c:1476 #, c-format msgid "Unknown justification type: %s\n" msgstr "" -#: ../src/option.c:1293 +#: ../src/option.c:1493 +#, fuzzy, c-format +msgid "Unknown tab position type: %s\n" +msgstr "Befehl '%s' unbekannt\n" + +#: ../src/option.c:1529 #, fuzzy, c-format msgid "Unknown ellipsize type: %s\n" msgstr "Befehl '%s' unbekannt\n" -#: ../src/option.c:1309 +#: ../src/option.c:1544 #, fuzzy, c-format msgid "Unknown source type: %s\n" msgstr "Befehl '%s' unbekannt\n" -#: ../src/option.c:1438 +#: ../src/option.c:1555 +#, fuzzy +msgid "Progress log" +msgstr "Fortschrittsbalken-Einstellungen" + +#: ../src/option.c:1664 +#, fuzzy, c-format +msgid "Unknown signal: %s\n" +msgstr "Befehl '%s' unbekannt\n" + +#: ../src/option.c:1807 msgid "File exist. Overwrite?" msgstr "" -#: ../src/option.c:1520 +#: ../src/option.c:1900 msgid "Yet another dialoging program" msgstr "Nur ein anderes Dialog-Programm" #. Adds general option entries -#: ../src/option.c:1524 +#: ../src/option.c:1904 msgid "General options" msgstr "Allgemeine Einstellungen" -#: ../src/option.c:1525 +#: ../src/option.c:1904 msgid "Show general options" msgstr "Allgemeine Einstellungen anzeigen" #. Adds calendar option entries -#: ../src/option.c:1531 +#: ../src/option.c:1910 msgid "Calendar options" msgstr "Kalender-Einstellungen" -#: ../src/option.c:1532 +#: ../src/option.c:1910 msgid "Show calendar options" msgstr "Kalender-Einstellungen anzeigen" #. Adds color option entries -#: ../src/option.c:1538 +#: ../src/option.c:1916 #, fuzzy msgid "Color selection options" msgstr "Dateiauswahl-Einstellungen" -#: ../src/option.c:1539 +#: ../src/option.c:1916 #, fuzzy msgid "Show color selection options" msgstr "Dateiauswahl-Einstellungen anzeigen" #. Adds dnd option entries -#: ../src/option.c:1545 +#: ../src/option.c:1922 #, fuzzy msgid "DND options" msgstr "Formular-Einstellungen" -#: ../src/option.c:1546 +#: ../src/option.c:1922 #, fuzzy msgid "Show drag-n-drop options" msgstr "Kalender-Einstellungen anzeigen" #. Adds entry option entries -#: ../src/option.c:1552 +#: ../src/option.c:1928 msgid "Text entry options" msgstr "Textfeld-Einstellungen" -#: ../src/option.c:1553 +#: ../src/option.c:1928 msgid "Show text entry options" msgstr "Textfeld-Einstellungen anzeigen" #. Adds file selection option entries -#: ../src/option.c:1559 +#: ../src/option.c:1934 msgid "File selection options" msgstr "Dateiauswahl-Einstellungen" -#: ../src/option.c:1560 +#: ../src/option.c:1934 msgid "Show file selection options" msgstr "Dateiauswahl-Einstellungen anzeigen" #. Add font selection option entries -#: ../src/option.c:1566 +#: ../src/option.c:1940 #, fuzzy msgid "Font selection options" msgstr "Dateiauswahl-Einstellungen" -#: ../src/option.c:1567 +#: ../src/option.c:1940 #, fuzzy msgid "Show font selection options" msgstr "Dateiauswahl-Einstellungen anzeigen" #. Add form option entries -#: ../src/option.c:1573 +#: ../src/option.c:1946 msgid "Form options" msgstr "Formular-Einstellungen" -#: ../src/option.c:1574 +#: ../src/option.c:1946 msgid "Show form options" msgstr "Formular-Einstellungen anzeigen" #. Add icons option entries -#: ../src/option.c:1580 +#: ../src/option.c:1952 #, fuzzy msgid "Icons box options" msgstr "Farb-Einstellungen" -#: ../src/option.c:1581 +#: ../src/option.c:1952 #, fuzzy msgid "Show icons box options" msgstr "Farb-Einstellungen anzeigen" #. Adds list option entries -#: ../src/option.c:1587 +#: ../src/option.c:1958 msgid "List options" msgstr "Listen-Einstellungen" -#: ../src/option.c:1588 +#: ../src/option.c:1958 msgid "Show list options" msgstr "Listen-Einstellungen anzeigen" #. Adds multi progress option entries -#: ../src/option.c:1594 +#: ../src/option.c:1964 #, fuzzy msgid "Multi progress bars options" msgstr "Fortschrittsbalken-Einstellungen anzeigen" -#: ../src/option.c:1595 +#: ../src/option.c:1965 #, fuzzy -msgid "Show Multi progress bars options" +msgid "Show multi progress bars options" +msgstr "Fortschrittsbalken-Einstellungen anzeigen" + +#. Adds notebook option entries +#: ../src/option.c:1971 +#, fuzzy +msgid "Notebook options" +msgstr "Farb-Einstellungen" + +#: ../src/option.c:1971 +#, fuzzy +msgid "Show notebook dialog options" msgstr "Fortschrittsbalken-Einstellungen anzeigen" #. Adds notification option entries -#: ../src/option.c:1601 +#: ../src/option.c:1977 msgid "Notification icon options" msgstr "Benachrichtigungssymbol-Einstellungen" -#: ../src/option.c:1602 +#: ../src/option.c:1978 msgid "Show notification icon options" msgstr "Benachrichtigungssymbol-Einstellungen" #. Adds print option entries -#: ../src/option.c:1608 +#: ../src/option.c:1984 #, fuzzy msgid "Print dialog options" msgstr "Fortschrittsbalken-Einstellungen" -#: ../src/option.c:1609 +#: ../src/option.c:1984 #, fuzzy msgid "Show print dialog options" msgstr "Fortschrittsbalken-Einstellungen anzeigen" #. Adds progress option entries -#: ../src/option.c:1615 +#: ../src/option.c:1990 msgid "Progress options" msgstr "Fortschrittsbalken-Einstellungen" -#: ../src/option.c:1616 +#: ../src/option.c:1990 msgid "Show progress options" msgstr "Fortschrittsbalken-Einstellungen anzeigen" #. Adds scale option entries -#: ../src/option.c:1622 +#: ../src/option.c:1996 msgid "Scale options" msgstr "Schieberegler-Einstellungen" -#: ../src/option.c:1623 +#: ../src/option.c:1996 msgid "Show scale options" msgstr "Schieberegler-Einstellungen anzeigen" #. Adds text option entries -#: ../src/option.c:1629 +#: ../src/option.c:2002 msgid "Text information options" msgstr "Informationstext-Einstellungen" -#: ../src/option.c:1630 +#: ../src/option.c:2002 msgid "Show text information options" msgstr "Informationstext-Einstellungen anzeigen" #. Adds miscellaneous option entries -#: ../src/option.c:1636 +#: ../src/option.c:2008 msgid "Miscellaneous options" msgstr "Verschiedene Einstellungen" -#: ../src/option.c:1637 +#: ../src/option.c:2008 msgid "Show miscellaneous options" msgstr "Verschiedene Einstellungen anzeigen" -#: ../src/print.c:202 ../src/print.c:363 +#: ../src/print.c:202 ../src/print.c:361 #, fuzzy, c-format msgid "Printing failed: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" @@ -1113,79 +1297,83 @@ msgid "Filename is not specified.\n" msgstr "" -#: ../src/print.c:379 +#: ../src/print.c:377 #, c-format msgid "Printer doesn't support ps format.\n" msgstr "" -#: ../src/print.c:387 +#: ../src/print.c:385 #, c-format msgid "Printer doesn't support pdf format.\n" msgstr "" -#: ../src/print.c:393 +#: ../src/print.c:391 #, c-format msgid "This file type is not supported for raw printing.\n" msgstr "" -#: ../src/print.c:407 +#: ../src/print.c:405 #, c-format msgid "Load source file failed: %s\n" msgstr "" -#: ../src/color.c:64 +#: ../src/color.c:65 #, fuzzy, c-format msgid "Can't open file %s: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" #. create expander -#: ../src/color.c:149 +#: ../src/color.c:150 msgid "Palette" msgstr "" -#: ../src/color.c:171 +#: ../src/color.c:169 msgid "Color" msgstr "" -#: ../src/color.c:188 +#: ../src/color.c:186 msgid "Name" msgstr "" -#: ../src/text.c:271 +#: ../src/text.c:418 #, c-format msgid "Invalid UTF-8 data encountered reading file %s\n" msgstr "" -#: ../src/browser.c:129 +#: ../src/browser.c:132 msgid "scalable " msgstr "" -#: ../src/browser.c:137 -#, c-format -msgid "" -"<b>Name:</b> %s\n" -"<b>Sizes:</b> %s\n" -"<b>Filename:</b> %s" -msgstr "" - -#: ../src/browser.c:138 +#: ../src/browser.c:142 msgid "built-in" msgstr "" #. initialize GTK+ and parse the command line arguments -#: ../src/browser.c:197 +#: ../src/browser.c:200 msgid "- Icon browser" msgstr "" -#: ../src/browser.c:210 +#: ../src/browser.c:213 msgid "Icon browser" msgstr "" -#: ../src/browser.c:261 +#: ../src/browser.c:247 +msgid "<b>Name:</b>" +msgstr "" + +#: ../src/browser.c:265 +msgid "<b>Sizes:</b>" +msgstr "" + +#: ../src/browser.c:283 +msgid "<b>Filename:</b>" +msgstr "" + +#: ../src/browser.c:325 msgid "Category" msgstr "" -#: ../src/browser.c:294 +#: ../src/browser.c:356 msgid "Icons" msgstr "" @@ -1198,8 +1386,11 @@ msgstr "" #, fuzzy -#~ msgid "Unknown unit type: %s\n" -#~ msgstr "Befehl '%s' unbekannt\n" +#~ msgid "NUM" +#~ msgstr "ZAHL" + +#~ msgid "Alias to checklist (deprecated)" +#~ msgstr "Alias für Ankreuzfeld (veraltet)" #, fuzzy #~ msgid "Unknown text align type: %s\n" @@ -1208,16 +1399,6 @@ #~ msgid "Error loading window icon %s: %s\n" #~ msgstr "Fehler beim Laden von Fenster-Symbol %s: %s\n" -#, fuzzy -#~ msgid "NUM" -#~ msgstr "ZAHL" - -#~ msgid "Color options" -#~ msgstr "Farb-Einstellungen" - -#~ msgid "Show color options" -#~ msgstr "Farb-Einstellungen anzeigen" - #~ msgid "Value out of range.\n" #~ msgstr "Wert außerhalb des Bereiches.\n" @@ -1230,6 +1411,3 @@ #~ msgid "Add field to form" #~ msgstr "Feld zu Formular hinzufügen" - -#~ msgid "LABEL" -#~ msgstr "BEZEICHNUNG"
View file
yad-0.16.3.tar.bz2/po/fr.po -> yad-0.36.2.tar.xz/po/fr.po
Changed
@@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-11-21 11:42+0200\n" +"POT-Creation-Date: 2014-02-07 09:25+0200\n" "PO-Revision-Date: \n" "Last-Translator: Yannou90 <windaube.non.merci@gmail.com>\n" "Language-Team: Français\n" @@ -71,538 +71,606 @@ "\n" "Basé sur le code Zenity\n" -#: ../src/calendar.c:39 ../src/text.c:241 +#: ../src/calendar.c:39 ../src/text.c:389 #, c-format msgid "Cannot open file '%s': %s\n" msgstr "Impossible d'ouvrir le fichier '%s': %s\n" -#: ../src/entry.c:158 ../src/scale.c:39 +#: ../src/entry.c:172 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "La valeur minimale doit être inférieure à la valeur maximale.\n" -#: ../src/entry.c:164 ../src/scale.c:48 +#: ../src/entry.c:179 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "Valeur initial inférieur à la minimal.\n" -#: ../src/entry.c:169 ../src/scale.c:53 +#: ../src/entry.c:184 ../src/scale.c:53 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Valeur initial supérieur à la maximal.\n" -#: ../src/form.c:305 +#: ../src/form.c:372 msgid "Select files" msgstr "Sélectionner _tous les fichiers" -#: ../src/form.c:369 +#: ../src/form.c:380 +#, fuzzy +msgid "Select folders" +msgstr "Choisir un répertoire" + +#: ../src/form.c:443 msgid "Select or create file" msgstr "Sélectionner ou créer le fichier" -#: ../src/form.c:378 +#: ../src/form.c:451 msgid "Select or create folder" msgstr "Sélectionner ou créer le dossier" -#: ../src/form.c:411 +#: ../src/form.c:488 msgid "Select date" msgstr "Sélectionner une date" -#: ../src/form.c:546 +#: ../src/form.c:689 msgid "Select file" msgstr "Sélectionner le fichier" -#: ../src/form.c:553 +#: ../src/form.c:703 msgid "Select folder" msgstr "Choisir un répertoire" -#: ../src/icons.c:247 +#: ../src/icons.c:321 #, c-format msgid "Unable to parse file %s: %s\n" msgstr "Impossible d'analyser le fichier %s: %s\n" -#: ../src/icons.c:264 +#: ../src/icons.c:338 #, c-format msgid "Unable to open directory %s: %s\n" msgstr "impossible d'ouvrir le répertoire %s: %s\n" -#: ../src/main.c:89 ../src/main.c:229 +#: ../src/main.c:102 ../src/main.c:233 #, c-format msgid "%d sec" msgstr "%d sec" -#: ../src/main.c:501 +#: ../src/main.c:656 #, c-format -msgid "Unable parse command line: %s\n" +msgid "Unable to parse command line: %s\n" msgstr "Impossible d'analyser la ligne de commande: %s\n" -#: ../src/notification.c:82 +#: ../src/notification.c:118 #, c-format msgid "Could not load notification icon '%s': %s\n" msgstr "Impossible de charger l'icône de notification '%s': %s\n" -#: ../src/notification.c:261 +#: ../src/notification.c:301 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Charactère UTF-8 invalide du tooltip!\n" -#: ../src/notification.c:323 +#: ../src/notification.c:345 #, c-format msgid "Unknown command '%s'\n" msgstr "Commande inconnue: '%s'\n" -#: ../src/notification.c:359 +#: ../src/notification.c:380 msgid "Yad notification" msgstr "Yad notification" -#: ../src/list.c:703 +#: ../src/list.c:856 msgid "Add row" msgstr "Ajouter une ligne" -#: ../src/list.c:712 +#: ../src/list.c:863 msgid "Delete row" msgstr "Supprimer la ligne" -#: ../src/list.c:741 +#: ../src/list.c:870 +#, fuzzy +msgid "Duplicate row" +msgstr "Supprimer la ligne" + +#: ../src/list.c:897 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Pas de titre de colonne spécifié pour liste.\n" -#: ../src/option.c:62 +#: ../src/option.c:69 msgid "Set the dialog title" msgstr "Définit le titre" -#: ../src/option.c:63 +#: ../src/option.c:70 msgid "TITLE" msgstr "TITRE" -#: ../src/option.c:68 +#: ../src/option.c:75 msgid "Set the window icon" msgstr "Définir l'icône de la fenêtre" -#: ../src/option.c:69 +#: ../src/option.c:76 msgid "ICONPATH" msgstr "ICONPATH" -#: ../src/option.c:74 +#: ../src/option.c:81 msgid "Set the width" msgstr "Définir la largeur" -#: ../src/option.c:75 +#: ../src/option.c:82 msgid "WIDTH" msgstr "LARGEUR" -#: ../src/option.c:80 +#: ../src/option.c:87 msgid "Set the height" msgstr "Définir la hauteur" -#: ../src/option.c:81 +#: ../src/option.c:88 msgid "HEIGHT" msgstr "HAUTEUR" -#: ../src/option.c:86 +#: ../src/option.c:93 msgid "Set the window geometry" msgstr "Définir la géométrie de la fenêtre" -#: ../src/option.c:87 +#: ../src/option.c:94 msgid "WxH+X+Y" msgstr "WxH+X+Y" -#: ../src/option.c:92 +#: ../src/option.c:99 msgid "Set dialog timeout in seconds" msgstr "Sélectionner le compte à rebourt en seconde de la boite de dialogue" -#: ../src/option.c:93 +#: ../src/option.c:100 msgid "TIMEOUT" msgstr "EXPIRATION" -#: ../src/option.c:98 +#: ../src/option.c:105 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Voir indicateur de temps restant (haut, bas, gauche, droite)" -#: ../src/option.c:99 +#: ../src/option.c:106 msgid "POS" msgstr "POS" -#: ../src/option.c:104 +#: ../src/option.c:111 msgid "Set the dialog text" msgstr "Définir le texte" -#: ../src/option.c:105 ../src/option.c:135 ../src/option.c:348 -#: ../src/option.c:354 ../src/option.c:360 ../src/option.c:488 -#: ../src/option.c:812 +#: ../src/option.c:112 ../src/option.c:142 ../src/option.c:391 +#: ../src/option.c:397 ../src/option.c:403 ../src/option.c:543 +#: ../src/option.c:971 ../src/option.c:1010 msgid "TEXT" msgstr "TEXTE" -#: ../src/option.c:110 +#: ../src/option.c:117 #, fuzzy -msgid "Set the dialog text alignment (left, center, right)" +msgid "Set the dialog text alignment (left, center, right, fill)" msgstr "" "Définir l'alignement des étiquettes de champs (gauche, centre ou droite)" -#: ../src/option.c:111 ../src/option.c:510 ../src/option.c:658 -#: ../src/option.c:778 ../src/option.c:955 +#: ../src/option.c:118 ../src/option.c:160 ../src/option.c:566 +#: ../src/option.c:738 ../src/option.c:820 ../src/option.c:863 +#: ../src/option.c:937 ../src/option.c:1138 msgid "TYPE" msgstr "TYPE" -#: ../src/option.c:116 +#: ../src/option.c:123 msgid "Set the dialog image" msgstr "Définir l'image" -#: ../src/option.c:117 ../src/option.c:384 ../src/option.c:396 +#: ../src/option.c:124 ../src/option.c:427 ../src/option.c:439 msgid "IMAGE" msgstr "IMAGE" -#: ../src/option.c:122 +#: ../src/option.c:129 msgid "Show image above main widget" msgstr "Afficher l'image du widget principal" -#: ../src/option.c:128 +#: ../src/option.c:135 msgid "Use specified icon theme instead of default" msgstr "Utiliser un théme d'icone spécifique" -#: ../src/option.c:129 +#: ../src/option.c:136 msgid "THEME" msgstr "THEME" -#: ../src/option.c:134 +#: ../src/option.c:141 msgid "Hide main widget with expander" msgstr "Cacher le widget principal avec un extenseur" -#: ../src/option.c:140 +#: ../src/option.c:147 msgid "Add dialog button (may be used multiple times)" msgstr "Ajouter un bouton de dialogue (peut être utilisé plusieurs fois)" -#: ../src/option.c:141 +#: ../src/option.c:148 msgid "NAME:ID" msgstr "NOM:ID" -#: ../src/option.c:146 +#: ../src/option.c:153 msgid "Don't show buttons" msgstr "Ne pas afficher les boutons" -#: ../src/option.c:152 +#: ../src/option.c:159 +msgid "Set buttons layout type (spread, edge, start, end or center)" +msgstr "" + +#: ../src/option.c:165 msgid "Don't use pango markup language in dialog's text" msgstr "" "Ne pas utiliser le langage de balisage Pango dans une boite de dialogue texte" -#: ../src/option.c:159 +#: ../src/option.c:172 msgid "Add separator between dialog and buttons" msgstr "Ajouter un séparateur entre la boite de dialogue et les boutons" -#: ../src/option.c:166 +#: ../src/option.c:179 msgid "Set window borders" msgstr "Définir les bordures de fenêtre" -#: ../src/option.c:167 ../src/option.c:516 ../src/option.c:664 -#: ../src/option.c:670 ../src/option.c:676 ../src/option.c:682 -#: ../src/option.c:688 +#: ../src/option.c:180 ../src/option.c:259 ../src/option.c:572 +#: ../src/option.c:744 ../src/option.c:750 ../src/option.c:756 +#: ../src/option.c:762 ../src/option.c:768 ../src/option.c:869 msgid "NUMBER" msgstr "NOMBRE" -#: ../src/option.c:172 +#: ../src/option.c:185 msgid "Always print result" msgstr "Toujours afficher le résultat" -#: ../src/option.c:178 +#: ../src/option.c:191 msgid "Dialog text can be selected" msgstr "Le texte peut être sélectionné" -#: ../src/option.c:185 +#: ../src/option.c:198 msgid "Set window sticky" msgstr "Définir la fenêtre comme collante" -#: ../src/option.c:191 +#: ../src/option.c:204 msgid "Set window unresizable" msgstr "Fixer la géométrie de la fenêtre" -#: ../src/option.c:197 +#: ../src/option.c:210 msgid "Place window on top" msgstr "Placer la fenêtre sur le dessus" -#: ../src/option.c:203 +#: ../src/option.c:216 msgid "Place window on center of screen" msgstr "Centrer la fenêtre" -#: ../src/option.c:209 +#: ../src/option.c:222 msgid "Place window at the mouse position" msgstr "Placer la fenêtre sous la souri" -#: ../src/option.c:215 +#: ../src/option.c:228 msgid "Set window undecorated" msgstr "Ne pas décorer la fenêtre" -#: ../src/option.c:221 +#: ../src/option.c:234 msgid "Don't show window in taskbar" msgstr "Ne pas montrer la fenêtre dans la barre de tâches" -#: ../src/option.c:228 -msgid "Send TERM to parent" +#: ../src/option.c:240 +#, fuzzy +msgid "Set window maximized" +msgstr "Fixer la géométrie de la fenêtre" + +#: ../src/option.c:246 +#, fuzzy +msgid "Set window fulscreen" +msgstr "Fixer la géométrie de la fenêtre" + +#: ../src/option.c:252 +msgid "Special type of dialog for XEMBED" +msgstr "" + +#: ../src/option.c:253 ../src/option.c:851 +msgid "KEY" +msgstr "" + +#: ../src/option.c:258 +msgid "Tab nubmer of this dialog" +msgstr "" + +#: ../src/option.c:265 +#, fuzzy +msgid "Send SIGNAL to parent" msgstr "Envoyer le signal TERM au parent" -#: ../src/option.c:234 +#: ../src/option.c:266 +msgid "SIGNAL" +msgstr "" + +#: ../src/option.c:271 msgid "Print X Window Id to the stderr" msgstr "Afficher l'ID de la fenêtre sur stderr" -#: ../src/option.c:245 +#: ../src/option.c:278 +msgid "Add path for search icons by name" +msgstr "" + +#: ../src/option.c:279 +#, fuzzy +msgid "PATH" +msgstr "ICONPATH" + +#: ../src/option.c:288 msgid "Display calendar dialog" msgstr "Afficher une boîte de dialogue de calendrier" -#: ../src/option.c:251 +#: ../src/option.c:294 msgid "Set the calendar day" msgstr "Définir le jour du calendrier" -#: ../src/option.c:252 +#: ../src/option.c:295 msgid "DAY" msgstr "JOUR" -#: ../src/option.c:257 +#: ../src/option.c:300 msgid "Set the calendar month" msgstr "Définir le mois du calendrier" -#: ../src/option.c:258 +#: ../src/option.c:301 msgid "MONTH" msgstr "MOIS" -#: ../src/option.c:263 +#: ../src/option.c:306 msgid "Set the calendar year" msgstr "Définir l'année du calendrier" -#: ../src/option.c:264 +#: ../src/option.c:307 msgid "YEAR" msgstr "ANNÉE" -#: ../src/option.c:269 ../src/option.c:533 +#: ../src/option.c:312 ../src/option.c:589 msgid "Set the format for the returned date" msgstr "Régler le format de la date de retour" -#: ../src/option.c:270 ../src/option.c:534 ../src/option.c:581 +#: ../src/option.c:313 ../src/option.c:590 ../src/option.c:649 msgid "PATTERN" msgstr "MOTIF" -#: ../src/option.c:275 +#: ../src/option.c:318 msgid "Set the filename with dates details" msgstr "Régler le fichier avec les détails de dates" -#: ../src/option.c:276 ../src/option.c:304 ../src/option.c:424 -#: ../src/option.c:772 ../src/option.c:973 +#: ../src/option.c:319 ../src/option.c:347 ../src/option.c:467 +#: ../src/option.c:931 ../src/option.c:1156 ../src/option.c:1200 msgid "FILENAME" msgstr "NOMDEFICHIER" -#: ../src/option.c:285 +#: ../src/option.c:328 msgid "Display color selection dialog" msgstr "Afficher la boîte de sélection de couleur" -#: ../src/option.c:291 +#: ../src/option.c:334 msgid "Alias for --color" msgstr "Alias pour --color" -#: ../src/option.c:297 +#: ../src/option.c:340 msgid "Set initial color value" msgstr "Définir la valeur initial de la couleur" -#: ../src/option.c:298 ../src/option.c:931 ../src/option.c:937 +#: ../src/option.c:341 ../src/option.c:1114 ../src/option.c:1120 msgid "COLOR" msgstr "COULEUR" -#: ../src/option.c:303 +#: ../src/option.c:346 msgid "Set path to palette file. Default - " msgstr "Définir le chemin du fichier palette . Par défaut -" -#: ../src/option.c:309 +#: ../src/option.c:352 msgid "Use #rrrrggggbbbb format instead of #rrggbb" msgstr "Utiliser le format #rrrrggggbbbb en place de #rrggbb" -#: ../src/option.c:319 +#: ../src/option.c:362 msgid "Display drag-n-drop box" msgstr "Afficher une boîte de glisser-déposer" -#: ../src/option.c:325 +#: ../src/option.c:368 msgid "Use dialog text as tooltip" msgstr "Utiliser une boîte de dialogue texte comme tooltip" -#: ../src/option.c:331 +#: ../src/option.c:374 msgid "Set command for process d-n-d data" msgstr "Définir la commande du processus d-n-d data" -#: ../src/option.c:332 ../src/option.c:390 ../src/option.c:402 -#: ../src/option.c:694 ../src/option.c:738 +#: ../src/option.c:375 ../src/option.c:433 ../src/option.c:445 +#: ../src/option.c:774 ../src/option.c:885 msgid "CMD" msgstr "CMD" -#: ../src/option.c:341 +#: ../src/option.c:384 msgid "Display text entry or combo-box dialog" msgstr "Afficher une entrée de texte ou une liste déroulante" -#: ../src/option.c:347 +#: ../src/option.c:390 msgid "Set the entry label" msgstr "Définir l’étiquette d'entrée" -#: ../src/option.c:353 +#: ../src/option.c:396 msgid "Set the entry text" msgstr "Définir l'entrée" -#: ../src/option.c:359 +#: ../src/option.c:402 msgid "Hide the entry text" msgstr "Cacher l'entrée" -#: ../src/option.c:365 +#: ../src/option.c:408 msgid "Use completion instead of combo-box" msgstr "Utiliser l'autocomplétion plutôt qu'une liste déroulante" -#: ../src/option.c:371 +#: ../src/option.c:414 msgid "Use spin button for text entry" msgstr "Utiliser un bouton pour l'entré de texte" -#: ../src/option.c:377 +#: ../src/option.c:420 msgid "Allow changes to text in combo-box" msgstr "Autoriser les modifications au texte dans la liste déroulante" -#: ../src/option.c:383 +#: ../src/option.c:426 msgid "Set the left entry icon" msgstr "Définir l'étiquette de l'entrée gauche de l'icône" -#: ../src/option.c:389 +#: ../src/option.c:432 msgid "Set the left entry icon action" msgstr "Définir l'action de icône de gauche" -#: ../src/option.c:395 +#: ../src/option.c:438 msgid "Set the right entry icon" msgstr "Définir l'étiquette de l'entrée droite de l'icône" -#: ../src/option.c:401 +#: ../src/option.c:444 msgid "Set the right entry icon action" msgstr "Définir l'action de l'iône de droite" -#: ../src/option.c:411 +#: ../src/option.c:454 msgid "Display file selection dialog" msgstr "Afficher la boîte de sélection de fichier" -#: ../src/option.c:417 +#: ../src/option.c:460 msgid "Alias for --file" msgstr "Alias pour --file" -#: ../src/option.c:423 +#: ../src/option.c:466 msgid "Set the filename" msgstr "Définir le nom de fichier" -#: ../src/option.c:429 +#: ../src/option.c:472 msgid "Allow multiple files to be selected" msgstr "Autoriser plusieurs fichiers à être sélectionnés" -#: ../src/option.c:435 +#: ../src/option.c:478 msgid "Activate directory-only selection" msgstr "Activer seulement la sélection de répertoire" -#: ../src/option.c:441 +#: ../src/option.c:484 msgid "Activate save mode" msgstr "Activer le mode sauvegarde" -#: ../src/option.c:447 ../src/option.c:521 ../src/option.c:633 +#: ../src/option.c:490 ../src/option.c:577 ../src/option.c:713 msgid "Set output separator character" msgstr "Définir le charactère séparateur en sortie" -#: ../src/option.c:448 ../src/option.c:522 ../src/option.c:528 -#: ../src/option.c:634 ../src/option.c:750 ../src/option.c:756 +#: ../src/option.c:491 ../src/option.c:578 ../src/option.c:584 +#: ../src/option.c:714 ../src/option.c:897 ../src/option.c:903 msgid "SEPARATOR" msgstr "SÉPARATEUR" -#: ../src/option.c:453 +#: ../src/option.c:496 msgid "Confirm file selection if filename already exists" msgstr "Confirmer la sélection de fichier si le fichier existe" -#: ../src/option.c:454 +#: ../src/option.c:497 msgid "TEXT" msgstr "TEXTE" -#: ../src/option.c:459 +#: ../src/option.c:502 msgid "Sets a filename filter" msgstr "Définir le filtre de fichier" -#: ../src/option.c:460 +#: ../src/option.c:503 msgid "NAME | PATTERN1 PATTERN2 ..." msgstr "NOM | REPERTOIRE1 REPERTOIRE2 ..." -#: ../src/option.c:469 +#: ../src/option.c:508 +#, fuzzy +msgid "Enable preview" +msgstr "Définir le texte initial" + +#: ../src/option.c:514 ../src/option.c:601 ../src/option.c:791 +#, fuzzy +msgid "Quote dialogs output" +msgstr "Définir le texte" + +#: ../src/option.c:524 msgid "Display font selection dialog" msgstr "Afficher une boîte de dialogue de sélection de police d'écriture" -#: ../src/option.c:475 +#: ../src/option.c:530 msgid "Alias for --font" msgstr "Alias pour --font" -#: ../src/option.c:481 +#: ../src/option.c:536 msgid "Set initial font" msgstr "Définir la police d'écriture" -#: ../src/option.c:482 ../src/option.c:796 ../src/option.c:943 +#: ../src/option.c:537 ../src/option.c:955 ../src/option.c:1126 msgid "FONTNAME" msgstr "NOMDEPOLICE" -#: ../src/option.c:487 +#: ../src/option.c:542 msgid "Set preview text" msgstr "Définir le texte initial" -#: ../src/option.c:497 +#: ../src/option.c:552 msgid "Display form dialog" msgstr "Afficher une boîte de type form" -#: ../src/option.c:503 +#: ../src/option.c:559 +#, fuzzy msgid "" -"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, DIR, CDIR, FN, " -"MFL, DT, CLR, BTN or LBL)" +"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, MFL, DIR, CDIR, " +"MDIR, FN, DT, SCL, CLR, BTN, FBTN, LBL or TXT)" msgstr "" "Ajouter un champ à la forme (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, DIR, " "CDIR, FN, MFL, DT, CLR, BTN or LBL)" -#: ../src/option.c:504 ../src/option.c:716 +#: ../src/option.c:560 ../src/option.c:808 msgid "LABEL:TYPE" msgstr "ETIQUETTE:TYPE" -#: ../src/option.c:509 -msgid "Set alignment of fileds labels (left, center or right)" +#: ../src/option.c:565 +#, fuzzy +msgid "Set alignment of filed labels (left, center or right)" msgstr "" "Définir l'alignement des étiquettes de champs (gauche, centre ou droite)" -#: ../src/option.c:515 +#: ../src/option.c:571 msgid "Set number of columns in form" msgstr "Définir le nombre de colonnes dans la boîte form" -#: ../src/option.c:527 +#: ../src/option.c:583 msgid "Set separator character for combobox or scale data" msgstr "" "Définir le séparateur de charactère pour la liste déroulante ou les données " "d'échelle" -#: ../src/option.c:543 +#: ../src/option.c:595 +#, fuzzy +msgid "Make form scrollable" +msgstr "Rendre les URI clickable" + +#: ../src/option.c:611 msgid "Display icons box dialog" msgstr "Afficher une boîte de type icône" -#: ../src/option.c:549 +#: ../src/option.c:617 msgid "Read data from .desktop files in specified directory" msgstr "Lire les données des fichiers .desktop dans le répertoire spécifié" -#: ../src/option.c:550 +#: ../src/option.c:618 msgid "DIRECTORY" msgstr "REPERTOIRE" -#: ../src/option.c:555 +#: ../src/option.c:623 msgid "Use compact (list) view" msgstr "Utiliser la vue compacter (liste)" -#: ../src/option.c:561 +#: ../src/option.c:629 msgid "Use GenericName field instead of Name for icon label" msgstr "" "Utiliser le nom générique plutôt que le nom pour l'étiquette de l'icone" -#: ../src/option.c:567 +#: ../src/option.c:635 msgid "Read data from stdin" msgstr "Lire les données de stdin" -#: ../src/option.c:573 +#: ../src/option.c:641 msgid "Set the width of dialog items" msgstr "Définir la largeur du champs" -#: ../src/option.c:580 +#: ../src/option.c:648 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" @@ -610,57 +678,68 @@ "Utiliser un motif spécifié pour la commande de lancement dans le terminal " "(par défaut: xterm-e% s)" -#: ../src/option.c:586 +#: ../src/option.c:654 msgid "Sort items by name instead of filename" msgstr "Trier les éléments par nom plutôt que par fichier" -#: ../src/option.c:592 +#: ../src/option.c:660 msgid "Sort items in descending order" msgstr "Trier les éléments par ordre décroissant" -#: ../src/option.c:602 +#: ../src/option.c:666 +msgid "Activate items by single click" +msgstr "" + +#: ../src/option.c:676 msgid "Display list dialog" msgstr "Afficher une boîte de type liste" -#: ../src/option.c:608 +#: ../src/option.c:682 msgid "Don't show column headers" msgstr "Ne pas afficher les entêtes de colonnes" -#: ../src/option.c:614 -msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, IMG or TIP)" +#: ../src/option.c:688 +#, fuzzy +msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, RD, IMG, HD or TIP)" msgstr "Définir l'entête de colonne (TYPE - TEXT, NUM, FLT, CHK, IMG or TIP)" -#: ../src/option.c:615 +#: ../src/option.c:689 msgid "COLUMN:TYPE" msgstr "COLONNE:TYPE" -#: ../src/option.c:620 -msgid "Use check boxes for first column" +#: ../src/option.c:694 +#, fuzzy +msgid "Use checkboxes for first column" +msgstr "Utiliser des cases à cocher pour la première colonne" + +#: ../src/option.c:700 +#, fuzzy +msgid "Use radioboxes for first column" msgstr "Utiliser des cases à cocher pour la première colonne" -#: ../src/option.c:626 -msgid "Alias to checklist (deprecated)" -msgstr "Alias pour check-list (obsolète)" +#: ../src/option.c:706 +msgid "Disable clickable column headers" +msgstr "" -#: ../src/option.c:639 +#: ../src/option.c:719 msgid "Allow multiple rows to be selected" msgstr "Autoriser plusieurs lignes à être sélectionnés" -#: ../src/option.c:645 ../src/option.c:978 +#: ../src/option.c:725 ../src/option.c:1161 msgid "Allow changes to text" msgstr "Autoriser l'édition de texte" -#: ../src/option.c:651 +#: ../src/option.c:731 msgid "Print all data from list" msgstr "Afficher toute les données de la liste" -#: ../src/option.c:657 +#: ../src/option.c:737 msgid "Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)" msgstr "" "Définir le mode défilement automatique pour les colonnes texte (TYPE - " "NONE, START, MIDDLE or END)" -#: ../src/option.c:663 +#: ../src/option.c:743 msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" @@ -668,17 +747,17 @@ "Renvoyer une colonne spécifique. Par défaut ou si 0 est spécifié toutes les " "colonnes sont renvoyée" -#: ../src/option.c:669 +#: ../src/option.c:749 msgid "Hide a specific column" msgstr "Cacher une colonne spécifique" -#: ../src/option.c:675 +#: ../src/option.c:755 msgid "Set the column expandable by default. 0 sets all columns expandable" msgstr "" "Définirla colonne extensible par défaut. 0 définit toutes les colonnes comme " "extensible" -#: ../src/option.c:681 +#: ../src/option.c:761 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" @@ -686,399 +765,511 @@ "Définir la colonne de recherche rapide. Par défaut : la première colonne. " "Réglez à 0 pour désactiver la recherche" -#: ../src/option.c:687 +#: ../src/option.c:767 msgid "Set the limit of rows in list" msgstr "Définir la limite de lignes dans une liste" -#: ../src/option.c:693 +#: ../src/option.c:773 msgid "Set double-click action" msgstr "Action sur un double clic" -#: ../src/option.c:699 +#: ../src/option.c:779 msgid "Use regex in search" msgstr "Utiliser regex dans les recherches" -#: ../src/option.c:709 +#: ../src/option.c:785 +msgid "Listen for data on stdin in addition to command-line" +msgstr "" + +#: ../src/option.c:801 msgid "Display multi progress bars dialog" msgstr "Afficher une boîte de dialogue à barre de progression multiple " -#: ../src/option.c:715 +#: ../src/option.c:807 msgid "Add the progress bar (TYPE - NORM, RTL or PULSE)" msgstr "Ajouter une barre de progression (TYPE - NORM, RTL or PULSE)" -#: ../src/option.c:721 +#: ../src/option.c:813 msgid "Show vertical bars" msgstr "Afficher les barres verticales" -#: ../src/option.c:731 +#: ../src/option.c:819 +#, fuzzy +msgid "Set alignment of bar labels (left, center or right)" +msgstr "" +"Définir l'alignement des étiquettes de champs (gauche, centre ou droite)" + +#: ../src/option.c:826 +#, fuzzy, no-c-format +msgid "Dismiss the dialog when 100% of all bars has been reached" +msgstr "Fermer la boîte de dialogue quand 100% sont atteint" + +#: ../src/option.c:833 ../src/option.c:996 +msgid "Kill parent process if cancel button is pressed" +msgstr "Tuer le processus parent quand le bouton quitter est pressé" + +#: ../src/option.c:844 +#, fuzzy +msgid "Display notebook dialog" +msgstr "Afficher une boîte de type icône" + +#: ../src/option.c:850 +msgid "Identifier of embedded dialogs" +msgstr "" + +#: ../src/option.c:856 +msgid "Add a tab to notebook" +msgstr "" + +#: ../src/option.c:857 +msgid "LABEL" +msgstr "" + +#: ../src/option.c:862 +#, fuzzy +msgid "Set position of a notebook tabs (top, bottom, left or right)" +msgstr "Voir indicateur de temps restant (haut, bas, gauche, droite)" + +#: ../src/option.c:868 +#, fuzzy +msgid "Set tab borders" +msgstr "Définir les bordures de fenêtre" + +#: ../src/option.c:878 msgid "Display notification" msgstr "Utiliser la notification" -#: ../src/option.c:737 +#: ../src/option.c:884 msgid "Set left-click action" msgstr "Action sur un clic gauche" -#: ../src/option.c:743 +#: ../src/option.c:890 msgid "Listen for commands on stdin" msgstr "Écouter les commandes sur stdin" -#: ../src/option.c:749 +#: ../src/option.c:896 msgid "Set separator character for menu values" msgstr "Définir le séparateur pour les valeurs de menu" -#: ../src/option.c:755 +#: ../src/option.c:902 msgid "Set separator character for menu items" msgstr "Définir le séparateur pour les champs du menu" -#: ../src/option.c:765 +#: ../src/option.c:908 +#, fuzzy +msgid "Set initial popup menu" +msgstr "Définir la police d'écriture" + +#: ../src/option.c:909 +msgid "STRING" +msgstr "" + +#: ../src/option.c:914 +msgid "Disable exit on middle click" +msgstr "" + +#: ../src/option.c:924 #, fuzzy msgid "Display printing dialog" msgstr "Afficher une boîte de type liste" -#: ../src/option.c:771 +#: ../src/option.c:930 #, fuzzy msgid "Source filename" msgstr "Définir le nom de fichier" -#: ../src/option.c:777 +#: ../src/option.c:936 msgid "Set source type (TYPE - TEXT, IMAGE or RAW)" msgstr "" -#: ../src/option.c:783 +#: ../src/option.c:942 msgid "Add headers to page" msgstr "" -#: ../src/option.c:789 +#: ../src/option.c:948 msgid "Enable preview in print dialog" msgstr "" -#: ../src/option.c:795 ../src/option.c:942 +#: ../src/option.c:954 ../src/option.c:1125 msgid "Use specified font" msgstr "Utiliser une police spécifiée" -#: ../src/option.c:805 +#: ../src/option.c:964 msgid "Display progress indication dialog" msgstr "Afficher l'indication de progression" -#: ../src/option.c:811 +#: ../src/option.c:970 msgid "Set progress text" msgstr "Définir le texte de progression" -#: ../src/option.c:817 +#: ../src/option.c:976 msgid "Set initial percentage" msgstr "Définir le pourcentage initial" -#: ../src/option.c:818 +#: ../src/option.c:977 msgid "PERCENTAGE" msgstr "POURCENTAGE" -#: ../src/option.c:823 +#: ../src/option.c:982 msgid "Pulsate progress bar" msgstr "Barre de progression pulsative" -#: ../src/option.c:830 +#: ../src/option.c:989 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" msgstr "Fermer la boîte de dialogue quand 100% sont atteint" -#: ../src/option.c:837 -msgid "Kill parent process if cancel button is pressed" -msgstr "Tuer le processus parent quand le bouton quitter est pressé" - -#: ../src/option.c:844 +#: ../src/option.c:1003 msgid "Right-To-Left progress bar direction" msgstr "Barre de progression altérnante" -#: ../src/option.c:854 +#: ../src/option.c:1009 +msgid "Show log window" +msgstr "" + +#: ../src/option.c:1015 +msgid "Expand log window" +msgstr "" + +#: ../src/option.c:1021 +#, fuzzy +msgid "Place log window above progress bar" +msgstr "Barre de progression pulsative" + +#: ../src/option.c:1027 +msgid "Height of log window" +msgstr "" + +#: ../src/option.c:1037 msgid "Display scale dialog" msgstr "Afficher une boîte de type échelle" -#: ../src/option.c:860 +#: ../src/option.c:1043 msgid "Set initial value" msgstr "Définir la valeur initial" -#: ../src/option.c:861 ../src/option.c:867 ../src/option.c:873 -#: ../src/option.c:879 ../src/option.c:885 +#: ../src/option.c:1044 ../src/option.c:1050 ../src/option.c:1056 +#: ../src/option.c:1062 ../src/option.c:1068 msgid "VALUE" msgstr "VALEUR" -#: ../src/option.c:866 +#: ../src/option.c:1049 msgid "Set minimum value" msgstr "Définir la valeur minimale" -#: ../src/option.c:872 +#: ../src/option.c:1055 msgid "Set maximum value" msgstr "Définir la valeur maximale" -#: ../src/option.c:878 +#: ../src/option.c:1061 msgid "Set step size" msgstr "Définir le pas" -#: ../src/option.c:884 +#: ../src/option.c:1067 msgid "Set paging size" msgstr "Définir les dimensions de la page" -#: ../src/option.c:890 +#: ../src/option.c:1073 msgid "Print partial values" msgstr "Afficher des valeurs partielles" -#: ../src/option.c:896 +#: ../src/option.c:1079 msgid "Hide value" msgstr "Cacher la valeur" -#: ../src/option.c:902 +#: ../src/option.c:1085 msgid "Show vertical scale" msgstr "Affiche l'échelle verticale" -#: ../src/option.c:908 +#: ../src/option.c:1091 msgid "Invert direction" msgstr "Inverser la direction" -#: ../src/option.c:914 +#: ../src/option.c:1097 msgid "Add mark to scale (may be used multiple times)" msgstr "Ajouter un marqueur à l'échelle (peut être utilisée plusieurs fois)" -#: ../src/option.c:915 +#: ../src/option.c:1098 msgid "NAME:VALUE" msgstr "NOM: VALEUR" -#: ../src/option.c:924 +#: ../src/option.c:1107 msgid "Display text information dialog" msgstr "Afficher une boîte d'information" -#: ../src/option.c:930 +#: ../src/option.c:1113 msgid "Use specified color for text" msgstr "Utiliser une couleur spécifiée pour le texte" -#: ../src/option.c:936 +#: ../src/option.c:1119 msgid "Use specified color for background" msgstr "Utiliser une couleur spécifiée pour le fond" -#: ../src/option.c:948 +#: ../src/option.c:1131 msgid "Enable text wrapping" msgstr "Activer les sauts de ligne automatiques" -#: ../src/option.c:954 +#: ../src/option.c:1137 msgid "Set justification (TYPE - left, right, center or fill)" msgstr "Définir le type (TYPE - gauche, droite, centre ou de remplissage)" -#: ../src/option.c:960 +#: ../src/option.c:1143 msgid "Set text margins" msgstr "Définir la marge du texte" -#: ../src/option.c:961 +#: ../src/option.c:1144 msgid "SIZE" msgstr "TAILLE" -#: ../src/option.c:966 +#: ../src/option.c:1149 msgid "Autoscroll to end of text" msgstr "Sauter en fin de texte" -#: ../src/option.c:972 +#: ../src/option.c:1155 msgid "Open file" msgstr "Ouvrir un fichier" -#: ../src/option.c:984 +#: ../src/option.c:1167 msgid "Make URI clickable" msgstr "Rendre les URI clickable" -#: ../src/option.c:994 +#: ../src/option.c:1173 +msgid "Listen for data on stdin in addition to file" +msgstr "" + +#: ../src/option.c:1183 msgid "Show about dialog" msgstr "Afficher la boîte \"A propos\"" -#: ../src/option.c:1000 +#: ../src/option.c:1189 msgid "Print version" msgstr "Afficher la version" -#: ../src/option.c:1049 ../src/option.c:1236 +#: ../src/option.c:1199 +msgid "Load extra arguments from file" +msgstr "" + +#: ../src/option.c:1244 ../src/option.c:1459 #, c-format msgid "Unknown align type: %s\n" msgstr "Type d'alignement inconnue: %s\n" -#: ../src/option.c:1194 +#: ../src/option.c:1401 #, c-format msgid "Mark %s doesn't have a value\n" msgstr "Le marqueur %s n'a pas de valeur\n" -#: ../src/option.c:1254 +#: ../src/option.c:1444 +#, fuzzy, c-format +msgid "Unknown buttons layout type: %s\n" +msgstr "Type d'alignement inconnue: %s\n" + +#: ../src/option.c:1476 #, c-format msgid "Unknown justification type: %s\n" msgstr "Type de justification inconnue: %s\n" -#: ../src/option.c:1293 +#: ../src/option.c:1493 +#, fuzzy, c-format +msgid "Unknown tab position type: %s\n" +msgstr "Type d'alignement inconnue: %s\n" + +#: ../src/option.c:1529 #, c-format msgid "Unknown ellipsize type: %s\n" msgstr "Type de défilement automatique inconnue: %s\n" -#: ../src/option.c:1309 +#: ../src/option.c:1544 #, fuzzy, c-format msgid "Unknown source type: %s\n" msgstr "Type de défilement automatique inconnue: %s\n" -#: ../src/option.c:1438 +#: ../src/option.c:1555 +#, fuzzy +msgid "Progress log" +msgstr "Options de la barre de progression" + +#: ../src/option.c:1664 +#, fuzzy, c-format +msgid "Unknown signal: %s\n" +msgstr "Type d'alignement inconnue: %s\n" + +#: ../src/option.c:1807 msgid "File exist. Overwrite?" msgstr "Le fichier existe. Écraser?" -#: ../src/option.c:1520 +#: ../src/option.c:1900 msgid "Yet another dialoging program" msgstr "Yet another dialoging program" #. Adds general option entries -#: ../src/option.c:1524 +#: ../src/option.c:1904 msgid "General options" msgstr "Options générales" -#: ../src/option.c:1525 +#: ../src/option.c:1904 msgid "Show general options" msgstr "Afficher les options générales" #. Adds calendar option entries -#: ../src/option.c:1531 +#: ../src/option.c:1910 msgid "Calendar options" msgstr "Options du calendrier" -#: ../src/option.c:1532 +#: ../src/option.c:1910 msgid "Show calendar options" msgstr "Afficher les options du calendrier" #. Adds color option entries -#: ../src/option.c:1538 +#: ../src/option.c:1916 msgid "Color selection options" msgstr "Options de la boîte de sélection de couleurs" -#: ../src/option.c:1539 +#: ../src/option.c:1916 msgid "Show color selection options" msgstr "Afficher les options de la boîte de sélection de couleurs" #. Adds dnd option entries -#: ../src/option.c:1545 +#: ../src/option.c:1922 msgid "DND options" msgstr "Options de la boîte de glisser/déposer" -#: ../src/option.c:1546 +#: ../src/option.c:1922 msgid "Show drag-n-drop options" msgstr "Afficher les options de la boîte de glisser/déposer" #. Adds entry option entries -#: ../src/option.c:1552 +#: ../src/option.c:1928 msgid "Text entry options" msgstr "Options de la boîte d'entrée" -#: ../src/option.c:1553 +#: ../src/option.c:1928 msgid "Show text entry options" msgstr "Afficher les options de la boîte d'entrée" #. Adds file selection option entries -#: ../src/option.c:1559 +#: ../src/option.c:1934 msgid "File selection options" msgstr "Options de la boîte de sélection de fichier" -#: ../src/option.c:1560 +#: ../src/option.c:1934 msgid "Show file selection options" msgstr "Afficher les options de la boîte de sélection de fichier" #. Add font selection option entries -#: ../src/option.c:1566 +#: ../src/option.c:1940 msgid "Font selection options" msgstr "Options de la boîte de sélection de police" -#: ../src/option.c:1567 +#: ../src/option.c:1940 msgid "Show font selection options" msgstr "Afficher les options de la boîte de sélection de police" #. Add form option entries -#: ../src/option.c:1573 +#: ../src/option.c:1946 msgid "Form options" msgstr "Options de types form" -#: ../src/option.c:1574 +#: ../src/option.c:1946 msgid "Show form options" msgstr "Afficher les options de types form" #. Add icons option entries -#: ../src/option.c:1580 +#: ../src/option.c:1952 msgid "Icons box options" msgstr "Options de la boîte de sélection d'icône" -#: ../src/option.c:1581 +#: ../src/option.c:1952 msgid "Show icons box options" msgstr "Afficher les options de la boîte de sélection d'icône" #. Adds list option entries -#: ../src/option.c:1587 +#: ../src/option.c:1958 msgid "List options" msgstr "Options de la boîte de type liste" -#: ../src/option.c:1588 +#: ../src/option.c:1958 msgid "Show list options" msgstr "Afficher les options de la boîte de sélection d'icône" #. Adds multi progress option entries -#: ../src/option.c:1594 +#: ../src/option.c:1964 msgid "Multi progress bars options" msgstr "Options des barres de progression multpile" -#: ../src/option.c:1595 -msgid "Show Multi progress bars options" +#: ../src/option.c:1965 +#, fuzzy +msgid "Show multi progress bars options" msgstr "Afficher les options des barres de progression multiples" +#. Adds notebook option entries +#: ../src/option.c:1971 +#, fuzzy +msgid "Notebook options" +msgstr "Options de la boîte de glisser/déposer" + +#: ../src/option.c:1971 +#, fuzzy +msgid "Show notebook dialog options" +msgstr "Afficher les options de la barre de progression" + #. Adds notification option entries -#: ../src/option.c:1601 +#: ../src/option.c:1977 msgid "Notification icon options" msgstr "Options de la boîte de type icône" -#: ../src/option.c:1602 +#: ../src/option.c:1978 msgid "Show notification icon options" msgstr "Afficher les options de la boîte de type icône" #. Adds print option entries -#: ../src/option.c:1608 +#: ../src/option.c:1984 #, fuzzy msgid "Print dialog options" msgstr "Options de la barre de progression" -#: ../src/option.c:1609 +#: ../src/option.c:1984 #, fuzzy msgid "Show print dialog options" msgstr "Afficher les options de la barre de progression" #. Adds progress option entries -#: ../src/option.c:1615 +#: ../src/option.c:1990 msgid "Progress options" msgstr "Options de la barre de progression" -#: ../src/option.c:1616 +#: ../src/option.c:1990 msgid "Show progress options" msgstr "Afficher les options de la barre de progression" #. Adds scale option entries -#: ../src/option.c:1622 +#: ../src/option.c:1996 msgid "Scale options" msgstr "Options de la boîte échelle" -#: ../src/option.c:1623 +#: ../src/option.c:1996 msgid "Show scale options" msgstr "Afficher les options de la boîte échelle" #. Adds text option entries -#: ../src/option.c:1629 +#: ../src/option.c:2002 msgid "Text information options" msgstr "Options de la boîte de type information" -#: ../src/option.c:1630 +#: ../src/option.c:2002 msgid "Show text information options" msgstr "Afficher les options de la boîte de type information" #. Adds miscellaneous option entries -#: ../src/option.c:1636 +#: ../src/option.c:2008 msgid "Miscellaneous options" msgstr "Options diverses" -#: ../src/option.c:1637 +#: ../src/option.c:2008 msgid "Show miscellaneous options" msgstr "Afficher les options diverses" -#: ../src/print.c:202 ../src/print.c:363 +#: ../src/print.c:202 ../src/print.c:361 #, fuzzy, c-format msgid "Printing failed: %s\n" msgstr "Impossible d'ouvrir le fichier %s: %s" @@ -1093,82 +1284,83 @@ msgid "Filename is not specified.\n" msgstr "" -#: ../src/print.c:379 +#: ../src/print.c:377 #, c-format msgid "Printer doesn't support ps format.\n" msgstr "" -#: ../src/print.c:387 +#: ../src/print.c:385 #, c-format msgid "Printer doesn't support pdf format.\n" msgstr "" -#: ../src/print.c:393 +#: ../src/print.c:391 #, c-format msgid "This file type is not supported for raw printing.\n" msgstr "" -#: ../src/print.c:407 +#: ../src/print.c:405 #, c-format msgid "Load source file failed: %s\n" msgstr "" -#: ../src/color.c:64 +#: ../src/color.c:65 #, fuzzy, c-format msgid "Can't open file %s: %s\n" msgstr "Impossible d'ouvrir le fichier %s: %s" #. create expander -#: ../src/color.c:149 +#: ../src/color.c:150 msgid "Palette" msgstr "Palette" -#: ../src/color.c:171 +#: ../src/color.c:169 msgid "Color" msgstr "Couleur" -#: ../src/color.c:188 +#: ../src/color.c:186 msgid "Name" msgstr "Nom" -#: ../src/text.c:271 +#: ../src/text.c:418 #, c-format msgid "Invalid UTF-8 data encountered reading file %s\n" msgstr "Données UTF-8 invalides rencontrées en lecture du fichier %s\n" -#: ../src/browser.c:129 +#: ../src/browser.c:132 msgid "scalable " msgstr "scalable " -#: ../src/browser.c:137 -#, c-format -msgid "" -"<b>Name:</b> %s\n" -"<b>Sizes:</b> %s\n" -"<b>Filename:</b> %s" -msgstr "" -"<b>Nom</b> %s\n" -"<b>Poids:</b> %s\n" -"<b>Nom de fichier:</b> %s" - -#: ../src/browser.c:138 +#: ../src/browser.c:142 msgid "built-in" msgstr "Support intégré" #. initialize GTK+ and parse the command line arguments -#: ../src/browser.c:197 +#: ../src/browser.c:200 msgid "- Icon browser" msgstr "Navigateur d'icône" -#: ../src/browser.c:210 +#: ../src/browser.c:213 msgid "Icon browser" msgstr "Navigateur d'icône" -#: ../src/browser.c:261 +#: ../src/browser.c:247 +msgid "<b>Name:</b>" +msgstr "" + +#: ../src/browser.c:265 +msgid "<b>Sizes:</b>" +msgstr "" + +#: ../src/browser.c:283 +msgid "<b>Filename:</b>" +msgstr "" + +#: ../src/browser.c:325 msgid "Category" msgstr "Catégorie" -#: ../src/browser.c:294 +#: ../src/browser.c:356 msgid "Icons" msgstr "Icônes" @@ -1181,5 +1373,22 @@ msgstr "Parcourir les icônes du thème GTK" #, fuzzy -#~ msgid "Unknown unit type: %s\n" -#~ msgstr "Type d'alignement inconnue: %s\n" +#~ msgid "Set alignment of tab labels (left, center or right)" +#~ msgstr "" +#~ "Définir l'alignement des étiquettes de champs (gauche, centre ou droite)" + +#~ msgid "" +#~ "<b>Name:</b> %s\n" +#~ "<b>Sizes:</b> %s\n" +#~ "<b>Filename:</b> %s" +#~ msgstr "" +#~ "<b>Nom</b> %s\n" +#~ "<b>Poids:</b> %s\n" +#~ "<b>Nom de fichier:</b> %s" + +#, fuzzy +#~ msgid "NUM" +#~ msgstr "NOMBRE" + +#~ msgid "Alias to checklist (deprecated)" +#~ msgstr "Alias pour check-list (obsolète)"
View file
yad-0.36.2.tar.xz/po/it.po
Added
@@ -0,0 +1,1396 @@ +# French translation for YAD +# This file is distributed under the same license as the YAD package. +# +# Yannou90 <windaube.non.merci@gmail.com>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: YAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-07 09:25+0200\n" +"PO-Revision-Date: \n" +"Last-Translator: Yannou90 <windaube.non.merci@gmail.com>\n" +"Language-Team: Français\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: French\n" +"X-Poedit-Country: FRANCE\n" +"X-Poedit-SourceCharset: utf-8\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: ../src/about.c:30 +msgid "translator-credits" +msgstr "" +"Stephen Kennedy <steve9000@users.sourceforge.net>, 2003\n" +"Jonathan Ernst <jonathan@ernstfamily.ch>, 2006\n" +"Claude Paroz <claude@2xlibre.net>, 2006-2010\n" +"Robert-André Mauchin <zebob.m@pengzone.org>, 2007\n" +"Bruno Brouard <annoa.b@gmail.com>, 2009-2010\n" +"Yannou90 <windaube.non.merci@gmail.com>, 2011" + +#: ../src/about.c:32 +msgid "" +"YAD is free software; you can redistribute it and/or modify it under the " +"terms of the GNU General Public License as published by the Free Software " +"Foundation; either version 3 of the License, or (at your option) any later " +"version.\n" +"\n" +"YAD 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.\n" +"\n" +"You should have received a copy of the GNU General Public License along with " +"YAD. If not, see <http://www.gnu.org/licenses/>." +msgstr "" +"YAD è software libero; puoi ridistribuirlo e/o modificarlo secondo i termini " +"della licenza GNU General Public License come pubblicato dalla Free Software " +"Foundation; sia la versione 3 della Licenza, o (a tua scelta) tutte le " +"versioni successive.\n" +"\n" +"YAD è distribuito nella speranza che sia utile, ma SENZA NESSUNA GARANZIA; " +"senza neppure la garanzia implicita di COMMERCIABILITÀ o IDONEITÀ PER UN " +"PARTICOLARE SCOPO. Vedi la GNU General Public License per maggiori " +"dettagli.\n" +"\n" +"Dovreste aver ricevuto una copia della GNU General Public License con YAD; " +"se così non fosse, vedi <http://www.gnu.org/licenses/>." + +#: ../src/about.c:50 +msgid "" +"Yet Another Dialog\n" +"(show dialog boxes from shell scripts)\n" +"\n" +"Based on Zenity code\n" +msgstr "" +"Yet Another dialogue\n" +"(mostra finestre di dialogo con script shell)\n" +"\n" +"Basato sul codice di Zenity\n" + +#: ../src/calendar.c:39 ../src/text.c:389 +#, c-format +msgid "Cannot open file '%s': %s\n" +msgstr "Impossibile aprire il file '%s': %s\n" + +#: ../src/entry.c:172 ../src/scale.c:39 +#, c-format +msgid "Maximum value must be greater than minimum value.\n" +msgstr "Il massimo valore deve essere più grande del valore minimo.\n" + +#: ../src/entry.c:179 ../src/scale.c:48 +#, c-format +msgid "Initial value less than minimal.\n" +msgstr "Valore iniziale minore del minimo.\n" + +#: ../src/entry.c:184 ../src/scale.c:53 +#, c-format +msgid "Initial value greater than maximum.\n" +msgstr "Valore iniziale maggiore del massimo.\n" + +#: ../src/form.c:372 +msgid "Select files" +msgstr "Seleziona i file" + +#: ../src/form.c:380 +msgid "Select folders" +msgstr "Seleziona le cartelle" + +#: ../src/form.c:443 +msgid "Select or create file" +msgstr "Seleziona o crea un file" + +#: ../src/form.c:451 +msgid "Select or create folder" +msgstr "Seleziona o crea una cartella" + +#: ../src/form.c:488 +msgid "Select date" +msgstr "Seleziona la data" + +#: ../src/form.c:689 +msgid "Select file" +msgstr "Seleziona il file" + +#: ../src/form.c:703 +msgid "Select folder" +msgstr "Seleziona una cartella" + +#: ../src/icons.c:321 +#, c-format +msgid "Unable to parse file %s: %s\n" +msgstr "Impossibile parsificare il file %s: %s\n" + +#: ../src/icons.c:338 +#, c-format +msgid "Unable to open directory %s: %s\n" +msgstr "Impossibile aprire la cartella %s: %s\n" + +#: ../src/main.c:102 ../src/main.c:233 +#, c-format +msgid "%d sec" +msgstr "%d sec" + +#: ../src/main.c:656 +#, c-format +msgid "Unable to parse command line: %s\n" +msgstr "Impossibile parsificare la linea di comando: %s\n" + +#: ../src/notification.c:118 +#, c-format +msgid "Could not load notification icon '%s': %s\n" +msgstr "Impossible caricare l'icona di notifica '%s': %s\n" + +#: ../src/notification.c:301 +#, c-format +msgid "Invalid UTF-8 in tooltip!\n" +msgstr "Carattere UTF-8 invalido nel suggerimento!\n" + +#: ../src/notification.c:345 +#, c-format +msgid "Unknown command '%s'\n" +msgstr "Commando sconosciuto: '%s'\n" + +#: ../src/notification.c:380 +msgid "Yad notification" +msgstr "Notifica Yad" + +#: ../src/list.c:856 +msgid "Add row" +msgstr "Aggiungi la linea" + +#: ../src/list.c:863 +msgid "Delete row" +msgstr "Cancella la linea" + +#: ../src/list.c:870 +#, fuzzy +msgid "Duplicate row" +msgstr "Duplica la linea" + +#: ../src/list.c:897 +#, c-format +msgid "No column titles specified for List dialog.\n" +msgstr "Nessun titolo specificato per la finestra di dialogo a liste.\n" + +#: ../src/option.c:69 +msgid "Set the dialog title" +msgstr "Configura il titolo della finestra di dialogo" + +#: ../src/option.c:70 +msgid "TITLE" +msgstr "TITOLO" + +#: ../src/option.c:75 +msgid "Set the window icon" +msgstr "Configura l'icona della finestra" + +#: ../src/option.c:76 +msgid "ICONPATH" +msgstr "ICONPATH" + +#: ../src/option.c:81 +msgid "Set the width" +msgstr "Configura la larghezza" + +#: ../src/option.c:82 +msgid "WIDTH" +msgstr "LARGHEZZA" + +#: ../src/option.c:87 +msgid "Set the height" +msgstr "Configura l'altezza" + +#: ../src/option.c:88 +msgid "HEIGHT" +msgstr "ALTEZZA" + +#: ../src/option.c:93 +msgid "Set the window geometry" +msgstr "Configura la geometria della finestra" + +#: ../src/option.c:94 +msgid "WxH+X+Y" +msgstr "WxH+X+Y" + +#: ../src/option.c:99 +msgid "Set dialog timeout in seconds" +msgstr "Seleziona i secondi dopo i quali la finestra di dialogo scomparirà" + +#: ../src/option.c:100 +msgid "TIMEOUT" +msgstr "TIMEOUT" + +#: ../src/option.c:105 +msgid "Show remaining time indicator (top, bottom, left, right)" +msgstr "" +"Mostra un indicatore del tempo mancante alla scomparsa (su, giù, sinistra, " +"destra)" + +#: ../src/option.c:106 +msgid "POS" +msgstr "POS" + +#: ../src/option.c:111 +msgid "Set the dialog text" +msgstr "Seleziona il testo della finestra di dialogo" + +#: ../src/option.c:112 ../src/option.c:142 ../src/option.c:391 +#: ../src/option.c:397 ../src/option.c:403 ../src/option.c:543 +#: ../src/option.c:971 ../src/option.c:1010 +msgid "TEXT" +msgstr "TESTO" + +#: ../src/option.c:117 +#, fuzzy +msgid "Set the dialog text alignment (left, center, right, fill)" +msgstr "" +"Seleziona l'allineamento del testo all'interno della finestra di dialogo (a " +"sinistra, centrato o a destra)" + +#: ../src/option.c:118 ../src/option.c:160 ../src/option.c:566 +#: ../src/option.c:738 ../src/option.c:820 ../src/option.c:863 +#: ../src/option.c:937 ../src/option.c:1138 +msgid "TYPE" +msgstr "TIPO" + +#: ../src/option.c:123 +msgid "Set the dialog image" +msgstr "Seleziona una immagine per la finestra di dialogo" + +#: ../src/option.c:124 ../src/option.c:427 ../src/option.c:439 +msgid "IMAGE" +msgstr "IMMAGINE" + +#: ../src/option.c:129 +msgid "Show image above main widget" +msgstr "Mostra l'immagine sopra alla finestra principale" + +#: ../src/option.c:135 +msgid "Use specified icon theme instead of default" +msgstr "Usa il tema desiderato al posto di quello predefinito" + +#: ../src/option.c:136 +msgid "THEME" +msgstr "TEMA" + +#: ../src/option.c:141 +msgid "Hide main widget with expander" +msgstr "Nascondi il widget principale con un expander" + +#: ../src/option.c:147 +msgid "Add dialog button (may be used multiple times)" +msgstr "Aggiungi un bottone di dialogo (può essere utilizzato più volte)" + +#: ../src/option.c:148 +msgid "NAME:ID" +msgstr "NOME:ID" + +#: ../src/option.c:153 +msgid "Don't show buttons" +msgstr "Non mostrare i bottoni" + +#: ../src/option.c:159 +msgid "Set buttons layout type (spread, edge, start, end or center)" +msgstr "" +"Seleziona il tipo di layout dei bottoni (diffusi, all' angolo, all'inizio, " +"alla fine o centrati)" + +#: ../src/option.c:165 +msgid "Don't use pango markup language in dialog's text" +msgstr "" +"Non usare il linguaggio di markup Pango per i testi della finestra di dialogo" + +#: ../src/option.c:172 +msgid "Add separator between dialog and buttons" +msgstr "Aggiungi un separatore fra la finestra di dialogo e i bottoni" + +#: ../src/option.c:179 +msgid "Set window borders" +msgstr "Seleziona i bordi della finestra" + +#: ../src/option.c:180 ../src/option.c:259 ../src/option.c:572 +#: ../src/option.c:744 ../src/option.c:750 ../src/option.c:756 +#: ../src/option.c:762 ../src/option.c:768 ../src/option.c:869 +msgid "NUMBER" +msgstr "NUMERO" + +#: ../src/option.c:185 +msgid "Always print result" +msgstr "Stampa sempre il risultato" + +#: ../src/option.c:191 +msgid "Dialog text can be selected" +msgstr "Il testo della finestra può essere selezionato" + +#: ../src/option.c:198 +msgid "Set window sticky" +msgstr "Seleziona se la finestra è agganciata" + +#: ../src/option.c:204 +msgid "Set window unresizable" +msgstr "Seleziona se la finestra è non ridimensionabile" + +#: ../src/option.c:210 +msgid "Place window on top" +msgstr "Colloca la finestra sopra" + +#: ../src/option.c:216 +msgid "Place window on center of screen" +msgstr "Centra la finestra rispetto allo schermo" + +#: ../src/option.c:222 +msgid "Place window at the mouse position" +msgstr "Colloca la finestra nella posizione del mouse" + +#: ../src/option.c:228 +msgid "Set window undecorated" +msgstr "Seleziona se la finestra è senza decorazioni" + +#: ../src/option.c:234 +msgid "Don't show window in taskbar" +msgstr "Non mostrare la finestra nella lista dei task" + +#: ../src/option.c:240 +#, fuzzy +msgid "Set window maximized" +msgstr "Seleziona se la finestra è non ridimensionabile" + +#: ../src/option.c:246 +#, fuzzy +msgid "Set window fulscreen" +msgstr "Seleziona se la finestra è non ridimensionabile" + +#: ../src/option.c:252 +msgid "Special type of dialog for XEMBED" +msgstr "Tipo speciale di finestra di dialogo per XEMBED" + +#: ../src/option.c:253 ../src/option.c:851 +msgid "KEY" +msgstr "CHIAVE" + +#: ../src/option.c:258 +msgid "Tab nubmer of this dialog" +msgstr "Numero delle schede per questa finestra di dialogo" + +#: ../src/option.c:265 +msgid "Send SIGNAL to parent" +msgstr "Invia il SEGNALE al genitore" + +#: ../src/option.c:266 +msgid "SIGNAL" +msgstr "SEGNALE" + +#: ../src/option.c:271 +msgid "Print X Window Id to the stderr" +msgstr "Stampa l'identificatore della finestra sulla standard error" + +#: ../src/option.c:278 +msgid "Add path for search icons by name" +msgstr "" + +#: ../src/option.c:279 +#, fuzzy +msgid "PATH" +msgstr "ICONPATH" + +#: ../src/option.c:288 +msgid "Display calendar dialog" +msgstr "Visualizza la finestra di dialogo calendario" + +#: ../src/option.c:294 +msgid "Set the calendar day" +msgstr "Seleziona il giorno nel calendario" + +#: ../src/option.c:295 +msgid "DAY" +msgstr "GIORNO" + +#: ../src/option.c:300 +msgid "Set the calendar month" +msgstr "Seleziona il mese nel calendario" + +#: ../src/option.c:301 +msgid "MONTH" +msgstr "MESE" + +#: ../src/option.c:306 +msgid "Set the calendar year" +msgstr "Seleziona l'anno nel calendario" + +#: ../src/option.c:307 +msgid "YEAR" +msgstr "ANNO" + +#: ../src/option.c:312 ../src/option.c:589 +msgid "Set the format for the returned date" +msgstr "Seleziona il formato della data di ritorno" + +#: ../src/option.c:313 ../src/option.c:590 ../src/option.c:649 +msgid "PATTERN" +msgstr "PATTERN" + +#: ../src/option.c:318 +msgid "Set the filename with dates details" +msgstr "Seleziona il nome del file con i dettagli delle date" + +#: ../src/option.c:319 ../src/option.c:347 ../src/option.c:467 +#: ../src/option.c:931 ../src/option.c:1156 ../src/option.c:1200 +msgid "FILENAME" +msgstr "NOMEDELFILE" + +#: ../src/option.c:328 +msgid "Display color selection dialog" +msgstr "" +"Visualizza il colore della finestra di dialogo per la selezione del file" + +#: ../src/option.c:334 +msgid "Alias for --color" +msgstr "Alias per --color" + +#: ../src/option.c:340 +msgid "Set initial color value" +msgstr "Seleziona il valore iniziale del colore" + +#: ../src/option.c:341 ../src/option.c:1114 ../src/option.c:1120 +msgid "COLOR" +msgstr "COLORE" + +#: ../src/option.c:346 +msgid "Set path to palette file. Default - " +msgstr "" +"Seleziona il percorso del file per la palette dei colori. Predefinito -" + +#: ../src/option.c:352 +msgid "Use #rrrrggggbbbb format instead of #rrggbb" +msgstr "Usa il formato #rrrrggggbbbb al posto di #rrggbb" + +#: ../src/option.c:362 +msgid "Display drag-n-drop box" +msgstr "Visualizza il box per il drag-n-drop" + +#: ../src/option.c:368 +msgid "Use dialog text as tooltip" +msgstr "Usa il testo della finestra di dialogo come suggerimento" + +#: ../src/option.c:374 +msgid "Set command for process d-n-d data" +msgstr "Seleziona il comando per il processo d-n-d data" + +#: ../src/option.c:375 ../src/option.c:433 ../src/option.c:445 +#: ../src/option.c:774 ../src/option.c:885 +msgid "CMD" +msgstr "CMD" + +#: ../src/option.c:384 +msgid "Display text entry or combo-box dialog" +msgstr "" +"Mostra l'elemento di immissione di testo o la finestra di dialogo casella " +"combinata" + +#: ../src/option.c:390 +msgid "Set the entry label" +msgstr "Seleziona l'etichetta dell'elemento" + +#: ../src/option.c:396 +msgid "Set the entry text" +msgstr "Seleziona il testo dell'elemento di immissione di testo" + +#: ../src/option.c:402 +msgid "Hide the entry text" +msgstr "Nascondi il testo dell'elemento di immissione di testo" + +#: ../src/option.c:408 +msgid "Use completion instead of combo-box" +msgstr "Utilizza il completamento automatico al posto della casella combinata" + +#: ../src/option.c:414 +msgid "Use spin button for text entry" +msgstr "Utilizza lo spin button per l'elemento di immissione di testo" + +#: ../src/option.c:420 +msgid "Allow changes to text in combo-box" +msgstr "Permetti il cambiamento del testo nella casella combinata" + +#: ../src/option.c:426 +msgid "Set the left entry icon" +msgstr "Seleziona l'icona dell'elemento a sinistra " + +#: ../src/option.c:432 +msgid "Set the left entry icon action" +msgstr "Seleziona l'azione dell'icona dell'elemento a sinistra" + +#: ../src/option.c:438 +msgid "Set the right entry icon" +msgstr "Seleziona l'icona dell'elemento a destra" + +#: ../src/option.c:444 +msgid "Set the right entry icon action" +msgstr "Seleziona l'azione dell'icona dell'elemento a destra" + +#: ../src/option.c:454 +msgid "Display file selection dialog" +msgstr "Mostra la finestra di dialogo per la selezione dei file" + +#: ../src/option.c:460 +msgid "Alias for --file" +msgstr "Alias per --file" + +#: ../src/option.c:466 +msgid "Set the filename" +msgstr "Seleziona il nome del file" + +#: ../src/option.c:472 +msgid "Allow multiple files to be selected" +msgstr "Permetti la selezione multipla di file" + +#: ../src/option.c:478 +msgid "Activate directory-only selection" +msgstr "Attiva la selezione delle sole cartelle" + +#: ../src/option.c:484 +msgid "Activate save mode" +msgstr "Activa la modalità di salvataggio" + +#: ../src/option.c:490 ../src/option.c:577 ../src/option.c:713 +msgid "Set output separator character" +msgstr "Seleziona il carattere separatore per l'output" + +#: ../src/option.c:491 ../src/option.c:578 ../src/option.c:584 +#: ../src/option.c:714 ../src/option.c:897 ../src/option.c:903 +msgid "SEPARATOR" +msgstr "SEPARATORE" + +#: ../src/option.c:496 +msgid "Confirm file selection if filename already exists" +msgstr "Conferma la selezione del file se già esiste" + +#: ../src/option.c:497 +msgid "TEXT" +msgstr "TESTO" + +#: ../src/option.c:502 +msgid "Sets a filename filter" +msgstr "Seleziona un filtro per i file" + +#: ../src/option.c:503 +msgid "NAME | PATTERN1 PATTERN2 ..." +msgstr "NOME | PATTERN1 PATTERN2 ..." + +#: ../src/option.c:508 +msgid "Enable preview" +msgstr "Abilita anteprima" + +#: ../src/option.c:514 ../src/option.c:601 ../src/option.c:791 +#, fuzzy +msgid "Quote dialogs output" +msgstr "Seleziona il testo della finestra di dialogo" + +#: ../src/option.c:524 +msgid "Display font selection dialog" +msgstr "Mostra la finestra di dialogo per la selezione del font" + +#: ../src/option.c:530 +msgid "Alias for --font" +msgstr "Alias per --font" + +#: ../src/option.c:536 +msgid "Set initial font" +msgstr "Seleziona il font iniziale" + +#: ../src/option.c:537 ../src/option.c:955 ../src/option.c:1126 +msgid "FONTNAME" +msgstr "NOMEDELFONT" + +#: ../src/option.c:542 +msgid "Set preview text" +msgstr "Seleziona il nome dell'anteprima" + +#: ../src/option.c:552 +msgid "Display form dialog" +msgstr "Mostra la finestra di dialogo per le tabelle" + +#: ../src/option.c:559 +#, fuzzy +msgid "" +"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, MFL, DIR, CDIR, " +"MDIR, FN, DT, SCL, CLR, BTN, FBTN, LBL or TXT)" +msgstr "" +"Aggiungi un campo alla tabella (TIPO - H, RO, NUM, CHK, CB, CBE, FL, SFL, " +"DIR, CDIR, FN, MFL, DT, CLR, BTN or LBL)" + +#: ../src/option.c:560 ../src/option.c:808 +msgid "LABEL:TYPE" +msgstr "ETICHETTA:TIPO" + +#: ../src/option.c:565 +msgid "Set alignment of filed labels (left, center or right)" +msgstr "Seleziona l'allineamento dei campi (a sinistra, centrato, a destra)" + +#: ../src/option.c:571 +msgid "Set number of columns in form" +msgstr "Seleziona il numero delle colonne della tabella" + +#: ../src/option.c:583 +msgid "Set separator character for combobox or scale data" +msgstr "" +"Seleziona il carattere separatore per le caselle combinate o la scala dei " +"dati" + +#: ../src/option.c:595 +#, fuzzy +msgid "Make form scrollable" +msgstr "Rendi la form scorrevole" + +#: ../src/option.c:611 +msgid "Display icons box dialog" +msgstr "Mostra una finestra di dialogo contenente icone" + +#: ../src/option.c:617 +msgid "Read data from .desktop files in specified directory" +msgstr "Leggi i dati dai .desktop file nella cartella selezionata" + +#: ../src/option.c:618 +msgid "DIRECTORY" +msgstr "CARTELLA" + +#: ../src/option.c:623 +msgid "Use compact (list) view" +msgstr "Utilizza la vista compatta (a lista)" + +#: ../src/option.c:629 +msgid "Use GenericName field instead of Name for icon label" +msgstr "" +"Utilizza il nome generico piuttosto che il nome come etichetta dell'icona" + +#: ../src/option.c:635 +msgid "Read data from stdin" +msgstr "Leggi i dati dallo standard input" + +#: ../src/option.c:641 +msgid "Set the width of dialog items" +msgstr "Configura la larghezza degli elementi della finestra di dialogo" + +#: ../src/option.c:648 +#, no-c-format +msgid "" +"Use specified pattern for launch command in terminal (default: xterm -e %s)" +msgstr "" +"Usa il pattern specificato per lanciare i comandi dal terminale " +"(predefinito: xterm-e% s)" + +#: ../src/option.c:654 +msgid "Sort items by name instead of filename" +msgstr "Ordina gli elementi per nome piuttosto che per nome del file" + +#: ../src/option.c:660 +msgid "Sort items in descending order" +msgstr "Ordina gli elementi in ordine decrescente" + +#: ../src/option.c:666 +msgid "Activate items by single click" +msgstr "Attiva gli elemento solo con un click" + +#: ../src/option.c:676 +msgid "Display list dialog" +msgstr "Mostra la finestra di dialogo per le liste" + +#: ../src/option.c:682 +msgid "Don't show column headers" +msgstr "Non mostrare l'intestazione delle colonne" + +#: ../src/option.c:688 +msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, RD, IMG, HD or TIP)" +msgstr "" +"Seleziona l'intestazione delle colonne (TIPO - TESTO, NUM, FLT, CHK, IMG or " +"TIP)" + +#: ../src/option.c:689 +msgid "COLUMN:TYPE" +msgstr "COLONNA:TIPO" + +#: ../src/option.c:694 +msgid "Use checkboxes for first column" +msgstr "Usa checkbox per la prima colonna" + +#: ../src/option.c:700 +msgid "Use radioboxes for first column" +msgstr "Usa radiobox per la prima colonna" + +#: ../src/option.c:706 +msgid "Disable clickable column headers" +msgstr "" + +#: ../src/option.c:719 +msgid "Allow multiple rows to be selected" +msgstr "Permetti la seleziona multipla di righe" + +#: ../src/option.c:725 ../src/option.c:1161 +msgid "Allow changes to text" +msgstr "Permetti di cambiare il testo" + +#: ../src/option.c:731 +msgid "Print all data from list" +msgstr "Stampa tutti i dati della lista" + +#: ../src/option.c:737 +msgid "Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)" +msgstr "" +"Seleziona la modalità arrotondata per il testo delle colonne(TIPO - NONE, " +"START, MIDDLE or END)" + +#: ../src/option.c:743 +msgid "" +"Print a specific column. By default or if 0 is specified will be printed all " +"columns" +msgstr "" +"Stampa una specifica colonna. Come comportamento predefinito o scegliendo 0 " +"sarannostampate tutte le colonne" + +#: ../src/option.c:749 +msgid "Hide a specific column" +msgstr "Nascondi una specifica colonna" + +#: ../src/option.c:755 +msgid "Set the column expandable by default. 0 sets all columns expandable" +msgstr "" +"Seleziona una colonna predefinita estendibile. 0 seleziona tutte le colonne " +"come estendibili" + +#: ../src/option.c:761 +msgid "" +"Set the quick search column. Default is first column. Set it to 0 for " +"disable searching" +msgstr "" +"Seleziona la colonna per la ricerca veloce. Quella predefinita è la prima " +"colonna.Configura a 0 per disabilitare la ricerca" + +#: ../src/option.c:767 +msgid "Set the limit of rows in list" +msgstr "Seleziona il limite massimo delle linee nella lista" + +#: ../src/option.c:773 +msgid "Set double-click action" +msgstr "Seleziona l'azione al doppio click" + +#: ../src/option.c:779 +msgid "Use regex in search" +msgstr "Utilizza regular expression nella ricerca" + +#: ../src/option.c:785 +msgid "Listen for data on stdin in addition to command-line" +msgstr "Prendi i dati dallo standard input oltre che da command line" + +#: ../src/option.c:801 +msgid "Display multi progress bars dialog" +msgstr "Mostra una finestra di dialogo con barre di avanzamento multiple" + +#: ../src/option.c:807 +msgid "Add the progress bar (TYPE - NORM, RTL or PULSE)" +msgstr "Aggiungi una barra di avanzamento (TIPO - NORM, RTL or PULSE)" + +#: ../src/option.c:813 +msgid "Show vertical bars" +msgstr "Mostra barre verticali" + +#: ../src/option.c:819 +#, fuzzy +msgid "Set alignment of bar labels (left, center or right)" +msgstr "" +"Seleziona l'allineamentio delle etichette nelle barre (a sinistra, centrate, " +"a destra)" + +#: ../src/option.c:826 +#, fuzzy, no-c-format +msgid "Dismiss the dialog when 100% of all bars has been reached" +msgstr "Chiudi la finestra di dialogo quando arriva al 100%" + +#: ../src/option.c:833 ../src/option.c:996 +msgid "Kill parent process if cancel button is pressed" +msgstr "Uccidi il processo genitore quando viene schiacciato il bottone cancel" + +#: ../src/option.c:844 +#, fuzzy +msgid "Display notebook dialog" +msgstr "Mostra una finestra di dialogo a schede" + +#: ../src/option.c:850 +msgid "Identifier of embedded dialogs" +msgstr "Identificatore per finestre di dialogo incorporate" + +#: ../src/option.c:856 +msgid "Add a tab to notebook" +msgstr "Aggiungi una scheda alla finestra di dialogo a schede" + +#: ../src/option.c:857 +msgid "LABEL" +msgstr "ETICHETTA" + +#: ../src/option.c:862 +#, fuzzy +msgid "Set position of a notebook tabs (top, bottom, left or right)" +msgstr "" +"Mostra un indicatore del tempo mancante alla scomparsa (su, giù, sinistra, " +"destra)" + +#: ../src/option.c:868 +msgid "Set tab borders" +msgstr "Seleziona i bordi delle schede" + +#: ../src/option.c:878 +msgid "Display notification" +msgstr "Usa la notifica" + +#: ../src/option.c:884 +msgid "Set left-click action" +msgstr "Seleziona l'azione al click sinistro" + +#: ../src/option.c:890 +msgid "Listen for commands on stdin" +msgstr "Prendi i comando dallo standard input" + +#: ../src/option.c:896 +msgid "Set separator character for menu values" +msgstr "Seleziona il carattere separatore per i volori dei menù" + +#: ../src/option.c:902 +msgid "Set separator character for menu items" +msgstr "Seleziona il carattere separatore per gli elementi dei menù" + +#: ../src/option.c:908 +#, fuzzy +msgid "Set initial popup menu" +msgstr "Seleziona il font iniziale" + +#: ../src/option.c:909 +msgid "STRING" +msgstr "" + +#: ../src/option.c:914 +msgid "Disable exit on middle click" +msgstr "" + +#: ../src/option.c:924 +msgid "Display printing dialog" +msgstr "Mostra una finestra di dialogo di stampa" + +#: ../src/option.c:930 +#, fuzzy +msgid "Source filename" +msgstr "Nome del file sorgente" + +#: ../src/option.c:936 +msgid "Set source type (TYPE - TEXT, IMAGE or RAW)" +msgstr "Seleziona il tipo di sorgente (TIPO - TEXT, IMAGE or RAW)" + +#: ../src/option.c:942 +msgid "Add headers to page" +msgstr "Aggiungi intestazione alla pagina" + +#: ../src/option.c:948 +msgid "Enable preview in print dialog" +msgstr "Abilita la'anteprima nelle finestre di dialogo di stampa" + +#: ../src/option.c:954 ../src/option.c:1125 +msgid "Use specified font" +msgstr "Usa il font specificato" + +#: ../src/option.c:964 +msgid "Display progress indication dialog" +msgstr "Mostra la finestra di dialogo della barra di avanzamento" + +#: ../src/option.c:970 +msgid "Set progress text" +msgstr "Seleziona il testo della barra di avanzamento" + +#: ../src/option.c:976 +msgid "Set initial percentage" +msgstr "Seleziona la percentuale iniziale" + +#: ../src/option.c:977 +msgid "PERCENTAGE" +msgstr "PERCENTUALE" + +#: ../src/option.c:982 +msgid "Pulsate progress bar" +msgstr "Barra di avanzamento pulsante" + +#: ../src/option.c:989 +#, no-c-format +msgid "Dismiss the dialog when 100% has been reached" +msgstr "Chiudi la finestra di dialogo quando arriva al 100%" + +#: ../src/option.c:1003 +msgid "Right-To-Left progress bar direction" +msgstr "Direzione della barra di avanzamento da destra a sinistra" + +#: ../src/option.c:1009 +msgid "Show log window" +msgstr "Mostra la finestra dei log" + +#: ../src/option.c:1015 +msgid "Expand log window" +msgstr "Espandi la finestra dei log" + +#: ../src/option.c:1021 +#, fuzzy +msgid "Place log window above progress bar" +msgstr "Colloca la finestra dei log sopra alla barra di avanzamento" + +#: ../src/option.c:1027 +msgid "Height of log window" +msgstr "Altezza della finestra dei log" + +#: ../src/option.c:1037 +msgid "Display scale dialog" +msgstr "Mostra la finestra di dialogo a scala" + +#: ../src/option.c:1043 +msgid "Set initial value" +msgstr "Seleziona il valore iniziale" + +#: ../src/option.c:1044 ../src/option.c:1050 ../src/option.c:1056 +#: ../src/option.c:1062 ../src/option.c:1068 +msgid "VALUE" +msgstr "VALORE" + +#: ../src/option.c:1049 +msgid "Set minimum value" +msgstr "Seleziona il valore minimo" + +#: ../src/option.c:1055 +msgid "Set maximum value" +msgstr "Seleziona il valore massimo" + +#: ../src/option.c:1061 +msgid "Set step size" +msgstr "Seleziona il valore del passo" + +#: ../src/option.c:1067 +msgid "Set paging size" +msgstr "Seleziona la dimensione del paginamento" + +#: ../src/option.c:1073 +msgid "Print partial values" +msgstr "Stampa i valori parziali" + +#: ../src/option.c:1079 +msgid "Hide value" +msgstr "Nascondi il valore" + +#: ../src/option.c:1085 +msgid "Show vertical scale" +msgstr "Mostra scale averticale" + +#: ../src/option.c:1091 +msgid "Invert direction" +msgstr "Inverti la direzione" + +#: ../src/option.c:1097 +msgid "Add mark to scale (may be used multiple times)" +msgstr "Aggiungi un marcatore alla scala (può essere usato più volte)" + +#: ../src/option.c:1098 +msgid "NAME:VALUE" +msgstr "NOME:VALORE" + +#: ../src/option.c:1107 +msgid "Display text information dialog" +msgstr "Mostra la finestra di dialogo di testo" + +#: ../src/option.c:1113 +msgid "Use specified color for text" +msgstr "Usa il colore specificato per il testo" + +#: ../src/option.c:1119 +msgid "Use specified color for background" +msgstr "Usa il colore specificato per lo sfondo" + +#: ../src/option.c:1131 +msgid "Enable text wrapping" +msgstr "Abilita il text wrapping" + +#: ../src/option.c:1137 +msgid "Set justification (TYPE - left, right, center or fill)" +msgstr "Seleziona il tipo (TIPO - a sinistra, a destra, centrato o riempi)" + +#: ../src/option.c:1143 +msgid "Set text margins" +msgstr "Seleziona i margini del testo" + +#: ../src/option.c:1144 +msgid "SIZE" +msgstr "DIMENSIONE" + +#: ../src/option.c:1149 +msgid "Autoscroll to end of text" +msgstr "Scroll automatico alla fine del testo" + +#: ../src/option.c:1155 +msgid "Open file" +msgstr "Apri il file" + +#: ../src/option.c:1167 +msgid "Make URI clickable" +msgstr "Rendi l'URI cliccabile" + +#: ../src/option.c:1173 +msgid "Listen for data on stdin in addition to file" +msgstr "Prendi i dati dallo standard input oltre che da file" + +#: ../src/option.c:1183 +msgid "Show about dialog" +msgstr "Mostra la finestra di dialogo con le informazioni" + +#: ../src/option.c:1189 +msgid "Print version" +msgstr "Stampa versione" + +#: ../src/option.c:1199 +msgid "Load extra arguments from file" +msgstr "Carica argomenti addizionali da file" + +#: ../src/option.c:1244 ../src/option.c:1459 +#, c-format +msgid "Unknown align type: %s\n" +msgstr "Tipo di allineamento sconosciuto: %s\n" + +#: ../src/option.c:1401 +#, c-format +msgid "Mark %s doesn't have a value\n" +msgstr "Il marcatore %s non ha valori\n" + +#: ../src/option.c:1444 +#, c-format +msgid "Unknown buttons layout type: %s\n" +msgstr "Tipo di allineamento sconosciuto: %s\n" + +#: ../src/option.c:1476 +#, c-format +msgid "Unknown justification type: %s\n" +msgstr "Tipo di giustificazione sconosciuto: %s\n" + +#: ../src/option.c:1493 +#, fuzzy, c-format +msgid "Unknown tab position type: %s\n" +msgstr "Tipo di allineamento sconosciuto: %s\n" + +#: ../src/option.c:1529 +#, c-format +msgid "Unknown ellipsize type: %s\n" +msgstr "Tipo di arrotondamento sconosciuto: %s\n" + +#: ../src/option.c:1544 +#, c-format +msgid "Unknown source type: %s\n" +msgstr "Tipo di sorgente sconosciuto: %s\n" + +#: ../src/option.c:1555 +#, fuzzy +msgid "Progress log" +msgstr "Log della barra di avanzamento" + +#: ../src/option.c:1664 +#, c-format +msgid "Unknown signal: %s\n" +msgstr "Segnale sconosciuto: %s\n" + +#: ../src/option.c:1807 +msgid "File exist. Overwrite?" +msgstr "Il file esiste. Sovrascrivo?" + +#: ../src/option.c:1900 +msgid "Yet another dialoging program" +msgstr "Yet another dialoging program" + +#. Adds general option entries +#: ../src/option.c:1904 +msgid "General options" +msgstr "Opzioni generiche" + +#: ../src/option.c:1904 +msgid "Show general options" +msgstr "Mostra le opzioni generiche" + +#. Adds calendar option entries +#: ../src/option.c:1910 +msgid "Calendar options" +msgstr "Options del calendario" + +#: ../src/option.c:1910 +msgid "Show calendar options" +msgstr "Mostra le opzioni del calendario" + +#. Adds color option entries +#: ../src/option.c:1916 +msgid "Color selection options" +msgstr "Opzioni della selezione del colore" + +#: ../src/option.c:1916 +msgid "Show color selection options" +msgstr "Mostra le opzioni della selezione del colore" + +#. Adds dnd option entries +#: ../src/option.c:1922 +msgid "DND options" +msgstr "Opzioni del drag-n-drop" + +#: ../src/option.c:1922 +msgid "Show drag-n-drop options" +msgstr "Mostra le opzioni del drag-n-drop" + +#. Adds entry option entries +#: ../src/option.c:1928 +msgid "Text entry options" +msgstr "Opzioni dell'elemento per l'immissione di testo" + +#: ../src/option.c:1928 +msgid "Show text entry options" +msgstr "Mostra le opzioni dell'elemento per l'immissione di testo" + +#. Adds file selection option entries +#: ../src/option.c:1934 +msgid "File selection options" +msgstr "Opzioni della selezione di file" + +#: ../src/option.c:1934 +msgid "Show file selection options" +msgstr "Mostra le opzioni della selezione di file" + +#. Add font selection option entries +#: ../src/option.c:1940 +msgid "Font selection options" +msgstr "Opzioni della selezione di font" + +#: ../src/option.c:1940 +msgid "Show font selection options" +msgstr "Mostra le opzioni della selezione di font" + +#. Add form option entries +#: ../src/option.c:1946 +msgid "Form options" +msgstr "Opzioni della form" + +#: ../src/option.c:1946 +msgid "Show form options" +msgstr "Mostra le opzioni della form" + +#. Add icons option entries +#: ../src/option.c:1952 +msgid "Icons box options" +msgstr "Opzioni del contenitore di icone" + +#: ../src/option.c:1952 +msgid "Show icons box options" +msgstr "Mostra le opzioni del contenitore di icone" + +#. Adds list option entries +#: ../src/option.c:1958 +msgid "List options" +msgstr "Optioni delle liste" + +#: ../src/option.c:1958 +msgid "Show list options" +msgstr "Mostra le opzioni delle liste" + +#. Adds multi progress option entries +#: ../src/option.c:1964 +msgid "Multi progress bars options" +msgstr "Opzioni delle barre di avanzamento multiple" + +#: ../src/option.c:1965 +#, fuzzy +msgid "Show multi progress bars options" +msgstr "Mostra le opzioni delle barre di avanzamento multiple" + +#. Adds notebook option entries +#: ../src/option.c:1971 +msgid "Notebook options" +msgstr "Opzioni del menù a schede" + +#: ../src/option.c:1971 +msgid "Show notebook dialog options" +msgstr "Mostra le opzioni della finestra di dialogo con menù a schede" + +#. Adds notification option entries +#: ../src/option.c:1977 +msgid "Notification icon options" +msgstr "Opzioni delle icone di notifica" + +#: ../src/option.c:1978 +msgid "Show notification icon options" +msgstr "Mostra le opzioni delle icone di notifica" + +#. Adds print option entries +#: ../src/option.c:1984 +msgid "Print dialog options" +msgstr "Stampa le opzioni della finestra i dialogo" + +#: ../src/option.c:1984 +#, fuzzy +msgid "Show print dialog options" +msgstr "Mostra le opzioni delle finestra di dialogo" + +#. Adds progress option entries +#: ../src/option.c:1990 +msgid "Progress options" +msgstr "Opzioni della barra di avanzamento" + +#: ../src/option.c:1990 +msgid "Show progress options" +msgstr "Mostra le opzioni della barra di avanzamento" + +#. Adds scale option entries +#: ../src/option.c:1996 +msgid "Scale options" +msgstr "Opzione della scala" + +#: ../src/option.c:1996 +msgid "Show scale options" +msgstr "Mostra le opzioni della scala" + +#. Adds text option entries +#: ../src/option.c:2002 +msgid "Text information options" +msgstr "Opzioni della finestra del dialogo delle infomazioni" + +#: ../src/option.c:2002 +msgid "Show text information options" +msgstr "Mostra le opzioni della finestra del dialogo delle infomazioni" + +#. Adds miscellaneous option entries +#: ../src/option.c:2008 +msgid "Miscellaneous options" +msgstr "Altre opzioni" + +#: ../src/option.c:2008 +msgid "Show miscellaneous options" +msgstr "Mostra le altre opzioni" + +#: ../src/print.c:202 ../src/print.c:361 +#, fuzzy, c-format +msgid "Printing failed: %s\n" +msgstr "Stampa fallita: %s\n" + +#: ../src/print.c:230 +#, c-format +msgid "File %s not found.\n" +msgstr "Impossibile trovare il file %s.\n" + +#: ../src/print.c:236 +#, c-format +msgid "Filename is not specified.\n" +msgstr "Il nome del file non è stato specificato.\n" + +#: ../src/print.c:377 +#, c-format +msgid "Printer doesn't support ps format.\n" +msgstr "La stampante non supporta il formato postscript.\n" + +#: ../src/print.c:385 +#, c-format +msgid "Printer doesn't support pdf format.\n" +msgstr "La stampante non supporta il formato pdf.\n" + +#: ../src/print.c:391 +#, c-format +msgid "This file type is not supported for raw printing.\n" +msgstr "Il tipo di file non supporta la stampa grezza.\n" + +#: ../src/print.c:405 +#, c-format +msgid "Load source file failed: %s\n" +msgstr "Impossibile caricare il file: %s\n" + +#: ../src/color.c:65 +#, fuzzy, c-format +msgid "Can't open file %s: %s\n" +msgstr "Impossibile aprire il file %s: %s\n" + +#. create expander +#: ../src/color.c:150 +msgid "Palette" +msgstr "Palette" + +#: ../src/color.c:169 +msgid "Color" +msgstr "Colore" + +#: ../src/color.c:186 +msgid "Name" +msgstr "Nome" + +#: ../src/text.c:418 +#, c-format +msgid "Invalid UTF-8 data encountered reading file %s\n" +msgstr "" +"E' stato trovato un carattere non UTF-8 durante la lettura del file %s\n" + +#: ../src/browser.c:132 +msgid "scalable " +msgstr "scalable " + +#: ../src/browser.c:142 +msgid "built-in" +msgstr "incorporato" + +#. initialize GTK+ and parse the command line arguments +#: ../src/browser.c:200 +msgid "- Icon browser" +msgstr "- Navigatore di icone" + +#: ../src/browser.c:213 +msgid "Icon browser" +msgstr "Navigatore di icone" + +#: ../src/browser.c:247 +msgid "<b>Name:</b>" +msgstr "<b>Nome:</b>" + +#: ../src/browser.c:265 +msgid "<b>Sizes:</b>" +msgstr "<b>Dimensione:</b>" + +#: ../src/browser.c:283 +msgid "<b>Filename:</b>" +msgstr "<b>Nome file:</b>" + +#: ../src/browser.c:325 +msgid "Category" +msgstr "Categoria" + +#: ../src/browser.c:356 +msgid "Icons" +msgstr "Icone" + +#: ../data/yad-icon-browser.desktop.in.h:1 +msgid "Icon Browser" +msgstr "Navigatore di icone" + +#: ../data/yad-icon-browser.desktop.in.h:2 +msgid "Inspect GTK Icon Theme" +msgstr "Sfoglia le icone del tema GTK" + +#~ msgid "Set alignment of tab labels (left, center or right)" +#~ msgstr "" +#~ "Selezione l'allineamento delle etichette delle schede (a sinistra, " +#~ "centrate, a destra)" + +#~ msgid "" +#~ "<b>Name:</b> %s\n" +#~ "<b>Sizes:</b> %s\n" +#~ "<b>Filename:</b> %s" +#~ msgstr "" +#~ "<b>Nom</b> %s\n" +#~ "<b>Poids:</b> %s\n" +#~ "<b>Nom de fichier:</b> %s" + +#, fuzzy +#~ msgid "NUM" +#~ msgstr "NOMBRE" + +#~ msgid "Alias to checklist (deprecated)" +#~ msgstr "Alias pour check-list (obsolète)"
View file
yad-0.36.2.tar.xz/po/pt_BR.po
Added
@@ -0,0 +1,1343 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: Brazilian\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-07 09:25+0200\n" +"PO-Revision-Date: 2013-10-27 02:12-0300\n" +"Last-Translator: Gustavo Soares de Lima <gustavo@logicus.com.br>\n" +"Language-Team: Brazilian\n" +"Language: Brazilian Portuguese\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" + +#: ../src/about.c:30 +msgid "translator-credits" +msgstr "Gustavo Soares de Lima <gustavo@logicus.com.br>" + +#: ../src/about.c:32 +msgid "" +"YAD is free software; you can redistribute it and/or modify it under the " +"terms of the GNU General Public License as published by the Free Software " +"Foundation; either version 3 of the License, or (at your option) any later " +"version.\n" +"\n" +"YAD 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.\n" +"\n" +"You should have received a copy of the GNU General Public License along with " +"YAD. If not, see <http://www.gnu.org/licenses/>." +msgstr "" +"Yad é Software Livre. Você pode modificá-lo e redistribuí-lo sob os termos " +"da licença GNU (tanto da versão 3 como de qualquer outra a seu critério) " +"conforme as diretrizes da Free Software Fundation.\n" +"\n" +"O Yad é distribuído na esperança de ser útil. Mas lembre-se que isto é SEM " +"QUALQUER GARANTIA, inclusive garantia de comercialização ou adequação a um " +"determinado fim. Para maiores informação leia a Licença GNU.\n" +"\n" +"Junto ao Yad você recebeu uma cópia da Licença GNU. Caso não encontre-a leia " +"em <http://www.gnu.org.licenses/>." + +#: ../src/about.c:50 +msgid "" +"Yet Another Dialog\n" +"(show dialog boxes from shell scripts)\n" +"\n" +"Based on Zenity code\n" +msgstr "" +"Yet Another Dialog\n" +"(Mostra caixas de diálogo a partir de shell scripts)\n" +"Baseado no código do Zenity\n" + +#: ../src/calendar.c:39 ../src/text.c:389 +#, c-format +msgid "Cannot open file '%s': %s\n" +msgstr "Não foi possível abrir o arquivo '%s': %s\n" + +#: ../src/entry.c:172 ../src/scale.c:39 +#, c-format +msgid "Maximum value must be greater than minimum value.\n" +msgstr "O valor máximo deve ser maior do que o valor mínimo.\n" + +#: ../src/entry.c:179 ../src/scale.c:48 +#, c-format +msgid "Initial value less than minimal.\n" +msgstr "Valor inicial inferior ao mínimo.\n" + +#: ../src/entry.c:184 ../src/scale.c:53 +#, c-format +msgid "Initial value greater than maximum.\n" +msgstr "Valor inicial maior que o máximo.\n" + +#: ../src/form.c:372 +msgid "Select files" +msgstr "Selecione os arquivos" + +#: ../src/form.c:380 +msgid "Select folders" +msgstr "Selecione as pastas" + +#: ../src/form.c:443 +msgid "Select or create file" +msgstr "Selecionar ou criar arquivo" + +#: ../src/form.c:451 +msgid "Select or create folder" +msgstr "Selecionar ou criar pasta" + +#: ../src/form.c:488 +msgid "Select date" +msgstr "Selecione a data" + +#: ../src/form.c:689 +msgid "Select file" +msgstr "Selecione o arquivo" + +#: ../src/form.c:703 +msgid "Select folder" +msgstr "Selecioine a pasta" + +#: ../src/icons.c:321 +#, c-format +msgid "Unable to parse file %s: %s\n" +msgstr "Não foi possível analisar o arquivo %s: %s\n" + +#: ../src/icons.c:338 +#, c-format +msgid "Unable to open directory %s: %s\n" +msgstr "Não foi possível abrir o diretório %s: %s\n" + +#: ../src/main.c:102 ../src/main.c:233 +#, c-format +msgid "%d sec" +msgstr "" + +#: ../src/main.c:656 +#, c-format +msgid "Unable to parse command line: %s\n" +msgstr "Não foi possível analisar a linha de comando: %s\n" + +#: ../src/notification.c:118 +#, c-format +msgid "Could not load notification icon '%s': %s\n" +msgstr "Não foi possível carregar o ícone de notificação '%s': %s\n" + +#: ../src/notification.c:301 +#, c-format +msgid "Invalid UTF-8 in tooltip!\n" +msgstr "UTF-8 inválido!\n" + +#: ../src/notification.c:345 +#, c-format +msgid "Unknown command '%s'\n" +msgstr "Comando desconhecido '%s'\n" + +#: ../src/notification.c:380 +msgid "Yad notification" +msgstr "Notificação do Yad" + +#: ../src/list.c:856 +msgid "Add row" +msgstr "Adicionar linha" + +#: ../src/list.c:863 +msgid "Delete row" +msgstr "Deletar linha" + +#: ../src/list.c:870 +msgid "Duplicate row" +msgstr "Duplicar linha" + +#: ../src/list.c:897 +#, c-format +msgid "No column titles specified for List dialog.\n" +msgstr "Nenhum título especificado para coluna da lista de diálogo.\n" + +#: ../src/option.c:69 +msgid "Set the dialog title" +msgstr "Defina o título do diálogo" + +#: ../src/option.c:70 +msgid "TITLE" +msgstr "TÍTULO" + +#: ../src/option.c:75 +msgid "Set the window icon" +msgstr "Defina o ícone da janela" + +#: ../src/option.c:76 +msgid "ICONPATH" +msgstr "ICONECAMINHO" + +#: ../src/option.c:81 +msgid "Set the width" +msgstr "Defina a largura" + +#: ../src/option.c:82 +msgid "WIDTH" +msgstr "LARGURA" + +#: ../src/option.c:87 +msgid "Set the height" +msgstr "Defina a altura" + +#: ../src/option.c:88 +msgid "HEIGHT" +msgstr "ALTURA" + +#: ../src/option.c:93 +msgid "Set the window geometry" +msgstr "Defina a geometria da janela" + +#: ../src/option.c:94 +msgid "WxH+X+Y" +msgstr "WxH+X+Y" + +#: ../src/option.c:99 +msgid "Set dialog timeout in seconds" +msgstr "Definir em segundos o tempo limite do diálogo" + +#: ../src/option.c:100 +msgid "TIMEOUT" +msgstr "INTERVALO" + +#: ../src/option.c:105 +msgid "Show remaining time indicator (top, bottom, left, right)" +msgstr "" +"Mostra indicador de tempo restante (superior, inferior, esquerda, direita)" + +#: ../src/option.c:106 +msgid "POS" +msgstr "POS" + +#: ../src/option.c:111 +msgid "Set the dialog text" +msgstr "Definir o texto do diálogo" + +#: ../src/option.c:112 ../src/option.c:142 ../src/option.c:391 +#: ../src/option.c:397 ../src/option.c:403 ../src/option.c:543 +#: ../src/option.c:971 ../src/option.c:1010 +msgid "TEXT" +msgstr "TEXTO" + +#: ../src/option.c:117 +msgid "Set the dialog text alignment (left, center, right, fill)" +msgstr "" +"Definir o alinhamento do texto de diálogo (esquerda, centro, direita, " +"preencha)" + +#: ../src/option.c:118 ../src/option.c:160 ../src/option.c:566 +#: ../src/option.c:738 ../src/option.c:820 ../src/option.c:863 +#: ../src/option.c:937 ../src/option.c:1138 +msgid "TYPE" +msgstr "TIPO" + +#: ../src/option.c:123 +msgid "Set the dialog image" +msgstr "Definir a imagem do diálogo" + +#: ../src/option.c:124 ../src/option.c:427 ../src/option.c:439 +msgid "IMAGE" +msgstr "IMAGEM" + +#: ../src/option.c:129 +msgid "Show image above main widget" +msgstr "Mastrar a imagem acima da janela principal" + +#: ../src/option.c:135 +msgid "Use specified icon theme instead of default" +msgstr "Especifíque o ícone do tema ao invés de usar o default" + +#: ../src/option.c:136 +msgid "THEME" +msgstr "TEMA" + +#: ../src/option.c:141 +msgid "Hide main widget with expander" +msgstr "Esconder a janela principal com expansor" + +#: ../src/option.c:147 +msgid "Add dialog button (may be used multiple times)" +msgstr "Adicionar botão de diálogo (pode ser usado várias vezes)" + +#: ../src/option.c:148 +msgid "NAME:ID" +msgstr "NOME:ID" + +#: ../src/option.c:153 +msgid "Don't show buttons" +msgstr "Não mostrar botões" + +#: ../src/option.c:159 +msgid "Set buttons layout type (spread, edge, start, end or center)" +msgstr "" +"Definir o tipo de layout do botão (spread, borda, início, fim ou centro)" + +#: ../src/option.c:165 +msgid "Don't use pango markup language in dialog's text" +msgstr "Não use linguagem de marcação Pango no texto do diálogo" + +#: ../src/option.c:172 +msgid "Add separator between dialog and buttons" +msgstr "Adicionar separador entre diálogo e botões" + +#: ../src/option.c:179 +msgid "Set window borders" +msgstr "Definir bordas da janela" + +#: ../src/option.c:180 ../src/option.c:259 ../src/option.c:572 +#: ../src/option.c:744 ../src/option.c:750 ../src/option.c:756 +#: ../src/option.c:762 ../src/option.c:768 ../src/option.c:869 +msgid "NUMBER" +msgstr "NUMERO" + +#: ../src/option.c:185 +msgid "Always print result" +msgstr "Sempre imprima o resultado" + +#: ../src/option.c:191 +msgid "Dialog text can be selected" +msgstr "O texto de diálogo pode ser selecionado" + +#: ../src/option.c:198 +msgid "Set window sticky" +msgstr "Definir janela sticky" + +#: ../src/option.c:204 +msgid "Set window unresizable" +msgstr "Definir janela não redimensionável" + +#: ../src/option.c:210 +msgid "Place window on top" +msgstr "Colocar janela no topo" + +#: ../src/option.c:216 +msgid "Place window on center of screen" +msgstr "Colocar janela no centro da tela" + +#: ../src/option.c:222 +msgid "Place window at the mouse position" +msgstr "Colocar janela na posição do mouse" + +#: ../src/option.c:228 +msgid "Set window undecorated" +msgstr "Conjunto de janela sem decoração" + +#: ../src/option.c:234 +msgid "Don't show window in taskbar" +msgstr "Não mostrar a janela na barra de tarefas" + +#: ../src/option.c:240 +#, fuzzy +msgid "Set window maximized" +msgstr "Definir janela não redimensionável" + +#: ../src/option.c:246 +#, fuzzy +msgid "Set window fulscreen" +msgstr "Definir janela não redimensionável" + +#: ../src/option.c:252 +msgid "Special type of dialog for XEMBED" +msgstr "Tipo especial de diálogo para XEMBED" + +#: ../src/option.c:253 ../src/option.c:851 +msgid "KEY" +msgstr "CHAVE" + +#: ../src/option.c:258 +msgid "Tab nubmer of this dialog" +msgstr "Número guia desta caixa de diálogo" + +#: ../src/option.c:265 +msgid "Send SIGNAL to parent" +msgstr "Enviar sinal para o pai" + +#: ../src/option.c:266 +msgid "SIGNAL" +msgstr "SINAL" + +#: ../src/option.c:271 +msgid "Print X Window Id to the stderr" +msgstr "Imprimir o id da janela X em stderr" + +#: ../src/option.c:278 +msgid "Add path for search icons by name" +msgstr "" + +#: ../src/option.c:279 +#, fuzzy +msgid "PATH" +msgstr "ICONECAMINHO" + +#: ../src/option.c:288 +msgid "Display calendar dialog" +msgstr "Exibir caixa de diálogo de calendário" + +#: ../src/option.c:294 +msgid "Set the calendar day" +msgstr "Defina o dia no calendário" + +#: ../src/option.c:295 +msgid "DAY" +msgstr "DIA" + +#: ../src/option.c:300 +msgid "Set the calendar month" +msgstr "Defina o mês" + +#: ../src/option.c:301 +msgid "MONTH" +msgstr "MES" + +#: ../src/option.c:306 +msgid "Set the calendar year" +msgstr "Defina o ano" + +#: ../src/option.c:307 +msgid "YEAR" +msgstr "ANO" + +#: ../src/option.c:312 ../src/option.c:589 +msgid "Set the format for the returned date" +msgstr "Definir o formato da data retornada para" + +#: ../src/option.c:313 ../src/option.c:590 ../src/option.c:649 +msgid "PATTERN" +msgstr "PADRAO" + +#: ../src/option.c:318 +msgid "Set the filename with dates details" +msgstr "Defina o nome do arquivo com detalhes da data" + +#: ../src/option.c:319 ../src/option.c:347 ../src/option.c:467 +#: ../src/option.c:931 ../src/option.c:1156 ../src/option.c:1200 +msgid "FILENAME" +msgstr "NOMEDOARQUIVO" + +#: ../src/option.c:328 +msgid "Display color selection dialog" +msgstr "Selecione a cor da caixa de diálogo" + +#: ../src/option.c:334 +msgid "Alias for --color" +msgstr "Alias para --color" + +#: ../src/option.c:340 +msgid "Set initial color value" +msgstr "Definir o valor de cor inicial" + +#: ../src/option.c:341 ../src/option.c:1114 ../src/option.c:1120 +msgid "COLOR" +msgstr "COR" + +#: ../src/option.c:346 +msgid "Set path to palette file. Default - " +msgstr "Definir o caminho para arquivo de paleta. Default -" + +#: ../src/option.c:352 +msgid "Use #rrrrggggbbbb format instead of #rrggbb" +msgstr "Use o formato #rrrrggggbbbb ao invés de #rrggbb" + +#: ../src/option.c:362 +msgid "Display drag-n-drop box" +msgstr "Exibir a caixa drag-n-drop" + +#: ../src/option.c:368 +msgid "Use dialog text as tooltip" +msgstr "Use o texto de diálogo como dica" + +#: ../src/option.c:374 +msgid "Set command for process d-n-d data" +msgstr "Conjunto de comandos para o processo de dados d-n-d" + +#: ../src/option.c:375 ../src/option.c:433 ../src/option.c:445 +#: ../src/option.c:774 ../src/option.c:885 +msgid "CMD" +msgstr "CMD" + +#: ../src/option.c:384 +msgid "Display text entry or combo-box dialog" +msgstr "Exibir a entrada de texto ou diálogo combo-box" + +#: ../src/option.c:390 +msgid "Set the entry label" +msgstr "Defina o rótula da entrada" + +#: ../src/option.c:396 +msgid "Set the entry text" +msgstr "Defina o texto de entrada" + +#: ../src/option.c:402 +msgid "Hide the entry text" +msgstr "Ocultar o texto de entrada" + +#: ../src/option.c:408 +msgid "Use completion instead of combo-box" +msgstr "Use conclusão ao invés de combo-box" + +#: ../src/option.c:414 +msgid "Use spin button for text entry" +msgstr "Use o botão de rotação para entrada do texto" + +#: ../src/option.c:420 +msgid "Allow changes to text in combo-box" +msgstr "Permitir alterações do texto no combo-box" + +#: ../src/option.c:426 +msgid "Set the left entry icon" +msgstr "Defina o ícone de entrada a esquerda" + +#: ../src/option.c:432 +msgid "Set the left entry icon action" +msgstr "Defina a ação do ícone de entrada a esquerda" + +#: ../src/option.c:438 +msgid "Set the right entry icon" +msgstr "Defina o ícone de entrada a direita" + +#: ../src/option.c:444 +msgid "Set the right entry icon action" +msgstr "Defina a ação do ícone de entrada a direita" + +#: ../src/option.c:454 +msgid "Display file selection dialog" +msgstr "Exibir caixa diálogo de seleção de arquivo" + +#: ../src/option.c:460 +msgid "Alias for --file" +msgstr "Alias para --file" + +#: ../src/option.c:466 +msgid "Set the filename" +msgstr "Defina o nome do arquivo" + +#: ../src/option.c:472 +msgid "Allow multiple files to be selected" +msgstr "Permitir seleção de vários arquivos" + +#: ../src/option.c:478 +msgid "Activate directory-only selection" +msgstr "Ativar seleção apenas de diretório" + +#: ../src/option.c:484 +msgid "Activate save mode" +msgstr "Ative o modo de salvar" + +#: ../src/option.c:490 ../src/option.c:577 ../src/option.c:713 +msgid "Set output separator character" +msgstr "Definir caractere separador de saída" + +#: ../src/option.c:491 ../src/option.c:578 ../src/option.c:584 +#: ../src/option.c:714 ../src/option.c:897 ../src/option.c:903 +msgid "SEPARATOR" +msgstr "SEPARADOR" + +#: ../src/option.c:496 +msgid "Confirm file selection if filename already exists" +msgstr "Confirme se o nome do arquivo selecionado já existe" + +#: ../src/option.c:497 +msgid "TEXT" +msgstr "TEXTO" + +#: ../src/option.c:502 +msgid "Sets a filename filter" +msgstr "Definir filtro para nome de arquivo" + +#: ../src/option.c:503 +msgid "NAME | PATTERN1 PATTERN2 ..." +msgstr "NOME | PADRAO1 PADRAO2 ..." + +#: ../src/option.c:508 +msgid "Enable preview" +msgstr "Ativar pré-visualização" + +#: ../src/option.c:514 ../src/option.c:601 ../src/option.c:791 +msgid "Quote dialogs output" +msgstr "Cota de saída de diálogos" + +#: ../src/option.c:524 +msgid "Display font selection dialog" +msgstr "Exibir caixa de diálogo de seleção de fonte" + +#: ../src/option.c:530 +msgid "Alias for --font" +msgstr "Alias para --font" + +#: ../src/option.c:536 +msgid "Set initial font" +msgstr "Definir tipo de letra inicial" + +#: ../src/option.c:537 ../src/option.c:955 ../src/option.c:1126 +msgid "FONTNAME" +msgstr "NOMEFONTE" + +#: ../src/option.c:542 +msgid "Set preview text" +msgstr "Definir texto de pré-visualização" + +#: ../src/option.c:552 +msgid "Display form dialog" +msgstr "Exibir caixa de diálogo tipo formulário" + +#: ../src/option.c:559 +#, fuzzy +msgid "" +"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, MFL, DIR, CDIR, " +"MDIR, FN, DT, SCL, CLR, BTN, FBTN, LBL or TXT)" +msgstr "" +"Adicionar campo de formulário (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, " +"MFL, DIR, CDIR, MDIR, FN, DT, SCL, CLR, BTN, LBL or TXT)" + +#: ../src/option.c:560 ../src/option.c:808 +msgid "LABEL:TYPE" +msgstr "ROTULO:TIPO" + +#: ../src/option.c:565 +msgid "Set alignment of filed labels (left, center or right)" +msgstr "" +"Defina o alinhamento dos rótulos apresentados (esquerda, centro ou direita)" + +#: ../src/option.c:571 +msgid "Set number of columns in form" +msgstr "Defina o número de colunas no formulário" + +#: ../src/option.c:583 +msgid "Set separator character for combobox or scale data" +msgstr "Definir caractere separador para combo-box ou escalador" + +#: ../src/option.c:595 +msgid "Make form scrollable" +msgstr "Fazer um formulário com rolagem" + +#: ../src/option.c:611 +msgid "Display icons box dialog" +msgstr "Mostrar caixa de diálogo de ícones" + +#: ../src/option.c:617 +msgid "Read data from .desktop files in specified directory" +msgstr "Leia os dados especificados no diretório .desktop" + +#: ../src/option.c:618 +msgid "DIRECTORY" +msgstr "DIRETORIO" + +#: ../src/option.c:623 +msgid "Use compact (list) view" +msgstr "Usar leitura compacta (lista)" + +#: ../src/option.c:629 +msgid "Use GenericName field instead of Name for icon label" +msgstr "Use o campo GenericName ao invés de Nome para o rótulo do ícone" + +#: ../src/option.c:635 +msgid "Read data from stdin" +msgstr "Ler dados de stdin" + +#: ../src/option.c:641 +msgid "Set the width of dialog items" +msgstr "Defina a largura dos itens de diálogo" + +#: ../src/option.c:648 +#, no-c-format +msgid "" +"Use specified pattern for launch command in terminal (default: xterm -e %s)" +msgstr "" +"Use o padrão especificado para comando de lançamento em terminais (default: " +"xterm -e %s)" + +#: ../src/option.c:654 +msgid "Sort items by name instead of filename" +msgstr "Classificar itens pelo nome ao invés do nome do arquivo" + +#: ../src/option.c:660 +msgid "Sort items in descending order" +msgstr "Classificar itens em ordem decrescente" + +#: ../src/option.c:666 +msgid "Activate items by single click" +msgstr "Ativar itens com um único clique" + +#: ../src/option.c:676 +msgid "Display list dialog" +msgstr "Exibir caixa de diálogo tipo lista" + +#: ../src/option.c:682 +msgid "Don't show column headers" +msgstr "Não mostrar os cabeçalhos das colunas" + +#: ../src/option.c:688 +msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, RD, IMG, HD or TIP)" +msgstr "" +"Defina o cabeçalho da coluna (TYPE - TEXT, NUM, FLT, CHK, RD, IMG, HD ou TIP)" + +#: ../src/option.c:689 +msgid "COLUMN:TYPE" +msgstr "COLUNA:TIPO" + +#: ../src/option.c:694 +msgid "Use checkboxes for first column" +msgstr "Use caixas de seleção para a primeira coluna" + +#: ../src/option.c:700 +msgid "Use radioboxes for first column" +msgstr "Use radioboxes para a primeira coluna" + +#: ../src/option.c:706 +msgid "Disable clickable column headers" +msgstr "" + +#: ../src/option.c:719 +msgid "Allow multiple rows to be selected" +msgstr "Permitir a seleção de várias linhas" + +#: ../src/option.c:725 ../src/option.c:1161 +msgid "Allow changes to text" +msgstr "Permitir alterações do texto" + +#: ../src/option.c:731 +msgid "Print all data from list" +msgstr "Imprimir todos os dados da lista" + +#: ../src/option.c:737 +msgid "Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)" +msgstr "" +"Defina o tipo de elipse para colunas de texto (TYPE - NONE, START, MIDDLE ou " +"END)" + +#: ../src/option.c:743 +msgid "" +"Print a specific column. By default or if 0 is specified will be printed all " +"columns" +msgstr "" +"Imprimir uma coluna específica. Por padrão, ou se 0 for especificado, serão " +"impressas todas as colunas" + +#: ../src/option.c:749 +msgid "Hide a specific column" +msgstr "Ocultar uma coluna específica" + +#: ../src/option.c:755 +msgid "Set the column expandable by default. 0 sets all columns expandable" +msgstr "" +"Definir a coluna como expansível por padrão. 0 define todas as colunas como " +"expansíveis" + +#: ../src/option.c:761 +msgid "" +"Set the quick search column. Default is first column. Set it to 0 for " +"disable searching" +msgstr "" +"Defina a coluna de pesquisa rápida. Por padrão é primeira coluna. Você pode " +"configurar 0 para desabilitar a pesquisa" + +#: ../src/option.c:767 +msgid "Set the limit of rows in list" +msgstr "Defina o limite de linhas na lista" + +#: ../src/option.c:773 +msgid "Set double-click action" +msgstr "Definir ação com duplo-clique" + +#: ../src/option.c:779 +msgid "Use regex in search" +msgstr "Usar expressão regular na pesquisa" + +#: ../src/option.c:785 +msgid "Listen for data on stdin in addition to command-line" +msgstr "Ouça os dados pela stdin além da linha de comando" + +#: ../src/option.c:801 +msgid "Display multi progress bars dialog" +msgstr "Mostrar o progresso de várias barras" + +#: ../src/option.c:807 +msgid "Add the progress bar (TYPE - NORM, RTL or PULSE)" +msgstr "Adicionar barra de progresso (TYPE - NORM, RTL ou PULSE)" + +#: ../src/option.c:813 +msgid "Show vertical bars" +msgstr "Mostrar barras verticais" + +#: ../src/option.c:819 +msgid "Set alignment of bar labels (left, center or right)" +msgstr "" +"Defina o alinhamento dos rótulos de barras (esquerda, centro ou direita)" + +#: ../src/option.c:826 +#, fuzzy, no-c-format +msgid "Dismiss the dialog when 100% of all bars has been reached" +msgstr "Descartar diálogo quando não for alcançado 100%" + +#: ../src/option.c:833 ../src/option.c:996 +msgid "Kill parent process if cancel button is pressed" +msgstr "Matar processo pai se o botão cancelar for pressionado" + +#: ../src/option.c:844 +msgid "Display notebook dialog" +msgstr "Exibir caixa de diálogo notebook" + +#: ../src/option.c:850 +msgid "Identifier of embedded dialogs" +msgstr "Identificador de diálogos embutidos" + +#: ../src/option.c:856 +msgid "Add a tab to notebook" +msgstr "Adicionar uma guia para notebook" + +#: ../src/option.c:857 +msgid "LABEL" +msgstr "ROTULO" + +#: ../src/option.c:862 +#, fuzzy +msgid "Set position of a notebook tabs (top, bottom, left or right)" +msgstr "" +"Mostra indicador de tempo restante (superior, inferior, esquerda, direita)" + +#: ../src/option.c:868 +msgid "Set tab borders" +msgstr "Defina a tabulação das bordas" + +#: ../src/option.c:878 +msgid "Display notification" +msgstr "Exibir notificação" + +#: ../src/option.c:884 +msgid "Set left-click action" +msgstr "Definir ação do botão esquerdo do mouse" + +#: ../src/option.c:890 +msgid "Listen for commands on stdin" +msgstr "Ouça os comandos em stdin" + +#: ../src/option.c:896 +msgid "Set separator character for menu values" +msgstr "Definir caractere separador para os valores do menu" + +#: ../src/option.c:902 +msgid "Set separator character for menu items" +msgstr "Definir caractere separador para itens de menu" + +#: ../src/option.c:908 +#, fuzzy +msgid "Set initial popup menu" +msgstr "Definir tipo de letra inicial" + +#: ../src/option.c:909 +msgid "STRING" +msgstr "" + +#: ../src/option.c:914 +msgid "Disable exit on middle click" +msgstr "Desativar saída pelo botão do meio" + +#: ../src/option.c:924 +msgid "Display printing dialog" +msgstr "Exibir caixa de diálogo de impressão" + +#: ../src/option.c:930 +msgid "Source filename" +msgstr "Nome do arquivo fonte" + +#: ../src/option.c:936 +msgid "Set source type (TYPE - TEXT, IMAGE or RAW)" +msgstr "Definir o tipo de fonte (TYPE - TEXT, IMAGE ou RAW)" + +#: ../src/option.c:942 +msgid "Add headers to page" +msgstr "Adicionar cabeçalhos de página" + +#: ../src/option.c:948 +msgid "Enable preview in print dialog" +msgstr "Ativar pré-visualização na caixa de diálogo de impressão" + +#: ../src/option.c:954 ../src/option.c:1125 +msgid "Use specified font" +msgstr "Especificar fonte a ser utilizada" + +#: ../src/option.c:964 +msgid "Display progress indication dialog" +msgstr "Exibir diálogo indicador de progresso" + +#: ../src/option.c:970 +msgid "Set progress text" +msgstr "Definir texto no progresso" + +#: ../src/option.c:976 +msgid "Set initial percentage" +msgstr "Definir percentual inicial" + +#: ../src/option.c:977 +msgid "PERCENTAGE" +msgstr "PERCENTUAL" + +#: ../src/option.c:982 +msgid "Pulsate progress bar" +msgstr "Pulsar barra de progresso" + +#: ../src/option.c:989 +#, no-c-format +msgid "Dismiss the dialog when 100% has been reached" +msgstr "Descartar diálogo quando não for alcançado 100%" + +#: ../src/option.c:1003 +msgid "Right-To-Left progress bar direction" +msgstr "Direção da direita para a esquerda na barra de progresso" + +#: ../src/option.c:1009 +msgid "Show log window" +msgstr "Mostrar janela de log" + +#: ../src/option.c:1015 +msgid "Expand log window" +msgstr "Expandir janela de log" + +#: ../src/option.c:1021 +msgid "Place log window above progress bar" +msgstr "Colocar janela de log acima da barra de progresso" + +#: ../src/option.c:1027 +msgid "Height of log window" +msgstr "Altura da janela de log" + +#: ../src/option.c:1037 +msgid "Display scale dialog" +msgstr "Exibir caixa de diálogo tipo escala" + +#: ../src/option.c:1043 +msgid "Set initial value" +msgstr "Ajustar o valor inicial" + +#: ../src/option.c:1044 ../src/option.c:1050 ../src/option.c:1056 +#: ../src/option.c:1062 ../src/option.c:1068 +msgid "VALUE" +msgstr "VALOR" + +#: ../src/option.c:1049 +msgid "Set minimum value" +msgstr "Defina o valor mínimo" + +#: ../src/option.c:1055 +msgid "Set maximum value" +msgstr "Defina o valor máximo" + +#: ../src/option.c:1061 +msgid "Set step size" +msgstr "Defina o tamanho do passo" + +#: ../src/option.c:1067 +msgid "Set paging size" +msgstr "Defina o tamanho de paginação" + +#: ../src/option.c:1073 +msgid "Print partial values" +msgstr "Imprimir valores parciais" + +#: ../src/option.c:1079 +msgid "Hide value" +msgstr "Esconder valor" + +#: ../src/option.c:1085 +msgid "Show vertical scale" +msgstr "Mostrar escala vertical" + +#: ../src/option.c:1091 +msgid "Invert direction" +msgstr "Inverter direção" + +#: ../src/option.c:1097 +msgid "Add mark to scale (may be used multiple times)" +msgstr "Adicionar marca de escala (pode ser usado várias vezes)" + +#: ../src/option.c:1098 +msgid "NAME:VALUE" +msgstr "NOME:VALOR" + +#: ../src/option.c:1107 +msgid "Display text information dialog" +msgstr "Exibir diálogo de texto informativo" + +#: ../src/option.c:1113 +msgid "Use specified color for text" +msgstr "Usar cor específica para o texto" + +#: ../src/option.c:1119 +msgid "Use specified color for background" +msgstr "Use cor específica no fundo" + +#: ../src/option.c:1131 +msgid "Enable text wrapping" +msgstr "Ativar quebra de texto" + +#: ../src/option.c:1137 +msgid "Set justification (TYPE - left, right, center or fill)" +msgstr "Definir justificação (TYPE - esquerda, direita, centro ou preencher)" + +#: ../src/option.c:1143 +msgid "Set text margins" +msgstr "Definir margens do texto" + +#: ../src/option.c:1144 +msgid "SIZE" +msgstr "TAMANHO" + +#: ../src/option.c:1149 +msgid "Autoscroll to end of text" +msgstr "Autoscroll para o fim do texto" + +#: ../src/option.c:1155 +msgid "Open file" +msgstr "Abrir arquivo" + +#: ../src/option.c:1167 +msgid "Make URI clickable" +msgstr "Faça URI clicável" + +#: ../src/option.c:1173 +msgid "Listen for data on stdin in addition to file" +msgstr "Ouça os dados sobre stdin, além de apresentar" + +#: ../src/option.c:1183 +msgid "Show about dialog" +msgstr "Mostrar sobre diálogo" + +#: ../src/option.c:1189 +msgid "Print version" +msgstr "Imprimir versão" + +#: ../src/option.c:1199 +msgid "Load extra arguments from file" +msgstr "Carregar argumentos extras de arquivo" + +#: ../src/option.c:1244 ../src/option.c:1459 +#, c-format +msgid "Unknown align type: %s\n" +msgstr "Tipo de alinhamento desconhecido: %s\n" + +#: ../src/option.c:1401 +#, c-format +msgid "Mark %s doesn't have a value\n" +msgstr "Marca %s não possui um valor\n" + +#: ../src/option.c:1444 +#, c-format +msgid "Unknown buttons layout type: %s\n" +msgstr "Tipo de layout de botão desconhecido: %s\n" + +#: ../src/option.c:1476 +#, c-format +msgid "Unknown justification type: %s\n" +msgstr "Tipo de justificação desconhecida: %s\n" + +#: ../src/option.c:1493 +#, fuzzy, c-format +msgid "Unknown tab position type: %s\n" +msgstr "Tipo de alinhamento desconhecido: %s\n" + +#: ../src/option.c:1529 +#, c-format +msgid "Unknown ellipsize type: %s\n" +msgstr "Tipo de elipse desconhecida: %s\n" + +#: ../src/option.c:1544 +#, c-format +msgid "Unknown source type: %s\n" +msgstr "Tipo de fonte desconhecida: %s\n" + +#: ../src/option.c:1555 +msgid "Progress log" +msgstr "Log do progresso" + +#: ../src/option.c:1664 +#, c-format +msgid "Unknown signal: %s\n" +msgstr "Sinal desconhecido: %s\n" + +#: ../src/option.c:1807 +msgid "File exist. Overwrite?" +msgstr "Arquivo já existe. Deseja substituí-lo?" + +#: ../src/option.c:1900 +msgid "Yet another dialoging program" +msgstr "" + +#. Adds general option entries +#: ../src/option.c:1904 +msgid "General options" +msgstr "Opções gerais" + +#: ../src/option.c:1904 +msgid "Show general options" +msgstr "Mostrar opções gerais" + +#. Adds calendar option entries +#: ../src/option.c:1910 +msgid "Calendar options" +msgstr "Opções de calendário" + +#: ../src/option.c:1910 +msgid "Show calendar options" +msgstr "Mostrar oções de calendário" + +#. Adds color option entries +#: ../src/option.c:1916 +msgid "Color selection options" +msgstr "Opções de seleção de cor" + +#: ../src/option.c:1916 +msgid "Show color selection options" +msgstr "Mostrar opções de seleção de cor" + +#. Adds dnd option entries +#: ../src/option.c:1922 +msgid "DND options" +msgstr "Opções DND" + +#: ../src/option.c:1922 +msgid "Show drag-n-drop options" +msgstr "Mostrar opções de drag-n-drop" + +#. Adds entry option entries +#: ../src/option.c:1928 +msgid "Text entry options" +msgstr "Opções de entrada de texto" + +#: ../src/option.c:1928 +msgid "Show text entry options" +msgstr "Mostrar opções de entrada de texto" + +#. Adds file selection option entries +#: ../src/option.c:1934 +msgid "File selection options" +msgstr "Opções de seleção de arquivos" + +#: ../src/option.c:1934 +msgid "Show file selection options" +msgstr "Mostrar opções de seleção de arquivos" + +#. Add font selection option entries +#: ../src/option.c:1940 +msgid "Font selection options" +msgstr "Opções de seleção de fonte" + +#: ../src/option.c:1940 +msgid "Show font selection options" +msgstr "Mostrar opções de seleção de fonte" + +#. Add form option entries +#: ../src/option.c:1946 +msgid "Form options" +msgstr "Opções de formulário" + +#: ../src/option.c:1946 +msgid "Show form options" +msgstr "Mostrar opções de formulário" + +#. Add icons option entries +#: ../src/option.c:1952 +msgid "Icons box options" +msgstr "Opções de caixa de ícones" + +#: ../src/option.c:1952 +msgid "Show icons box options" +msgstr "Mostrar opções de caixa de ícones" + +#. Adds list option entries +#: ../src/option.c:1958 +msgid "List options" +msgstr "Opções de lista" + +#: ../src/option.c:1958 +msgid "Show list options" +msgstr "Mostrar opções de lista" + +#. Adds multi progress option entries +#: ../src/option.c:1964 +msgid "Multi progress bars options" +msgstr "Opções de múltiplas barras de progresso" + +#: ../src/option.c:1965 +msgid "Show multi progress bars options" +msgstr "Mostrar opções de múltiplas barras de progresso" + +#. Adds notebook option entries +#: ../src/option.c:1971 +msgid "Notebook options" +msgstr "Opções de notebook" + +#: ../src/option.c:1971 +msgid "Show notebook dialog options" +msgstr "Mostrar opções de diálogo de notebook" + +#. Adds notification option entries +#: ../src/option.c:1977 +msgid "Notification icon options" +msgstr "Opções de ícone de notificação" + +#: ../src/option.c:1978 +msgid "Show notification icon options" +msgstr "Mostrar opções de ícone de notificação" + +#. Adds print option entries +#: ../src/option.c:1984 +msgid "Print dialog options" +msgstr "Opções de impressão de diálogo" + +#: ../src/option.c:1984 +msgid "Show print dialog options" +msgstr "Mostrar opções de impressão de diálogo" + +#. Adds progress option entries +#: ../src/option.c:1990 +msgid "Progress options" +msgstr "Opções de progresso" + +#: ../src/option.c:1990 +msgid "Show progress options" +msgstr "Mostrar opções de progresso" + +#. Adds scale option entries +#: ../src/option.c:1996 +msgid "Scale options" +msgstr "Opções de escala" + +#: ../src/option.c:1996 +msgid "Show scale options" +msgstr "Mostrar opções de escala" + +#. Adds text option entries +#: ../src/option.c:2002 +msgid "Text information options" +msgstr "Opções de texto de informação" + +#: ../src/option.c:2002 +msgid "Show text information options" +msgstr "Mostrar opções de texto de informação" + +#. Adds miscellaneous option entries +#: ../src/option.c:2008 +msgid "Miscellaneous options" +msgstr "Opções de Micelânea" + +#: ../src/option.c:2008 +msgid "Show miscellaneous options" +msgstr "Mostrar opções de micelânea" + +#: ../src/print.c:202 ../src/print.c:361 +#, c-format +msgid "Printing failed: %s\n" +msgstr "Falha na impressão: %s\n" + +#: ../src/print.c:230 +#, c-format +msgid "File %s not found.\n" +msgstr "Arquivo %s não encontrado.\n" + +#: ../src/print.c:236 +#, c-format +msgid "Filename is not specified.\n" +msgstr "Nome do arquivo não foi especificado.\n" + +#: ../src/print.c:377 +#, c-format +msgid "Printer doesn't support ps format.\n" +msgstr "A impressora não suporta o formato ps.\n" + +#: ../src/print.c:385 +#, c-format +msgid "Printer doesn't support pdf format.\n" +msgstr "A impressora não suporta o formato pdf.\n" + +#: ../src/print.c:391 +#, c-format +msgid "This file type is not supported for raw printing.\n" +msgstr "Este tipo de arquivo não é suportado na impressão crua.\n" + +#: ../src/print.c:405 +#, c-format +msgid "Load source file failed: %s\n" +msgstr "O carregamento do arquivo de origem falhou: %s\n" + +#: ../src/color.c:65 +#, c-format +msgid "Can't open file %s: %s\n" +msgstr "Não é possível abrir o arquivo %s: %s\n" + +#. create expander +#: ../src/color.c:150 +msgid "Palette" +msgstr "Paleta" + +#: ../src/color.c:169 +msgid "Color" +msgstr "Cor" + +#: ../src/color.c:186 +msgid "Name" +msgstr "Nome" + +#: ../src/text.c:418 +#, c-format +msgid "Invalid UTF-8 data encountered reading file %s\n" +msgstr "São inválidos os dados UTF-8 encontrados no arquivo %s\n" + +#: ../src/browser.c:132 +msgid "scalable " +msgstr "escalável" + +#: ../src/browser.c:142 +msgid "built-in" +msgstr "embutido" + +#. initialize GTK+ and parse the command line arguments +#: ../src/browser.c:200 +msgid "- Icon browser" +msgstr "" + +#: ../src/browser.c:213 +msgid "Icon browser" +msgstr "Ícone do navegador" + +#: ../src/browser.c:247 +msgid "<b>Name:</b>" +msgstr "<b>Nome:</b>" + +#: ../src/browser.c:265 +msgid "<b>Sizes:</b>" +msgstr "<b>Tamanho:</b>" + +#: ../src/browser.c:283 +msgid "<b>Filename:</b>" +msgstr "<b>Nomedoarquivo:</b>" + +#: ../src/browser.c:325 +msgid "Category" +msgstr "Categoria" + +#: ../src/browser.c:356 +msgid "Icons" +msgstr "Ícones" + +#: ../data/yad-icon-browser.desktop.in.h:1 +msgid "Icon Browser" +msgstr "Ícone do navegador" + +#: ../data/yad-icon-browser.desktop.in.h:2 +msgid "Inspect GTK Icon Theme" +msgstr "Inspecionar ícone tema do GTK" + +#~ msgid "Set alignment of tab labels (left, center or right)" +#~ msgstr "" +#~ "Defina o alinhamento dos rótulos de tabulação (esquerda, centro ou " +#~ "direita)"
View file
yad-0.16.3.tar.bz2/po/ru.po -> yad-0.36.2.tar.xz/po/ru.po
Changed
@@ -1,21 +1,20 @@ # Russian translation for YAD # This file is distributed under the same license as the YAD package. # -# Victor Ananjevsky <ananasik@gmail.com>, 2009-2011. +# Victor Ananjevsky <ananasik@gmail.com>, 2009-2016. # msgid "" msgstr "" "Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-11-21 11:42+0200\n" +"POT-Creation-Date: 2016-04-26 15:58+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n" -"Language-Team: Russian\n" -"Language: \n" +"Language-Team: \n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.11.2\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" @@ -51,143 +50,179 @@ "Вы должны получить копию лицензии GNU c программой. Если лицензия не была " "получена, смотрите <http://www.gnu.org/licenses/>." -#: ../src/about.c:50 +#: ../src/about.c:43 +#, c-format msgid "" "Yet Another Dialog\n" "(show dialog boxes from shell scripts)\n" "\n" "Based on Zenity code\n" +"\n" +"Built with Webkit\n" +"Built with GtkSourceView\n" +"Built with GtkSpell\n" +"Using GTK+ %d.%d.%d\n" msgstr "" "Yet Another Dialog\n" "(Программа для отображения диалоговых окон из скриптов оболочки)\n" "\n" "Основан на коде Zenity\n" +"\n" +"Собран с поддержкой Webkit\n" +"Собран с поддержкой GtkSourceView\n" +"Собран с поддержкой GtkSpell\n" +"Используется GTK+ %d.%d.%d\n" -#: ../src/calendar.c:39 ../src/text.c:241 +#: ../src/calendar.c:39 ../src/text.c:401 #, c-format msgid "Cannot open file '%s': %s\n" msgstr "Не могу открыть файл %s: %s\n" -#: ../src/entry.c:158 ../src/scale.c:39 +#: ../src/entry.c:174 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Максимальное значение должно быть больше, чем минимальное.\n" -#: ../src/entry.c:164 ../src/scale.c:48 +#: ../src/entry.c:181 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "Начальное значение меньше минимального.\n" -#: ../src/entry.c:169 ../src/scale.c:53 +#: ../src/entry.c:186 ../src/scale.c:53 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Начальное значение больше маскимального.\n" -#: ../src/form.c:305 +#: ../src/form.c:420 msgid "Select files" -msgstr "Выбрать файлы" +msgstr "Выбор файлов" -#: ../src/form.c:369 +#: ../src/form.c:428 +msgid "Select folders" +msgstr "Выбор каталогов" + +#: ../src/form.c:507 msgid "Select or create file" -msgstr "Выбрать или создать файл" +msgstr "Выбор или создание файла" -#: ../src/form.c:378 +#: ../src/form.c:515 msgid "Select or create folder" -msgstr "Выбрать или создать каталог" +msgstr "Выбор или создание каталога" -#: ../src/form.c:411 +#: ../src/form.c:566 msgid "Select date" -msgstr "Выбрать дату" +msgstr "Выбор даты" -#: ../src/form.c:546 +#: ../src/form.c:856 msgid "Select file" -msgstr "Выбрать файл" +msgstr "Выбор файла" -#: ../src/form.c:553 +#: ../src/form.c:884 msgid "Select folder" -msgstr "Выбрать каталог" +msgstr "Выбор каталога" + +#: ../src/html.c:124 +msgid "YAD - Select File" +msgstr "YAD - Выбор файла" -#: ../src/icons.c:247 +#: ../src/html.c:156 +msgid "Open URI" +msgstr "Открыть URI" + +#: ../src/html.c:164 +msgid "Enter URI or file name:" +msgstr "Введите URI или имя файла:" + +#: ../src/icons.c:322 #, c-format msgid "Unable to parse file %s: %s\n" msgstr "Не могу разобрать файл %s: %s\n" -#: ../src/icons.c:264 +#: ../src/icons.c:339 #, c-format msgid "Unable to open directory %s: %s\n" msgstr "Не могу открыть каталог %s: %s\n" -#: ../src/main.c:89 ../src/main.c:229 +#: ../src/main.c:94 ../src/main.c:441 #, c-format msgid "%d sec" msgstr "%d сек" -#: ../src/main.c:501 +#: ../src/main.c:670 ../src/main.c:677 +#, c-format +msgid "Unable to parse YAD_OPTIONS: %s\n" +msgstr "Не могу разобрать YAD_OPTIONS: %s\n" + +#: ../src/main.c:688 #, c-format -msgid "Unable parse command line: %s\n" +msgid "Unable to parse command line: %s\n" msgstr "Не удается разобрать командную строку: %s\n" -#: ../src/notification.c:82 +#: ../src/notification.c:118 #, c-format msgid "Could not load notification icon '%s': %s\n" msgstr "Не удается загрузить иконку '%s': %s\n" -#: ../src/notification.c:261 +#: ../src/notification.c:301 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Неверная последовательность UTF-8 в подсказке!\n" -#: ../src/notification.c:323 +#: ../src/notification.c:345 #, c-format msgid "Unknown command '%s'\n" msgstr "Неизвестная команда '%s'\n" -#: ../src/notification.c:359 +#: ../src/notification.c:380 msgid "Yad notification" msgstr "Диалог уведомлений" -#: ../src/list.c:703 +#: ../src/list.c:918 msgid "Add row" msgstr "Добавить строку" -#: ../src/list.c:712 +#: ../src/list.c:925 msgid "Delete row" msgstr "Удалить строку" -#: ../src/list.c:741 +#: ../src/list.c:932 +msgid "Duplicate row" +msgstr "Скопировать строку" + +#: ../src/list.c:971 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Не заданы заголовоки колонок для диалога со списком\n" -#: ../src/option.c:62 +#: ../src/option.c:78 msgid "Set the dialog title" msgstr "Задать заголовок диалога" -#: ../src/option.c:63 +#: ../src/option.c:78 msgid "TITLE" msgstr "ЗАГОЛОВОК" -#: ../src/option.c:68 +#: ../src/option.c:80 msgid "Set the window icon" msgstr "Задать значок диалога" -#: ../src/option.c:69 +#: ../src/option.c:80 msgid "ICONPATH" msgstr "ЗНАЧОК" -#: ../src/option.c:74 +#: ../src/option.c:82 msgid "Set the width" msgstr "Задать ширину окна" -#: ../src/option.c:75 +#: ../src/option.c:82 msgid "WIDTH" msgstr "ШИРИНА" -#: ../src/option.c:80 +#: ../src/option.c:84 msgid "Set the height" msgstr "Задать высоту окна" -#: ../src/option.c:81 +#: ../src/option.c:84 msgid "HEIGHT" msgstr "ВЫСОТА" @@ -195,399 +230,551 @@ msgid "Set the window geometry" msgstr "Задать геометрию окна" -#: ../src/option.c:87 +#: ../src/option.c:86 msgid "WxH+X+Y" msgstr "ВxШ+X+Y" -#: ../src/option.c:92 +#: ../src/option.c:88 msgid "Set dialog timeout in seconds" msgstr "Задать время работы диалога в секундах" -#: ../src/option.c:93 +#: ../src/option.c:88 msgid "TIMEOUT" msgstr "ЗАДЕРЖКА" -#: ../src/option.c:98 +#: ../src/option.c:90 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Показать индикатор задержки (top, bottom, left, right)" -#: ../src/option.c:99 +#: ../src/option.c:90 ../src/option.c:457 msgid "POS" msgstr "ПОЗИЦИЯ" -#: ../src/option.c:104 +#: ../src/option.c:92 msgid "Set the dialog text" msgstr "Задать текст диалога" -#: ../src/option.c:105 ../src/option.c:135 ../src/option.c:348 -#: ../src/option.c:354 ../src/option.c:360 ../src/option.c:488 -#: ../src/option.c:812 +#: ../src/option.c:92 ../src/option.c:102 ../src/option.c:251 +#: ../src/option.c:253 ../src/option.c:255 ../src/option.c:291 +#: ../src/option.c:394 ../src/option.c:485 ../src/option.c:500 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:110 -msgid "Set the dialog text alignment (left, center, right)" -msgstr "Задать выравнивание текста диалога (left, center или right)" +#: ../src/option.c:94 +msgid "Set the dialog text alignment (left, center, right, fill)" +msgstr "Задать выравнивание текста диалога (left, center, right, fill)" -#: ../src/option.c:111 ../src/option.c:510 ../src/option.c:658 -#: ../src/option.c:778 ../src/option.c:955 +#: ../src/option.c:94 ../src/option.c:108 ../src/option.c:193 +#: ../src/option.c:303 ../src/option.c:328 ../src/option.c:380 +#: ../src/option.c:416 ../src/option.c:433 ../src/option.c:455 +#: ../src/option.c:465 ../src/option.c:475 ../src/option.c:544 msgid "TYPE" msgstr "ТИП" -#: ../src/option.c:116 +#: ../src/option.c:96 msgid "Set the dialog image" msgstr "Задать картинку диалога" -#: ../src/option.c:117 ../src/option.c:384 ../src/option.c:396 +#: ../src/option.c:96 ../src/option.c:261 ../src/option.c:265 msgid "IMAGE" msgstr "КАРТИНКА" -#: ../src/option.c:122 +#: ../src/option.c:98 msgid "Show image above main widget" msgstr "Показывать картинку над основным виджетом" -#: ../src/option.c:128 +#: ../src/option.c:100 msgid "Use specified icon theme instead of default" msgstr "Использовать указанную тему иконок" -#: ../src/option.c:129 +#: ../src/option.c:100 msgid "THEME" msgstr "ТЕМА" -#: ../src/option.c:134 +#: ../src/option.c:102 msgid "Hide main widget with expander" msgstr "Спрятать основной виджет" -#: ../src/option.c:140 +#: ../src/option.c:104 msgid "Add dialog button (may be used multiple times)" msgstr "Добавить кнопку (может использоваться несколько раз)" -#: ../src/option.c:141 +#: ../src/option.c:104 msgid "NAME:ID" msgstr "ИМЯ:ID" -#: ../src/option.c:146 +#: ../src/option.c:106 msgid "Don't show buttons" msgstr "Не показывать кнопки" -#: ../src/option.c:152 +#: ../src/option.c:108 +msgid "Set buttons layout type (spread, edge, start, end or center)" +msgstr "Задать тип размещения кнопок (spread, edge, start, end или center)" + +#: ../src/option.c:110 msgid "Don't use pango markup language in dialog's text" msgstr "Не использовать разметку pango в тексте" -#: ../src/option.c:159 -msgid "Add separator between dialog and buttons" -msgstr "Добавить разделитель между диалогом и кнопками" +#: ../src/option.c:112 +msgid "Don't close dialog if Escape was pressed" +msgstr "Не закрывать диалог при нажатии Escape" -#: ../src/option.c:166 +#: ../src/option.c:114 msgid "Set window borders" msgstr "Установить границы окна" -#: ../src/option.c:167 ../src/option.c:516 ../src/option.c:664 -#: ../src/option.c:670 ../src/option.c:676 ../src/option.c:682 -#: ../src/option.c:688 +#: ../src/option.c:114 ../src/option.c:145 ../src/option.c:163 +#: ../src/option.c:305 ../src/option.c:311 ../src/option.c:382 +#: ../src/option.c:384 ../src/option.c:386 ../src/option.c:388 +#: ../src/option.c:390 ../src/option.c:392 ../src/option.c:396 +#: ../src/option.c:414 ../src/option.c:435 ../src/option.c:467 msgid "NUMBER" msgstr "ЧИСЛО" -#: ../src/option.c:172 +#: ../src/option.c:116 msgid "Always print result" msgstr "Всегда выводить результат" -#: ../src/option.c:178 +#: ../src/option.c:118 msgid "Dialog text can be selected" msgstr "Текст диалога может быть выделен" -#: ../src/option.c:185 +#: ../src/option.c:121 msgid "Set window sticky" msgstr "Окно видимо на всех рабочих столах" -#: ../src/option.c:191 +#: ../src/option.c:123 msgid "Set window unresizable" msgstr "Неизменяемый размер" -#: ../src/option.c:197 +#: ../src/option.c:125 msgid "Place window on top" msgstr "Разместить окно поверх остальных" -#: ../src/option.c:203 +#: ../src/option.c:127 msgid "Place window on center of screen" msgstr "Разместить окно в центре экрана" -#: ../src/option.c:209 +#: ../src/option.c:129 msgid "Place window at the mouse position" msgstr "Разместить окно под указателем мыши" -#: ../src/option.c:215 +#: ../src/option.c:131 msgid "Set window undecorated" msgstr "Убрать обрамление" -#: ../src/option.c:221 +#: ../src/option.c:133 msgid "Don't show window in taskbar" msgstr "Не показывать окно в панели задач" -#: ../src/option.c:228 -msgid "Send TERM to parent" -msgstr "Послать TERM родителю" +#: ../src/option.c:135 +msgid "Set window maximized" +msgstr "Задать окну максимальный размер" + +#: ../src/option.c:137 +msgid "Set window fulscreen" +msgstr "Развернуть окно на весь экран" + +#: ../src/option.c:139 +msgid "Don't focus dialog window" +msgstr "Не давать фокус окну диалога" -#: ../src/option.c:234 +#: ../src/option.c:141 +msgid "Open window as a splashscreen" +msgstr "Открыть окно в режиме splashscreen" + +#: ../src/option.c:143 +msgid "Special type of dialog for XEMBED" +msgstr "Специальный режим диалога для встраивания" + +#: ../src/option.c:143 ../src/option.c:191 +msgid "KEY" +msgstr "КЛЮЧ" + +#: ../src/option.c:145 +msgid "Tab nubmer of this dialog" +msgstr "Номер вкладки для этого диалога" + +#: ../src/option.c:148 +msgid "XID of parent window" +msgstr "Идентификатор родительсткого окна" + +#: ../src/option.c:150 +msgid "Send SIGNAL to parent" +msgstr "Послать СИГНАЛ родителю" + +#: ../src/option.c:150 +msgid "SIGNAL" +msgstr "СИГНАЛ" + +#: ../src/option.c:152 msgid "Print X Window Id to the stderr" msgstr "Вывести идентификатор окна на stderr" -#: ../src/option.c:245 +#: ../src/option.c:155 +msgid "Add path for search icons by name" +msgstr "Добавить каталог для поиска изображений по имени" + +#: ../src/option.c:155 +msgid "PATH" +msgstr "ПУТЬ" + +#: ../src/option.c:161 +msgid "Set the format for the returned date" +msgstr "Задать формат возвращаемой даты" + +#: ../src/option.c:161 ../src/option.c:348 +msgid "PATTERN" +msgstr "ШАБЛОН" + +#: ../src/option.c:163 +msgid "Set presicion of floating numbers (default - 3)" +msgstr "Задать точность чисел с плавающей точкой (по-умолчанию - 3)" + +#: ../src/option.c:165 +msgid "Set command handler" +msgstr "Задать команду-обработчик" + +#: ../src/option.c:165 ../src/option.c:263 ../src/option.c:267 +#: ../src/option.c:398 ../src/option.c:400 +msgid "CMD" +msgstr "КОМАНДА" + +#: ../src/option.c:167 +msgid "Listen for data on stdin" +msgstr "Получать данные со стандартного ввода" + +#: ../src/option.c:169 +msgid "Set common separator character" +msgstr "Установить общий разделяющий символ" + +#: ../src/option.c:169 ../src/option.c:171 +msgid "SEPARATOR" +msgstr "РАЗДЕЛИТЕЛЬ" + +#: ../src/option.c:171 +msgid "Set item separator character" +msgstr "Установить разделяющий символ для элементов" + +#: ../src/option.c:173 +msgid "Allow changes to text in some cases" +msgstr "Разрешить изменять текст в определенных случаях" + +#: ../src/option.c:175 +msgid "Quote dialogs output" +msgstr "Вывод значений в кавычках" + +#: ../src/option.c:177 +msgid "Output number instead of text for combo-box" +msgstr "Выводить номер вместо текста для списка значений" + +#: ../src/option.c:179 +msgid "Specify font name to use" +msgstr "Указать имя используемого шрифта" + +#: ../src/option.c:179 +msgid "FONTNAME" +msgstr "ШРИФТ" + +#: ../src/option.c:181 +msgid "Allow multiple selection" +msgstr "Разрешить множественный выбор" + +#: ../src/option.c:183 +msgid "Enable preview" +msgstr "Добавить предпросмотр" + +#: ../src/option.c:185 +msgid "Show hidden files in file selection dialogs" +msgstr "Показывать скрытые файлы в диалоге выбора файла" + +#: ../src/option.c:187 +msgid "Set source filename" +msgstr "Имя исходного файла" + +#: ../src/option.c:187 ../src/option.c:213 ../src/option.c:227 +#: ../src/option.c:582 ../src/option.c:588 +msgid "FILENAME" +msgstr "ИМЯ_ФАЙЛА" + +#: ../src/option.c:189 +msgid "Set vertical orientation" +msgstr "Использовать вертикальное расположение" + +#: ../src/option.c:191 +msgid "Identifier of embedded dialogs" +msgstr "Идентификатор встраиваемых диалогов" + +#: ../src/option.c:193 +msgid "Set extended completion for entries (any, all, or regex)" +msgstr "Задать расширенное дополнение для текстовых полей (any, all или regex)" + +#: ../src/option.c:196 +msgid "Enable spell check for text" +msgstr "Разрешить проверку орфографии" + +#: ../src/option.c:198 +msgid "Set spell checking language" +msgstr "Установить язык проверки орфографии" + +#: ../src/option.c:198 +msgid "LANGUAGE" +msgstr "ЯЗЫК" + +#: ../src/option.c:205 msgid "Display calendar dialog" msgstr "Отобразить диалог для выбора даты" -#: ../src/option.c:251 +#: ../src/option.c:207 msgid "Set the calendar day" msgstr "Задать день календаря" -#: ../src/option.c:252 +#: ../src/option.c:207 msgid "DAY" msgstr "ДЕНЬ" -#: ../src/option.c:257 +#: ../src/option.c:209 msgid "Set the calendar month" msgstr "Задать месяц календаря" -#: ../src/option.c:258 +#: ../src/option.c:209 msgid "MONTH" msgstr "МЕСЯЦ" -#: ../src/option.c:263 +#: ../src/option.c:211 msgid "Set the calendar year" msgstr "Задать год календаря" -#: ../src/option.c:264 +#: ../src/option.c:211 msgid "YEAR" msgstr "ГОД" -#: ../src/option.c:269 ../src/option.c:533 -msgid "Set the format for the returned date" -msgstr "Задать формат возвращаемой даты" - -#: ../src/option.c:270 ../src/option.c:534 ../src/option.c:581 -msgid "PATTERN" -msgstr "ШАБЛОН" - -#: ../src/option.c:275 +#: ../src/option.c:213 msgid "Set the filename with dates details" msgstr "Задать имя файла с описанием дат" -#: ../src/option.c:276 ../src/option.c:304 ../src/option.c:424 -#: ../src/option.c:772 ../src/option.c:973 -msgid "FILENAME" -msgstr "ИМЯ_ФАЙЛА" - -#: ../src/option.c:285 +#: ../src/option.c:219 msgid "Display color selection dialog" msgstr "Отобразить диалог для выбора цвета" -#: ../src/option.c:291 +#: ../src/option.c:221 msgid "Alias for --color" msgstr "Синоним для --color" -#: ../src/option.c:297 +#: ../src/option.c:223 msgid "Set initial color value" msgstr "Задать начальное значение цвета" -#: ../src/option.c:298 ../src/option.c:931 ../src/option.c:937 +#: ../src/option.c:223 ../src/option.c:538 ../src/option.c:540 +#: ../src/option.c:554 msgid "COLOR" msgstr "ЦВЕТ" -#: ../src/option.c:303 +#: ../src/option.c:225 +msgid "Show system palette in color dialog" +msgstr "Показывать системную палитру" + +#: ../src/option.c:227 msgid "Set path to palette file. Default - " msgstr "Задать путь к файлу цветов. По-умолчанию - " -#: ../src/option.c:309 +#: ../src/option.c:229 +msgid "Expand user palette" +msgstr "Раскрывать пользовательскую палитру" + +#: ../src/option.c:231 +msgid "Set output mode to MODE. Values are hex (default) or rgb" +msgstr "Установить режим вывода в РЕЖИМ. Значения - hex (по-умолчанию) или rgb" + +#: ../src/option.c:231 +msgid "MODE" +msgstr "РЕЖИМ" + +#: ../src/option.c:233 msgid "Use #rrrrggggbbbb format instead of #rrggbb" msgstr "Использовать формат #rrrrggggbbbb вместо #rrggbb" -#: ../src/option.c:319 +#: ../src/option.c:235 +msgid "Add opacity to output color value" +msgstr "Добавить прозрачность к значению цвета" + +#: ../src/option.c:241 msgid "Display drag-n-drop box" msgstr "Отобразить диалог для перехвата dnd" -#: ../src/option.c:325 +#: ../src/option.c:243 msgid "Use dialog text as tooltip" msgstr "Использовать текст диалога в качестве подсказки" -#: ../src/option.c:331 -msgid "Set command for process d-n-d data" -msgstr "Команда для обработки полученных данных" - -#: ../src/option.c:332 ../src/option.c:390 ../src/option.c:402 -#: ../src/option.c:694 ../src/option.c:738 -msgid "CMD" -msgstr "КОМАНДА" - -#: ../src/option.c:341 +#: ../src/option.c:249 msgid "Display text entry or combo-box dialog" msgstr "Отобразить диалог для ввода текста или выбора варианта" -#: ../src/option.c:347 +#: ../src/option.c:251 msgid "Set the entry label" msgstr "Задать метку поля ввода" -#: ../src/option.c:353 +#: ../src/option.c:253 msgid "Set the entry text" msgstr "Задать текст по умолчанию для ввода" -#: ../src/option.c:359 +#: ../src/option.c:255 msgid "Hide the entry text" msgstr "Прятать введенный текст (Пароль)" -#: ../src/option.c:365 +#: ../src/option.c:257 msgid "Use completion instead of combo-box" msgstr "Использовать автодополнение вместо списка значений" -#: ../src/option.c:371 +#: ../src/option.c:259 msgid "Use spin button for text entry" msgstr "Использовать числовое поле вместо текста" -#: ../src/option.c:377 -msgid "Allow changes to text in combo-box" -msgstr "Разрешить изменять текст в режиме выбора варианта" - -#: ../src/option.c:383 +#: ../src/option.c:261 msgid "Set the left entry icon" msgstr "Задать левый значок" -#: ../src/option.c:389 +#: ../src/option.c:263 msgid "Set the left entry icon action" msgstr "Действие для левого значка" -#: ../src/option.c:395 +#: ../src/option.c:265 msgid "Set the right entry icon" msgstr "Задать правый значок" -#: ../src/option.c:401 +#: ../src/option.c:267 msgid "Set the right entry icon action" msgstr "Действие для правого значка" -#: ../src/option.c:411 +#: ../src/option.c:273 msgid "Display file selection dialog" msgstr "Отобразить диалог для выбора файла" -#: ../src/option.c:417 +#: ../src/option.c:275 msgid "Alias for --file" msgstr "Синоним для --file" -#: ../src/option.c:423 -msgid "Set the filename" -msgstr "Задать имя файла" - -#: ../src/option.c:429 -msgid "Allow multiple files to be selected" -msgstr "Разрешить выбор нескольких файлов" - -#: ../src/option.c:435 +#: ../src/option.c:277 msgid "Activate directory-only selection" msgstr "Активировать выделение только по каталогам" -#: ../src/option.c:441 +#: ../src/option.c:279 msgid "Activate save mode" msgstr "Активировать режим сохранения" -#: ../src/option.c:447 ../src/option.c:521 ../src/option.c:633 -msgid "Set output separator character" -msgstr "Установить выходной разделяющий символ" - -#: ../src/option.c:448 ../src/option.c:522 ../src/option.c:528 -#: ../src/option.c:634 ../src/option.c:750 ../src/option.c:756 -msgid "SEPARATOR" -msgstr "РАЗДЕЛИТЕЛЬ" - -#: ../src/option.c:453 +#: ../src/option.c:281 msgid "Confirm file selection if filename already exists" msgstr "Подтверждать выбор файла, если файл уже существует" -#: ../src/option.c:454 +#: ../src/option.c:281 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:459 -msgid "Sets a filename filter" -msgstr "Задать фильтр файлов" - -#: ../src/option.c:460 -msgid "NAME | PATTERN1 PATTERN2 ..." -msgstr "ИМЯ | ШАБЛОН1 ШАБЛОН2 ..." - -#: ../src/option.c:469 +#: ../src/option.c:287 msgid "Display font selection dialog" msgstr "Отобразить диалог для выбора шрифта" -#: ../src/option.c:475 +#: ../src/option.c:289 msgid "Alias for --font" msgstr "Синоним для --font" -#: ../src/option.c:481 -msgid "Set initial font" -msgstr "Задать начальный шрифт" - -#: ../src/option.c:482 ../src/option.c:796 ../src/option.c:943 -msgid "FONTNAME" -msgstr "ИМЯ_ШРИФТА" +#: ../src/option.c:291 +msgid "Set text string for preview" +msgstr "Задать текст для предпросмотра" -#: ../src/option.c:487 -msgid "Set preview text" -msgstr "Задать текст образца" +#: ../src/option.c:293 +msgid "Separate output of font description" +msgstr "Раздельный вывод для описания шрифта" -#: ../src/option.c:497 +#: ../src/option.c:299 msgid "Display form dialog" msgstr "Отобразить диалог формы ввода" -#: ../src/option.c:503 -msgid "" -"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, DIR, CDIR, FN, " -"MFL, DT, CLR, BTN or LBL)" -msgstr "" -"Добавить поле к форме (Тип поля: Н, RO, NUM, CHK, CB, CBE, FL, SFL, DIR, " -"CDIR, FN, MFL, DT, CLR, BTN или LBL)" +#: ../src/option.c:301 +msgid "Add field to form (see man page for list of possible types)" +msgstr "Добавить поле к форме (список типов указан в странице руководства)" -#: ../src/option.c:504 ../src/option.c:716 +#: ../src/option.c:301 ../src/option.c:412 msgid "LABEL:TYPE" msgstr "МЕТКА:ТИП" -#: ../src/option.c:509 -msgid "Set alignment of fileds labels (left, center or right)" +#: ../src/option.c:303 +msgid "Set alignment of filed labels (left, center or right)" msgstr "Задать выравнивание меток полей (left, center или right)" -#: ../src/option.c:515 +#: ../src/option.c:305 msgid "Set number of columns in form" msgstr "Задать количество колонок в форме" -#: ../src/option.c:527 -msgid "Set separator character for combobox or scale data" -msgstr "Установить разделяющий символ для данных списка или числового поля" +#: ../src/option.c:307 +msgid "Make form scrollable" +msgstr "Сделать форму прокручиваемой" + +#: ../src/option.c:309 +msgid "Order output fields by rows" +msgstr "Упорядочить вывод по строкам" + +#: ../src/option.c:311 +msgid "Set focused field" +msgstr "Задать поле, получающее фокус" + +#: ../src/option.c:313 +msgid "Cycled reading of stdin data" +msgstr "Циклическое чтение со стандартного ввода" + +#: ../src/option.c:320 +msgid "Display HTML dialog" +msgstr "Отобразить HTML диалог" + +#: ../src/option.c:322 +msgid "Open specified location" +msgstr "Открыть указанный адрес" + +#: ../src/option.c:324 +msgid "Turn on browser mode" +msgstr "Включить режим браузера" + +#: ../src/option.c:326 +msgid "Print clicked uri to stdout" +msgstr "Печатать ссылки по щелчку" + +#: ../src/option.c:328 +msgid "Set mime type of input stream data" +msgstr "Задать тип mime для входных данных" + +#: ../src/option.c:330 +msgid "Set encoding of input stream data" +msgstr "Задать кодировку для входных данных" -#: ../src/option.c:543 +#: ../src/option.c:330 +msgid "ENCODING" +msgstr "КОДИРОВКА" + +#: ../src/option.c:337 msgid "Display icons box dialog" msgstr "Отобразить диалог со значками быстрого доступа" -#: ../src/option.c:549 +#: ../src/option.c:339 msgid "Read data from .desktop files in specified directory" msgstr "Читать данные из .desktop файлов в определенном каталоге" -#: ../src/option.c:550 -msgid "DIRECTORY" +#: ../src/option.c:339 +msgid "DIR" msgstr "КАТАЛОГ" -#: ../src/option.c:555 +#: ../src/option.c:341 msgid "Use compact (list) view" msgstr "Использовать компактный вид (список)" -#: ../src/option.c:561 +#: ../src/option.c:343 msgid "Use GenericName field instead of Name for icon label" msgstr "Использовать поле GenericName вместо Name для метки" -#: ../src/option.c:567 -msgid "Read data from stdin" -msgstr "Читать данные со стандартного ввода" - -#: ../src/option.c:573 +#: ../src/option.c:345 msgid "Set the width of dialog items" msgstr "Задать ширину элемента диалога" -#: ../src/option.c:580 +#: ../src/option.c:348 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" @@ -595,57 +782,64 @@ "Использовать указанный шаблон для запуска в терминале (по умолчанию: xterm -" "e %s)" -#: ../src/option.c:586 +#: ../src/option.c:350 msgid "Sort items by name instead of filename" msgstr "Сортировать по полю Имя вместо имени файла" -#: ../src/option.c:592 +#: ../src/option.c:352 msgid "Sort items in descending order" msgstr "Сортировать в убывающем порядке" -#: ../src/option.c:602 +#: ../src/option.c:354 +msgid "Activate items by single click" +msgstr "Активировать элемент одинарным щелчком" + +#: ../src/option.c:357 +msgid "Watch fot changes in directory" +msgstr "Отслеживать изменения в каталоге" + +#: ../src/option.c:364 msgid "Display list dialog" msgstr "Отобразить диалог со списком" -#: ../src/option.c:608 -msgid "Don't show column headers" -msgstr "Не показывать заголовки колонок" - -#: ../src/option.c:614 -msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, IMG or TIP)" -msgstr "Задать заголовок столбца (ТИП - TEXT, NUM, FLT, CHK, IMG или TIP)" +#: ../src/option.c:366 +msgid "Set the column header (see man page for list of possible types)" +msgstr "Задать заголовок колонки (список типов указан в странице руководства)" -#: ../src/option.c:615 +#: ../src/option.c:366 msgid "COLUMN:TYPE" msgstr "СТОЛБЕЦ:ТИП" -#: ../src/option.c:620 -msgid "Use check boxes for first column" +#: ../src/option.c:368 +msgid "Use checkboxes for first column" msgstr "Использовать флажки для первой колонки" -#: ../src/option.c:626 -msgid "Alias to checklist (deprecated)" -msgstr "Синоним для checklist" +#: ../src/option.c:370 +msgid "Use radioboxes for first column" +msgstr "Использовать переключатель для первой колонки" + +#: ../src/option.c:372 +msgid "Don't show column headers" +msgstr "Не показывать заголовки колонок" -#: ../src/option.c:639 -msgid "Allow multiple rows to be selected" -msgstr "Разрешить выбор нескольких строк" +#: ../src/option.c:374 +msgid "Disable clickable column headers" +msgstr "Запретить нажимаемые заголовки" -#: ../src/option.c:645 ../src/option.c:978 -msgid "Allow changes to text" -msgstr "Разрешить изменять текст" +#: ../src/option.c:376 +msgid "Disable rules hints" +msgstr "Запретить раскраску строк" -#: ../src/option.c:651 +#: ../src/option.c:378 msgid "Print all data from list" msgstr "Печатать таблицу полностью" -#: ../src/option.c:657 -msgid "Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)" +#: ../src/option.c:380 +msgid "Set ellipsize mode for text columns (none, start, middle or end)" msgstr "" -"Задать тип усечсения для текстовых столбцов (ТИП - NONE, START, MIDDLE или " -"END)" +"Задать тип усечсения для текстовых столбцов (none, start, middle или end)" -#: ../src/option.c:663 +#: ../src/option.c:382 msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" @@ -653,501 +847,757 @@ "Распечатать только определённый столбец. По-умолчанию или если столбец равен " "0, будут распечатаны все столбцы" -#: ../src/option.c:669 +#: ../src/option.c:384 msgid "Hide a specific column" msgstr "Скрыть указанный столбец" -#: ../src/option.c:675 +#: ../src/option.c:386 msgid "Set the column expandable by default. 0 sets all columns expandable" msgstr "" "Задать колонку, расширяемую по-умолчанию. 0 устанавливает расширяемыми все " "колонки" -#: ../src/option.c:681 +#: ../src/option.c:388 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" msgstr "Задать колонку поиска. По-умолчанию первая. 0 запрещает поиск" -#: ../src/option.c:687 +#: ../src/option.c:390 +msgid "Set the tooltip column" +msgstr "Задать колонку всплывающих подсказок" + +#: ../src/option.c:392 +msgid "Set the row separator column" +msgstr "Задать колонку разделителя строк" + +#: ../src/option.c:394 +msgid "Set the row separator value" +msgstr "Задать значение разделителя строк" + +#: ../src/option.c:396 msgid "Set the limit of rows in list" msgstr "Задать количество строк в списке" -#: ../src/option.c:693 +#: ../src/option.c:398 msgid "Set double-click action" msgstr "Действие по двойному щелчку мыши" -#: ../src/option.c:699 +#: ../src/option.c:400 +msgid "Set select action" +msgstr "Действие при выделении строки" + +#: ../src/option.c:402 msgid "Use regex in search" msgstr "Использовать регулярные выражения при поиске" -#: ../src/option.c:709 +#: ../src/option.c:404 +msgid "Disable selection" +msgstr "Запретить выделение" + +#: ../src/option.c:410 msgid "Display multi progress bars dialog" msgstr "Отобразить диалог c несколькими индикаторами" -#: ../src/option.c:715 -msgid "Add the progress bar (TYPE - NORM, RTL or PULSE)" -msgstr "Добавить индикатор (ТИП - NORM, RTL или PULSE))" +#: ../src/option.c:412 +msgid "Add the progress bar (norm, rtl or pulse)" +msgstr "Добавить индикатор (norm, rtl или pulse)" + +#: ../src/option.c:414 +msgid "Watch for specific bar for auto close" +msgstr "Следить за определенным индикатором для автозакрытия" + +#: ../src/option.c:416 +msgid "Set alignment of bar labels (left, center or right)" +msgstr "Задать выравнивание меток индикаторов (left, center или right)" + +#: ../src/option.c:419 +#, no-c-format +msgid "Dismiss the dialog when 100% of all bars has been reached" +msgstr "Закрыть диалог по достижении 100% всеми индикаторами" + +#: ../src/option.c:422 ../src/option.c:495 +msgid "Kill parent process if cancel button is pressed" +msgstr "Завершить родительский процесс, если нажата кнопка отмены" + +#: ../src/option.c:429 +msgid "Display notebook dialog" +msgstr "Отобразить диалог с вкладками" + +#: ../src/option.c:431 +msgid "Add a tab to notebook" +msgstr "Добавить вкладку" + +#: ../src/option.c:431 +msgid "LABEL" +msgstr "МЕТКА" -#: ../src/option.c:721 -msgid "Show vertical bars" -msgstr "Показывать вертикальные индикаторы" +#: ../src/option.c:433 +msgid "Set position of a notebook tabs (top, bottom, left or right)" +msgstr "Задать позицию метки вкладки (top, bottom, left или right)" + +#: ../src/option.c:435 +msgid "Set tab borders" +msgstr "Установить границы вкладки" -#: ../src/option.c:731 +#: ../src/option.c:441 msgid "Display notification" msgstr "Отобразить диалог уведомления" -#: ../src/option.c:737 -msgid "Set left-click action" -msgstr "Действие по левому щелчку мыши" +#: ../src/option.c:443 +msgid "Set initial popup menu" +msgstr "Задать начальное меню" + +#: ../src/option.c:443 +msgid "STRING" +msgstr "СТРОКА" + +#: ../src/option.c:445 +msgid "Disable exit on middle click" +msgstr "Запретить выход по щелчку средней кнопкой" + +#: ../src/option.c:447 +msgid "Doesn't show icon at startup" +msgstr "Не показывать иконку при запуске" -#: ../src/option.c:743 -msgid "Listen for commands on stdin" -msgstr "Воспринимать команды со стандартного ввода" +#: ../src/option.c:453 +msgid "Display paned dialog" +msgstr "Отобразить диалог панелей" + +#: ../src/option.c:455 +msgid "Set orientation (horizontal or vertical)" +msgstr "Задать ориентацию (horizontal или vertical)" + +#: ../src/option.c:457 +msgid "Set initial splitter position" +msgstr "Задать начальную позицию разделителя" -#: ../src/option.c:749 -msgid "Set separator character for menu values" -msgstr "Установить разделяющий символ для значений меню" +#: ../src/option.c:463 +msgid "Display picture dialog" +msgstr "Отобразить диалог показа картинки" -#: ../src/option.c:755 -msgid "Set separator character for menu items" -msgstr "Установить разделяющий символ для элементов меню" +#: ../src/option.c:465 +msgid "Set initial size (fit or orig)" +msgstr "Задать начальный размер (fit или orig)" -#: ../src/option.c:765 +#: ../src/option.c:467 +msgid "Set increment for picture scaling (default - 5)" +msgstr "Задать шаг для масштабирования картинки (по умолчанию - 5)" + +#: ../src/option.c:473 msgid "Display printing dialog" msgstr "Отобразить диалог печати" -#: ../src/option.c:771 -msgid "Source filename" -msgstr "Имя исходного файла" - -#: ../src/option.c:777 -msgid "Set source type (TYPE - TEXT, IMAGE or RAW)" -msgstr "Тип исходных данных (ТИП - TEXT, IMAGE или RAW)" +#: ../src/option.c:475 +msgid "Set source type (text, image or raw)" +msgstr "Тип исходных данных (text, image или raw)" -#: ../src/option.c:783 +#: ../src/option.c:477 msgid "Add headers to page" msgstr "Добавлять колонтитулы на страницу" -#: ../src/option.c:789 -msgid "Enable preview in print dialog" -msgstr "Разрешить предпросмотр в диалоге печати" - -#: ../src/option.c:795 ../src/option.c:942 -msgid "Use specified font" -msgstr "Использовать указанный шрифт" - -#: ../src/option.c:805 +#: ../src/option.c:483 msgid "Display progress indication dialog" msgstr "Отобразить диалог хода процесса" -#: ../src/option.c:811 +#: ../src/option.c:485 msgid "Set progress text" msgstr "Показывать текст на индикаторе" -#: ../src/option.c:817 +#: ../src/option.c:487 msgid "Set initial percentage" msgstr "Задать начальный процент" -#: ../src/option.c:818 +#: ../src/option.c:487 msgid "PERCENTAGE" msgstr "ПРОЦЕНТЫ" -#: ../src/option.c:823 +#: ../src/option.c:489 msgid "Pulsate progress bar" msgstr "Пульсирующий индикатор прогресса" -#: ../src/option.c:830 +#: ../src/option.c:492 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" -msgstr "Закрыть диалог когда дойдет до 100%" - -#: ../src/option.c:837 -msgid "Kill parent process if cancel button is pressed" -msgstr "Завершить родительский процесс, если нажата кнопка отмены" +msgstr "Закрыть диалог по достижении 100%" -#: ../src/option.c:844 +#: ../src/option.c:498 msgid "Right-To-Left progress bar direction" msgstr "Направление индикатора Справа-Налево" -#: ../src/option.c:854 +#: ../src/option.c:500 +msgid "Show log window" +msgstr "Показать окно журнала" + +#: ../src/option.c:502 +msgid "Expand log window" +msgstr "Развернуть окно журнала" + +#: ../src/option.c:504 +msgid "Place log window above progress bar" +msgstr "Разместить окно журнала над индикатором прогресса" + +#: ../src/option.c:506 +msgid "Height of log window" +msgstr "Высота окна журнала" + +#: ../src/option.c:512 msgid "Display scale dialog" msgstr "Отобразить диалог масштаба" -#: ../src/option.c:860 +#: ../src/option.c:514 msgid "Set initial value" msgstr "Задать начальное значение" -#: ../src/option.c:861 ../src/option.c:867 ../src/option.c:873 -#: ../src/option.c:879 ../src/option.c:885 +#: ../src/option.c:514 ../src/option.c:516 ../src/option.c:518 +#: ../src/option.c:520 ../src/option.c:522 msgid "VALUE" msgstr "ЗНАЧЕНИЕ" -#: ../src/option.c:866 +#: ../src/option.c:516 msgid "Set minimum value" msgstr "Задать минимальное значение" -#: ../src/option.c:872 +#: ../src/option.c:518 msgid "Set maximum value" msgstr "Задать максимальное значение" -#: ../src/option.c:878 +#: ../src/option.c:520 msgid "Set step size" msgstr "Задать шаг" -#: ../src/option.c:884 +#: ../src/option.c:522 msgid "Set paging size" msgstr "Задать шаг страницы" -#: ../src/option.c:890 +#: ../src/option.c:524 msgid "Print partial values" msgstr "Печатать частичные значения" -#: ../src/option.c:896 +#: ../src/option.c:526 msgid "Hide value" msgstr "Скрыть величину" -#: ../src/option.c:902 -msgid "Show vertical scale" -msgstr "Показывать вертикальную шкалу" - -#: ../src/option.c:908 +#: ../src/option.c:528 msgid "Invert direction" msgstr "Инвертировать направление" -#: ../src/option.c:914 +#: ../src/option.c:530 msgid "Add mark to scale (may be used multiple times)" msgstr "Добавить метку (может использоваться несколько раз)" -#: ../src/option.c:915 +#: ../src/option.c:530 msgid "NAME:VALUE" msgstr "ИМЯ:ЗНАЧЕНИЕ" -#: ../src/option.c:924 +#: ../src/option.c:536 msgid "Display text information dialog" msgstr "Отобразить диалог с текстовой информацией" -#: ../src/option.c:930 +#: ../src/option.c:538 msgid "Use specified color for text" msgstr "Использовать указанный цвет текста" -#: ../src/option.c:936 +#: ../src/option.c:540 msgid "Use specified color for background" msgstr "Использовать указанный цвет фона" -#: ../src/option.c:948 +#: ../src/option.c:542 msgid "Enable text wrapping" msgstr "Разрешить перенос текста" -#: ../src/option.c:954 -msgid "Set justification (TYPE - left, right, center or fill)" -msgstr "Установить выравнивание (ТИП - left, right, center или fill)" +#: ../src/option.c:544 +msgid "Set justification (left, right, center or fill)" +msgstr "Установить выравнивание (left, right, center или fill)" -#: ../src/option.c:960 +#: ../src/option.c:546 msgid "Set text margins" msgstr "Установить отступы" -#: ../src/option.c:961 +#: ../src/option.c:546 msgid "SIZE" msgstr "РАЗМЕР" -#: ../src/option.c:966 +#: ../src/option.c:548 msgid "Autoscroll to end of text" msgstr "Автопрокрутка в конец текста" -#: ../src/option.c:972 -msgid "Open file" -msgstr "Открыть файл" +#: ../src/option.c:550 +msgid "Show cursor in read-only mode" +msgstr "Показывать курсор в режиме для чтения" -#: ../src/option.c:984 +#: ../src/option.c:552 msgid "Make URI clickable" msgstr "Сделать ссылки активными" -#: ../src/option.c:994 +#: ../src/option.c:554 +msgid "Use specified color for links" +msgstr "Использовать указанный цвет для ссылок" + +#: ../src/option.c:561 +msgid "Use specified langauge for syntax highlighting" +msgstr "Использовать указанный язык для подсветки синтаксиса" + +#: ../src/option.c:561 +msgid "LANG" +msgstr "ЯЗЫК" + +#: ../src/option.c:568 +msgid "Sets a filename filter" +msgstr "Задать фильтр файлов по маске" + +#: ../src/option.c:568 +msgid "NAME | PATTERN1 PATTERN2 ..." +msgstr "ИМЯ | ШАБЛОН1 ШАБЛОН2 ..." + +#: ../src/option.c:570 +msgid "Sets a mime-type filter" +msgstr "Задать фильтр файлов по типу mime" + +#: ../src/option.c:570 +msgid "NAME | MIME1 MIME2 ..." +msgstr "ИМЯ | ТИП1 ТИП2 ..." + +#: ../src/option.c:572 +msgid "Add filter for images" +msgstr "Добавить фильтр изображений" + +#: ../src/option.c:572 +msgid "NAME" +msgstr "ИМЯ" + +#: ../src/option.c:578 msgid "Show about dialog" msgstr "Показать диалог 'О программе'" -#: ../src/option.c:1000 +#: ../src/option.c:580 msgid "Print version" msgstr "Вывести версию" -#: ../src/option.c:1049 ../src/option.c:1236 +#: ../src/option.c:582 +msgid "Load additional GTK settings from file" +msgstr "Загрузить дополнительные настройки GTK из файла" + +#: ../src/option.c:588 +msgid "Load extra arguments from file" +msgstr "Загрузить дополнительные аргументы из файла" + +#: ../src/option.c:629 ../src/option.c:926 #, c-format msgid "Unknown align type: %s\n" msgstr "Неизвестный тип выравнивания: %s\n" -#: ../src/option.c:1194 +#: ../src/option.c:790 #, c-format msgid "Mark %s doesn't have a value\n" msgstr "Метке %s не задано значение\n" -#: ../src/option.c:1254 +#: ../src/option.c:827 +msgid "Images" +msgstr "Изображения" + +#: ../src/option.c:892 +#, c-format +msgid "Unknown color mode: %s\n" +msgstr "Неизвестный режим цвета: '%s'\n" + +#: ../src/option.c:911 +#, c-format +msgid "Unknown buttons layout type: %s\n" +msgstr "Неизвестный тип расположения кнопок: %s\n" + +#: ../src/option.c:943 #, c-format msgid "Unknown justification type: %s\n" msgstr "Неизвестный тип выравнивания: %s\n" -#: ../src/option.c:1293 +#: ../src/option.c:960 +#, c-format +msgid "Unknown tab position type: %s\n" +msgstr "Неизвестный тип позиции вкладки: %s\n" + +#: ../src/option.c:996 #, c-format msgid "Unknown ellipsize type: %s\n" msgstr "Неизвестный тип усечения: %s\n" -#: ../src/option.c:1309 +#: ../src/option.c:1009 +#, c-format +msgid "Unknown orientation: %s\n" +msgstr "Неизвестная ориентация: %s\n" + +#: ../src/option.c:1024 #, c-format msgid "Unknown source type: %s\n" msgstr "Неизвестный исходный тип: %s\n" -#: ../src/option.c:1438 +#: ../src/option.c:1035 +msgid "Progress log" +msgstr "Окно журнала" + +#: ../src/option.c:1048 +#, c-format +msgid "Unknown size type: %s\n" +msgstr "Неизвестный тип размера: %s\n" + +#: ../src/option.c:1072 +#, c-format +msgid "Unknown completion type: %s\n" +msgstr "Неизвестный тип дополнения: %s\n" + +#: ../src/option.c:1171 +#, c-format +msgid "Unknown signal: %s\n" +msgstr "Неизвестный сигнал: %s\n" + +#: ../src/option.c:1339 msgid "File exist. Overwrite?" msgstr "Файл существует. Перезаписать?" -#: ../src/option.c:1520 -msgid "Yet another dialoging program" -msgstr "Программа для отображения диалогов" +#: ../src/option.c:1475 +msgid "- Yet another dialoging program" +msgstr "- Программа для отображения диалогов" #. Adds general option entries -#: ../src/option.c:1524 +#: ../src/option.c:1479 msgid "General options" msgstr "Основные параметры" -#: ../src/option.c:1525 +#: ../src/option.c:1479 msgid "Show general options" msgstr "Показывать основные параметры" +#. Adds common option entries +#: ../src/option.c:1485 +msgid "Common options" +msgstr "Общие параметры" + +#: ../src/option.c:1485 +msgid "Show common options" +msgstr "Показывать общие параметры диалогов" + #. Adds calendar option entries -#: ../src/option.c:1531 +#: ../src/option.c:1491 msgid "Calendar options" msgstr "Параметры календаря" -#: ../src/option.c:1532 +#: ../src/option.c:1491 msgid "Show calendar options" msgstr "Показывать параметры календаря" #. Adds color option entries -#: ../src/option.c:1538 +#: ../src/option.c:1497 msgid "Color selection options" msgstr "Параметры диалога выбора цвета" -#: ../src/option.c:1539 +#: ../src/option.c:1497 msgid "Show color selection options" msgstr "Показывать параметры диалога выбора цвета" #. Adds dnd option entries -#: ../src/option.c:1545 +#: ../src/option.c:1503 msgid "DND options" msgstr "Параметры DND" -#: ../src/option.c:1546 +#: ../src/option.c:1503 msgid "Show drag-n-drop options" msgstr "Показывать параметры dnd" #. Adds entry option entries -#: ../src/option.c:1552 +#: ../src/option.c:1509 msgid "Text entry options" msgstr "Параметры ввода текста" -#: ../src/option.c:1553 +#: ../src/option.c:1509 msgid "Show text entry options" msgstr "Показывать параметры ввода текста" #. Adds file selection option entries -#: ../src/option.c:1559 +#: ../src/option.c:1515 msgid "File selection options" msgstr "Параметры диалога выбора файла" -#: ../src/option.c:1560 +#: ../src/option.c:1515 msgid "Show file selection options" msgstr "Показывать параметры диалога выбора файлов" #. Add font selection option entries -#: ../src/option.c:1566 +#: ../src/option.c:1521 msgid "Font selection options" msgstr "Параметры диалога выбора шрифта" -#: ../src/option.c:1567 +#: ../src/option.c:1521 msgid "Show font selection options" msgstr "Показывать параметры диалога выбора шрифта" #. Add form option entries -#: ../src/option.c:1573 +#: ../src/option.c:1527 msgid "Form options" msgstr "Параметры диалога формы" -#: ../src/option.c:1574 +#: ../src/option.c:1527 msgid "Show form options" msgstr "Показывать параметры диалога формы" +#. Add html options entries +#: ../src/option.c:1534 +msgid "HTML options" +msgstr "Параметры HTML диалога" + +#: ../src/option.c:1534 +msgid "Show HTML options" +msgstr "Показывать параметры HTML диалога" + #. Add icons option entries -#: ../src/option.c:1580 +#: ../src/option.c:1541 msgid "Icons box options" msgstr "Параметры диалога значков" -#: ../src/option.c:1581 +#: ../src/option.c:1541 msgid "Show icons box options" msgstr "Показывать параметры диалога значков быстрого доступа" #. Adds list option entries -#: ../src/option.c:1587 +#: ../src/option.c:1547 msgid "List options" msgstr "Параметры списка" -#: ../src/option.c:1588 +#: ../src/option.c:1547 msgid "Show list options" msgstr "Показывать параметры списка" #. Adds multi progress option entries -#: ../src/option.c:1594 +#: ../src/option.c:1553 msgid "Multi progress bars options" msgstr "Параметры диалога с несколькими индикаторами" -#: ../src/option.c:1595 -msgid "Show Multi progress bars options" +#: ../src/option.c:1554 +msgid "Show multi progress bars options" msgstr "Показывать параметры диалога с несколькими индикаторами" +#. Adds notebook option entries +#: ../src/option.c:1560 +msgid "Notebook options" +msgstr "Параметры диалога с вкладками" + +#: ../src/option.c:1560 +msgid "Show notebook dialog options" +msgstr "Показывать параметры диалога с вкладками" + #. Adds notification option entries -#: ../src/option.c:1601 +#: ../src/option.c:1566 msgid "Notification icon options" msgstr "Параметры значка уведомления" -#: ../src/option.c:1602 +#: ../src/option.c:1567 msgid "Show notification icon options" msgstr "Показывать параметры значка уведомления" +#. Adds paned option entries +#: ../src/option.c:1573 +msgid "Paned dialog options" +msgstr "Параметры диалога с панелями" + +#: ../src/option.c:1573 +msgid "Show paned dialog options" +msgstr "Показывать параметры диалога с панелями" + +#. Adds picture option entries +#: ../src/option.c:1579 +msgid "Picture dialog options" +msgstr "Параметры диалога показа картинки" + +#: ../src/option.c:1579 +msgid "Show picture dialog options" +msgstr "Показывать параметры диалога отображения картинки" + #. Adds print option entries -#: ../src/option.c:1608 +#: ../src/option.c:1585 msgid "Print dialog options" msgstr "Параметры диалога печати" -#: ../src/option.c:1609 +#: ../src/option.c:1585 msgid "Show print dialog options" msgstr "Показывать параметры диалога печати" #. Adds progress option entries -#: ../src/option.c:1615 +#: ../src/option.c:1591 msgid "Progress options" msgstr "Параметры хода процесса" -#: ../src/option.c:1616 +#: ../src/option.c:1591 msgid "Show progress options" msgstr "Показывать параметры хода процесса" #. Adds scale option entries -#: ../src/option.c:1622 +#: ../src/option.c:1597 msgid "Scale options" msgstr "Параметры масштаба" -#: ../src/option.c:1623 +#: ../src/option.c:1597 msgid "Show scale options" msgstr "Показывать параметры масштаба" #. Adds text option entries -#: ../src/option.c:1629 +#: ../src/option.c:1603 msgid "Text information options" msgstr "Параметры текстовой информации" -#: ../src/option.c:1630 +#: ../src/option.c:1603 msgid "Show text information options" msgstr "Показывать параметры текстовой информации" +#. Adds sourceview option entries +#: ../src/option.c:1610 +msgid "SourceView options" +msgstr "Параметры SourceView" + +#: ../src/option.c:1610 +msgid "Show SourceView options" +msgstr "Показывать параметры SourceView" + +#. Adds file filters option entries +#: ../src/option.c:1617 +msgid "File filter options" +msgstr "Параметры фильтров диалога выбора файла" + +#: ../src/option.c:1617 +msgid "Show file filter options" +msgstr "Показывать параметры фильтров диалога выбора файлов" + #. Adds miscellaneous option entries -#: ../src/option.c:1636 +#: ../src/option.c:1623 msgid "Miscellaneous options" msgstr "Дополнительные параметры" -#: ../src/option.c:1637 +#: ../src/option.c:1623 msgid "Show miscellaneous options" msgstr "Показывать дополнительные параметры" -#: ../src/print.c:202 ../src/print.c:363 +#: ../src/picture.c:177 +msgid "Fit to window" +msgstr "По размерам окна" + +#: ../src/picture.c:184 +msgid "Original size" +msgstr "Оригинальный размер" + +#: ../src/picture.c:191 +msgid "Increase size" +msgstr "Увеличить" + +#: ../src/picture.c:198 +msgid "Decrease size" +msgstr "Уменьшить" + +#: ../src/picture.c:209 +msgid "Rotate left" +msgstr "Повернуть влево" + +#: ../src/picture.c:216 +msgid "Rotate right" +msgstr "Повернуть вправо" + +#: ../src/picture.c:223 +msgid "Flip vertical" +msgstr "Вывернуть вертикально" + +#: ../src/picture.c:230 +msgid "Flip horizontal" +msgstr "Вывернуть горизонтально" + +#: ../src/print.c:199 ../src/print.c:367 #, c-format msgid "Printing failed: %s\n" msgstr "Сбой печати: %s\n" -#: ../src/print.c:230 +#: ../src/print.c:227 #, c-format msgid "File %s not found.\n" msgstr "Файл %s не найден.\n" -#: ../src/print.c:236 +#: ../src/print.c:233 #, c-format msgid "Filename is not specified.\n" msgstr "Не задано имя файла.\n" -#: ../src/print.c:379 +#: ../src/print.c:383 #, c-format msgid "Printer doesn't support ps format.\n" msgstr "Принтер не поддерживает формат ps.\n" -#: ../src/print.c:387 +#: ../src/print.c:391 #, c-format msgid "Printer doesn't support pdf format.\n" msgstr "Принтер не поддерживает формат pdf.\n" -#: ../src/print.c:393 +#: ../src/print.c:397 #, c-format msgid "This file type is not supported for raw printing.\n" msgstr "Этот тип файлов не поддерживается для прямой печати.\n" -#: ../src/print.c:407 +#: ../src/print.c:411 #, c-format msgid "Load source file failed: %s\n" msgstr "Сбой при загрузке исходного файла: %s\n" -#: ../src/color.c:64 +#: ../src/color.c:65 #, c-format msgid "Can't open file %s: %s\n" msgstr "Не могу открыть файл %s: %s\n" #. create expander -#: ../src/color.c:149 +#: ../src/color.c:150 msgid "Palette" msgstr "Палитра" -#: ../src/color.c:171 +#: ../src/color.c:169 msgid "Color" msgstr "Цвет" -#: ../src/color.c:188 +#: ../src/color.c:186 msgid "Name" msgstr "Название" -#: ../src/text.c:271 +#: ../src/text.c:430 #, c-format msgid "Invalid UTF-8 data encountered reading file %s\n" msgstr "Неверная последователньость UTF-8 при чтении файла %s\n" -#: ../src/browser.c:129 +#: ../src/browser.c:132 msgid "scalable " msgstr "масштабируемый " -#: ../src/browser.c:137 -#, c-format -msgid "" -"<b>Name:</b> %s\n" -"<b>Sizes:</b> %s\n" -"<b>Filename:</b> %s" -msgstr "" -"<b>Имя:</b> %s\n" -"<b>Размеры:</b> %s\n" -"<b>Имя файла:</b> %s" - -#: ../src/browser.c:138 +#: ../src/browser.c:142 msgid "built-in" msgstr "встроенный" #. initialize GTK+ and parse the command line arguments -#: ../src/browser.c:197 +#: ../src/browser.c:200 msgid "- Icon browser" msgstr "- Броузер иконок" -#: ../src/browser.c:210 +#: ../src/browser.c:213 msgid "Icon browser" msgstr "Броузер иконок" -#: ../src/browser.c:261 +#: ../src/browser.c:247 +msgid "<b>Name:</b>" +msgstr "<b>Имя:</b>" + +#: ../src/browser.c:265 +msgid "<b>Sizes:</b>" +msgstr "<b>Размеры:</b>" + +#: ../src/browser.c:283 +msgid "<b>Filename:</b>" +msgstr "<b>Имя файла:</b>" + +#: ../src/browser.c:325 msgid "Category" msgstr "Категория" -#: ../src/browser.c:294 +#: ../src/browser.c:357 msgid "Icons" msgstr "Иконки"
View file
yad-0.16.3.tar.bz2/po/sk.po -> yad-0.36.2.tar.xz/po/sk.po
Changed
@@ -2,21 +2,31 @@ # Slovenský preklad balíka YAD. # Copyright (C) 2010 THE YAD'S COPYRIGHT HOLDER # This file is distributed under the same license as the YAD package. -# Slavko <linux@slavino.sk>, 2010, 2011. +# Slavko <linux@slavino.sk>, 2010, 2011, 2013. # msgid "" msgstr "" "Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-11-21 11:42+0200\n" -"PO-Revision-Date: 2011-09-05 07:57+0200\n" +"POT-Creation-Date: 2014-02-07 09:25+0200\n" +"PO-Revision-Date: 2013-03-30 08:10+0100\n" "Last-Translator: Slavko <linux@slavino.sk>\n" -"Language-Team: Slovak <debian-l10n-slovak@lists.debian.org>\n" +"Language-Team: slovenčina <debian-l10n-slovak@lists.debian.org>\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"X-POFile-SpellExtra: font Public Foundation ČASLIMIT Free RD RAW spread\n" +"X-POFile-SpellExtra: save LBL xterm URI pango redistribuovať button SFL\n" +"X-POFile-SpellExtra: stderr NORM CESTAIKON right FLT HD NONE bottom\n" +"X-POFile-SpellExtra: rrrrggggbbbb RTL MFL END MIDDLE 100 CBE PULSE\n" +"X-POFile-SpellExtra: MENOSÚBORU pdf BTN MENOFONTU color XEMBED Yad FL FN\n" +"X-POFile-SpellExtra: ps start NUM MDIR IMG CB GTK YAD spin CLR Software RO\n" +"X-POFile-SpellExtra: raw General GNU Window shell UTF-8 file DT CDIR DIR\n" +"X-POFile-SpellExtra: fill VZOR1 VZOR2 Slavko IMAGE rrggbb TXT WxH CHK\n" +"X-POFile-SpellExtra: License START end ID stdin edge left GenericName\n" +"X-POFile-SpellExtra: expanderom\n" #: ../src/about.c:30 msgid "translator-credits" @@ -61,589 +71,661 @@ "\n" "Založený na kóde Zenity\n" -#: ../src/calendar.c:39 ../src/text.c:241 +#: ../src/calendar.c:39 ../src/text.c:389 #, c-format msgid "Cannot open file '%s': %s\n" msgstr "Nemožno otvoriť súbor '%s': %s\n" -#: ../src/entry.c:158 ../src/scale.c:39 +#: ../src/entry.c:172 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Maximálna hodnota musí byť väčšia ako minimálna.\n" -#: ../src/entry.c:164 ../src/scale.c:48 +#: ../src/entry.c:179 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "Počiatočná hodnota je menšia ako minimálna.\n" -#: ../src/entry.c:169 ../src/scale.c:53 +#: ../src/entry.c:184 ../src/scale.c:53 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Maximálna hodnota je väčšia ako minimálna.\n" -#: ../src/form.c:305 +#: ../src/form.c:372 msgid "Select files" msgstr "Vyberte súbory" -#: ../src/form.c:369 -#, fuzzy +#: ../src/form.c:380 +msgid "Select folders" +msgstr "Vyberte adresáre" + +#: ../src/form.c:443 msgid "Select or create file" -msgstr "Vyberte súbor" +msgstr "Vyberte alebo vytvorte súbor" -#: ../src/form.c:378 -#, fuzzy +#: ../src/form.c:451 msgid "Select or create folder" -msgstr "Vyberte pole" +msgstr "Vyberte alebo vytvorte adresár" -#: ../src/form.c:411 +#: ../src/form.c:488 msgid "Select date" msgstr "Vyberte dátum" -#: ../src/form.c:546 +#: ../src/form.c:689 msgid "Select file" msgstr "Vyberte súbor" -#: ../src/form.c:553 +#: ../src/form.c:703 msgid "Select folder" -msgstr "Vyberte pole" +msgstr "Vyberte adresár" -#: ../src/icons.c:247 +#: ../src/icons.c:321 #, c-format msgid "Unable to parse file %s: %s\n" msgstr "Nemožno spracovať súbor %s: %s\n" -#: ../src/icons.c:264 +#: ../src/icons.c:338 #, c-format msgid "Unable to open directory %s: %s\n" msgstr "Nemožno otvoriť adresár %s: %s\n" -#: ../src/main.c:89 ../src/main.c:229 +#: ../src/main.c:102 ../src/main.c:233 #, c-format msgid "%d sec" msgstr "%d s" -#: ../src/main.c:501 +#: ../src/main.c:656 #, c-format -msgid "Unable parse command line: %s\n" +msgid "Unable to parse command line: %s\n" msgstr "Nemožno spracovať príkazový riadok: %s\n" -#: ../src/notification.c:82 +#: ../src/notification.c:118 #, c-format msgid "Could not load notification icon '%s': %s\n" msgstr "Nemožno načítať ikonu upozornenia '%s': %s\n" -#: ../src/notification.c:261 +#: ../src/notification.c:301 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Neplatné UTF-8 v nástrojovom tipe!\n" -#: ../src/notification.c:323 +#: ../src/notification.c:345 #, c-format msgid "Unknown command '%s'\n" msgstr "Neznámy príkaz '%s'\n" -#: ../src/notification.c:359 +#: ../src/notification.c:380 msgid "Yad notification" msgstr "Informačná ikona Yad" -#: ../src/list.c:703 +#: ../src/list.c:856 msgid "Add row" msgstr "Pridá riadok" -#: ../src/list.c:712 +#: ../src/list.c:863 msgid "Delete row" msgstr "Odstráni riadok" -#: ../src/list.c:741 +#: ../src/list.c:870 +#, fuzzy +msgid "Duplicate row" +msgstr "Odstráni riadok" + +#: ../src/list.c:897 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Neboli zadané mená stĺpcov pre dialóg Zoznam.\n" -#: ../src/option.c:62 +#: ../src/option.c:69 msgid "Set the dialog title" msgstr "Nastaví názov dialógu" -#: ../src/option.c:63 +#: ../src/option.c:70 msgid "TITLE" msgstr "NÁZOV" -#: ../src/option.c:68 +#: ../src/option.c:75 msgid "Set the window icon" msgstr "Nastaví ikonu okna" -#: ../src/option.c:69 +#: ../src/option.c:76 msgid "ICONPATH" msgstr "CESTA_IKON" -#: ../src/option.c:74 +#: ../src/option.c:81 msgid "Set the width" msgstr "Nastaví šírku" -#: ../src/option.c:75 +#: ../src/option.c:82 msgid "WIDTH" msgstr "ŠÍRKA" -#: ../src/option.c:80 +#: ../src/option.c:87 msgid "Set the height" msgstr "Nastaví výšku" -#: ../src/option.c:81 +#: ../src/option.c:88 msgid "HEIGHT" msgstr "VÝŠKA" -#: ../src/option.c:86 +#: ../src/option.c:93 msgid "Set the window geometry" msgstr "Nastaví geometriu okna" -#: ../src/option.c:87 +#: ../src/option.c:94 msgid "WxH+X+Y" msgstr "WxH+X+Y" -#: ../src/option.c:92 +#: ../src/option.c:99 msgid "Set dialog timeout in seconds" msgstr "Nastaví časový limit dialógu s" -#: ../src/option.c:93 +#: ../src/option.c:100 msgid "TIMEOUT" msgstr "ČASLIMIT" -#: ../src/option.c:98 +#: ../src/option.c:105 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Zobrazí indikátor zostávajúceho času (top, bottom, left, right)" -#: ../src/option.c:99 +#: ../src/option.c:106 msgid "POS" msgstr "POZÍCIA" -#: ../src/option.c:104 +#: ../src/option.c:111 msgid "Set the dialog text" msgstr "Nastaví text dialógu" -#: ../src/option.c:105 ../src/option.c:135 ../src/option.c:348 -#: ../src/option.c:354 ../src/option.c:360 ../src/option.c:488 -#: ../src/option.c:812 +#: ../src/option.c:112 ../src/option.c:142 ../src/option.c:391 +#: ../src/option.c:397 ../src/option.c:403 ../src/option.c:543 +#: ../src/option.c:971 ../src/option.c:1010 msgid "TEXT" msgstr "TEXT" -#: ../src/option.c:110 +#: ../src/option.c:117 #, fuzzy -msgid "Set the dialog text alignment (left, center, right)" -msgstr "Nastaví zarovnanie menoviek polí (left, center alebo right)" +msgid "Set the dialog text alignment (left, center, right, fill)" +msgstr "Nastaví zarovnanie textu dialógu (left, center, right)" -#: ../src/option.c:111 ../src/option.c:510 ../src/option.c:658 -#: ../src/option.c:778 ../src/option.c:955 +#: ../src/option.c:118 ../src/option.c:160 ../src/option.c:566 +#: ../src/option.c:738 ../src/option.c:820 ../src/option.c:863 +#: ../src/option.c:937 ../src/option.c:1138 msgid "TYPE" msgstr "TYP" -#: ../src/option.c:116 +#: ../src/option.c:123 msgid "Set the dialog image" msgstr "Nastaví obrázok dialógu" -#: ../src/option.c:117 ../src/option.c:384 ../src/option.c:396 +#: ../src/option.c:124 ../src/option.c:427 ../src/option.c:439 msgid "IMAGE" msgstr "OBRÁZOK" -#: ../src/option.c:122 +#: ../src/option.c:129 msgid "Show image above main widget" -msgstr "Zobrazí obrázok nad hlavným widgetom" +msgstr "Zobrazí obrázok nad hlavným prvkom" -#: ../src/option.c:128 +#: ../src/option.c:135 msgid "Use specified icon theme instead of default" msgstr "Použije zadanú tému ikon, namiesto predvolenej" -#: ../src/option.c:129 +#: ../src/option.c:136 msgid "THEME" msgstr "TÉMA" -#: ../src/option.c:134 +#: ../src/option.c:141 msgid "Hide main widget with expander" -msgstr "Skryť hlavný widget s expanderom" +msgstr "Skryť hlavný prvok s expanderom" -#: ../src/option.c:140 +#: ../src/option.c:147 msgid "Add dialog button (may be used multiple times)" msgstr "Pridá tlačidlo dialógu (možno použiť viackrát)" -#: ../src/option.c:141 +#: ../src/option.c:148 msgid "NAME:ID" msgstr "MENO:ID" -#: ../src/option.c:146 +#: ../src/option.c:153 msgid "Don't show buttons" msgstr "Nezobrazuje tlačidlá" -#: ../src/option.c:152 +#: ../src/option.c:159 +msgid "Set buttons layout type (spread, edge, start, end or center)" +msgstr "Nastaví typ vzhľadu tlačidiel (spread, edge, start, end alebo center)" + +#: ../src/option.c:165 msgid "Don't use pango markup language in dialog's text" msgstr "Nepoužíva značkovací jazyk pango v texte dialógu" -#: ../src/option.c:159 +#: ../src/option.c:172 msgid "Add separator between dialog and buttons" msgstr "Pridá oddeľovač medzi dialóg a tlačidlá" -#: ../src/option.c:166 +#: ../src/option.c:179 msgid "Set window borders" msgstr "Nastaví okraje okna" -#: ../src/option.c:167 ../src/option.c:516 ../src/option.c:664 -#: ../src/option.c:670 ../src/option.c:676 ../src/option.c:682 -#: ../src/option.c:688 +#: ../src/option.c:180 ../src/option.c:259 ../src/option.c:572 +#: ../src/option.c:744 ../src/option.c:750 ../src/option.c:756 +#: ../src/option.c:762 ../src/option.c:768 ../src/option.c:869 msgid "NUMBER" msgstr "ČÍSLO" -#: ../src/option.c:172 +#: ../src/option.c:185 msgid "Always print result" msgstr "Vždy vypíše výsledok" -#: ../src/option.c:178 +#: ../src/option.c:191 msgid "Dialog text can be selected" msgstr "Text dialógu môže byť vybratý" -#: ../src/option.c:185 +#: ../src/option.c:198 msgid "Set window sticky" msgstr "Prilepí okno na všetky plochy" -#: ../src/option.c:191 +#: ../src/option.c:204 msgid "Set window unresizable" msgstr "Nastaví pevnú veľkosť okna" -#: ../src/option.c:197 +#: ../src/option.c:210 msgid "Place window on top" msgstr "Umiestni okno nad ostatnými" -#: ../src/option.c:203 +#: ../src/option.c:216 msgid "Place window on center of screen" msgstr "Umiestni okno doprostred plochy" -#: ../src/option.c:209 +#: ../src/option.c:222 msgid "Place window at the mouse position" msgstr "Umiestni okno na pozícii myši" -#: ../src/option.c:215 +#: ../src/option.c:228 msgid "Set window undecorated" msgstr "Odoberie dekorácie okna" -#: ../src/option.c:221 +#: ../src/option.c:234 msgid "Don't show window in taskbar" -msgstr "Nezobrazuje okno v paneli úloh" +msgstr "Skryje okno v paneli úloh" -#: ../src/option.c:228 -msgid "Send TERM to parent" -msgstr "Pošle rodičovi TERM" +#: ../src/option.c:240 +#, fuzzy +msgid "Set window maximized" +msgstr "Nastaví pevnú veľkosť okna" -#: ../src/option.c:234 +#: ../src/option.c:246 +#, fuzzy +msgid "Set window fulscreen" +msgstr "Nastaví pevnú veľkosť okna" + +#: ../src/option.c:252 +msgid "Special type of dialog for XEMBED" +msgstr "Špeciálny typ dialógu pre XEMBED" + +#: ../src/option.c:253 ../src/option.c:851 +msgid "KEY" +msgstr "KĽÚČ" + +#: ../src/option.c:258 +msgid "Tab nubmer of this dialog" +msgstr "Číslo záložky tohoto dialógu" + +#: ../src/option.c:265 +msgid "Send SIGNAL to parent" +msgstr "Pošle rodičovi SIGNÁL" + +#: ../src/option.c:266 +msgid "SIGNAL" +msgstr "SIGNÁL" + +#: ../src/option.c:271 msgid "Print X Window Id to the stderr" +msgstr "Vypíše identifikátor X Window do stderr" + +#: ../src/option.c:278 +msgid "Add path for search icons by name" msgstr "" -#: ../src/option.c:245 +#: ../src/option.c:279 +#, fuzzy +msgid "PATH" +msgstr "CESTA_IKON" + +#: ../src/option.c:288 msgid "Display calendar dialog" msgstr "Zobrazí dialóg Kalendár" -#: ../src/option.c:251 +#: ../src/option.c:294 msgid "Set the calendar day" msgstr "Nastaví deň kalendára" -#: ../src/option.c:252 +#: ../src/option.c:295 msgid "DAY" msgstr "DEŇ" -#: ../src/option.c:257 +#: ../src/option.c:300 msgid "Set the calendar month" msgstr "Nastaví mesiac kalendára" -#: ../src/option.c:258 +#: ../src/option.c:301 msgid "MONTH" msgstr "MESIAC" -#: ../src/option.c:263 +#: ../src/option.c:306 msgid "Set the calendar year" msgstr "Nastaví rok kalendára" -#: ../src/option.c:264 +#: ../src/option.c:307 msgid "YEAR" msgstr "ROK" -#: ../src/option.c:269 ../src/option.c:533 +#: ../src/option.c:312 ../src/option.c:589 msgid "Set the format for the returned date" msgstr "Nastaví formát vráteného dátumu" -#: ../src/option.c:270 ../src/option.c:534 ../src/option.c:581 +#: ../src/option.c:313 ../src/option.c:590 ../src/option.c:649 msgid "PATTERN" msgstr "VZOR" -#: ../src/option.c:275 +#: ../src/option.c:318 msgid "Set the filename with dates details" msgstr "Nastaví meno súboru s podrobnosťami dátumu" -#: ../src/option.c:276 ../src/option.c:304 ../src/option.c:424 -#: ../src/option.c:772 ../src/option.c:973 +#: ../src/option.c:319 ../src/option.c:347 ../src/option.c:467 +#: ../src/option.c:931 ../src/option.c:1156 ../src/option.c:1200 msgid "FILENAME" msgstr "MENO_SÚBORU" -#: ../src/option.c:285 +#: ../src/option.c:328 msgid "Display color selection dialog" msgstr "Zobrazí dialóg Výber farby" -#: ../src/option.c:291 +#: ../src/option.c:334 msgid "Alias for --color" msgstr "Alias pre --color" -#: ../src/option.c:297 +#: ../src/option.c:340 msgid "Set initial color value" msgstr "Nastaví počiatočnú hodnotu farby" -#: ../src/option.c:298 ../src/option.c:931 ../src/option.c:937 +#: ../src/option.c:341 ../src/option.c:1114 ../src/option.c:1120 msgid "COLOR" msgstr "FARBA" -#: ../src/option.c:303 +#: ../src/option.c:346 msgid "Set path to palette file. Default - " msgstr "Nastaví cestu k súboru palety. Predvolene - " -#: ../src/option.c:309 +#: ../src/option.c:352 msgid "Use #rrrrggggbbbb format instead of #rrggbb" msgstr "Použije formát #rrrrggggbbbb namiesto #rrggbb" -#: ../src/option.c:319 +#: ../src/option.c:362 msgid "Display drag-n-drop box" msgstr "Zobrazí dialóg Ťahaj a Pusť" -#: ../src/option.c:325 +#: ../src/option.c:368 msgid "Use dialog text as tooltip" -msgstr "" +msgstr "Použiť text dialógu ako nástrojový tip" -#: ../src/option.c:331 +#: ../src/option.c:374 msgid "Set command for process d-n-d data" msgstr "Nastaví príkaz pre spracovanie dát Ťahaj a Pusť" -#: ../src/option.c:332 ../src/option.c:390 ../src/option.c:402 -#: ../src/option.c:694 ../src/option.c:738 +#: ../src/option.c:375 ../src/option.c:433 ../src/option.c:445 +#: ../src/option.c:774 ../src/option.c:885 msgid "CMD" msgstr "PRÍKAZ" -#: ../src/option.c:341 +#: ../src/option.c:384 msgid "Display text entry or combo-box dialog" msgstr "Zobrazí dialóg Vstup textu alebo Rozbaľovací zoznam" -#: ../src/option.c:347 +#: ../src/option.c:390 msgid "Set the entry label" msgstr "Nastaví návestie položky" -#: ../src/option.c:353 +#: ../src/option.c:396 msgid "Set the entry text" msgstr "Nastaví text vstupu" -#: ../src/option.c:359 +#: ../src/option.c:402 msgid "Hide the entry text" msgstr "Skryje text vstupu" -#: ../src/option.c:365 +#: ../src/option.c:408 msgid "Use completion instead of combo-box" msgstr "Použije dopĺňanie namiesto rozbaľovacieho zoznamu" -#: ../src/option.c:371 +#: ../src/option.c:414 msgid "Use spin button for text entry" msgstr "Použije číselník (spin button) pre text vstupu" -#: ../src/option.c:377 +#: ../src/option.c:420 msgid "Allow changes to text in combo-box" msgstr "Povolí zmeny textu rozbaľovacieho zoznamu" -#: ../src/option.c:383 +#: ../src/option.c:426 msgid "Set the left entry icon" msgstr "Nastaví ikonu na ľavej strane položky" -#: ../src/option.c:389 +#: ../src/option.c:432 msgid "Set the left entry icon action" msgstr "Nastaví akciu ľavej ikony" -#: ../src/option.c:395 +#: ../src/option.c:438 msgid "Set the right entry icon" msgstr "Nastaví ikonu na pravej strane položky" -#: ../src/option.c:401 +#: ../src/option.c:444 msgid "Set the right entry icon action" msgstr "Nastaví akciu pravej ikony" -#: ../src/option.c:411 +#: ../src/option.c:454 msgid "Display file selection dialog" msgstr "Zobrazí dialóg Výber súboru" -#: ../src/option.c:417 +#: ../src/option.c:460 msgid "Alias for --file" msgstr "Alias pre --file" -#: ../src/option.c:423 +#: ../src/option.c:466 msgid "Set the filename" msgstr "Nastaví meno súboru" -#: ../src/option.c:429 +#: ../src/option.c:472 msgid "Allow multiple files to be selected" msgstr "Povolí viacnásobný výber súborov" -#: ../src/option.c:435 +#: ../src/option.c:478 msgid "Activate directory-only selection" msgstr "Aktivuje výber adresárov" -#: ../src/option.c:441 +#: ../src/option.c:484 msgid "Activate save mode" msgstr "Aktivuje režim save" -#: ../src/option.c:447 ../src/option.c:521 ../src/option.c:633 +#: ../src/option.c:490 ../src/option.c:577 ../src/option.c:713 msgid "Set output separator character" msgstr "Nastaví znak výstupného oddeľovača" -#: ../src/option.c:448 ../src/option.c:522 ../src/option.c:528 -#: ../src/option.c:634 ../src/option.c:750 ../src/option.c:756 +#: ../src/option.c:491 ../src/option.c:578 ../src/option.c:584 +#: ../src/option.c:714 ../src/option.c:897 ../src/option.c:903 msgid "SEPARATOR" msgstr "ODDEĽOVAČ" -#: ../src/option.c:453 +#: ../src/option.c:496 msgid "Confirm file selection if filename already exists" msgstr "Potvrdiť výber súboru, ak už súbor existuje" -#: ../src/option.c:454 +#: ../src/option.c:497 msgid "TEXT" msgstr "TEXT" -#: ../src/option.c:459 +#: ../src/option.c:502 msgid "Sets a filename filter" msgstr "Nastaví filter mien súborov" -#: ../src/option.c:460 +#: ../src/option.c:503 msgid "NAME | PATTERN1 PATTERN2 ..." msgstr "MENO | VZOR1 VZOR2 ..." -#: ../src/option.c:469 +#: ../src/option.c:508 +msgid "Enable preview" +msgstr "Zapne ukážku" + +#: ../src/option.c:514 ../src/option.c:601 ../src/option.c:791 +#, fuzzy +msgid "Quote dialogs output" +msgstr "Nastaví text dialógu" + +#: ../src/option.c:524 msgid "Display font selection dialog" msgstr "Zobrazí dialóg Výber písma" -#: ../src/option.c:475 +#: ../src/option.c:530 msgid "Alias for --font" msgstr "Alias pre --font" -#: ../src/option.c:481 +#: ../src/option.c:536 msgid "Set initial font" msgstr "Nastaví počiatočné písmo" -#: ../src/option.c:482 ../src/option.c:796 ../src/option.c:943 +#: ../src/option.c:537 ../src/option.c:955 ../src/option.c:1126 msgid "FONTNAME" msgstr "MENO_FONTU" -#: ../src/option.c:487 +#: ../src/option.c:542 msgid "Set preview text" msgstr "Nastaví vzorový text" -#: ../src/option.c:497 +#: ../src/option.c:552 msgid "Display form dialog" msgstr "Zobrazí dialóg Formulár" -#: ../src/option.c:503 +#: ../src/option.c:559 +#, fuzzy msgid "" -"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, DIR, CDIR, FN, " -"MFL, DT, CLR, BTN or LBL)" +"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, MFL, DIR, CDIR, " +"MDIR, FN, DT, SCL, CLR, BTN, FBTN, LBL or TXT)" msgstr "" -"Pridá pole do formulára (TYP – H RO, NUM, CHK, CB, CBE, FL, SFL, DIR, CDIR, " -"FN, MFL, DT, CLR, BTN alebo LBL)" +"Pridá do formulára pole (TYP – H, RO, NUM, CHK, CB, CBE, FL, SFL, MFL, DIR, " +"CDIR, MDIR, FN, DT, CLR, BTN, LBL alebo TXT)" -#: ../src/option.c:504 ../src/option.c:716 +#: ../src/option.c:560 ../src/option.c:808 msgid "LABEL:TYPE" msgstr "NÁVESTIE:TYP" -#: ../src/option.c:509 -msgid "Set alignment of fileds labels (left, center or right)" +#: ../src/option.c:565 +msgid "Set alignment of filed labels (left, center or right)" msgstr "Nastaví zarovnanie menoviek polí (left, center alebo right)" -#: ../src/option.c:515 +#: ../src/option.c:571 msgid "Set number of columns in form" msgstr "Nastaví počet stĺpcov formulára" -#: ../src/option.c:527 +#: ../src/option.c:583 msgid "Set separator character for combobox or scale data" msgstr "Nastaví znak oddeľovača dát rozbaľovacieho zoznamu alebo posuvníka" -#: ../src/option.c:543 +#: ../src/option.c:595 +#, fuzzy +msgid "Make form scrollable" +msgstr "Urobí URI kliknuteľné" + +#: ../src/option.c:611 msgid "Display icons box dialog" msgstr "Zobrazí dialóg Ikony" -#: ../src/option.c:549 +#: ../src/option.c:617 msgid "Read data from .desktop files in specified directory" msgstr "Číta dáta zo súborov .desktop v zadanom adresári" -#: ../src/option.c:550 +#: ../src/option.c:618 msgid "DIRECTORY" msgstr "ADRESÁR" -#: ../src/option.c:555 +#: ../src/option.c:623 msgid "Use compact (list) view" msgstr "Použije kompaktné (zoznam) zobrazenie" -#: ../src/option.c:561 +#: ../src/option.c:629 msgid "Use GenericName field instead of Name for icon label" msgstr "Pre menovku ikony použiť pole GenericName namiesto Name" -#: ../src/option.c:567 +#: ../src/option.c:635 msgid "Read data from stdin" msgstr "Číta dáta zo štandardného vstupu" -#: ../src/option.c:573 +#: ../src/option.c:641 msgid "Set the width of dialog items" msgstr "Nastaví šírku položiek dialógu" -#: ../src/option.c:580 +#: ../src/option.c:648 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" -msgstr "Vzor pre spustenie príkazu v termináli (predvolené: xterm -e %s)" +msgstr "" +"Špecifický vzor spustenia príkazu v terminále (predvolené: xterm -e %s)" -#: ../src/option.c:586 +#: ../src/option.c:654 msgid "Sort items by name instead of filename" msgstr "Radí položky podľa mena namiesto mena súboru" -#: ../src/option.c:592 +#: ../src/option.c:660 msgid "Sort items in descending order" msgstr "Zoradí položky zostupne" -#: ../src/option.c:602 +#: ../src/option.c:666 +msgid "Activate items by single click" +msgstr "Aktivovať položku jedným kliknutím" + +#: ../src/option.c:676 msgid "Display list dialog" msgstr "Zobrazí dialóg Zoznam" -#: ../src/option.c:608 +#: ../src/option.c:682 msgid "Don't show column headers" msgstr "Nezobrazuje hlavičky stĺpcov" -#: ../src/option.c:614 -msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, IMG or TIP)" -msgstr "Nastaví hlavičku stĺpca (TYP – TEXT, NUM, FLT, CHK, IMG alebo TIP)" +#: ../src/option.c:688 +msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, RD, IMG, HD or TIP)" +msgstr "" +"Nastaví hlavičku stĺpca (TYP – TEXT, NUM, FLT, CHK, RD, IMG, HD alebo TIP)" -#: ../src/option.c:615 +#: ../src/option.c:689 msgid "COLUMN:TYPE" msgstr "STĹPEC:TYP" -#: ../src/option.c:620 -msgid "Use check boxes for first column" -msgstr "Použije zaškrtávacie voľby v prvom stĺpci" +#: ../src/option.c:694 +msgid "Use checkboxes for first column" +msgstr "V prvom stĺpci použije zaškrtávacie voľby" -#: ../src/option.c:626 -msgid "Alias to checklist (deprecated)" -msgstr "Alias pre Zaškrtávací zoznam (zastarané)" +#: ../src/option.c:700 +msgid "Use radioboxes for first column" +msgstr "V prvom stĺpci použije výberové voľby" -#: ../src/option.c:639 +#: ../src/option.c:706 +msgid "Disable clickable column headers" +msgstr "" + +#: ../src/option.c:719 msgid "Allow multiple rows to be selected" msgstr "Dovolí viacnásobný výber riadkov" -#: ../src/option.c:645 ../src/option.c:978 +#: ../src/option.c:725 ../src/option.c:1161 msgid "Allow changes to text" msgstr "Dovolí zmeny textu" -#: ../src/option.c:651 +#: ../src/option.c:731 msgid "Print all data from list" msgstr "Vypíše všetky dáta zoznamu" -#: ../src/option.c:657 +#: ../src/option.c:737 msgid "Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)" msgstr "" -"Nastaví režim výpustky textových polí (TYP - NONE, START, MIDDLE alebo END)" +"Nastaví režim výpustky textových polí (TYP – NONE, START, MIDDLE alebo END)" -#: ../src/option.c:663 +#: ../src/option.c:743 msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" @@ -651,17 +733,17 @@ "Vypíše zadaný stĺpec. Predvolene alebo ak je zadaná 0 budú vypísané všetky " "stĺpce" -#: ../src/option.c:669 +#: ../src/option.c:749 msgid "Hide a specific column" msgstr "Skryje zadaný stĺpec" -#: ../src/option.c:675 +#: ../src/option.c:755 msgid "Set the column expandable by default. 0 sets all columns expandable" msgstr "" "Nastaví stĺpec predvolene ako rozšíriteľný. 0 nastavuje všetky stĺpce ako " "rozšíriteľné" -#: ../src/option.c:681 +#: ../src/option.c:761 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" @@ -669,507 +751,618 @@ "Nastaví rýchle vyhľadávacie pole. Predvolene je to prvý stĺpec. Nastavenie " "na 0 zakáže vyhľadávanie" -#: ../src/option.c:687 +#: ../src/option.c:767 msgid "Set the limit of rows in list" msgstr "Nastaví limit počtu riadkov zoznamu" -#: ../src/option.c:693 +#: ../src/option.c:773 msgid "Set double-click action" msgstr "Nastaví akciu dvojitého kliknutia" -#: ../src/option.c:699 +#: ../src/option.c:779 msgid "Use regex in search" msgstr "Použije regulárny výraz v hľadaní" -#: ../src/option.c:709 -#, fuzzy +#: ../src/option.c:785 +msgid "Listen for data on stdin in addition to command-line" +msgstr "Prijímať dáta na stdin ako doplnenie príkazového riadku" + +#: ../src/option.c:801 msgid "Display multi progress bars dialog" -msgstr "Zobrazí dialóg Indikátor priebehu" +msgstr "Zobrazí viacnásobný dialóg Indikátor priebehu" -#: ../src/option.c:715 +#: ../src/option.c:807 msgid "Add the progress bar (TYPE - NORM, RTL or PULSE)" -msgstr "" +msgstr "Pridá ukazovateľ priebehu (TYP – NORM, RTL alebo PULSE)" -#: ../src/option.c:721 -#, fuzzy +#: ../src/option.c:813 msgid "Show vertical bars" -msgstr "Zobrazí zvislý posuvník" +msgstr "Zobraziť zvislé ukazovatele" -#: ../src/option.c:731 +#: ../src/option.c:819 +msgid "Set alignment of bar labels (left, center or right)" +msgstr "Nastaví zarovnanie menoviek ukazovateľov (left, center alebo right)" + +#: ../src/option.c:826 +#, fuzzy, no-c-format +msgid "Dismiss the dialog when 100% of all bars has been reached" +msgstr "Zatvorí dialóg pri dosiahnutí 100%" + +#: ../src/option.c:833 ../src/option.c:996 +msgid "Kill parent process if cancel button is pressed" +msgstr "Ukončí rodičovský proces, ak je stlačený kláves Zrušiť" + +#: ../src/option.c:844 +msgid "Display notebook dialog" +msgstr "Zobrazí dialóg Zápisník" + +#: ../src/option.c:850 +msgid "Identifier of embedded dialogs" +msgstr "Identifikátor vnorených dialógov" + +#: ../src/option.c:856 +msgid "Add a tab to notebook" +msgstr "Pridá do zápisníka záložku" + +#: ../src/option.c:857 +msgid "LABEL" +msgstr "MENOVKA" + +#: ../src/option.c:862 +#, fuzzy +msgid "Set position of a notebook tabs (top, bottom, left or right)" +msgstr "Zobrazí indikátor zostávajúceho času (top, bottom, left, right)" + +#: ../src/option.c:868 +msgid "Set tab borders" +msgstr "Nastaví okraje záložky" + +#: ../src/option.c:878 msgid "Display notification" msgstr "Zobrazí ikonu informačnej oblasti" -#: ../src/option.c:737 +#: ../src/option.c:884 msgid "Set left-click action" msgstr "Nastaví akciu ľavého tlačidla myši" -#: ../src/option.c:743 +#: ../src/option.c:890 msgid "Listen for commands on stdin" msgstr "Prijíma príkazy zo štandardného vstupu" -#: ../src/option.c:749 +#: ../src/option.c:896 msgid "Set separator character for menu values" msgstr "Nastaví znak oddeľovača hodnôt menu" -#: ../src/option.c:755 +#: ../src/option.c:902 msgid "Set separator character for menu items" msgstr "Nastaví znak oddeľovača položiek menu" -#: ../src/option.c:765 +#: ../src/option.c:908 #, fuzzy +msgid "Set initial popup menu" +msgstr "Nastaví počiatočné písmo" + +#: ../src/option.c:909 +msgid "STRING" +msgstr "" + +#: ../src/option.c:914 +msgid "Disable exit on middle click" +msgstr "" + +#: ../src/option.c:924 msgid "Display printing dialog" -msgstr "Zobrazí dialóg Zoznam" +msgstr "Zobrazí dialóg Tlače" -#: ../src/option.c:771 -#, fuzzy +#: ../src/option.c:930 msgid "Source filename" -msgstr "Nastaví meno súboru" +msgstr "Meno zdrojového súboru" -#: ../src/option.c:777 +#: ../src/option.c:936 msgid "Set source type (TYPE - TEXT, IMAGE or RAW)" -msgstr "" +msgstr "Nastaví typ zdroja (TYP – TEXT, IMAGE alebo RAW)" -#: ../src/option.c:783 +#: ../src/option.c:942 msgid "Add headers to page" -msgstr "" +msgstr "Pridať hlavičky do stránky" -#: ../src/option.c:789 +#: ../src/option.c:948 msgid "Enable preview in print dialog" -msgstr "" +msgstr "Zapne ukážku pred tlačou v dialógu Tlače" -#: ../src/option.c:795 ../src/option.c:942 +#: ../src/option.c:954 ../src/option.c:1125 msgid "Use specified font" msgstr "Použije zadaný font" -#: ../src/option.c:805 +#: ../src/option.c:964 msgid "Display progress indication dialog" msgstr "Zobrazí dialóg Indikátor priebehu" -#: ../src/option.c:811 +#: ../src/option.c:970 msgid "Set progress text" msgstr "Nastaví text ukazovateľa" -#: ../src/option.c:817 +#: ../src/option.c:976 msgid "Set initial percentage" msgstr "Nastaví počiatočné percentá" -#: ../src/option.c:818 +#: ../src/option.c:977 msgid "PERCENTAGE" msgstr "PERCENTÁ" -#: ../src/option.c:823 +#: ../src/option.c:982 msgid "Pulsate progress bar" msgstr "Pulzujúci ukazovateľ priebehu" -#: ../src/option.c:830 +#: ../src/option.c:989 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" msgstr "Zatvorí dialóg pri dosiahnutí 100%" -#: ../src/option.c:837 -msgid "Kill parent process if cancel button is pressed" -msgstr "Ukončí rodičovský proces, ak je stlačený kláves Zrušiť" - -#: ../src/option.c:844 +#: ../src/option.c:1003 msgid "Right-To-Left progress bar direction" msgstr "Indikátor priebehu sprava doľava" -#: ../src/option.c:854 +#: ../src/option.c:1009 +msgid "Show log window" +msgstr "Zobrazí okno záznamu" + +#: ../src/option.c:1015 +msgid "Expand log window" +msgstr "Rozšíriť okno záznamu" + +#: ../src/option.c:1021 +msgid "Place log window above progress bar" +msgstr "Umiestni okno záznamu nad ukazovateľ" + +#: ../src/option.c:1027 +msgid "Height of log window" +msgstr "Výška okna záznamu" + +#: ../src/option.c:1037 msgid "Display scale dialog" msgstr "Zobrazí dialóg Posuvník" -#: ../src/option.c:860 +#: ../src/option.c:1043 msgid "Set initial value" msgstr "Nastaví východziu hodnotu" -#: ../src/option.c:861 ../src/option.c:867 ../src/option.c:873 -#: ../src/option.c:879 ../src/option.c:885 +#: ../src/option.c:1044 ../src/option.c:1050 ../src/option.c:1056 +#: ../src/option.c:1062 ../src/option.c:1068 msgid "VALUE" msgstr "HODNOTA" -#: ../src/option.c:866 +#: ../src/option.c:1049 msgid "Set minimum value" msgstr "Nastaví minimálnu hodnotu" -#: ../src/option.c:872 +#: ../src/option.c:1055 msgid "Set maximum value" msgstr "Nastaví maximálnu hodnotu" -#: ../src/option.c:878 +#: ../src/option.c:1061 msgid "Set step size" msgstr "Nastaví veľkosť kroku" -#: ../src/option.c:884 +#: ../src/option.c:1067 msgid "Set paging size" msgstr "Nastaví veľkosť skoku" -#: ../src/option.c:890 +#: ../src/option.c:1073 msgid "Print partial values" msgstr "Vypíše čiastočné hodnoty" -#: ../src/option.c:896 +#: ../src/option.c:1079 msgid "Hide value" msgstr "Skryje hodnotu" -#: ../src/option.c:902 +#: ../src/option.c:1085 msgid "Show vertical scale" msgstr "Zobrazí zvislý posuvník" -#: ../src/option.c:908 +#: ../src/option.c:1091 msgid "Invert direction" msgstr "Obráti smer" -#: ../src/option.c:914 +#: ../src/option.c:1097 msgid "Add mark to scale (may be used multiple times)" msgstr "Pridá značku do posuvníka (možno použiť viackrát)" -#: ../src/option.c:915 +#: ../src/option.c:1098 msgid "NAME:VALUE" msgstr "MENO:HODNOTA" -#: ../src/option.c:924 +#: ../src/option.c:1107 msgid "Display text information dialog" msgstr "Zobrazí dialóg Informačný text" -#: ../src/option.c:930 +#: ../src/option.c:1113 msgid "Use specified color for text" msgstr "Použije zadanú farbu textu" -#: ../src/option.c:936 +#: ../src/option.c:1119 msgid "Use specified color for background" msgstr "Použije zadanú farbu pozadia" -#: ../src/option.c:948 +#: ../src/option.c:1131 msgid "Enable text wrapping" msgstr "Zapne zalamovanie textu" -#: ../src/option.c:954 +#: ../src/option.c:1137 msgid "Set justification (TYPE - left, right, center or fill)" -msgstr "Nastaví zarovnanie (TYP - left, right, center alebo fill)" +msgstr "Nastaví zarovnanie (TYP – left, right, center alebo fill)" -#: ../src/option.c:960 +#: ../src/option.c:1143 msgid "Set text margins" msgstr "Nastaví okraje textu" -#: ../src/option.c:961 +#: ../src/option.c:1144 msgid "SIZE" msgstr "VEĽKOSŤ" -#: ../src/option.c:966 +#: ../src/option.c:1149 msgid "Autoscroll to end of text" -msgstr "Atoposun na koniec textu" +msgstr "Automaticky posunúť na koniec textu" -#: ../src/option.c:972 +#: ../src/option.c:1155 msgid "Open file" msgstr "Otvorí súbor" -#: ../src/option.c:984 +#: ../src/option.c:1167 msgid "Make URI clickable" -msgstr "Urobí URI klikateľné" +msgstr "Urobí URI kliknuteľné" + +#: ../src/option.c:1173 +msgid "Listen for data on stdin in addition to file" +msgstr "Prijímať dáta na stdin, ako doplnenie k súboru" -#: ../src/option.c:994 +#: ../src/option.c:1183 msgid "Show about dialog" msgstr "Zobrazí dialóg O programe" -#: ../src/option.c:1000 +#: ../src/option.c:1189 msgid "Print version" msgstr "Vypíše verziu" -#: ../src/option.c:1049 ../src/option.c:1236 +#: ../src/option.c:1199 +msgid "Load extra arguments from file" +msgstr "Načíta ďalšie argumenty zo súboru" + +#: ../src/option.c:1244 ../src/option.c:1459 #, c-format msgid "Unknown align type: %s\n" msgstr "Neznámy typ zarovnania: %s\n" -#: ../src/option.c:1194 +#: ../src/option.c:1401 #, c-format msgid "Mark %s doesn't have a value\n" msgstr "Značka %s nemá hodnotu\n" -#: ../src/option.c:1254 +#: ../src/option.c:1444 +#, c-format +msgid "Unknown buttons layout type: %s\n" +msgstr "Neznámy typ vzhľadu tlačidiel: %s\n" + +#: ../src/option.c:1476 #, c-format msgid "Unknown justification type: %s\n" msgstr "Neznámy typ zarovnania: %s\n" -#: ../src/option.c:1293 +#: ../src/option.c:1493 +#, fuzzy, c-format +msgid "Unknown tab position type: %s\n" +msgstr "Neznámy typ zarovnania: %s\n" + +#: ../src/option.c:1529 #, c-format msgid "Unknown ellipsize type: %s\n" msgstr "Neznámy typ výpustky: %s\n" -#: ../src/option.c:1309 -#, fuzzy, c-format +#: ../src/option.c:1544 +#, c-format msgid "Unknown source type: %s\n" -msgstr "Neznámy typ výpustky: %s\n" +msgstr "Neznámy typ zdroja: %s\n" + +#: ../src/option.c:1555 +msgid "Progress log" +msgstr "Spracuje záznam" + +#: ../src/option.c:1664 +#, c-format +msgid "Unknown signal: %s\n" +msgstr "Neznámy signál: %s\n" -#: ../src/option.c:1438 +#: ../src/option.c:1807 msgid "File exist. Overwrite?" msgstr "Súbor existuje. Prepísať ho?" -#: ../src/option.c:1520 +#: ../src/option.c:1900 msgid "Yet another dialoging program" -msgstr "Prosto ďalší dialógový program" +msgstr "Prosto ďalší program na dialógy" #. Adds general option entries -#: ../src/option.c:1524 +#: ../src/option.c:1904 msgid "General options" msgstr "Všeobecné voľby" -#: ../src/option.c:1525 +#: ../src/option.c:1904 msgid "Show general options" msgstr "Zobrazí všeobecné voľby" #. Adds calendar option entries -#: ../src/option.c:1531 +#: ../src/option.c:1910 msgid "Calendar options" msgstr "Voľby kalendára" -#: ../src/option.c:1532 +#: ../src/option.c:1910 msgid "Show calendar options" msgstr "Zobrazí voľby kalendára" #. Adds color option entries -#: ../src/option.c:1538 +#: ../src/option.c:1916 msgid "Color selection options" msgstr "Voľby výberu farby" -#: ../src/option.c:1539 +#: ../src/option.c:1916 msgid "Show color selection options" msgstr "Zobrazí voľby výberu farby" #. Adds dnd option entries -#: ../src/option.c:1545 +#: ../src/option.c:1922 msgid "DND options" msgstr "Voľby Ťahaj a Pusť" -#: ../src/option.c:1546 +#: ../src/option.c:1922 msgid "Show drag-n-drop options" msgstr "Zobrazí voľby pre Ťahaj a Pusť" #. Adds entry option entries -#: ../src/option.c:1552 +#: ../src/option.c:1928 msgid "Text entry options" msgstr "Voľby textovej položky" -#: ../src/option.c:1553 +#: ../src/option.c:1928 msgid "Show text entry options" msgstr "Zobrazí voľby textovej položky" #. Adds file selection option entries -#: ../src/option.c:1559 +#: ../src/option.c:1934 msgid "File selection options" msgstr "Voľby výberu súboru" -#: ../src/option.c:1560 +#: ../src/option.c:1934 msgid "Show file selection options" msgstr "Zobrazí voľby výberu súboru" #. Add font selection option entries -#: ../src/option.c:1566 +#: ../src/option.c:1940 msgid "Font selection options" msgstr "Voľby výberu písma" -#: ../src/option.c:1567 +#: ../src/option.c:1940 msgid "Show font selection options" msgstr "Zobrazí voľby výberu písma" #. Add form option entries -#: ../src/option.c:1573 +#: ../src/option.c:1946 msgid "Form options" msgstr "Voľby formulára" -#: ../src/option.c:1574 +#: ../src/option.c:1946 msgid "Show form options" msgstr "Zobrazí voľby formulára" #. Add icons option entries -#: ../src/option.c:1580 +#: ../src/option.c:1952 msgid "Icons box options" msgstr "Voľby dialógu ikon" -#: ../src/option.c:1581 +#: ../src/option.c:1952 msgid "Show icons box options" msgstr "Zobrazí voľby dialógu ikon" #. Adds list option entries -#: ../src/option.c:1587 +#: ../src/option.c:1958 msgid "List options" msgstr "Voľby zoznamu" -#: ../src/option.c:1588 +#: ../src/option.c:1958 msgid "Show list options" msgstr "Zobrazí voľby zoznamu" #. Adds multi progress option entries -#: ../src/option.c:1594 -#, fuzzy +#: ../src/option.c:1964 msgid "Multi progress bars options" -msgstr "Zobrazí voľby ukazovateľa priebehu" +msgstr "Voľby viacnásobného ukazovateľa priebehu" -#: ../src/option.c:1595 -#, fuzzy -msgid "Show Multi progress bars options" -msgstr "Zobrazí voľby ukazovateľa priebehu" +#: ../src/option.c:1965 +msgid "Show multi progress bars options" +msgstr "Zobrazí voľby viacnásobného ukazovateľa priebehu" + +#. Adds notebook option entries +#: ../src/option.c:1971 +msgid "Notebook options" +msgstr "Voľby zápisníka" + +#: ../src/option.c:1971 +msgid "Show notebook dialog options" +msgstr "Zobrazí voľby zápisníka" #. Adds notification option entries -#: ../src/option.c:1601 +#: ../src/option.c:1977 msgid "Notification icon options" msgstr "Voľby informačnej ikony" -#: ../src/option.c:1602 +#: ../src/option.c:1978 msgid "Show notification icon options" msgstr "Zobrazí voľby informačnej ikony" #. Adds print option entries -#: ../src/option.c:1608 -#, fuzzy +#: ../src/option.c:1984 msgid "Print dialog options" -msgstr "Voľby ukazovateľa priebehu" +msgstr "Voľby dialógu Tlače" -#: ../src/option.c:1609 -#, fuzzy +#: ../src/option.c:1984 msgid "Show print dialog options" -msgstr "Zobrazí voľby ukazovateľa priebehu" +msgstr "Zobrazí voľby dialógu Tlače" #. Adds progress option entries -#: ../src/option.c:1615 +#: ../src/option.c:1990 msgid "Progress options" msgstr "Voľby ukazovateľa priebehu" -#: ../src/option.c:1616 +#: ../src/option.c:1990 msgid "Show progress options" msgstr "Zobrazí voľby ukazovateľa priebehu" #. Adds scale option entries -#: ../src/option.c:1622 +#: ../src/option.c:1996 msgid "Scale options" msgstr "Voľby posuvníka" -#: ../src/option.c:1623 +#: ../src/option.c:1996 msgid "Show scale options" msgstr "Zobrazí voľby posuvníka" #. Adds text option entries -#: ../src/option.c:1629 +#: ../src/option.c:2002 msgid "Text information options" msgstr "Voľby textovej informácie" -#: ../src/option.c:1630 +#: ../src/option.c:2002 msgid "Show text information options" msgstr "Zobrazí voľby textovej informácie" #. Adds miscellaneous option entries -#: ../src/option.c:1636 +#: ../src/option.c:2008 msgid "Miscellaneous options" msgstr "Doplnkové voľby" -#: ../src/option.c:1637 +#: ../src/option.c:2008 msgid "Show miscellaneous options" msgstr "Zobrazí doplnkové voľby" -#: ../src/print.c:202 ../src/print.c:363 -#, fuzzy, c-format +#: ../src/print.c:202 ../src/print.c:361 +#, c-format msgid "Printing failed: %s\n" -msgstr "Nemožno otvoriť súbor %s: %s" +msgstr "Tlačenie zlyhalo %s\n" #: ../src/print.c:230 #, c-format msgid "File %s not found.\n" -msgstr "" +msgstr "Súbor %s nenájdený.\n" #: ../src/print.c:236 #, c-format msgid "Filename is not specified.\n" -msgstr "" +msgstr "Nebolo zadané meno súboru.\n" -#: ../src/print.c:379 +#: ../src/print.c:377 #, c-format msgid "Printer doesn't support ps format.\n" -msgstr "" +msgstr "Tlačiareň nepodporuje formát ps.\n" -#: ../src/print.c:387 +#: ../src/print.c:385 #, c-format msgid "Printer doesn't support pdf format.\n" -msgstr "" +msgstr "Tlačiareň nepodporuje formát pdf.\n" -#: ../src/print.c:393 +#: ../src/print.c:391 #, c-format msgid "This file type is not supported for raw printing.\n" -msgstr "" +msgstr "Tento typ súboru nie je podporovaný na surovú (raw) tlač.\n" -#: ../src/print.c:407 +#: ../src/print.c:405 #, c-format msgid "Load source file failed: %s\n" -msgstr "" +msgstr "Načítanie zdrojového súboru zlyhalo: %s\n" -#: ../src/color.c:64 -#, fuzzy, c-format +#: ../src/color.c:65 +#, c-format msgid "Can't open file %s: %s\n" -msgstr "Nemožno otvoriť súbor %s: %s" +msgstr "Nemožno otvoriť súbor %s: %s\n" #. create expander -#: ../src/color.c:149 +#: ../src/color.c:150 msgid "Palette" msgstr "Paleta" -#: ../src/color.c:171 +#: ../src/color.c:169 msgid "Color" msgstr "Farba" -#: ../src/color.c:188 +#: ../src/color.c:186 msgid "Name" msgstr "Meno" -#: ../src/text.c:271 +#: ../src/text.c:418 #, c-format msgid "Invalid UTF-8 data encountered reading file %s\n" msgstr "Pri čítaní súboru %s zistené neplatné UTF-8 dáta\n" -#: ../src/browser.c:129 +#: ../src/browser.c:132 msgid "scalable " -msgstr "scalable " +msgstr "škálovateľné" -#: ../src/browser.c:137 -#, c-format -msgid "" -"<b>Name:</b> %s\n" -"<b>Sizes:</b> %s\n" -"<b>Filename:</b> %s" -msgstr "" -"<b>Meno:</b> %s\n" -"<b>Veľkosť:</b> %s\n" -"<b>Meno súboru:</b> %s" - -#: ../src/browser.c:138 +#: ../src/browser.c:142 msgid "built-in" msgstr "zabudované" #. initialize GTK+ and parse the command line arguments -#: ../src/browser.c:197 +#: ../src/browser.c:200 msgid "- Icon browser" -msgstr "– Prezerač ikon" +msgstr "– Prehliadač ikon" -#: ../src/browser.c:210 +#: ../src/browser.c:213 msgid "Icon browser" -msgstr "Prezerač ikon" +msgstr "Prehliadač ikon" + +#: ../src/browser.c:247 +msgid "<b>Name:</b>" +msgstr "<b>Názov:</b>" + +#: ../src/browser.c:265 +msgid "<b>Sizes:</b>" +msgstr "<b>Veľkosť:</b>" + +#: ../src/browser.c:283 +msgid "<b>Filename:</b>" +msgstr "<b>Súbor:</b>" -#: ../src/browser.c:261 +#: ../src/browser.c:325 msgid "Category" msgstr "Kategória" -#: ../src/browser.c:294 +#: ../src/browser.c:356 msgid "Icons" msgstr "Ikony" #: ../data/yad-icon-browser.desktop.in.h:1 msgid "Icon Browser" -msgstr "Prezerač ikon" +msgstr "Prehliadač ikon" #: ../data/yad-icon-browser.desktop.in.h:2 msgid "Inspect GTK Icon Theme" msgstr "Preskúmať tému ikon GTK" +#~ msgid "Set alignment of tab labels (left, center or right)" +#~ msgstr "Nastaví zarovnanie menoviek záložiek (left, center alebo right)" + +#~ msgid "" +#~ "<b>Name:</b> %s\n" +#~ "<b>Sizes:</b> %s\n" +#~ "<b>Filename:</b> %s" +#~ msgstr "" +#~ "<b>Meno:</b> %s\n" +#~ "<b>Veľkosť:</b> %s\n" +#~ "<b>Meno súboru:</b> %s" + #, fuzzy -#~ msgid "Unknown unit type: %s\n" -#~ msgstr "Neznámy typ zarovnania: %s\n" +#~ msgid "NUM" +#~ msgstr "ČÍSLO" + +#~ msgid "Alias to checklist (deprecated)" +#~ msgstr "Alias pre Zaškrtávací zoznam (zastarané)" #, fuzzy #~ msgid "Unknown text align type: %s\n" @@ -1178,16 +1371,6 @@ #~ msgid "Error loading window icon %s: %s\n" #~ msgstr "Chyba načítania ikony okna %s: %s\n" -#, fuzzy -#~ msgid "NUM" -#~ msgstr "ČÍSLO" - -#~ msgid "Color options" -#~ msgstr "Voľby farby" - -#~ msgid "Show color options" -#~ msgstr "Zobraziť voľby farby" - #~ msgid "Value out of range.\n" #~ msgstr "Hodnota mimo rozsah.\n"
View file
yad-0.16.3.tar.bz2/po/uk.po -> yad-0.36.2.tar.xz/po/uk.po
Changed
@@ -1,21 +1,20 @@ # Ukrainian translation for YAD # This file is distributed under the same license as the YAD package. # -# Victor Ananjevsky <ananasik@gmail.com>, 2011. +# Victor Ananjevsky <ananasik@gmail.com>, 2011-2016. # msgid "" msgstr "" "Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-11-21 11:42+0200\n" +"POT-Creation-Date: 2016-04-26 15:58+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n" -"Language-Team: Ukrainian\n" -"Language: \n" +"Language-Team: \n" +"Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.11.2\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" @@ -39,153 +38,191 @@ "YAD. If not, see <http://www.gnu.org/licenses/>." msgstr "" "YAD - це вільна програма; ви можете розповсюджувати її та/чи змінювати на " -"умовах ліцензії GNU General Public License, що опублікована Free Software " -"Foundation; версії 2 цієї ліцензії, чи (на вашу думку) будь-якою більш " -"пізнішої версії.\n" +"умовах Загальної громадської ліцензії GNU, опублікованої Фондом вільного " +"програмного забезпечення; або версії 3 цієї ліцензії, або (на ваш вибір) " +"будь-якої пізнішої версії.\n" "Ця програма розповсюджується в сподіванні на те, що вона буде корисною, але " "БЕЗ БУДЬ-ЯКИХ ГАРАНТІЙ, в тому числі без неявної гарантії КОМЕРЦІЙНОЇ " -"ЦІННОСТІ чи ПРИДАТНОСТІ ДЛЯ БУДЬ-ЯКИХ ЦІЛЕЙ. Докладніше про це дивіться GNU " -"General Public License.\n" -"Ви мали отримати копію GNU General Public License разом з цією програмою; " -"якщо це не так, дивіться <http://www.gnu.org/licenses/>." +"ЦІННОСТІ чи ПРИДАТНОСТІ ДЛЯ БУДЬ-ЯКИХ ЦІЛЕЙ. Докладніше про це дивіться " +"Загальну громадську ліцензію GNU.\n" +"Ви мали отримати копію Загальної громадської ліцензії GNU разом з цією " +"програмою; якщо це не так, дивіться <http://www.gnu.org/licenses/>." -#: ../src/about.c:50 +#: ../src/about.c:43 +#, c-format msgid "" "Yet Another Dialog\n" "(show dialog boxes from shell scripts)\n" "\n" "Based on Zenity code\n" +"\n" +"Built with Webkit\n" +"Built with GtkSourceView\n" +"Built with GtkSpell\n" +"Using GTK+ %d.%d.%d\n" msgstr "" "Yet Another Dialog\n" -"(Програма для відображення диалогових вікон із скриптов оболонки)\n" +"(Програма для відображення діалогових вікон зі сценаріїв оболонки)\n" +"\n" +"Основана на коді Zenity\n" "\n" -"Базується на коді Zenity\n" +"Вбудована підтримка Webkit\n" +"Вбудована підтримка GtkSourceView\n" +"Вбудована підтримка GtkSpell\n" +"Використовується GTK+ %d.%d.%d\n" -#: ../src/calendar.c:39 ../src/text.c:241 +#: ../src/calendar.c:39 ../src/text.c:401 #, c-format msgid "Cannot open file '%s': %s\n" msgstr "Не можу відкрити файл %s: %s\n" -#: ../src/entry.c:158 ../src/scale.c:39 +#: ../src/entry.c:174 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" -msgstr "Максимальне значення повинно бути більше, ніж мінімальне.\n" +msgstr "Максимальне значення повинне бути більше за мінімальне.\n" -#: ../src/entry.c:164 ../src/scale.c:48 +# # FIXME: "Initial value IS less than minimal.\n" +#: ../src/entry.c:181 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" -msgstr "Початкове значення менше за мінімальне.\n" +msgstr "Початкове значення - менше за мінімальне.\n" -#: ../src/entry.c:169 ../src/scale.c:53 +# # FIXME: "Initial value IS greater than maximum.\n" +#: ../src/entry.c:186 ../src/scale.c:53 #, c-format msgid "Initial value greater than maximum.\n" -msgstr "Початкове значенння більше за маскимальне.\n" +msgstr "Початкове значення - більше за максимальне.\n" -#: ../src/form.c:305 +#: ../src/form.c:420 msgid "Select files" -msgstr "Обрати файли" +msgstr "Вибір файлу" -#: ../src/form.c:369 +#: ../src/form.c:428 +msgid "Select folders" +msgstr "Вибір каталогів" + +#: ../src/form.c:507 msgid "Select or create file" -msgstr "Обрати або створити файл" +msgstr "Вибір або створення файлу" -#: ../src/form.c:378 +#: ../src/form.c:515 msgid "Select or create folder" -msgstr "Обрати або створити каталог" +msgstr "Вибір або створення каталогу" -#: ../src/form.c:411 +#: ../src/form.c:566 msgid "Select date" -msgstr "Обрати дату" +msgstr "Вибір дати" -#: ../src/form.c:546 +#: ../src/form.c:856 msgid "Select file" -msgstr "Обрати файл" +msgstr "Вибір файлу" -#: ../src/form.c:553 +#: ../src/form.c:884 msgid "Select folder" -msgstr "Обрати каталог" +msgstr "Вибір каталогу" + +#: ../src/html.c:124 +msgid "YAD - Select File" +msgstr "YAD - Вибір файлу" -#: ../src/icons.c:247 +#: ../src/html.c:156 +msgid "Open URI" +msgstr "Відкрити URI" + +#: ../src/html.c:164 +msgid "Enter URI or file name:" +msgstr "Введіть URI або ім'я файлу:" + +#: ../src/icons.c:322 #, c-format msgid "Unable to parse file %s: %s\n" msgstr "Не можу розібрати файл %s: %s\n" -#: ../src/icons.c:264 +#: ../src/icons.c:339 #, c-format msgid "Unable to open directory %s: %s\n" msgstr "Не можу відкрити каталог %s: %s\n" -#: ../src/main.c:89 ../src/main.c:229 +#: ../src/main.c:94 ../src/main.c:441 #, c-format msgid "%d sec" msgstr "%d сек" -#: ../src/main.c:501 +#: ../src/main.c:670 ../src/main.c:677 +#, c-format +msgid "Unable to parse YAD_OPTIONS: %s\n" +msgstr "Не можу розібрати YAD_OPTIONS: %s\n" + +#: ../src/main.c:688 #, c-format -msgid "Unable parse command line: %s\n" -msgstr "Не вдається розібрати командну строку: %s\n" +msgid "Unable to parse command line: %s\n" +msgstr "Не вдається розібрати командний рядок: %s\n" -#: ../src/notification.c:82 +#: ../src/notification.c:118 #, c-format msgid "Could not load notification icon '%s': %s\n" msgstr "Не вдається завантажити іконку '%s': %s\n" -#: ../src/notification.c:261 +#: ../src/notification.c:301 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Неправильна послідовність UTF-8 у підказці!\n" -#: ../src/notification.c:323 +#: ../src/notification.c:345 #, c-format msgid "Unknown command '%s'\n" msgstr "Невідома команда '%s'\n" -#: ../src/notification.c:359 +#: ../src/notification.c:380 msgid "Yad notification" msgstr "Діалог повідомлень" -#: ../src/list.c:703 +#: ../src/list.c:918 msgid "Add row" -msgstr "Добавити строку" +msgstr "Додати рядок" -#: ../src/list.c:712 +#: ../src/list.c:925 msgid "Delete row" -msgstr "Видалити строку" +msgstr "Видалити рядок" -#: ../src/list.c:741 +#: ../src/list.c:932 +msgid "Duplicate row" +msgstr "Скопіювати рядок" + +#: ../src/list.c:971 #, c-format msgid "No column titles specified for List dialog.\n" -msgstr "Не задані заголовоки колонок для діалога зі списком\n" +msgstr "Не задані заголовки стовпчиків для діалогу зі списком\n" -#: ../src/option.c:62 +#: ../src/option.c:78 msgid "Set the dialog title" -msgstr "Задати заголовок діалога" +msgstr "Задати заголовок діалогу" -#: ../src/option.c:63 +#: ../src/option.c:78 msgid "TITLE" msgstr "ЗАГОЛОВОК" -#: ../src/option.c:68 +#: ../src/option.c:80 msgid "Set the window icon" -msgstr "Задати іконку діалога" +msgstr "Задати іконку діалогу" -#: ../src/option.c:69 +#: ../src/option.c:80 msgid "ICONPATH" msgstr "ІКОНКА" -#: ../src/option.c:74 +#: ../src/option.c:82 msgid "Set the width" msgstr "Задати ширину вікна" -#: ../src/option.c:75 +#: ../src/option.c:82 msgid "WIDTH" msgstr "ШИРИНА" -#: ../src/option.c:80 +#: ../src/option.c:84 msgid "Set the height" msgstr "Задати висоту вікна" -#: ../src/option.c:81 +#: ../src/option.c:84 msgid "HEIGHT" msgstr "ВИСОТА" @@ -193,966 +230,1386 @@ msgid "Set the window geometry" msgstr "Задати геометрію вікна" -#: ../src/option.c:87 +#: ../src/option.c:86 msgid "WxH+X+Y" msgstr "ВxШ+X+Y" -#: ../src/option.c:92 +#: ../src/option.c:88 msgid "Set dialog timeout in seconds" -msgstr "Задати врем'я роботи діалога в секундах" +msgstr "Задати час роботи діалогу в секундах" -#: ../src/option.c:93 +#: ../src/option.c:88 msgid "TIMEOUT" msgstr "ЗАТРИМКА" -#: ../src/option.c:98 +#: ../src/option.c:90 msgid "Show remaining time indicator (top, bottom, left, right)" -msgstr "Показувати індикатор затримки (top, bottom, left, right)" +msgstr "Показник часу, який залишився (top, bottom, left, right)" -#: ../src/option.c:99 +#: ../src/option.c:90 ../src/option.c:457 msgid "POS" msgstr "ПОЗИЦІЯ" -#: ../src/option.c:104 +#: ../src/option.c:92 msgid "Set the dialog text" -msgstr "Задати текст діалога" +msgstr "Задати текст діалогу" -#: ../src/option.c:105 ../src/option.c:135 ../src/option.c:348 -#: ../src/option.c:354 ../src/option.c:360 ../src/option.c:488 -#: ../src/option.c:812 +#: ../src/option.c:92 ../src/option.c:102 ../src/option.c:251 +#: ../src/option.c:253 ../src/option.c:255 ../src/option.c:291 +#: ../src/option.c:394 ../src/option.c:485 ../src/option.c:500 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:110 -msgid "Set the dialog text alignment (left, center, right)" -msgstr "Задати вирівнювання тексту діалога (left, center або right)" +#: ../src/option.c:94 +msgid "Set the dialog text alignment (left, center, right, fill)" +msgstr "Задати вирівнювання тексту діалогу (left, center, right, fill)" -#: ../src/option.c:111 ../src/option.c:510 ../src/option.c:658 -#: ../src/option.c:778 ../src/option.c:955 +#: ../src/option.c:94 ../src/option.c:108 ../src/option.c:193 +#: ../src/option.c:303 ../src/option.c:328 ../src/option.c:380 +#: ../src/option.c:416 ../src/option.c:433 ../src/option.c:455 +#: ../src/option.c:465 ../src/option.c:475 ../src/option.c:544 msgid "TYPE" msgstr "ТИП" -#: ../src/option.c:116 +#: ../src/option.c:96 msgid "Set the dialog image" -msgstr "Задати картинку діалога" +msgstr "Задати зображення діалогу" -#: ../src/option.c:117 ../src/option.c:384 ../src/option.c:396 +#: ../src/option.c:96 ../src/option.c:261 ../src/option.c:265 msgid "IMAGE" -msgstr "КАРТИНКА" +msgstr "ЗОБРАЖЕННЯ" -#: ../src/option.c:122 +#: ../src/option.c:98 msgid "Show image above main widget" -msgstr "Показувати картинку над основним віджетом" +msgstr "Показувати зображення над основним віджетом" -#: ../src/option.c:128 +#: ../src/option.c:100 msgid "Use specified icon theme instead of default" msgstr "Використовувати вказану тему іконок" -#: ../src/option.c:129 +#: ../src/option.c:100 msgid "THEME" msgstr "ТЕМА" -#: ../src/option.c:134 +#: ../src/option.c:102 msgid "Hide main widget with expander" msgstr "Приховати головний віджет" -#: ../src/option.c:140 +#: ../src/option.c:104 msgid "Add dialog button (may be used multiple times)" msgstr "Додати кнопку (може використовуватись декілька разів)" -#: ../src/option.c:141 +#: ../src/option.c:104 msgid "NAME:ID" msgstr "ІМ'Я:ID" -#: ../src/option.c:146 +#: ../src/option.c:106 msgid "Don't show buttons" msgstr "Не показувати кнопки" -#: ../src/option.c:152 +#: ../src/option.c:108 +msgid "Set buttons layout type (spread, edge, start, end or center)" +msgstr "Задати тип розміщення кнопок (spread, edge, start, end або center)" + +# # (розкидано, по краю, на початку, по центру) +#: ../src/option.c:110 msgid "Don't use pango markup language in dialog's text" -msgstr "Не використовувати розмітку pango у тексті" +msgstr "Не використовувати розмітку pango в тексті" -#: ../src/option.c:159 -msgid "Add separator between dialog and buttons" -msgstr "Додати розділювач між діалогом та кнопками" +#: ../src/option.c:112 +msgid "Don't close dialog if Escape was pressed" +msgstr "Не закривати діалог, якшо натиснуто Escape" -#: ../src/option.c:166 +#: ../src/option.c:114 msgid "Set window borders" -msgstr "Задати межи вікна" +msgstr "Встановити межі вікна" -#: ../src/option.c:167 ../src/option.c:516 ../src/option.c:664 -#: ../src/option.c:670 ../src/option.c:676 ../src/option.c:682 -#: ../src/option.c:688 +#: ../src/option.c:114 ../src/option.c:145 ../src/option.c:163 +#: ../src/option.c:305 ../src/option.c:311 ../src/option.c:382 +#: ../src/option.c:384 ../src/option.c:386 ../src/option.c:388 +#: ../src/option.c:390 ../src/option.c:392 ../src/option.c:396 +#: ../src/option.c:414 ../src/option.c:435 ../src/option.c:467 msgid "NUMBER" msgstr "ЧИСЛО" -#: ../src/option.c:172 +#: ../src/option.c:116 msgid "Always print result" msgstr "Завжди виводити результат" -#: ../src/option.c:178 +#: ../src/option.c:118 msgid "Dialog text can be selected" -msgstr "Текст діалога може буди виділеним" +msgstr "Текст діалогу може буди виділеним" -#: ../src/option.c:185 +#: ../src/option.c:121 msgid "Set window sticky" -msgstr "Вікно існує на всіх робочих місцях" +msgstr "Вікно на всіх стільницях" -#: ../src/option.c:191 +#: ../src/option.c:123 msgid "Set window unresizable" -msgstr "Незмінний розмір" +msgstr "Незмінний розмір вікна" -#: ../src/option.c:197 +#: ../src/option.c:125 msgid "Place window on top" -msgstr "Поместити вікно над іншими" +msgstr "Розташувати вікно над іншими" -#: ../src/option.c:203 +#: ../src/option.c:127 msgid "Place window on center of screen" -msgstr "Поместити вікно у центрі экрану" +msgstr "Розташувати вікно по центру екрана" -#: ../src/option.c:209 +#: ../src/option.c:129 msgid "Place window at the mouse position" -msgstr "Поместити вікно у позиції мишки" +msgstr "Розташувати вікно в положенні мишки" -#: ../src/option.c:215 +#: ../src/option.c:131 msgid "Set window undecorated" -msgstr "Відалити границі вікна" +msgstr "Прибрати декорації вікна" -#: ../src/option.c:221 +#: ../src/option.c:133 msgid "Don't show window in taskbar" -msgstr "Не показувати вікно у панелі задач" +msgstr "Не показувати вікна в панелі завдань" + +#: ../src/option.c:135 +msgid "Set window maximized" +msgstr "Задати вікну максимальний розмір" + +#: ../src/option.c:137 +msgid "Set window fulscreen" +msgstr "Розгорнути вікно на весь екран" -#: ../src/option.c:228 -msgid "Send TERM to parent" -msgstr "Послати TERM родителю" +#: ../src/option.c:139 +msgid "Don't focus dialog window" +msgstr "Не надавати фокус вікну діалогу" -#: ../src/option.c:234 +#: ../src/option.c:141 +msgid "Open window as a splashscreen" +msgstr "Відкрити вікно у режимі splashscreen" + +#: ../src/option.c:143 +msgid "Special type of dialog for XEMBED" +msgstr "Особливий режим діалогу для вбудовування" + +#: ../src/option.c:143 ../src/option.c:191 +msgid "KEY" +msgstr "КЛЮЧ" + +#: ../src/option.c:145 +msgid "Tab nubmer of this dialog" +msgstr "Номер вкладки для цього діалогу" + +#: ../src/option.c:148 +msgid "XID of parent window" +msgstr "Ідентифікатор батьківського вікна" + +#: ../src/option.c:150 +msgid "Send SIGNAL to parent" +msgstr "Послати СИГНАЛ батьківському процесу" + +#: ../src/option.c:150 +msgid "SIGNAL" +msgstr "СИГНАЛ" + +#: ../src/option.c:152 msgid "Print X Window Id to the stderr" msgstr "Вивести ідентифікатор вікна на stderr" -#: ../src/option.c:245 +#: ../src/option.c:155 +msgid "Add path for search icons by name" +msgstr "Додати каталог для пошуку іконок" + +#: ../src/option.c:155 +msgid "PATH" +msgstr "КАТАЛОГ" + +#: ../src/option.c:161 +msgid "Set the format for the returned date" +msgstr "Задати формат відображення дати" + +#: ../src/option.c:161 ../src/option.c:348 +msgid "PATTERN" +msgstr "ШАБЛОН" + +#: ../src/option.c:163 +msgid "Set presicion of floating numbers (default - 3)" +msgstr "Задати точнісь чисел з плаваючою точкою (за умовчанням - 3)" + +#: ../src/option.c:165 +msgid "Set command handler" +msgstr "Задати команду-обробник" + +#: ../src/option.c:165 ../src/option.c:263 ../src/option.c:267 +#: ../src/option.c:398 ../src/option.c:400 +msgid "CMD" +msgstr "КОМАНДА" + +#: ../src/option.c:167 +msgid "Listen for data on stdin" +msgstr "Читати дані зі стандартного вводу" + +#: ../src/option.c:169 +msgid "Set common separator character" +msgstr "Встановити загальний розділювач" + +#: ../src/option.c:169 ../src/option.c:171 +msgid "SEPARATOR" +msgstr "РОЗДІЛЮВАЧ" + +#: ../src/option.c:171 +msgid "Set item separator character" +msgstr "Встановити розділювач для елементів" + +#: ../src/option.c:173 +msgid "Allow changes to text in some cases" +msgstr "Дозволити змінювати текст у деяких режимах" + +#: ../src/option.c:175 +msgid "Quote dialogs output" +msgstr "Виводити значення у лапках" + +#: ../src/option.c:177 +msgid "Output number instead of text for combo-box" +msgstr "Виводити число замість тексту для списку значень" + +#: ../src/option.c:179 +msgid "Specify font name to use" +msgstr "Задати ім'я використовуємого шрифту" + +#: ../src/option.c:179 +msgid "FONTNAME" +msgstr "НАЗВА_ШРИФТУ" + +#: ../src/option.c:181 +msgid "Allow multiple selection" +msgstr "Дозволити вибір декількох елементів" + +#: ../src/option.c:183 +msgid "Enable preview" +msgstr "Додати попередній перегляд" + +#: ../src/option.c:185 +msgid "Show hidden files in file selection dialogs" +msgstr "Відобразити скриті файли у діалозі вибору файла" + +#: ../src/option.c:187 +msgid "Set source filename" +msgstr "Задати ім'я файлу" + +#: ../src/option.c:187 ../src/option.c:213 ../src/option.c:227 +#: ../src/option.c:582 ../src/option.c:588 +msgid "FILENAME" +msgstr "НАЗВА ФАЙЛУ" + +#: ../src/option.c:189 +msgid "Set vertical orientation" +msgstr "Викорістовувати вертикальну орієнтацію" + +#: ../src/option.c:191 +msgid "Identifier of embedded dialogs" +msgstr "Ідентифікатор діалогів що вбудовуваються" + +#: ../src/option.c:193 +msgid "Set extended completion for entries (any, all, or regex)" +msgstr "Задати розширене доповнення для текстових полів (any, all або regex)" + +#: ../src/option.c:196 +msgid "Enable spell check for text" +msgstr "Дозволити перевірку правопису" + +#: ../src/option.c:198 +msgid "Set spell checking language" +msgstr "Задати мову для перевірки правопису" + +#: ../src/option.c:198 +msgid "LANGUAGE" +msgstr "МОВА" + +#: ../src/option.c:205 msgid "Display calendar dialog" msgstr "Відобразити діалог для вибору дати" -#: ../src/option.c:251 +#: ../src/option.c:207 msgid "Set the calendar day" -msgstr "Задати день календаря" +msgstr "Задати календарний день" -#: ../src/option.c:252 +#: ../src/option.c:207 msgid "DAY" msgstr "ДЕНЬ" -#: ../src/option.c:257 +#: ../src/option.c:209 msgid "Set the calendar month" -msgstr "Задати місяць календаря" +msgstr "Задати календарний місяць" -#: ../src/option.c:258 +#: ../src/option.c:209 msgid "MONTH" msgstr "МІСЯЦЬ" -#: ../src/option.c:263 +#: ../src/option.c:211 msgid "Set the calendar year" -msgstr "Задати год календаря" +msgstr "Задати календарний рік" -#: ../src/option.c:264 +#: ../src/option.c:211 msgid "YEAR" -msgstr "ГОД" - -#: ../src/option.c:269 ../src/option.c:533 -msgid "Set the format for the returned date" -msgstr "Задати формат відображення дати" +msgstr "РІК" -#: ../src/option.c:270 ../src/option.c:534 ../src/option.c:581 -msgid "PATTERN" -msgstr "ШАБЛОН" - -#: ../src/option.c:275 +#: ../src/option.c:213 msgid "Set the filename with dates details" -msgstr "Задати ім'я файла з описанням дат" +msgstr "Задати назву файлу з описом дат" -#: ../src/option.c:276 ../src/option.c:304 ../src/option.c:424 -#: ../src/option.c:772 ../src/option.c:973 -msgid "FILENAME" -msgstr "ІМ'Я ФАЙЛА" - -#: ../src/option.c:285 +#: ../src/option.c:219 msgid "Display color selection dialog" -msgstr "Відобразити діалог для вибору коліра" +msgstr "Відобразити діалог для вибору кольору" -#: ../src/option.c:291 +#: ../src/option.c:221 msgid "Alias for --color" -msgstr "Синоним для --color" +msgstr "Синонім для --color" -#: ../src/option.c:297 +#: ../src/option.c:223 msgid "Set initial color value" msgstr "Задати початковий колір" -#: ../src/option.c:298 ../src/option.c:931 ../src/option.c:937 +#: ../src/option.c:223 ../src/option.c:538 ../src/option.c:540 +#: ../src/option.c:554 msgid "COLOR" msgstr "КОЛІР" -#: ../src/option.c:303 +#: ../src/option.c:225 +msgid "Show system palette in color dialog" +msgstr "Відобразити системну палітру" + +#: ../src/option.c:227 msgid "Set path to palette file. Default - " -msgstr "Задати путь до файлу кольорів. Без імені - " +msgstr "Задати шлях до файлу кольорів. Без назви - " -#: ../src/option.c:309 +#: ../src/option.c:229 +msgid "Expand user palette" +msgstr "Розкривати палітру користувача" + +#: ../src/option.c:231 +msgid "Set output mode to MODE. Values are hex (default) or rgb" +msgstr "" +"Встановити режим вивода в РЕЖИМ. Значення - hex (за умовчанням) або rgb" + +#: ../src/option.c:231 +msgid "MODE" +msgstr "РЕЖИМ" + +#: ../src/option.c:233 msgid "Use #rrrrggggbbbb format instead of #rrggbb" -msgstr "Викорістовувати формат #rrrrggggbbbb замість #rrggbb" +msgstr "Використовувати формат #rrrrggggbbbb замість #rrggbb" + +#: ../src/option.c:235 +msgid "Add opacity to output color value" +msgstr "Додати прозорість до значення кольору" -#: ../src/option.c:319 +#: ../src/option.c:241 msgid "Display drag-n-drop box" msgstr "Відобразити діалог для перехоплення dnd" -#: ../src/option.c:325 +#: ../src/option.c:243 msgid "Use dialog text as tooltip" -msgstr "Використовувати текст діалога у якості підказки" +msgstr "Використовувати текст діалогу в якості підказки" -#: ../src/option.c:331 -msgid "Set command for process d-n-d data" -msgstr "Команда для обробки отриманих даних" - -#: ../src/option.c:332 ../src/option.c:390 ../src/option.c:402 -#: ../src/option.c:694 ../src/option.c:738 -msgid "CMD" -msgstr "КОМАНДА" - -#: ../src/option.c:341 +#: ../src/option.c:249 msgid "Display text entry or combo-box dialog" msgstr "Відобразити діалог для вводу тексту або вибору варіанта" -#: ../src/option.c:347 +#: ../src/option.c:251 msgid "Set the entry label" -msgstr "Задати метку поля ввода" +msgstr "Задати мітку поля вводу" -#: ../src/option.c:353 +#: ../src/option.c:253 msgid "Set the entry text" msgstr "Задати текст для поля вводу" -#: ../src/option.c:359 +#: ../src/option.c:255 msgid "Hide the entry text" -msgstr "Сховати введений текст (Пароль)" +msgstr "Приховати введений текст (Пароль)" -#: ../src/option.c:365 +#: ../src/option.c:257 msgid "Use completion instead of combo-box" msgstr "Використовувати автозаповнення замість списку значень" -#: ../src/option.c:371 +#: ../src/option.c:259 msgid "Use spin button for text entry" msgstr "Використовувати числове поле замість тексту" -#: ../src/option.c:377 -msgid "Allow changes to text in combo-box" -msgstr "Дозволити змінювати текст у режимі выбору варіанта" - -#: ../src/option.c:383 +#: ../src/option.c:261 msgid "Set the left entry icon" -msgstr "Задати леву іконку" +msgstr "Задати ліву іконку" -#: ../src/option.c:389 +#: ../src/option.c:263 msgid "Set the left entry icon action" msgstr "Дія для лівої іконки" -#: ../src/option.c:395 +#: ../src/option.c:265 msgid "Set the right entry icon" msgstr "Задати праву іконку" -#: ../src/option.c:401 +#: ../src/option.c:267 msgid "Set the right entry icon action" msgstr "Дія для правої іконки" -#: ../src/option.c:411 +#: ../src/option.c:273 msgid "Display file selection dialog" -msgstr "Відобразити діалог для выбору файла" +msgstr "Відобразити діалог для вибору файла" -#: ../src/option.c:417 +#: ../src/option.c:275 msgid "Alias for --file" -msgstr "Синоним для --file" - -#: ../src/option.c:423 -msgid "Set the filename" -msgstr "Задати ім'я файла" +msgstr "Синонім для --file" -#: ../src/option.c:429 -msgid "Allow multiple files to be selected" -msgstr "Дозволити вибір декільких файлів" - -#: ../src/option.c:435 +#: ../src/option.c:277 msgid "Activate directory-only selection" -msgstr "Активувати виделення тільки по каталогам" +msgstr "Активувати виділення тільки по каталогах" -#: ../src/option.c:441 +#: ../src/option.c:279 msgid "Activate save mode" -msgstr "Активувавти режим зберігання" +msgstr "Активувати режим зберігання" -#: ../src/option.c:447 ../src/option.c:521 ../src/option.c:633 -msgid "Set output separator character" -msgstr "Установити вихідний розділювач" - -#: ../src/option.c:448 ../src/option.c:522 ../src/option.c:528 -#: ../src/option.c:634 ../src/option.c:750 ../src/option.c:756 -msgid "SEPARATOR" -msgstr "РОЗДІЛЮВАЧ" - -#: ../src/option.c:453 +#: ../src/option.c:281 msgid "Confirm file selection if filename already exists" msgstr "Підтвердити вибір файлу, якщо файл вже існує" -#: ../src/option.c:454 +#: ../src/option.c:281 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:459 -msgid "Sets a filename filter" -msgstr "Задати фільтр файлів" - -#: ../src/option.c:460 -msgid "NAME | PATTERN1 PATTERN2 ..." -msgstr "ІМ'Я | ШАБЛОН1 ШАБЛОН2 ..." - -#: ../src/option.c:469 +#: ../src/option.c:287 msgid "Display font selection dialog" -msgstr "Відобразити діалог для выбору шрифта" +msgstr "Відобразити діалог для вибору шрифту" -#: ../src/option.c:475 +#: ../src/option.c:289 msgid "Alias for --font" -msgstr "Синоним для --font" - -#: ../src/option.c:481 -msgid "Set initial font" -msgstr "Задати початковий шрифт" +msgstr "Синонім для --font" -#: ../src/option.c:482 ../src/option.c:796 ../src/option.c:943 -msgid "FONTNAME" -msgstr "ІМ'Я_ШРИФТА" +#: ../src/option.c:291 +msgid "Set text string for preview" +msgstr "Задати текстову стрічку для передогляду" -#: ../src/option.c:487 -msgid "Set preview text" -msgstr "Задати текст зразка" +#: ../src/option.c:293 +msgid "Separate output of font description" +msgstr "Розділяти вивід описа шрифта" -#: ../src/option.c:497 +#: ../src/option.c:299 msgid "Display form dialog" msgstr "Відобразити діалог форми вводу" -#: ../src/option.c:503 -msgid "" -"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, DIR, CDIR, FN, " -"MFL, DT, CLR, BTN or LBL)" +#: ../src/option.c:301 +msgid "Add field to form (see man page for list of possible types)" msgstr "" -"Додати поле до форми (Тип поля: Н, RO, NUM, CHK, CB, CBE, FL, SFL, DIR, " -"CDIR, FN, MFL, DT, CLR, BTN або LBL)" +"Додати поле до форми (дивись сторінку керівництва для отримання списку типів)" -#: ../src/option.c:504 ../src/option.c:716 +#: ../src/option.c:301 ../src/option.c:412 msgid "LABEL:TYPE" msgstr "МІТКА:ТИП" -#: ../src/option.c:509 -msgid "Set alignment of fileds labels (left, center or right)" -msgstr "Задати вирівнювання міток полей (left, center або right)" +#: ../src/option.c:303 +msgid "Set alignment of filed labels (left, center or right)" +msgstr "Задати вирівнювання міток полів (left, center або right)" -#: ../src/option.c:515 +#: ../src/option.c:305 msgid "Set number of columns in form" -msgstr "Задати кількість колонок у формі" +msgstr "Задати кількість стовпчиків у формі" + +#: ../src/option.c:307 +msgid "Make form scrollable" +msgstr "Додати прокрутку до форми" -#: ../src/option.c:527 -msgid "Set separator character for combobox or scale data" -msgstr "Задати рохділювач для даних списку або числового поля" +#: ../src/option.c:309 +msgid "Order output fields by rows" +msgstr "Упорядкувати виведення по рядках" + +#: ../src/option.c:311 +msgid "Set focused field" +msgstr "Задати поле що отримує фокус" + +#: ../src/option.c:313 +msgid "Cycled reading of stdin data" +msgstr "Циклічне читання зі стандартного вводу" + +#: ../src/option.c:320 +msgid "Display HTML dialog" +msgstr "Відобразити HTML діалог" + +#: ../src/option.c:322 +msgid "Open specified location" +msgstr "Відкрити вказану адресу" + +#: ../src/option.c:324 +msgid "Turn on browser mode" +msgstr "Ввімкнути режим браузеру" + +#: ../src/option.c:326 +msgid "Print clicked uri to stdout" +msgstr "Друкувати натиснуті зсилки" + +#: ../src/option.c:328 +msgid "Set mime type of input stream data" +msgstr "Задати тип mime для вхідних даних" + +#: ../src/option.c:330 +msgid "Set encoding of input stream data" +msgstr "Задати кодування для вхідних даних" -#: ../src/option.c:543 +#: ../src/option.c:330 +msgid "ENCODING" +msgstr "КОДУВАННЯ" + +#: ../src/option.c:337 msgid "Display icons box dialog" msgstr "Відобразити діалог з іконками швидкого доступу" -#: ../src/option.c:549 +#: ../src/option.c:339 msgid "Read data from .desktop files in specified directory" -msgstr "Читати дані з .desktop файлів в заданому каталозі" +msgstr "Читати дані з файлів .desktop у вказаному каталозі" -#: ../src/option.c:550 -msgid "DIRECTORY" +#: ../src/option.c:339 +msgid "DIR" msgstr "КАТАЛОГ" -#: ../src/option.c:555 +#: ../src/option.c:341 msgid "Use compact (list) view" -msgstr "Використовувати компактний вид (список)" +msgstr "Використовувати компактний вигляд (список)" -#: ../src/option.c:561 +#: ../src/option.c:343 msgid "Use GenericName field instead of Name for icon label" -msgstr "Використовувати поле GenericName замість Name для метки" +msgstr "Використовувати поле GenericName замість Name для мітки" -#: ../src/option.c:567 -msgid "Read data from stdin" -msgstr "Читати дані зі стандартного вводу" - -#: ../src/option.c:573 +#: ../src/option.c:345 msgid "Set the width of dialog items" -msgstr "Задати ширину елементу діалога" +msgstr "Задати ширину елемента діалогу" -#: ../src/option.c:580 +#: ../src/option.c:348 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" msgstr "" -"Використовувати вказаний шаблон для запуску у терміналі (без шаблону: xterm -" +"Використовувати вказаний шаблон для запуску в терміналі (без шаблону: xterm -" "e %s)" -#: ../src/option.c:586 +#: ../src/option.c:350 msgid "Sort items by name instead of filename" -msgstr "Сортувати по полю Ім'я замість файла" +msgstr "Сортувати по полю Назва замість назви файлу" -#: ../src/option.c:592 +#: ../src/option.c:352 msgid "Sort items in descending order" -msgstr "Сортувати у порядку пониження" +msgstr "Сортувати в порядку спадання" + +#: ../src/option.c:354 +msgid "Activate items by single click" +msgstr "Активувати елемент одним натисненням" + +#: ../src/option.c:357 +msgid "Watch fot changes in directory" +msgstr "Слідкувати за змінами в каталозі" -#: ../src/option.c:602 +#: ../src/option.c:364 msgid "Display list dialog" msgstr "Відобразити діалог зі списком" -#: ../src/option.c:608 -msgid "Don't show column headers" -msgstr "Не показувати заголовки колонок" - -#: ../src/option.c:614 -msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, IMG or TIP)" -msgstr "Задати заголовок стовбця (ТИП - TEXT, NUM, FLT, CHK, IMG або TIP)" +#: ../src/option.c:366 +msgid "Set the column header (see man page for list of possible types)" +msgstr "" +"Задати заголовок стовпчика (дивись сторінку керівництва для отримання списку " +"типів)" -#: ../src/option.c:615 +#: ../src/option.c:366 msgid "COLUMN:TYPE" -msgstr "СТОЛБЕЦЬ:ТИП" +msgstr "СТОВПЧИК:ТИП" -#: ../src/option.c:620 -msgid "Use check boxes for first column" -msgstr "Вікористовувати флажки для першої колонки" +#: ../src/option.c:368 +msgid "Use checkboxes for first column" +msgstr "Використовувати відмітки для першого стовпчика" -#: ../src/option.c:626 -msgid "Alias to checklist (deprecated)" -msgstr "Синоним для checklist" +#: ../src/option.c:370 +msgid "Use radioboxes for first column" +msgstr "Використовувати перемикач для першого стовпчика" + +#: ../src/option.c:372 +msgid "Don't show column headers" +msgstr "Не показувати заголовки стовпчиків" -#: ../src/option.c:639 -msgid "Allow multiple rows to be selected" -msgstr "Дозволити вибір декількох строк" +#: ../src/option.c:374 +msgid "Disable clickable column headers" +msgstr "Заборонити натискати на заголовок" -#: ../src/option.c:645 ../src/option.c:978 -msgid "Allow changes to text" -msgstr "Дозволити зминювати текст" +#: ../src/option.c:376 +msgid "Disable rules hints" +msgstr "Заборонити розмальовку стрічок" -#: ../src/option.c:651 +#: ../src/option.c:378 msgid "Print all data from list" msgstr "Виводити таблицю повністю" -#: ../src/option.c:657 -msgid "Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)" +#: ../src/option.c:380 +msgid "Set ellipsize mode for text columns (none, start, middle or end)" msgstr "" -"Задати тип усікання для текстових стовбців (ТИП - NONE, START, MIDDLE або " -"END)" +"Задати тип урізання для текстових стовпчиків (none, start, middle або end)" -#: ../src/option.c:663 +#: ../src/option.c:382 msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" msgstr "" -"Виводити тільки вказаний стовбець. Без вказівки або якщо стовбець дорівнює " -"0, будуть виведені усі стовбці" +"Виводити тільки вказаний стовпчик. Без вказівки або якщо стовпчик дорівнює " +"0, будуть виведені усі стовпчики" -#: ../src/option.c:669 +#: ../src/option.c:384 msgid "Hide a specific column" -msgstr "Сховати вказаний стовбець" +msgstr "Сховати вказаний стовпчик" -#: ../src/option.c:675 +#: ../src/option.c:386 msgid "Set the column expandable by default. 0 sets all columns expandable" -msgstr "Задати колонку, яка расширюється. 0 розширює усі колонки" +msgstr "Задати стовпчик, який розширюється. 0 розширює всі стовпчики" -#: ../src/option.c:681 +#: ../src/option.c:388 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" msgstr "" -"Задати колонку пошуку. Без вказівки вікорістовується перший стовбчик. 0 " -"забороняє пошук" +"Задати стовпчик швидкого пошуку. Без вказівки використовується перший " +"стовпчик. 0 забороняє пошук" -#: ../src/option.c:687 +#: ../src/option.c:390 +msgid "Set the tooltip column" +msgstr "Задати стовпчик підказок" + +#: ../src/option.c:392 +msgid "Set the row separator column" +msgstr "Задати стовпчик розділювача стрічок" + +#: ../src/option.c:394 +msgid "Set the row separator value" +msgstr "Задати значення розділювача стрічок" + +#: ../src/option.c:396 msgid "Set the limit of rows in list" msgstr "Задати кількість рядків у списку" -#: ../src/option.c:693 +#: ../src/option.c:398 msgid "Set double-click action" -msgstr "Дія для подвійного кліку мишки" +msgstr "Дія для подвійного натискання мишки" + +#: ../src/option.c:400 +msgid "Set select action" +msgstr "Дія при виділенні стрічки" -#: ../src/option.c:699 +#: ../src/option.c:402 msgid "Use regex in search" -msgstr "Використовувати регулярні вирази у пошуку" +msgstr "Використовувати регулярні вирази в пошуку" -#: ../src/option.c:709 +#: ../src/option.c:404 +msgid "Disable selection" +msgstr "Заборонити виділення" + +#: ../src/option.c:410 msgid "Display multi progress bars dialog" -msgstr "Відобразити діалог с декількома індикаторами" +msgstr "Відобразити діалог з декількома індикаторами виконання" + +#: ../src/option.c:412 +msgid "Add the progress bar (norm, rtl or pulse)" +msgstr "Додати індикатор виконання (norm, rtl або pulse)" + +#: ../src/option.c:414 +msgid "Watch for specific bar for auto close" +msgstr "Слідкувати за певним індикатором для автозакриття" -#: ../src/option.c:715 -msgid "Add the progress bar (TYPE - NORM, RTL or PULSE)" -msgstr "Додати індикатор (ТИП - NORM, RTL або PULSE)" +#: ../src/option.c:416 +msgid "Set alignment of bar labels (left, center or right)" +msgstr "Задати вирівнювання міток індикаторів (left, center або right)" + +#: ../src/option.c:419 +#, no-c-format +msgid "Dismiss the dialog when 100% of all bars has been reached" +msgstr "Закрити діалог по досягненні 100% усіма індикаторами" -#: ../src/option.c:721 -msgid "Show vertical bars" -msgstr "Відобразити вертикальні індикатори" +#: ../src/option.c:422 ../src/option.c:495 +msgid "Kill parent process if cancel button is pressed" +msgstr "Завершити батьківський процес, якщо натиснута кнопка відміни" + +#: ../src/option.c:429 +msgid "Display notebook dialog" +msgstr "Відобразити діалог із вкладинками" -#: ../src/option.c:731 +#: ../src/option.c:431 +msgid "Add a tab to notebook" +msgstr "Додати вкладку" + +#: ../src/option.c:431 +msgid "LABEL" +msgstr "МІТКА" + +#: ../src/option.c:433 +msgid "Set position of a notebook tabs (top, bottom, left or right)" +msgstr "Задати позицію ярлика вкладки (top, bottom, left, або right)" + +#: ../src/option.c:435 +msgid "Set tab borders" +msgstr "Задати межі вкладок" + +#: ../src/option.c:441 msgid "Display notification" msgstr "Відобразити діалог повідомлень" -#: ../src/option.c:737 -msgid "Set left-click action" -msgstr "Дія для лівого кліку мишки" +#: ../src/option.c:443 +msgid "Set initial popup menu" +msgstr "Задати початкове меню" + +#: ../src/option.c:443 +msgid "STRING" +msgstr "РЯДОК" + +#: ../src/option.c:445 +msgid "Disable exit on middle click" +msgstr "Заборонити вихід середньою кнопкою мишки" + +#: ../src/option.c:447 +msgid "Doesn't show icon at startup" +msgstr "Не показувати іконку при старті" -#: ../src/option.c:743 -msgid "Listen for commands on stdin" -msgstr "Читати команди зі стандартного вводу" +#: ../src/option.c:453 +msgid "Display paned dialog" +msgstr "Відобразити діалог з панелями" + +#: ../src/option.c:455 +msgid "Set orientation (horizontal or vertical)" +msgstr "Задати оріентицію (horizontal або vertical)" + +#: ../src/option.c:457 +msgid "Set initial splitter position" +msgstr "Задати початкову позицію розділювача" -#: ../src/option.c:749 -msgid "Set separator character for menu values" -msgstr "Встановити роздилювач для значень меню" +#: ../src/option.c:463 +msgid "Display picture dialog" +msgstr "Відобразити діалог з картинкою" -#: ../src/option.c:755 -msgid "Set separator character for menu items" -msgstr "Встановити розділювач для елементів меню" +#: ../src/option.c:465 +msgid "Set initial size (fit or orig)" +msgstr "Задати початковий розмір картинки" -#: ../src/option.c:765 +#: ../src/option.c:467 +msgid "Set increment for picture scaling (default - 5)" +msgstr "Задати інкремент для зміни розміру картинки (за умовчанням - 5)" + +#: ../src/option.c:473 msgid "Display printing dialog" msgstr "Відобразити діалог друку" -#: ../src/option.c:771 -msgid "Source filename" -msgstr "Ім'я файла" - -#: ../src/option.c:777 -msgid "Set source type (TYPE - TEXT, IMAGE or RAW)" -msgstr "Задати тип даних (ТИП - TEXT, IMAGE або RAW)" +#: ../src/option.c:475 +msgid "Set source type (text, image or raw)" +msgstr "Задати тип даних (text, image або raw)" -#: ../src/option.c:783 +#: ../src/option.c:477 msgid "Add headers to page" msgstr "Додати колонтитули до сторінки" -#: ../src/option.c:789 -msgid "Enable preview in print dialog" -msgstr "Додати попередній перегляд до діалогу друку" - -#: ../src/option.c:795 ../src/option.c:942 -msgid "Use specified font" -msgstr "Використовувати вказаний шрифт" - -#: ../src/option.c:805 +#: ../src/option.c:483 msgid "Display progress indication dialog" msgstr "Відобразити діалог прогресу" -#: ../src/option.c:811 +#: ../src/option.c:485 msgid "Set progress text" msgstr "Показувати текст на індикаторі" -#: ../src/option.c:817 +#: ../src/option.c:487 msgid "Set initial percentage" msgstr "Задати початковий процент" -#: ../src/option.c:818 +#: ../src/option.c:487 msgid "PERCENTAGE" -msgstr "ПРОЦЕНТИ" +msgstr "ВІДСОТКИ" -#: ../src/option.c:823 +#: ../src/option.c:489 msgid "Pulsate progress bar" -msgstr "Пульсуючий індикатор прогресу" +msgstr "Пульсовий індикатор виконання" -#: ../src/option.c:830 +#: ../src/option.c:492 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" -msgstr "Закрити діалог по досягнені 100%" +msgstr "Закрити діалог по досягненні 100%" -#: ../src/option.c:837 -msgid "Kill parent process if cancel button is pressed" -msgstr "Завершити батьківський процес, якщо натиснута кнопка відміни" - -#: ../src/option.c:844 +#: ../src/option.c:498 msgid "Right-To-Left progress bar direction" -msgstr "Напрямок індикатору Зправа-Наліво" +msgstr "Напрямок індикатору Справа-Наліво" + +#: ../src/option.c:500 +msgid "Show log window" +msgstr "Відобразити вікно журналу" -#: ../src/option.c:854 +#: ../src/option.c:502 +msgid "Expand log window" +msgstr "Розгорнути вікно журналу" + +#: ../src/option.c:504 +msgid "Place log window above progress bar" +msgstr "Розмістити вікно жуналу поверх індикатора виконання" + +#: ../src/option.c:506 +msgid "Height of log window" +msgstr "Висота вікна журналу" + +#: ../src/option.c:512 msgid "Display scale dialog" msgstr "Відобразити діалог масштабу" -#: ../src/option.c:860 +#: ../src/option.c:514 msgid "Set initial value" msgstr "Задати початкове значення" -#: ../src/option.c:861 ../src/option.c:867 ../src/option.c:873 -#: ../src/option.c:879 ../src/option.c:885 +#: ../src/option.c:514 ../src/option.c:516 ../src/option.c:518 +#: ../src/option.c:520 ../src/option.c:522 msgid "VALUE" msgstr "ЗНАЧЕННЯ" -#: ../src/option.c:866 +#: ../src/option.c:516 msgid "Set minimum value" msgstr "Задати мінімальне значення" -#: ../src/option.c:872 +#: ../src/option.c:518 msgid "Set maximum value" msgstr "Задати максимальне значення" -#: ../src/option.c:878 +#: ../src/option.c:520 msgid "Set step size" msgstr "Задати крок" -#: ../src/option.c:884 +#: ../src/option.c:522 msgid "Set paging size" msgstr "Задати крок сторінки" -#: ../src/option.c:890 +#: ../src/option.c:524 msgid "Print partial values" msgstr "Виводити часткові значення" -#: ../src/option.c:896 +#: ../src/option.c:526 msgid "Hide value" msgstr "Сховати значення" -#: ../src/option.c:902 -msgid "Show vertical scale" -msgstr "Відобразити вертикальну шкалу" - -#: ../src/option.c:908 +#: ../src/option.c:528 msgid "Invert direction" -msgstr "Інвертувати напрямок" +msgstr "Зворотній напрямок" -#: ../src/option.c:914 +#: ../src/option.c:530 msgid "Add mark to scale (may be used multiple times)" -msgstr "Додати помітку (може використовуватись декілька разів)" +msgstr "Додати мітку шкали (може використовуватись декілька разів)" -#: ../src/option.c:915 +#: ../src/option.c:530 msgid "NAME:VALUE" -msgstr "ІМ'Я:ЗНАЧЕННЯ" +msgstr "НАЗВА:ЗНАЧЕННЯ" -#: ../src/option.c:924 +#: ../src/option.c:536 msgid "Display text information dialog" msgstr "Відобразити діалог з текстовою інформацією" -#: ../src/option.c:930 +#: ../src/option.c:538 msgid "Use specified color for text" msgstr "Використовувати вказаний колір тексту" -#: ../src/option.c:936 +#: ../src/option.c:540 msgid "Use specified color for background" -msgstr "Виктористовувати вказаний колір фону" +msgstr "Використовувати вказаний колір фону" -#: ../src/option.c:948 +#: ../src/option.c:542 msgid "Enable text wrapping" msgstr "Дозволити перенос тексту" -#: ../src/option.c:954 -msgid "Set justification (TYPE - left, right, center or fill)" -msgstr "Встановити вирівнювання (ТИП - left, right, center або fill)" +#: ../src/option.c:544 +msgid "Set justification (left, right, center or fill)" +msgstr "Встановити вирівнювання (left, right, center або fill)" -#: ../src/option.c:960 +#: ../src/option.c:546 msgid "Set text margins" msgstr "Встановити відступи" -#: ../src/option.c:961 +#: ../src/option.c:546 msgid "SIZE" msgstr "РОЗМІР" -#: ../src/option.c:966 +#: ../src/option.c:548 msgid "Autoscroll to end of text" -msgstr "Автопрокрутка у кінець тексту" +msgstr "Автопрокрутка в кінець тексту" -#: ../src/option.c:972 -msgid "Open file" -msgstr "Відкрити файл" +#: ../src/option.c:550 +msgid "Show cursor in read-only mode" +msgstr "Відображувати курсор у режимі тільки для читання" -#: ../src/option.c:984 +#: ../src/option.c:552 msgid "Make URI clickable" msgstr "Зробити посилання активними" -#: ../src/option.c:994 +#: ../src/option.c:554 +msgid "Use specified color for links" +msgstr "Використовувати вказаний колір для посилань" + +#: ../src/option.c:561 +msgid "Use specified langauge for syntax highlighting" +msgstr "Використовувати вказану мову для підсвітки синтаксису" + +#: ../src/option.c:561 +msgid "LANG" +msgstr "МОВА" + +#: ../src/option.c:568 +msgid "Sets a filename filter" +msgstr "Задати фільтр файлів по масці" + +#: ../src/option.c:568 +msgid "NAME | PATTERN1 PATTERN2 ..." +msgstr "НАЗВА | ШАБЛОН1 ШАБЛОН2 ..." + +#: ../src/option.c:570 +msgid "Sets a mime-type filter" +msgstr "Задати фільтр файлів по типу mime" + +#: ../src/option.c:570 +msgid "NAME | MIME1 MIME2 ..." +msgstr "НАЗВА | ТИП1 ТИП2 ..." + +#: ../src/option.c:572 +msgid "Add filter for images" +msgstr "Додати фільтр для зображень" + +#: ../src/option.c:572 +msgid "NAME" +msgstr "ІМ'Я" + +#: ../src/option.c:578 msgid "Show about dialog" msgstr "Показати діалог 'Про програму'" -#: ../src/option.c:1000 +#: ../src/option.c:580 msgid "Print version" msgstr "Вивести версію" -#: ../src/option.c:1049 ../src/option.c:1236 +#: ../src/option.c:582 +msgid "Load additional GTK settings from file" +msgstr "Завантажити додаткові налаштування GTK з файлу" + +#: ../src/option.c:588 +msgid "Load extra arguments from file" +msgstr "Завантажити додаткові аргументи з файлу" + +#: ../src/option.c:629 ../src/option.c:926 #, c-format msgid "Unknown align type: %s\n" msgstr "Невідомий тип вирівнювання: %s\n" -#: ../src/option.c:1194 +#: ../src/option.c:790 #, c-format msgid "Mark %s doesn't have a value\n" -msgstr "Помітці %s не встановлено значення\n" +msgstr "Помітці %s не надано значення\n" + +#: ../src/option.c:827 +msgid "Images" +msgstr "Зображення" -#: ../src/option.c:1254 +#: ../src/option.c:892 +#, c-format +msgid "Unknown color mode: %s\n" +msgstr "Невідомий режим кольору: '%s'\n" + +#: ../src/option.c:911 +#, c-format +msgid "Unknown buttons layout type: %s\n" +msgstr "Невідомий тип розміщення кнопок: %s\n" + +#: ../src/option.c:943 #, c-format msgid "Unknown justification type: %s\n" msgstr "Невідомий тип вирівнювання: %s\n" -#: ../src/option.c:1293 +#: ../src/option.c:960 +#, c-format +msgid "Unknown tab position type: %s\n" +msgstr "Невідомий тип позиції вкладки: %s\n" + +#: ../src/option.c:996 #, c-format msgid "Unknown ellipsize type: %s\n" -msgstr "Невідомий тип усікання: %s\n" +msgstr "Невідомий тип урізання: %s\n" -#: ../src/option.c:1309 +#: ../src/option.c:1009 +#, c-format +msgid "Unknown orientation: %s\n" +msgstr "Невідома орієнтація: %s\n" + +#: ../src/option.c:1024 #, c-format msgid "Unknown source type: %s\n" msgstr "Невідомий тип даних: %s\n" -#: ../src/option.c:1438 +#: ../src/option.c:1035 +msgid "Progress log" +msgstr "Вікно журналу" + +#: ../src/option.c:1048 +#, c-format +msgid "Unknown size type: %s\n" +msgstr "Невідомий тип розміру: %s\n" + +#: ../src/option.c:1072 +#, c-format +msgid "Unknown completion type: %s\n" +msgstr "Невідомий тип доповнення: %s\n" + +#: ../src/option.c:1171 +#, c-format +msgid "Unknown signal: %s\n" +msgstr "Невідомий сигнал: %s\n" + +#: ../src/option.c:1339 msgid "File exist. Overwrite?" msgstr "Файл існує. Перезаписати?" -#: ../src/option.c:1520 -msgid "Yet another dialoging program" -msgstr "Програма для відображення діалогів" +#: ../src/option.c:1475 +msgid "- Yet another dialoging program" +msgstr "- Програма для відображення діалогів" #. Adds general option entries -#: ../src/option.c:1524 +#: ../src/option.c:1479 msgid "General options" msgstr "Основні параметри" -#: ../src/option.c:1525 +#: ../src/option.c:1479 msgid "Show general options" msgstr "Показувати основні параметри" +#. Adds common option entries +#: ../src/option.c:1485 +msgid "Common options" +msgstr "Загальні параметри" + +#: ../src/option.c:1485 +msgid "Show common options" +msgstr "Показувати загальні параметри діалогів" + #. Adds calendar option entries -#: ../src/option.c:1531 +#: ../src/option.c:1491 msgid "Calendar options" msgstr "Параметри календаря" -#: ../src/option.c:1532 +#: ../src/option.c:1491 msgid "Show calendar options" msgstr "Показувати параметри календаря" #. Adds color option entries -#: ../src/option.c:1538 +#: ../src/option.c:1497 msgid "Color selection options" -msgstr "Параметри діалога вибору коліра" +msgstr "Параметри діалогу вибору кольору" -#: ../src/option.c:1539 +#: ../src/option.c:1497 msgid "Show color selection options" -msgstr "Показувати параметри діалога вибору коліра" +msgstr "Показувати параметри діалогу вибору кольору" #. Adds dnd option entries -#: ../src/option.c:1545 +#: ../src/option.c:1503 msgid "DND options" msgstr "Параметри DND" -#: ../src/option.c:1546 +#: ../src/option.c:1503 msgid "Show drag-n-drop options" msgstr "Показувати параметри dnd" #. Adds entry option entries -#: ../src/option.c:1552 +#: ../src/option.c:1509 msgid "Text entry options" -msgstr "Параметри вводу текста" +msgstr "Параметри вводу тексту" -#: ../src/option.c:1553 +#: ../src/option.c:1509 msgid "Show text entry options" -msgstr "Показувати параметри вводу текста" +msgstr "Показувати параметри вводу тексту" #. Adds file selection option entries -#: ../src/option.c:1559 +#: ../src/option.c:1515 msgid "File selection options" -msgstr "Параметри діалога вибору файла" +msgstr "Параметри діалогу вибору файлів" -#: ../src/option.c:1560 +#: ../src/option.c:1515 msgid "Show file selection options" -msgstr "Показувати параметри діалога вибору файлів" +msgstr "Показувати параметри діалогу вибору файлів" #. Add font selection option entries -#: ../src/option.c:1566 +#: ../src/option.c:1521 msgid "Font selection options" -msgstr "Параметри діалога вибору шрифта" +msgstr "Параметри діалогу вибору шрифту" -#: ../src/option.c:1567 +#: ../src/option.c:1521 msgid "Show font selection options" -msgstr "Показувати параметри діалога вибору шрифта" +msgstr "Показувати параметри діалоги вибору шрифту" #. Add form option entries -#: ../src/option.c:1573 +#: ../src/option.c:1527 msgid "Form options" -msgstr "Параметри діалога форми" +msgstr "Параметри діалогу форми" -#: ../src/option.c:1574 +#: ../src/option.c:1527 msgid "Show form options" -msgstr "Показувати параметри діалога форми" +msgstr "Показувати параметри діалогу форми" + +#. Add html options entries +#: ../src/option.c:1534 +msgid "HTML options" +msgstr "Параметри HTML діалогу" + +#: ../src/option.c:1534 +msgid "Show HTML options" +msgstr "Показувати параметри HTML діалогу" #. Add icons option entries -#: ../src/option.c:1580 +#: ../src/option.c:1541 msgid "Icons box options" -msgstr "Параметри діалога іконок" +msgstr "Параметри діалогу іконок" -#: ../src/option.c:1581 +#: ../src/option.c:1541 msgid "Show icons box options" -msgstr "Показувати параметри діалога іконок швидкого доступа" +msgstr "Показувати параметри діалогу іконок швидкого доступу" #. Adds list option entries -#: ../src/option.c:1587 +#: ../src/option.c:1547 msgid "List options" -msgstr "Параметри списка" +msgstr "Параметри списку" -#: ../src/option.c:1588 +#: ../src/option.c:1547 msgid "Show list options" -msgstr "Показувати параметри списка" +msgstr "Показувати параметри списку" #. Adds multi progress option entries -#: ../src/option.c:1594 +#: ../src/option.c:1553 msgid "Multi progress bars options" -msgstr "Параметри діалога с декількома індикаторами" +msgstr "Параметри діалогу з декількома індикаторами" + +#: ../src/option.c:1554 +msgid "Show multi progress bars options" +msgstr "Показувати параметри діалогу з декількома індикаторами" -#: ../src/option.c:1595 -msgid "Show Multi progress bars options" -msgstr "Показувати параметри діалога с декількома індикаторами" +#. Adds notebook option entries +#: ../src/option.c:1560 +msgid "Notebook options" +msgstr "Параметри діалогу з вкладками" + +#: ../src/option.c:1560 +msgid "Show notebook dialog options" +msgstr "Показувати параметри діалогу з вкладками" #. Adds notification option entries -#: ../src/option.c:1601 +#: ../src/option.c:1566 msgid "Notification icon options" -msgstr "Параметри іконки повідомлення" +msgstr "Параметри іконки повідомлень" -#: ../src/option.c:1602 +#: ../src/option.c:1567 msgid "Show notification icon options" -msgstr "Показувати параметри іконки повідомленнь" +msgstr "Показувати параметри іконки повідомлень" + +#. Adds paned option entries +#: ../src/option.c:1573 +msgid "Paned dialog options" +msgstr "Параметри діалогу з панелями" + +#: ../src/option.c:1573 +msgid "Show paned dialog options" +msgstr "Показувати параметри діалогу з панелями" + +#. Adds picture option entries +#: ../src/option.c:1579 +msgid "Picture dialog options" +msgstr "Параметри діалогу з картинкою" + +#: ../src/option.c:1579 +msgid "Show picture dialog options" +msgstr "Показувати параметри діалогу відображення картинки" #. Adds print option entries -#: ../src/option.c:1608 +#: ../src/option.c:1585 msgid "Print dialog options" -msgstr "Параметри діалога друку" +msgstr "Параметри діалогу друку" -#: ../src/option.c:1609 +#: ../src/option.c:1585 msgid "Show print dialog options" -msgstr "Показувати параметри діалога друку" +msgstr "Показувати параметри діалогу друку" #. Adds progress option entries -#: ../src/option.c:1615 +#: ../src/option.c:1591 msgid "Progress options" -msgstr "Параметри ходу прогреса" +msgstr "Параметри прогресу" -#: ../src/option.c:1616 +#: ../src/option.c:1591 msgid "Show progress options" -msgstr "Показувати параметри ходу прогреса" +msgstr "Показувати параметри прогресу" #. Adds scale option entries -#: ../src/option.c:1622 +#: ../src/option.c:1597 msgid "Scale options" -msgstr "Параметри масштаба" +msgstr "Параметри масштабу" -#: ../src/option.c:1623 +#: ../src/option.c:1597 msgid "Show scale options" -msgstr "Показувати параметри масштаба" +msgstr "Показувати параметри масштабу" #. Adds text option entries -#: ../src/option.c:1629 +#: ../src/option.c:1603 msgid "Text information options" msgstr "Параметри текстової інформації" -#: ../src/option.c:1630 +#: ../src/option.c:1603 msgid "Show text information options" msgstr "Показувати параметри текстової інформації" +#. Adds sourceview option entries +#: ../src/option.c:1610 +msgid "SourceView options" +msgstr "Параметри SourceView" + +#: ../src/option.c:1610 +msgid "Show SourceView options" +msgstr "Показувати параметри SourceView" + +#. Adds file filters option entries +#: ../src/option.c:1617 +msgid "File filter options" +msgstr "Параметри фільтрів для діалогу вибору файлів" + +#: ../src/option.c:1617 +msgid "Show file filter options" +msgstr "Показувати параметри фільтрів для діалогу вибору файлів" + #. Adds miscellaneous option entries -#: ../src/option.c:1636 +#: ../src/option.c:1623 msgid "Miscellaneous options" msgstr "Додаткові параметри" -#: ../src/option.c:1637 +#: ../src/option.c:1623 msgid "Show miscellaneous options" msgstr "Показувати додаткові параметри" -#: ../src/print.c:202 ../src/print.c:363 +#: ../src/picture.c:177 +msgid "Fit to window" +msgstr "По розміру вікна" + +#: ../src/picture.c:184 +msgid "Original size" +msgstr "Оригінальний розмір" + +#: ../src/picture.c:191 +msgid "Increase size" +msgstr "Збільшити розмір" + +#: ../src/picture.c:198 +msgid "Decrease size" +msgstr "Зменшити розмір" + +#: ../src/picture.c:209 +msgid "Rotate left" +msgstr "Повернути ліворуч" + +#: ../src/picture.c:216 +msgid "Rotate right" +msgstr "Повернути праворуч" + +#: ../src/picture.c:223 +msgid "Flip vertical" +msgstr "Віддзеркалити вертикально" + +#: ../src/picture.c:230 +msgid "Flip horizontal" +msgstr "Віддзеркалити горизонтально" + +#: ../src/print.c:199 ../src/print.c:367 #, c-format msgid "Printing failed: %s\n" -msgstr "Сбій друку: %s\n" +msgstr "Збій друку: %s\n" -#: ../src/print.c:230 +#: ../src/print.c:227 #, c-format msgid "File %s not found.\n" -msgstr "Файл %s не знайден.\n" +msgstr "Файл %s не знайдено.\n" -#: ../src/print.c:236 +#: ../src/print.c:233 #, c-format msgid "Filename is not specified.\n" -msgstr "Файл не вказан.\n" +msgstr "Файл не вказано.\n" -#: ../src/print.c:379 +#: ../src/print.c:383 #, c-format msgid "Printer doesn't support ps format.\n" -msgstr "Принтер не підтримує формат ps.\n" +msgstr "Принтер не підтримує формату ps.\n" -#: ../src/print.c:387 +#: ../src/print.c:391 #, c-format msgid "Printer doesn't support pdf format.\n" -msgstr "Принтер не підтримує формат pdf.\n" +msgstr "Принтер не підтримує формату pdf.\n" -#: ../src/print.c:393 +#: ../src/print.c:397 #, c-format msgid "This file type is not supported for raw printing.\n" msgstr "Цей тип файлів не може бути надрукований.\n" -#: ../src/print.c:407 +#: ../src/print.c:411 #, c-format msgid "Load source file failed: %s\n" -msgstr "Сбій при завантажені файла: %s\n" +msgstr "Збій при завантажені файлу: %s\n" -#: ../src/color.c:64 +#: ../src/color.c:65 #, c-format msgid "Can't open file %s: %s\n" msgstr "Не можу відкрити файл %s: %s\n" #. create expander -#: ../src/color.c:149 +#: ../src/color.c:150 msgid "Palette" -msgstr "Палитра" +msgstr "Палітра" -#: ../src/color.c:171 +#: ../src/color.c:169 msgid "Color" msgstr "Колір" -#: ../src/color.c:188 +#: ../src/color.c:186 msgid "Name" msgstr "Назва" -#: ../src/text.c:271 +#: ../src/text.c:430 #, c-format msgid "Invalid UTF-8 data encountered reading file %s\n" -msgstr "Невірна послідовність UTF-8 при читанні файлу %s\n" +msgstr "Неправильна послідовність UTF-8 при читанні файлу %s\n" -#: ../src/browser.c:129 +#: ../src/browser.c:132 msgid "scalable " -msgstr "масштабуємий " - -#: ../src/browser.c:137 -#, c-format -msgid "" -"<b>Name:</b> %s\n" -"<b>Sizes:</b> %s\n" -"<b>Filename:</b> %s" -msgstr "" -"<b>Ім'я:</b> %s\n" -"<b>Разміри:</b> %s\n" -"<b>Имєя файла:</b> %s" +msgstr "масштабований " -#: ../src/browser.c:138 +#: ../src/browser.c:142 msgid "built-in" msgstr "вбудований" #. initialize GTK+ and parse the command line arguments -#: ../src/browser.c:197 +#: ../src/browser.c:200 msgid "- Icon browser" -msgstr "- Броузер іконок" +msgstr "- Навігатор іконок" -#: ../src/browser.c:210 +#: ../src/browser.c:213 msgid "Icon browser" -msgstr "Броузер іконок" +msgstr "Навігатор іконок" + +#: ../src/browser.c:247 +msgid "<b>Name:</b>" +msgstr "<b>Назва:</b>" + +#: ../src/browser.c:265 +msgid "<b>Sizes:</b>" +msgstr "<b>Розміри:</b>" + +#: ../src/browser.c:283 +msgid "<b>Filename:</b>" +msgstr "<b>Назва файлу:</b>" -#: ../src/browser.c:261 +#: ../src/browser.c:325 msgid "Category" msgstr "Категорія" -#: ../src/browser.c:294 +#: ../src/browser.c:357 msgid "Icons" msgstr "Іконки" #: ../data/yad-icon-browser.desktop.in.h:1 msgid "Icon Browser" -msgstr "Броузер іконок" +msgstr "Павігатор іконок" #: ../data/yad-icon-browser.desktop.in.h:2 msgid "Inspect GTK Icon Theme" -msgstr "Дослідження теми іконок GTK" +msgstr "Перегляд теми іконок GTK"
View file
yad-0.36.2.tar.xz/po/zh_TW.po
Added
@@ -0,0 +1,1357 @@ +# Traditional Chinese Messages for yad. +# Copyright (C) 2012 The yad Project (msgids). +# This file is distributed under the same license as the yad package. +# Wei-Lun Chao <chaoweilun@gmail.com>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: yad 0.17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-07 09:25+0200\n" +"PO-Revision-Date: 2012-02-28 16:08+0800\n" +"Last-Translator: Wei-Lun Chao <chaoweilun@gmail.com>\n" +"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: ../src/about.c:30 +msgid "translator-credits" +msgstr "趙惟倫 <chaoweilun@gmail.com>" + +#: ../src/about.c:32 +msgid "" +"YAD is free software; you can redistribute it and/or modify it under the " +"terms of the GNU General Public License as published by the Free Software " +"Foundation; either version 3 of the License, or (at your option) any later " +"version.\n" +"\n" +"YAD 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.\n" +"\n" +"You should have received a copy of the GNU General Public License along with " +"YAD. If not, see <http://www.gnu.org/licenses/>." +msgstr "" +"YAD 是自由軟體;遵循由自由軟體基金會發布的 GNU 通用公共授權,您可以再次散布它" +"和/或修改它;可以依據版本 3 的授權,或 (您自行選擇的) 任何後續的版本。\n" +"\n" +"YAD 的發行是希望該它能夠有用,但是沒有任何擔保;亦無對於某一特定目的之適售性" +"與適用性的暗示性擔保。參看 GNU 通用公共授權以獲得更多細節。\n" +"\n" +"您應該已收到隨附於 YAD 的 GNU 通用公共授權複本。如果沒有,參看 <http://www." +"gnu.org/licenses/>。" + +#: ../src/about.c:50 +msgid "" +"Yet Another Dialog\n" +"(show dialog boxes from shell scripts)\n" +"\n" +"Based on Zenity code\n" +msgstr "" +"Yet Another Dialog\n" +"(從命令稿顯示對話框)\n" +"\n" +"基於 Zenity 程式碼\n" + +#: ../src/calendar.c:39 ../src/text.c:389 +#, c-format +msgid "Cannot open file '%s': %s\n" +msgstr "無法開啟檔案『%s』:%s\n" + +#: ../src/entry.c:172 ../src/scale.c:39 +#, c-format +msgid "Maximum value must be greater than minimum value.\n" +msgstr "最大值必須大於最小值。\n" + +#: ../src/entry.c:179 ../src/scale.c:48 +#, c-format +msgid "Initial value less than minimal.\n" +msgstr "初始值少於最小值。\n" + +#: ../src/entry.c:184 ../src/scale.c:53 +#, c-format +msgid "Initial value greater than maximum.\n" +msgstr "初始值大於最大值。\n" + +#: ../src/form.c:372 +msgid "Select files" +msgstr "選取檔案" + +#: ../src/form.c:380 +msgid "Select folders" +msgstr "選取資料夾" + +#: ../src/form.c:443 +msgid "Select or create file" +msgstr "選取或建立檔案" + +#: ../src/form.c:451 +msgid "Select or create folder" +msgstr "選取或建立資料夾" + +#: ../src/form.c:488 +msgid "Select date" +msgstr "選取日期" + +#: ../src/form.c:689 +msgid "Select file" +msgstr "選取檔案" + +#: ../src/form.c:703 +msgid "Select folder" +msgstr "選取資料夾" + +#: ../src/icons.c:321 +#, c-format +msgid "Unable to parse file %s: %s\n" +msgstr "無法剖析檔案 %s:%s\n" + +#: ../src/icons.c:338 +#, c-format +msgid "Unable to open directory %s: %s\n" +msgstr "無法開啟目錄 %s:%s\n" + +#: ../src/main.c:102 ../src/main.c:233 +#, c-format +msgid "%d sec" +msgstr "%d 秒" + +#: ../src/main.c:656 +#, c-format +msgid "Unable to parse command line: %s\n" +msgstr "無法剖析命令列:%s\n" + +#: ../src/notification.c:118 +#, c-format +msgid "Could not load notification icon '%s': %s\n" +msgstr "無法載入通知圖示『%s』:%s\n" + +#: ../src/notification.c:301 +#, c-format +msgid "Invalid UTF-8 in tooltip!\n" +msgstr "在提示框中無效的 UTF-8!\n" + +#: ../src/notification.c:345 +#, c-format +msgid "Unknown command '%s'\n" +msgstr "不明命令『%s』\n" + +#: ../src/notification.c:380 +msgid "Yad notification" +msgstr "Yad 通知" + +#: ../src/list.c:856 +msgid "Add row" +msgstr "加入列" + +#: ../src/list.c:863 +msgid "Delete row" +msgstr "刪除列" + +#: ../src/list.c:870 +#, fuzzy +msgid "Duplicate row" +msgstr "刪除列" + +#: ../src/list.c:897 +#, c-format +msgid "No column titles specified for List dialog.\n" +msgstr "沒有指定的欄標題用於清單對話框。\n" + +#: ../src/option.c:69 +msgid "Set the dialog title" +msgstr "設定對話框標題" + +#: ../src/option.c:70 +msgid "TITLE" +msgstr "標題" + +#: ../src/option.c:75 +msgid "Set the window icon" +msgstr "設定視窗圖示" + +#: ../src/option.c:76 +msgid "ICONPATH" +msgstr "圖示路徑" + +#: ../src/option.c:81 +msgid "Set the width" +msgstr "設定寬度" + +#: ../src/option.c:82 +msgid "WIDTH" +msgstr "寬度" + +#: ../src/option.c:87 +msgid "Set the height" +msgstr "設定高度" + +#: ../src/option.c:88 +msgid "HEIGHT" +msgstr "高度" + +#: ../src/option.c:93 +msgid "Set the window geometry" +msgstr "設定視窗幾何位置" + +#: ../src/option.c:94 +msgid "WxH+X+Y" +msgstr "寬x高+X+Y" + +#: ../src/option.c:99 +msgid "Set dialog timeout in seconds" +msgstr "設定對話框逾時的秒數" + +#: ../src/option.c:100 +msgid "TIMEOUT" +msgstr "逾時" + +#: ../src/option.c:105 +msgid "Show remaining time indicator (top, bottom, left, right)" +msgstr "顯示剩餘時間指示器 (頂端、底部、左側、右側)" + +#: ../src/option.c:106 +msgid "POS" +msgstr "位置" + +#: ../src/option.c:111 +msgid "Set the dialog text" +msgstr "設定對話框文字" + +#: ../src/option.c:112 ../src/option.c:142 ../src/option.c:391 +#: ../src/option.c:397 ../src/option.c:403 ../src/option.c:543 +#: ../src/option.c:971 ../src/option.c:1010 +msgid "TEXT" +msgstr "文字" + +#: ../src/option.c:117 +#, fuzzy +msgid "Set the dialog text alignment (left, center, right, fill)" +msgstr "設定對話框文字對齊 (靠左、置中,靠右)" + +#: ../src/option.c:118 ../src/option.c:160 ../src/option.c:566 +#: ../src/option.c:738 ../src/option.c:820 ../src/option.c:863 +#: ../src/option.c:937 ../src/option.c:1138 +msgid "TYPE" +msgstr "型態" + +#: ../src/option.c:123 +msgid "Set the dialog image" +msgstr "設定對話框圖像" + +#: ../src/option.c:124 ../src/option.c:427 ../src/option.c:439 +msgid "IMAGE" +msgstr "圖像" + +#: ../src/option.c:129 +msgid "Show image above main widget" +msgstr "顯示主要視窗元件上的圖像" + +#: ../src/option.c:135 +msgid "Use specified icon theme instead of default" +msgstr "使用指定的圖示布景主題以代替預設" + +#: ../src/option.c:136 +msgid "THEME" +msgstr "布景主題" + +#: ../src/option.c:141 +msgid "Hide main widget with expander" +msgstr "以擴充元件隱藏主要視窗元件" + +#: ../src/option.c:147 +msgid "Add dialog button (may be used multiple times)" +msgstr "加入對話框按鈕 (也許會被多次使用)" + +#: ../src/option.c:148 +msgid "NAME:ID" +msgstr "名稱:識別號" + +#: ../src/option.c:153 +msgid "Don't show buttons" +msgstr "不顯示按鈕" + +#: ../src/option.c:159 +msgid "Set buttons layout type (spread, edge, start, end or center)" +msgstr "" + +#: ../src/option.c:165 +msgid "Don't use pango markup language in dialog's text" +msgstr "在對話框文字中不使用 pango 標記語言" + +#: ../src/option.c:172 +msgid "Add separator between dialog and buttons" +msgstr "在對話框和按鈕之間加入分隔符號" + +#: ../src/option.c:179 +msgid "Set window borders" +msgstr "設定視窗邊線" + +#: ../src/option.c:180 ../src/option.c:259 ../src/option.c:572 +#: ../src/option.c:744 ../src/option.c:750 ../src/option.c:756 +#: ../src/option.c:762 ../src/option.c:768 ../src/option.c:869 +msgid "NUMBER" +msgstr "編號" + +#: ../src/option.c:185 +msgid "Always print result" +msgstr "一律印出結果" + +#: ../src/option.c:191 +msgid "Dialog text can be selected" +msgstr "可以選取對話框文字" + +#: ../src/option.c:198 +msgid "Set window sticky" +msgstr "設定視窗黏著" + +#: ../src/option.c:204 +msgid "Set window unresizable" +msgstr "設定視窗不可調整大小" + +#: ../src/option.c:210 +msgid "Place window on top" +msgstr "視窗置於頂端" + +#: ../src/option.c:216 +msgid "Place window on center of screen" +msgstr "視窗置於螢幕的中央" + +#: ../src/option.c:222 +msgid "Place window at the mouse position" +msgstr "視窗置於滑鼠所在位置" + +#: ../src/option.c:228 +msgid "Set window undecorated" +msgstr "設定視窗無裝飾" + +#: ../src/option.c:234 +msgid "Don't show window in taskbar" +msgstr "在工作列中不顯示視窗" + +#: ../src/option.c:240 +#, fuzzy +msgid "Set window maximized" +msgstr "設定視窗不可調整大小" + +#: ../src/option.c:246 +#, fuzzy +msgid "Set window fulscreen" +msgstr "設定視窗不可調整大小" + +#: ../src/option.c:252 +msgid "Special type of dialog for XEMBED" +msgstr "" + +#: ../src/option.c:253 ../src/option.c:851 +msgid "KEY" +msgstr "" + +#: ../src/option.c:258 +msgid "Tab nubmer of this dialog" +msgstr "" + +#: ../src/option.c:265 +#, fuzzy +msgid "Send SIGNAL to parent" +msgstr "發送 TERM 到上層" + +#: ../src/option.c:266 +msgid "SIGNAL" +msgstr "" + +#: ../src/option.c:271 +msgid "Print X Window Id to the stderr" +msgstr "印出 X 視窗識別號到標準勘誤" + +#: ../src/option.c:278 +msgid "Add path for search icons by name" +msgstr "" + +#: ../src/option.c:279 +#, fuzzy +msgid "PATH" +msgstr "圖示路徑" + +#: ../src/option.c:288 +msgid "Display calendar dialog" +msgstr "顯示行事曆對話框" + +#: ../src/option.c:294 +msgid "Set the calendar day" +msgstr "設定行事曆的日" + +#: ../src/option.c:295 +msgid "DAY" +msgstr "日" + +#: ../src/option.c:300 +msgid "Set the calendar month" +msgstr "設定行事曆的月" + +#: ../src/option.c:301 +msgid "MONTH" +msgstr "月" + +#: ../src/option.c:306 +msgid "Set the calendar year" +msgstr "設定行事曆的年" + +#: ../src/option.c:307 +msgid "YEAR" +msgstr "年" + +#: ../src/option.c:312 ../src/option.c:589 +msgid "Set the format for the returned date" +msgstr "設定回傳日期的格式" + +#: ../src/option.c:313 ../src/option.c:590 ../src/option.c:649 +msgid "PATTERN" +msgstr "胚騰" + +#: ../src/option.c:318 +msgid "Set the filename with dates details" +msgstr "以約會細節設定檔名" + +#: ../src/option.c:319 ../src/option.c:347 ../src/option.c:467 +#: ../src/option.c:931 ../src/option.c:1156 ../src/option.c:1200 +msgid "FILENAME" +msgstr "檔名" + +#: ../src/option.c:328 +msgid "Display color selection dialog" +msgstr "顯示顏色選擇對話框" + +#: ../src/option.c:334 +msgid "Alias for --color" +msgstr "做為 --color 的別名" + +#: ../src/option.c:340 +msgid "Set initial color value" +msgstr "設定初始顏色值" + +#: ../src/option.c:341 ../src/option.c:1114 ../src/option.c:1120 +msgid "COLOR" +msgstr "顏色" + +#: ../src/option.c:346 +msgid "Set path to palette file. Default - " +msgstr "設定調色盤檔案的路徑。預設 - " + +#: ../src/option.c:352 +msgid "Use #rrrrggggbbbb format instead of #rrggbb" +msgstr "使用 #rrrrggggbbbb 格式以代替 #rrggbb" + +#: ../src/option.c:362 +msgid "Display drag-n-drop box" +msgstr "顯示拖放框" + +#: ../src/option.c:368 +msgid "Use dialog text as tooltip" +msgstr "使用對話框文字做為提示框" + +#: ../src/option.c:374 +msgid "Set command for process d-n-d data" +msgstr "設定處理拖放資料的命令" + +#: ../src/option.c:375 ../src/option.c:433 ../src/option.c:445 +#: ../src/option.c:774 ../src/option.c:885 +msgid "CMD" +msgstr "命令" + +#: ../src/option.c:384 +msgid "Display text entry or combo-box dialog" +msgstr "顯示文字輸入框或複合方塊對話框" + +#: ../src/option.c:390 +msgid "Set the entry label" +msgstr "設定輸入框標籤" + +#: ../src/option.c:396 +msgid "Set the entry text" +msgstr "設定輸入框文字" + +#: ../src/option.c:402 +msgid "Hide the entry text" +msgstr "隱藏輸入框文字" + +#: ../src/option.c:408 +msgid "Use completion instead of combo-box" +msgstr "使用完整輸入以代替複合方塊" + +#: ../src/option.c:414 +msgid "Use spin button for text entry" +msgstr "使用微調按鈕於文字輸入框" + +#: ../src/option.c:420 +msgid "Allow changes to text in combo-box" +msgstr "允許變更複合方塊中的文字" + +#: ../src/option.c:426 +msgid "Set the left entry icon" +msgstr "設定左側輸入框圖示" + +#: ../src/option.c:432 +msgid "Set the left entry icon action" +msgstr "設定左側輸入框圖示動作" + +#: ../src/option.c:438 +msgid "Set the right entry icon" +msgstr "設定右側輸入框圖示" + +#: ../src/option.c:444 +msgid "Set the right entry icon action" +msgstr "設定右側輸入框圖示動作" + +#: ../src/option.c:454 +msgid "Display file selection dialog" +msgstr "顯示檔案選取對話框" + +#: ../src/option.c:460 +msgid "Alias for --file" +msgstr "做為 --file 的別名" + +#: ../src/option.c:466 +msgid "Set the filename" +msgstr "設定檔名" + +#: ../src/option.c:472 +msgid "Allow multiple files to be selected" +msgstr "允許選取多個檔案" + +#: ../src/option.c:478 +msgid "Activate directory-only selection" +msgstr "啟用只能選擇目錄" + +#: ../src/option.c:484 +msgid "Activate save mode" +msgstr "啟用儲存模式" + +#: ../src/option.c:490 ../src/option.c:577 ../src/option.c:713 +msgid "Set output separator character" +msgstr "設定輸出的分隔字元" + +#: ../src/option.c:491 ../src/option.c:578 ../src/option.c:584 +#: ../src/option.c:714 ../src/option.c:897 ../src/option.c:903 +msgid "SEPARATOR" +msgstr "分隔符號" + +#: ../src/option.c:496 +msgid "Confirm file selection if filename already exists" +msgstr "如果檔名已經存在要確認檔案的選取" + +#: ../src/option.c:497 +msgid "TEXT" +msgstr "文字" + +#: ../src/option.c:502 +msgid "Sets a filename filter" +msgstr "設定檔名篩選器" + +#: ../src/option.c:503 +msgid "NAME | PATTERN1 PATTERN2 ..." +msgstr "名稱 | 胚騰1 胚騰2…" + +#: ../src/option.c:508 +#, fuzzy +msgid "Enable preview" +msgstr "在列印對話框中啟用預覽" + +#: ../src/option.c:514 ../src/option.c:601 ../src/option.c:791 +#, fuzzy +msgid "Quote dialogs output" +msgstr "設定對話框文字" + +#: ../src/option.c:524 +msgid "Display font selection dialog" +msgstr "顯示字型選擇對話框" + +#: ../src/option.c:530 +msgid "Alias for --font" +msgstr "做為 --font 的別名" + +#: ../src/option.c:536 +msgid "Set initial font" +msgstr "設定初始字型" + +#: ../src/option.c:537 ../src/option.c:955 ../src/option.c:1126 +msgid "FONTNAME" +msgstr "字型名稱" + +#: ../src/option.c:542 +msgid "Set preview text" +msgstr "設定預覽文字" + +#: ../src/option.c:552 +msgid "Display form dialog" +msgstr "顯示表單對話框" + +#: ../src/option.c:559 +#, fuzzy +msgid "" +"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, MFL, DIR, CDIR, " +"MDIR, FN, DT, SCL, CLR, BTN, FBTN, LBL or TXT)" +msgstr "" +"加入欄位到表單 (型態 - H, RO, NUM, CHK, CB, CBE, FL, SFL, MFL, DIR, CDIR, " +"MDIR, FN, DT, CLR, BTN, LBL 或 TXT)" + +#: ../src/option.c:560 ../src/option.c:808 +msgid "LABEL:TYPE" +msgstr "標籤:型態" + +#: ../src/option.c:565 +#, fuzzy +msgid "Set alignment of filed labels (left, center or right)" +msgstr "設定欄位標籤的對齊 (靠左、置中或靠右)" + +#: ../src/option.c:571 +msgid "Set number of columns in form" +msgstr "設定表單中的欄數量" + +#: ../src/option.c:583 +msgid "Set separator character for combobox or scale data" +msgstr "設定用於複合方塊或尺度資料的分隔字元" + +#: ../src/option.c:595 +#, fuzzy +msgid "Make form scrollable" +msgstr "讓 URI 可點選" + +#: ../src/option.c:611 +msgid "Display icons box dialog" +msgstr "顯示圖示方塊對話框" + +#: ../src/option.c:617 +msgid "Read data from .desktop files in specified directory" +msgstr "在指定的目錄中從 .desktop 檔案讀取資料" + +#: ../src/option.c:618 +msgid "DIRECTORY" +msgstr "目錄" + +#: ../src/option.c:623 +msgid "Use compact (list) view" +msgstr "使用壓縮 (清單) 檢視" + +#: ../src/option.c:629 +msgid "Use GenericName field instead of Name for icon label" +msgstr "使用 GenericName 欄位以代替 Name 做為圖示標籤" + +#: ../src/option.c:635 +msgid "Read data from stdin" +msgstr "從標準輸入讀取資料" + +#: ../src/option.c:641 +msgid "Set the width of dialog items" +msgstr "設定對話框項目的寬度" + +#: ../src/option.c:648 +#, no-c-format +msgid "" +"Use specified pattern for launch command in terminal (default: xterm -e %s)" +msgstr "使用指定的胚騰以在終端機中啟動命令 (預設:xterm -e %s)" + +#: ../src/option.c:654 +msgid "Sort items by name instead of filename" +msgstr "依名稱而非檔名排序項目" + +#: ../src/option.c:660 +msgid "Sort items in descending order" +msgstr "以遞降排序項目" + +#: ../src/option.c:666 +msgid "Activate items by single click" +msgstr "" + +#: ../src/option.c:676 +msgid "Display list dialog" +msgstr "顯示清單對話框" + +#: ../src/option.c:682 +msgid "Don't show column headers" +msgstr "不顯示欄標題" + +#: ../src/option.c:688 +#, fuzzy +msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, RD, IMG, HD or TIP)" +msgstr "設定欄標題 (型態 - TEXT, NUM, FLT, CHK, IMG 或 TIP)" + +#: ../src/option.c:689 +msgid "COLUMN:TYPE" +msgstr "欄:型態" + +#: ../src/option.c:694 +#, fuzzy +msgid "Use checkboxes for first column" +msgstr "首欄使用核取方塊" + +#: ../src/option.c:700 +#, fuzzy +msgid "Use radioboxes for first column" +msgstr "首欄使用核取方塊" + +#: ../src/option.c:706 +msgid "Disable clickable column headers" +msgstr "" + +#: ../src/option.c:719 +msgid "Allow multiple rows to be selected" +msgstr "允許選取多列" + +#: ../src/option.c:725 ../src/option.c:1161 +msgid "Allow changes to text" +msgstr "允許變更文字" + +#: ../src/option.c:731 +msgid "Print all data from list" +msgstr "從清單印出所有資料" + +#: ../src/option.c:737 +msgid "Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)" +msgstr "設定文字欄的省略模式 (型態 - NONE, START, MIDDLE 或 END)" + +#: ../src/option.c:743 +msgid "" +"Print a specific column. By default or if 0 is specified will be printed all " +"columns" +msgstr "印出特定的欄。按照預設或是如果指定為 0 將印出所有欄" + +#: ../src/option.c:749 +msgid "Hide a specific column" +msgstr "隱藏特定欄" + +#: ../src/option.c:755 +msgid "Set the column expandable by default. 0 sets all columns expandable" +msgstr "設定欄預設可擴展。0 將設定所有欄為可擴展" + +#: ../src/option.c:761 +msgid "" +"Set the quick search column. Default is first column. Set it to 0 for " +"disable searching" +msgstr "設定快速搜尋欄。預設是首欄。設定它為 0 表示停用搜尋" + +#: ../src/option.c:767 +msgid "Set the limit of rows in list" +msgstr "設定清單中列數的限制" + +#: ../src/option.c:773 +msgid "Set double-click action" +msgstr "設定連按兩下滑鼠的動作" + +#: ../src/option.c:779 +msgid "Use regex in search" +msgstr "在搜尋中使用 regex" + +#: ../src/option.c:785 +msgid "Listen for data on stdin in addition to command-line" +msgstr "" + +#: ../src/option.c:801 +msgid "Display multi progress bars dialog" +msgstr "顯示多重進度條對話框" + +#: ../src/option.c:807 +msgid "Add the progress bar (TYPE - NORM, RTL or PULSE)" +msgstr "加入進度條 (型態 - NORM, RTL 或 PULSE)" + +#: ../src/option.c:813 +msgid "Show vertical bars" +msgstr "顯示垂直條" + +#: ../src/option.c:819 +#, fuzzy +msgid "Set alignment of bar labels (left, center or right)" +msgstr "設定欄位標籤的對齊 (靠左、置中或靠右)" + +#: ../src/option.c:826 +#, fuzzy, no-c-format +msgid "Dismiss the dialog when 100% of all bars has been reached" +msgstr "當達到 100% 時去除對話框" + +#: ../src/option.c:833 ../src/option.c:996 +msgid "Kill parent process if cancel button is pressed" +msgstr "如果按下取消按鈕就砍除上層進程" + +#: ../src/option.c:844 +#, fuzzy +msgid "Display notebook dialog" +msgstr "顯示圖示方塊對話框" + +#: ../src/option.c:850 +msgid "Identifier of embedded dialogs" +msgstr "" + +#: ../src/option.c:856 +msgid "Add a tab to notebook" +msgstr "" + +#: ../src/option.c:857 +msgid "LABEL" +msgstr "" + +#: ../src/option.c:862 +#, fuzzy +msgid "Set position of a notebook tabs (top, bottom, left or right)" +msgstr "顯示剩餘時間指示器 (頂端、底部、左側、右側)" + +#: ../src/option.c:868 +#, fuzzy +msgid "Set tab borders" +msgstr "設定視窗邊線" + +#: ../src/option.c:878 +msgid "Display notification" +msgstr "顯示通知" + +#: ../src/option.c:884 +msgid "Set left-click action" +msgstr "設定按一下滑鼠左鍵的動作" + +#: ../src/option.c:890 +msgid "Listen for commands on stdin" +msgstr "聽取來自標準輸入的命令" + +#: ../src/option.c:896 +msgid "Set separator character for menu values" +msgstr "設定選單值的分隔字元" + +#: ../src/option.c:902 +msgid "Set separator character for menu items" +msgstr "設定功能表項目的分隔字元" + +#: ../src/option.c:908 +#, fuzzy +msgid "Set initial popup menu" +msgstr "設定初始字型" + +#: ../src/option.c:909 +msgid "STRING" +msgstr "" + +#: ../src/option.c:914 +msgid "Disable exit on middle click" +msgstr "" + +#: ../src/option.c:924 +msgid "Display printing dialog" +msgstr "顯示列印對話框" + +#: ../src/option.c:930 +msgid "Source filename" +msgstr "來源檔名" + +#: ../src/option.c:936 +msgid "Set source type (TYPE - TEXT, IMAGE or RAW)" +msgstr "設定來源型態 (型態 - TEXT, IMAGE 或 RAW)" + +#: ../src/option.c:942 +msgid "Add headers to page" +msgstr "將頁首加入頁面" + +#: ../src/option.c:948 +msgid "Enable preview in print dialog" +msgstr "在列印對話框中啟用預覽" + +#: ../src/option.c:954 ../src/option.c:1125 +msgid "Use specified font" +msgstr "使用指定的字型" + +#: ../src/option.c:964 +msgid "Display progress indication dialog" +msgstr "顯示進度指示對話框" + +#: ../src/option.c:970 +msgid "Set progress text" +msgstr "設定進度文字" + +#: ../src/option.c:976 +msgid "Set initial percentage" +msgstr "設定初始百分比" + +#: ../src/option.c:977 +msgid "PERCENTAGE" +msgstr "百分比" + +#: ../src/option.c:982 +msgid "Pulsate progress bar" +msgstr "脈衝式進度條" + +#: ../src/option.c:989 +#, no-c-format +msgid "Dismiss the dialog when 100% has been reached" +msgstr "當達到 100% 時去除對話框" + +#: ../src/option.c:1003 +msgid "Right-To-Left progress bar direction" +msgstr "進度條方向由右到左" + +#: ../src/option.c:1009 +msgid "Show log window" +msgstr "" + +#: ../src/option.c:1015 +msgid "Expand log window" +msgstr "" + +#: ../src/option.c:1021 +#, fuzzy +msgid "Place log window above progress bar" +msgstr "脈衝式進度條" + +#: ../src/option.c:1027 +msgid "Height of log window" +msgstr "" + +#: ../src/option.c:1037 +msgid "Display scale dialog" +msgstr "顯示尺度對話框" + +#: ../src/option.c:1043 +msgid "Set initial value" +msgstr "設定初始值" + +#: ../src/option.c:1044 ../src/option.c:1050 ../src/option.c:1056 +#: ../src/option.c:1062 ../src/option.c:1068 +msgid "VALUE" +msgstr "值" + +#: ../src/option.c:1049 +msgid "Set minimum value" +msgstr "設定最小值" + +#: ../src/option.c:1055 +msgid "Set maximum value" +msgstr "設定最大值" + +#: ../src/option.c:1061 +msgid "Set step size" +msgstr "設定步增值" + +#: ../src/option.c:1067 +msgid "Set paging size" +msgstr "設定換頁大小" + +#: ../src/option.c:1073 +msgid "Print partial values" +msgstr "列印部分值" + +#: ../src/option.c:1079 +msgid "Hide value" +msgstr "隱藏值" + +#: ../src/option.c:1085 +msgid "Show vertical scale" +msgstr "顯示垂直尺度" + +#: ../src/option.c:1091 +msgid "Invert direction" +msgstr "反相方向" + +#: ../src/option.c:1097 +msgid "Add mark to scale (may be used multiple times)" +msgstr "將標記加入尺度 (也許會被多次使用)" + +#: ../src/option.c:1098 +msgid "NAME:VALUE" +msgstr "名稱:值" + +#: ../src/option.c:1107 +msgid "Display text information dialog" +msgstr "顯示文字資訊對話框" + +#: ../src/option.c:1113 +msgid "Use specified color for text" +msgstr "使用指定的文字顏色" + +#: ../src/option.c:1119 +msgid "Use specified color for background" +msgstr "使用指定的背景顏色" + +#: ../src/option.c:1131 +msgid "Enable text wrapping" +msgstr "啟用文字環繞" + +#: ../src/option.c:1137 +msgid "Set justification (TYPE - left, right, center or fill)" +msgstr "設定調整 (型態 - left, right, center 或 fill)" + +#: ../src/option.c:1143 +msgid "Set text margins" +msgstr "設定文字邊距" + +#: ../src/option.c:1144 +msgid "SIZE" +msgstr "大小" + +#: ../src/option.c:1149 +msgid "Autoscroll to end of text" +msgstr "自動捲動到文末" + +#: ../src/option.c:1155 +msgid "Open file" +msgstr "開啟檔案" + +#: ../src/option.c:1167 +msgid "Make URI clickable" +msgstr "讓 URI 可點選" + +#: ../src/option.c:1173 +msgid "Listen for data on stdin in addition to file" +msgstr "" + +#: ../src/option.c:1183 +msgid "Show about dialog" +msgstr "顯示關於對話框" + +#: ../src/option.c:1189 +msgid "Print version" +msgstr "印出版本" + +#: ../src/option.c:1199 +msgid "Load extra arguments from file" +msgstr "從檔案載入額外引數" + +#: ../src/option.c:1244 ../src/option.c:1459 +#, c-format +msgid "Unknown align type: %s\n" +msgstr "不明的對齊型態:%s\n" + +#: ../src/option.c:1401 +#, c-format +msgid "Mark %s doesn't have a value\n" +msgstr "標記 %s 沒有值\n" + +#: ../src/option.c:1444 +#, fuzzy, c-format +msgid "Unknown buttons layout type: %s\n" +msgstr "不明的來源型態:%s\n" + +#: ../src/option.c:1476 +#, c-format +msgid "Unknown justification type: %s\n" +msgstr "不明的調整型態:%s\n" + +#: ../src/option.c:1493 +#, fuzzy, c-format +msgid "Unknown tab position type: %s\n" +msgstr "不明的對齊型態:%s\n" + +#: ../src/option.c:1529 +#, c-format +msgid "Unknown ellipsize type: %s\n" +msgstr "不明的省略型態:%s\n" + +#: ../src/option.c:1544 +#, c-format +msgid "Unknown source type: %s\n" +msgstr "不明的來源型態:%s\n" + +#: ../src/option.c:1555 +#, fuzzy +msgid "Progress log" +msgstr "進度選項" + +#: ../src/option.c:1664 +#, fuzzy, c-format +msgid "Unknown signal: %s\n" +msgstr "不明的對齊型態:%s\n" + +#: ../src/option.c:1807 +msgid "File exist. Overwrite?" +msgstr "檔案已存在。覆寫?" + +#: ../src/option.c:1900 +msgid "Yet another dialoging program" +msgstr "又一個對話框程式" + +#. Adds general option entries +#: ../src/option.c:1904 +msgid "General options" +msgstr "一般選項" + +#: ../src/option.c:1904 +msgid "Show general options" +msgstr "顯示一般選項" + +#. Adds calendar option entries +#: ../src/option.c:1910 +msgid "Calendar options" +msgstr "行事曆選項" + +#: ../src/option.c:1910 +msgid "Show calendar options" +msgstr "顯示行事曆選項" + +#. Adds color option entries +#: ../src/option.c:1916 +msgid "Color selection options" +msgstr "顏色選擇選項" + +#: ../src/option.c:1916 +msgid "Show color selection options" +msgstr "顯示顏色選擇選項" + +#. Adds dnd option entries +#: ../src/option.c:1922 +msgid "DND options" +msgstr "拖放選項" + +#: ../src/option.c:1922 +msgid "Show drag-n-drop options" +msgstr "顯示拖放選項" + +#. Adds entry option entries +#: ../src/option.c:1928 +msgid "Text entry options" +msgstr "文字輸入框選項" + +#: ../src/option.c:1928 +msgid "Show text entry options" +msgstr "顯示文字輸入框選項" + +#. Adds file selection option entries +#: ../src/option.c:1934 +msgid "File selection options" +msgstr "檔案選取選項" + +#: ../src/option.c:1934 +msgid "Show file selection options" +msgstr "顯示檔案選取選項" + +#. Add font selection option entries +#: ../src/option.c:1940 +msgid "Font selection options" +msgstr "字型選擇選項" + +#: ../src/option.c:1940 +msgid "Show font selection options" +msgstr "顯示字型選擇選項" + +#. Add form option entries +#: ../src/option.c:1946 +msgid "Form options" +msgstr "表單選項" + +#: ../src/option.c:1946 +msgid "Show form options" +msgstr "顯示表單選項" + +#. Add icons option entries +#: ../src/option.c:1952 +msgid "Icons box options" +msgstr "圖示框選項" + +#: ../src/option.c:1952 +msgid "Show icons box options" +msgstr "顯示圖示框選項" + +#. Adds list option entries +#: ../src/option.c:1958 +msgid "List options" +msgstr "清單選項" + +#: ../src/option.c:1958 +msgid "Show list options" +msgstr "顯示清單選項" + +#. Adds multi progress option entries +#: ../src/option.c:1964 +msgid "Multi progress bars options" +msgstr "多重進度條選項" + +#: ../src/option.c:1965 +#, fuzzy +msgid "Show multi progress bars options" +msgstr "顯示多重進度條選項" + +#. Adds notebook option entries +#: ../src/option.c:1971 +#, fuzzy +msgid "Notebook options" +msgstr "拖放選項" + +#: ../src/option.c:1971 +#, fuzzy +msgid "Show notebook dialog options" +msgstr "顯示列印對話框選項" + +#. Adds notification option entries +#: ../src/option.c:1977 +msgid "Notification icon options" +msgstr "通知圖示選項" + +#: ../src/option.c:1978 +msgid "Show notification icon options" +msgstr "顯示通知圖示選項" + +#. Adds print option entries +#: ../src/option.c:1984 +msgid "Print dialog options" +msgstr "列印對話框選項" + +#: ../src/option.c:1984 +msgid "Show print dialog options" +msgstr "顯示列印對話框選項" + +#. Adds progress option entries +#: ../src/option.c:1990 +msgid "Progress options" +msgstr "進度選項" + +#: ../src/option.c:1990 +msgid "Show progress options" +msgstr "顯示進度選項" + +#. Adds scale option entries +#: ../src/option.c:1996 +msgid "Scale options" +msgstr "尺度選項" + +#: ../src/option.c:1996 +msgid "Show scale options" +msgstr "顯示尺度選項" + +#. Adds text option entries +#: ../src/option.c:2002 +msgid "Text information options" +msgstr "文字資訊選項" + +#: ../src/option.c:2002 +msgid "Show text information options" +msgstr "顯示文字資訊選項" + +#. Adds miscellaneous option entries +#: ../src/option.c:2008 +msgid "Miscellaneous options" +msgstr "雜項選項" + +#: ../src/option.c:2008 +msgid "Show miscellaneous options" +msgstr "顯示雜項選項" + +#: ../src/print.c:202 ../src/print.c:361 +#, c-format +msgid "Printing failed: %s\n" +msgstr "列印失敗:%s\n" + +#: ../src/print.c:230 +#, c-format +msgid "File %s not found.\n" +msgstr "找不到檔案 %s。\n" + +#: ../src/print.c:236 +#, c-format +msgid "Filename is not specified.\n" +msgstr "檔名未被指定。\n" + +#: ../src/print.c:377 +#, c-format +msgid "Printer doesn't support ps format.\n" +msgstr "印表機不支援 ps 格式。\n" + +#: ../src/print.c:385 +#, c-format +msgid "Printer doesn't support pdf format.\n" +msgstr "印表機不支援 pdf 格式。\n" + +#: ../src/print.c:391 +#, c-format +msgid "This file type is not supported for raw printing.\n" +msgstr "原始資料列印不支援這個檔案類型。\n" + +#: ../src/print.c:405 +#, c-format +msgid "Load source file failed: %s\n" +msgstr "載入原始檔案失敗:%s\n" + +#: ../src/color.c:65 +#, c-format +msgid "Can't open file %s: %s\n" +msgstr "無法開啟檔案 %s:%s\n" + +#. create expander +#: ../src/color.c:150 +msgid "Palette" +msgstr "調色盤" + +#: ../src/color.c:169 +msgid "Color" +msgstr "顏色" + +#: ../src/color.c:186 +msgid "Name" +msgstr "名稱" + +#: ../src/text.c:418 +#, c-format +msgid "Invalid UTF-8 data encountered reading file %s\n" +msgstr "讀取檔案 %s 時遇到無效的 UTF-8 資料\n" + +#: ../src/browser.c:132 +msgid "scalable " +msgstr "可縮放的 " + +#: ../src/browser.c:142 +msgid "built-in" +msgstr "內建" + +#. initialize GTK+ and parse the command line arguments +#: ../src/browser.c:200 +msgid "- Icon browser" +msgstr "- 圖示瀏覽器" + +#: ../src/browser.c:213 +msgid "Icon browser" +msgstr "圖示瀏覽器" + +#: ../src/browser.c:247 +msgid "<b>Name:</b>" +msgstr "" + +#: ../src/browser.c:265 +msgid "<b>Sizes:</b>" +msgstr "" + +#: ../src/browser.c:283 +msgid "<b>Filename:</b>" +msgstr "" + +#: ../src/browser.c:325 +msgid "Category" +msgstr "分類" + +#: ../src/browser.c:356 +msgid "Icons" +msgstr "圖示" + +#: ../data/yad-icon-browser.desktop.in.h:1 +msgid "Icon Browser" +msgstr "圖示瀏覽器" + +#: ../data/yad-icon-browser.desktop.in.h:2 +msgid "Inspect GTK Icon Theme" +msgstr "檢閱 GTK 圖示布景主題" + +#, fuzzy +#~ msgid "Set alignment of tab labels (left, center or right)" +#~ msgstr "設定欄位標籤的對齊 (靠左、置中或靠右)" + +#~ msgid "" +#~ "<b>Name:</b> %s\n" +#~ "<b>Sizes:</b> %s\n" +#~ "<b>Filename:</b> %s" +#~ msgstr "" +#~ "<b>名稱:</b> %s\n" +#~ "<b>大小:</b> %s\n" +#~ "<b>檔名:</b> %s" + +#, fuzzy +#~ msgid "NUM" +#~ msgstr "編號" + +#~ msgid "Alias to checklist (deprecated)" +#~ msgstr "做為 checklist 的別名 (不宜再用)"
View file
yad-0.16.3.tar.bz2/src/Makefile.am -> yad-0.36.2.tar.xz/src/Makefile.am
Changed
@@ -1,4 +1,4 @@ -INCLUDES = \ +AM_CPPFLAGS = \ -DLOCALEDIR=\""$(datadir)/locale"\" \ @DISABLE_DEPRECATED@ @@ -16,8 +16,11 @@ icons.c \ list.c \ multi-progress.c \ + notebook.c \ notification.c \ option.c \ + paned.c \ + picture.c \ print.c \ progress.c \ scale.c \ @@ -27,13 +30,17 @@ yad.h \ calendar.xpm -yad_CFLAGS = $(YAD_CFLAGS) -yad_LDADD = $(YAD_LIBS) +if HTML +yad_SOURCES += html.c +endif + +yad_CFLAGS = $(GTK_CFLAGS) $(HTML_CFLAGS) $(SPELL_CFLAGS) $(SOURCEVIEW_CFLAGS) +yad_LDADD = $(GTK_LIBS) $(HTML_LIBS) $(SPELL_LIBS) $(SOURCEVIEW_LIBS) if BUILD_IB bin_PROGRAMS += yad-icon-browser yad_icon_browser_SOURCES = browser.c -yad_icon_browser_CFLAGS = $(YAD_CFLAGS) -yad_icon_browser_LDADD = $(YAD_LIBS) +yad_icon_browser_CFLAGS = $(GTK_CFLAGS) +yad_icon_browser_LDADD = $(GTK_LIBS) endif
View file
yad-0.16.3.tar.bz2/src/Makefile.in -> yad-0.36.2.tar.xz/src/Makefile.in
Changed
@@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\\ \ *) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs$$bs $$bs *//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -dEDm) skip_next=yes;; \ + -JT) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -33,14 +87,15 @@ PRE_UNINSTALL = : POST_UNINSTALL = : bin_PROGRAMS = yad$(EXEEXT) $(am__EXEEXT_1) -@BUILD_IB_TRUE@am__append_1 = yad-icon-browser +@HTML_TRUE@am__append_1 = html.c +@BUILD_IB_TRUE@am__append_2 = yad-icon-browser subdir = src -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = @@ -48,17 +103,24 @@ @BUILD_IB_TRUE@am__EXEEXT_1 = yad-icon-browser$(EXEEXT) am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) +am__yad_SOURCES_DIST = about.c calendar.c color.c dnd.c entry.c file.c \ + font.c form.c icons.c list.c multi-progress.c notebook.c \ + notification.c option.c paned.c picture.c print.c progress.c \ + scale.c text.c util.c main.c yad.h calendar.xpm html.c +@HTML_TRUE@am__objects_1 = yad-html.$(OBJEXT) am_yad_OBJECTS = yad-about.$(OBJEXT) yad-calendar.$(OBJEXT) \ yad-color.$(OBJEXT) yad-dnd.$(OBJEXT) yad-entry.$(OBJEXT) \ yad-file.$(OBJEXT) yad-font.$(OBJEXT) yad-form.$(OBJEXT) \ yad-icons.$(OBJEXT) yad-list.$(OBJEXT) \ - yad-multi-progress.$(OBJEXT) yad-notification.$(OBJEXT) \ - yad-option.$(OBJEXT) yad-print.$(OBJEXT) \ + yad-multi-progress.$(OBJEXT) yad-notebook.$(OBJEXT) \ + yad-notification.$(OBJEXT) yad-option.$(OBJEXT) \ + yad-paned.$(OBJEXT) yad-picture.$(OBJEXT) yad-print.$(OBJEXT) \ yad-progress.$(OBJEXT) yad-scale.$(OBJEXT) yad-text.$(OBJEXT) \ - yad-util.$(OBJEXT) yad-main.$(OBJEXT) + yad-util.$(OBJEXT) yad-main.$(OBJEXT) $(am__objects_1) yad_OBJECTS = $(am_yad_OBJECTS) am__DEPENDENCIES_1 = -yad_DEPENDENCIES = $(am__DEPENDENCIES_1) +yad_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) yad_LINK = $(CCLD) $(yad_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \ $@ am__yad_icon_browser_SOURCES_DIST = browser.c @@ -68,39 +130,75 @@ @BUILD_IB_TRUE@yad_icon_browser_DEPENDENCIES = $(am__DEPENDENCIES_1) yad_icon_browser_LINK = $(CCLD) $(yad_icon_browser_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp +depcomp = $(SHELL) $(top_srcdir)/build/depcomp am__depfiles_maybe = depfiles am__mv = mv -f -AM_V_lt = $(am__v_lt_$(V)) -am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent +am__v_lt_1 = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_$(V)) -am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) -am__v_CC_0 = @echo " CC " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) -am__v_at_0 = @ +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_$(V)) -am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) -am__v_CCLD_0 = @echo " CCLD " $@; -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = SOURCES = $(yad_SOURCES) $(yad_icon_browser_SOURCES) -DIST_SOURCES = $(yad_SOURCES) $(am__yad_icon_browser_SOURCES_DIST) +DIST_SOURCES = $(am__yad_SOURCES_DIST) \ + $(am__yad_icon_browser_SOURCES_DIST) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items$$0 = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/build/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_CFLAGS = @AM_CFLAGS@ -AM_CPPFLAGS = @AM_CPPFLAGS@ +AM_CPPFLAGS = \ + -DLOCALEDIR=\""$(datadir)/locale"\" \ + @DISABLE_DEPRECATED@ + AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AM_LDFLAGS = @AM_LDFLAGS@ AUTOCONF = @AUTOCONF@ @@ -125,9 +223,15 @@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_CFLAGS = @HTML_CFLAGS@ +HTML_LIBS = @HTML_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -139,6 +243,10 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ @@ -168,12 +276,14 @@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +SOURCEVIEW_CFLAGS = @SOURCEVIEW_CFLAGS@ +SOURCEVIEW_LIBS = @SOURCEVIEW_LIBS@ +SPELL_CFLAGS = @SPELL_CFLAGS@ +SPELL_LIBS = @SPELL_LIBS@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ -YAD_CFLAGS = @YAD_CFLAGS@ -YAD_LIBS = @YAD_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -197,6 +307,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -216,38 +328,16 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -INCLUDES = \ - -DLOCALEDIR=\""$(datadir)/locale"\" \ - @DISABLE_DEPRECATED@ - -yad_SOURCES = \ - about.c \ - calendar.c \ - color.c \ - dnd.c \ - entry.c \ - file.c \ - font.c \ - form.c \ - icons.c \ - list.c \ - multi-progress.c \ - notification.c \ - option.c \ - print.c \ - progress.c \ - scale.c \ - text.c \ - util.c \ - main.c \ - yad.h \ - calendar.xpm - -yad_CFLAGS = $(YAD_CFLAGS) -yad_LDADD = $(YAD_LIBS) +yad_SOURCES = about.c calendar.c color.c dnd.c entry.c file.c font.c \ + form.c icons.c list.c multi-progress.c notebook.c \ + notification.c option.c paned.c picture.c print.c progress.c \ + scale.c text.c util.c main.c yad.h calendar.xpm \ + $(am__append_1) +yad_CFLAGS = $(GTK_CFLAGS) $(HTML_CFLAGS) $(SPELL_CFLAGS) $(SOURCEVIEW_CFLAGS) +yad_LDADD = $(GTK_LIBS) $(HTML_LIBS) $(SPELL_LIBS) $(SOURCEVIEW_LIBS) @BUILD_IB_TRUE@yad_icon_browser_SOURCES = browser.c -@BUILD_IB_TRUE@yad_icon_browser_CFLAGS = $(YAD_CFLAGS) -@BUILD_IB_TRUE@yad_icon_browser_LDADD = $(YAD_LIBS) +@BUILD_IB_TRUE@yad_icon_browser_CFLAGS = $(GTK_CFLAGS) +@BUILD_IB_TRUE@yad_icon_browser_LDADD = $(GTK_LIBS) all: all-am .SUFFIXES: @@ -264,7 +354,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign src/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -284,14 +373,18 @@ $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p; \ - then echo "$$p"; echo "$$p"; else :; fi; \ + while read p p1; do if test -f $$p \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files"." = ""; dirs"." = 1 } \ @@ -312,17 +405,20 @@ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ + -e 's/$$/$(EXEEXT)/' \ + `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) -yad$(EXEEXT): $(yad_OBJECTS) $(yad_DEPENDENCIES) + +yad$(EXEEXT): $(yad_OBJECTS) $(yad_DEPENDENCIES) $(EXTRA_yad_DEPENDENCIES) @rm -f yad$(EXEEXT) $(AM_V_CCLD)$(yad_LINK) $(yad_OBJECTS) $(yad_LDADD) $(LIBS) -yad-icon-browser$(EXEEXT): $(yad_icon_browser_OBJECTS) $(yad_icon_browser_DEPENDENCIES) + +yad-icon-browser$(EXEEXT): $(yad_icon_browser_OBJECTS) $(yad_icon_browser_DEPENDENCIES) $(EXTRA_yad_icon_browser_DEPENDENCIES) @rm -f yad-icon-browser$(EXEEXT) $(AM_V_CCLD)$(yad_icon_browser_LINK) $(yad_icon_browser_OBJECTS) $(yad_icon_browser_LDADD) $(LIBS) @@ -340,12 +436,16 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-file.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-font.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-form.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-html.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-icons.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-list.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-multi-progress.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-notebook.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-notification.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-option.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-paned.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-picture.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-print.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-progress.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yad-scale.Po@am__quote@ @@ -356,359 +456,362 @@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` yad-about.o: about.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-about.o -MD -MP -MF $(DEPDIR)/yad-about.Tpo -c -o yad-about.o `test -f 'about.c' || echo '$(srcdir)/'`about.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-about.Tpo $(DEPDIR)/yad-about.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='about.c' object='yad-about.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='about.c' object='yad-about.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-about.o `test -f 'about.c' || echo '$(srcdir)/'`about.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-about.o `test -f 'about.c' || echo '$(srcdir)/'`about.c yad-about.obj: about.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-about.obj -MD -MP -MF $(DEPDIR)/yad-about.Tpo -c -o yad-about.obj `if test -f 'about.c'; then $(CYGPATH_W) 'about.c'; else $(CYGPATH_W) '$(srcdir)/about.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-about.Tpo $(DEPDIR)/yad-about.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='about.c' object='yad-about.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='about.c' object='yad-about.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-about.obj `if test -f 'about.c'; then $(CYGPATH_W) 'about.c'; else $(CYGPATH_W) '$(srcdir)/about.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-about.obj `if test -f 'about.c'; then $(CYGPATH_W) 'about.c'; else $(CYGPATH_W) '$(srcdir)/about.c'; fi` yad-calendar.o: calendar.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-calendar.o -MD -MP -MF $(DEPDIR)/yad-calendar.Tpo -c -o yad-calendar.o `test -f 'calendar.c' || echo '$(srcdir)/'`calendar.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-calendar.Tpo $(DEPDIR)/yad-calendar.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='calendar.c' object='yad-calendar.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='calendar.c' object='yad-calendar.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-calendar.o `test -f 'calendar.c' || echo '$(srcdir)/'`calendar.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-calendar.o `test -f 'calendar.c' || echo '$(srcdir)/'`calendar.c yad-calendar.obj: calendar.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-calendar.obj -MD -MP -MF $(DEPDIR)/yad-calendar.Tpo -c -o yad-calendar.obj `if test -f 'calendar.c'; then $(CYGPATH_W) 'calendar.c'; else $(CYGPATH_W) '$(srcdir)/calendar.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-calendar.Tpo $(DEPDIR)/yad-calendar.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='calendar.c' object='yad-calendar.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='calendar.c' object='yad-calendar.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-calendar.obj `if test -f 'calendar.c'; then $(CYGPATH_W) 'calendar.c'; else $(CYGPATH_W) '$(srcdir)/calendar.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-calendar.obj `if test -f 'calendar.c'; then $(CYGPATH_W) 'calendar.c'; else $(CYGPATH_W) '$(srcdir)/calendar.c'; fi` yad-color.o: color.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-color.o -MD -MP -MF $(DEPDIR)/yad-color.Tpo -c -o yad-color.o `test -f 'color.c' || echo '$(srcdir)/'`color.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-color.Tpo $(DEPDIR)/yad-color.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='color.c' object='yad-color.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='color.c' object='yad-color.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-color.o `test -f 'color.c' || echo '$(srcdir)/'`color.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-color.o `test -f 'color.c' || echo '$(srcdir)/'`color.c yad-color.obj: color.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-color.obj -MD -MP -MF $(DEPDIR)/yad-color.Tpo -c -o yad-color.obj `if test -f 'color.c'; then $(CYGPATH_W) 'color.c'; else $(CYGPATH_W) '$(srcdir)/color.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-color.Tpo $(DEPDIR)/yad-color.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='color.c' object='yad-color.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='color.c' object='yad-color.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-color.obj `if test -f 'color.c'; then $(CYGPATH_W) 'color.c'; else $(CYGPATH_W) '$(srcdir)/color.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-color.obj `if test -f 'color.c'; then $(CYGPATH_W) 'color.c'; else $(CYGPATH_W) '$(srcdir)/color.c'; fi` yad-dnd.o: dnd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-dnd.o -MD -MP -MF $(DEPDIR)/yad-dnd.Tpo -c -o yad-dnd.o `test -f 'dnd.c' || echo '$(srcdir)/'`dnd.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-dnd.Tpo $(DEPDIR)/yad-dnd.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dnd.c' object='yad-dnd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='dnd.c' object='yad-dnd.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-dnd.o `test -f 'dnd.c' || echo '$(srcdir)/'`dnd.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-dnd.o `test -f 'dnd.c' || echo '$(srcdir)/'`dnd.c yad-dnd.obj: dnd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-dnd.obj -MD -MP -MF $(DEPDIR)/yad-dnd.Tpo -c -o yad-dnd.obj `if test -f 'dnd.c'; then $(CYGPATH_W) 'dnd.c'; else $(CYGPATH_W) '$(srcdir)/dnd.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-dnd.Tpo $(DEPDIR)/yad-dnd.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dnd.c' object='yad-dnd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='dnd.c' object='yad-dnd.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-dnd.obj `if test -f 'dnd.c'; then $(CYGPATH_W) 'dnd.c'; else $(CYGPATH_W) '$(srcdir)/dnd.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-dnd.obj `if test -f 'dnd.c'; then $(CYGPATH_W) 'dnd.c'; else $(CYGPATH_W) '$(srcdir)/dnd.c'; fi` yad-entry.o: entry.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-entry.o -MD -MP -MF $(DEPDIR)/yad-entry.Tpo -c -o yad-entry.o `test -f 'entry.c' || echo '$(srcdir)/'`entry.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-entry.Tpo $(DEPDIR)/yad-entry.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='entry.c' object='yad-entry.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='entry.c' object='yad-entry.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-entry.o `test -f 'entry.c' || echo '$(srcdir)/'`entry.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-entry.o `test -f 'entry.c' || echo '$(srcdir)/'`entry.c yad-entry.obj: entry.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-entry.obj -MD -MP -MF $(DEPDIR)/yad-entry.Tpo -c -o yad-entry.obj `if test -f 'entry.c'; then $(CYGPATH_W) 'entry.c'; else $(CYGPATH_W) '$(srcdir)/entry.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-entry.Tpo $(DEPDIR)/yad-entry.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='entry.c' object='yad-entry.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='entry.c' object='yad-entry.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-entry.obj `if test -f 'entry.c'; then $(CYGPATH_W) 'entry.c'; else $(CYGPATH_W) '$(srcdir)/entry.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-entry.obj `if test -f 'entry.c'; then $(CYGPATH_W) 'entry.c'; else $(CYGPATH_W) '$(srcdir)/entry.c'; fi` yad-file.o: file.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-file.o -MD -MP -MF $(DEPDIR)/yad-file.Tpo -c -o yad-file.o `test -f 'file.c' || echo '$(srcdir)/'`file.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-file.Tpo $(DEPDIR)/yad-file.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='file.c' object='yad-file.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='file.c' object='yad-file.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-file.o `test -f 'file.c' || echo '$(srcdir)/'`file.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-file.o `test -f 'file.c' || echo '$(srcdir)/'`file.c yad-file.obj: file.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-file.obj -MD -MP -MF $(DEPDIR)/yad-file.Tpo -c -o yad-file.obj `if test -f 'file.c'; then $(CYGPATH_W) 'file.c'; else $(CYGPATH_W) '$(srcdir)/file.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-file.Tpo $(DEPDIR)/yad-file.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='file.c' object='yad-file.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='file.c' object='yad-file.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-file.obj `if test -f 'file.c'; then $(CYGPATH_W) 'file.c'; else $(CYGPATH_W) '$(srcdir)/file.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-file.obj `if test -f 'file.c'; then $(CYGPATH_W) 'file.c'; else $(CYGPATH_W) '$(srcdir)/file.c'; fi` yad-font.o: font.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-font.o -MD -MP -MF $(DEPDIR)/yad-font.Tpo -c -o yad-font.o `test -f 'font.c' || echo '$(srcdir)/'`font.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-font.Tpo $(DEPDIR)/yad-font.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='font.c' object='yad-font.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='font.c' object='yad-font.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-font.o `test -f 'font.c' || echo '$(srcdir)/'`font.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-font.o `test -f 'font.c' || echo '$(srcdir)/'`font.c yad-font.obj: font.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-font.obj -MD -MP -MF $(DEPDIR)/yad-font.Tpo -c -o yad-font.obj `if test -f 'font.c'; then $(CYGPATH_W) 'font.c'; else $(CYGPATH_W) '$(srcdir)/font.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-font.Tpo $(DEPDIR)/yad-font.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='font.c' object='yad-font.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='font.c' object='yad-font.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-font.obj `if test -f 'font.c'; then $(CYGPATH_W) 'font.c'; else $(CYGPATH_W) '$(srcdir)/font.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-font.obj `if test -f 'font.c'; then $(CYGPATH_W) 'font.c'; else $(CYGPATH_W) '$(srcdir)/font.c'; fi` yad-form.o: form.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-form.o -MD -MP -MF $(DEPDIR)/yad-form.Tpo -c -o yad-form.o `test -f 'form.c' || echo '$(srcdir)/'`form.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-form.Tpo $(DEPDIR)/yad-form.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='form.c' object='yad-form.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='form.c' object='yad-form.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-form.o `test -f 'form.c' || echo '$(srcdir)/'`form.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-form.o `test -f 'form.c' || echo '$(srcdir)/'`form.c yad-form.obj: form.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-form.obj -MD -MP -MF $(DEPDIR)/yad-form.Tpo -c -o yad-form.obj `if test -f 'form.c'; then $(CYGPATH_W) 'form.c'; else $(CYGPATH_W) '$(srcdir)/form.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-form.Tpo $(DEPDIR)/yad-form.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='form.c' object='yad-form.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='form.c' object='yad-form.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-form.obj `if test -f 'form.c'; then $(CYGPATH_W) 'form.c'; else $(CYGPATH_W) '$(srcdir)/form.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-form.obj `if test -f 'form.c'; then $(CYGPATH_W) 'form.c'; else $(CYGPATH_W) '$(srcdir)/form.c'; fi` yad-icons.o: icons.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-icons.o -MD -MP -MF $(DEPDIR)/yad-icons.Tpo -c -o yad-icons.o `test -f 'icons.c' || echo '$(srcdir)/'`icons.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-icons.Tpo $(DEPDIR)/yad-icons.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='icons.c' object='yad-icons.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='icons.c' object='yad-icons.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-icons.o `test -f 'icons.c' || echo '$(srcdir)/'`icons.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-icons.o `test -f 'icons.c' || echo '$(srcdir)/'`icons.c yad-icons.obj: icons.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-icons.obj -MD -MP -MF $(DEPDIR)/yad-icons.Tpo -c -o yad-icons.obj `if test -f 'icons.c'; then $(CYGPATH_W) 'icons.c'; else $(CYGPATH_W) '$(srcdir)/icons.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-icons.Tpo $(DEPDIR)/yad-icons.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='icons.c' object='yad-icons.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='icons.c' object='yad-icons.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-icons.obj `if test -f 'icons.c'; then $(CYGPATH_W) 'icons.c'; else $(CYGPATH_W) '$(srcdir)/icons.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-icons.obj `if test -f 'icons.c'; then $(CYGPATH_W) 'icons.c'; else $(CYGPATH_W) '$(srcdir)/icons.c'; fi` yad-list.o: list.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-list.o -MD -MP -MF $(DEPDIR)/yad-list.Tpo -c -o yad-list.o `test -f 'list.c' || echo '$(srcdir)/'`list.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-list.Tpo $(DEPDIR)/yad-list.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='list.c' object='yad-list.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='list.c' object='yad-list.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-list.o `test -f 'list.c' || echo '$(srcdir)/'`list.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-list.o `test -f 'list.c' || echo '$(srcdir)/'`list.c yad-list.obj: list.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-list.obj -MD -MP -MF $(DEPDIR)/yad-list.Tpo -c -o yad-list.obj `if test -f 'list.c'; then $(CYGPATH_W) 'list.c'; else $(CYGPATH_W) '$(srcdir)/list.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-list.Tpo $(DEPDIR)/yad-list.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='list.c' object='yad-list.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='list.c' object='yad-list.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-list.obj `if test -f 'list.c'; then $(CYGPATH_W) 'list.c'; else $(CYGPATH_W) '$(srcdir)/list.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-list.obj `if test -f 'list.c'; then $(CYGPATH_W) 'list.c'; else $(CYGPATH_W) '$(srcdir)/list.c'; fi` yad-multi-progress.o: multi-progress.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-multi-progress.o -MD -MP -MF $(DEPDIR)/yad-multi-progress.Tpo -c -o yad-multi-progress.o `test -f 'multi-progress.c' || echo '$(srcdir)/'`multi-progress.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-multi-progress.Tpo $(DEPDIR)/yad-multi-progress.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='multi-progress.c' object='yad-multi-progress.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='multi-progress.c' object='yad-multi-progress.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-multi-progress.o `test -f 'multi-progress.c' || echo '$(srcdir)/'`multi-progress.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-multi-progress.o `test -f 'multi-progress.c' || echo '$(srcdir)/'`multi-progress.c yad-multi-progress.obj: multi-progress.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-multi-progress.obj -MD -MP -MF $(DEPDIR)/yad-multi-progress.Tpo -c -o yad-multi-progress.obj `if test -f 'multi-progress.c'; then $(CYGPATH_W) 'multi-progress.c'; else $(CYGPATH_W) '$(srcdir)/multi-progress.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-multi-progress.Tpo $(DEPDIR)/yad-multi-progress.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='multi-progress.c' object='yad-multi-progress.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='multi-progress.c' object='yad-multi-progress.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-multi-progress.obj `if test -f 'multi-progress.c'; then $(CYGPATH_W) 'multi-progress.c'; else $(CYGPATH_W) '$(srcdir)/multi-progress.c'; fi` + +yad-notebook.o: notebook.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-notebook.o -MD -MP -MF $(DEPDIR)/yad-notebook.Tpo -c -o yad-notebook.o `test -f 'notebook.c' || echo '$(srcdir)/'`notebook.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-notebook.Tpo $(DEPDIR)/yad-notebook.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='notebook.c' object='yad-notebook.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-notebook.o `test -f 'notebook.c' || echo '$(srcdir)/'`notebook.c + +yad-notebook.obj: notebook.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-notebook.obj -MD -MP -MF $(DEPDIR)/yad-notebook.Tpo -c -o yad-notebook.obj `if test -f 'notebook.c'; then $(CYGPATH_W) 'notebook.c'; else $(CYGPATH_W) '$(srcdir)/notebook.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-notebook.Tpo $(DEPDIR)/yad-notebook.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='notebook.c' object='yad-notebook.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-multi-progress.obj `if test -f 'multi-progress.c'; then $(CYGPATH_W) 'multi-progress.c'; else $(CYGPATH_W) '$(srcdir)/multi-progress.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-notebook.obj `if test -f 'notebook.c'; then $(CYGPATH_W) 'notebook.c'; else $(CYGPATH_W) '$(srcdir)/notebook.c'; fi` yad-notification.o: notification.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-notification.o -MD -MP -MF $(DEPDIR)/yad-notification.Tpo -c -o yad-notification.o `test -f 'notification.c' || echo '$(srcdir)/'`notification.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-notification.Tpo $(DEPDIR)/yad-notification.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='notification.c' object='yad-notification.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='notification.c' object='yad-notification.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-notification.o `test -f 'notification.c' || echo '$(srcdir)/'`notification.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-notification.o `test -f 'notification.c' || echo '$(srcdir)/'`notification.c yad-notification.obj: notification.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-notification.obj -MD -MP -MF $(DEPDIR)/yad-notification.Tpo -c -o yad-notification.obj `if test -f 'notification.c'; then $(CYGPATH_W) 'notification.c'; else $(CYGPATH_W) '$(srcdir)/notification.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-notification.Tpo $(DEPDIR)/yad-notification.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='notification.c' object='yad-notification.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='notification.c' object='yad-notification.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-notification.obj `if test -f 'notification.c'; then $(CYGPATH_W) 'notification.c'; else $(CYGPATH_W) '$(srcdir)/notification.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-notification.obj `if test -f 'notification.c'; then $(CYGPATH_W) 'notification.c'; else $(CYGPATH_W) '$(srcdir)/notification.c'; fi` yad-option.o: option.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-option.o -MD -MP -MF $(DEPDIR)/yad-option.Tpo -c -o yad-option.o `test -f 'option.c' || echo '$(srcdir)/'`option.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-option.Tpo $(DEPDIR)/yad-option.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='option.c' object='yad-option.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='option.c' object='yad-option.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-option.o `test -f 'option.c' || echo '$(srcdir)/'`option.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-option.o `test -f 'option.c' || echo '$(srcdir)/'`option.c yad-option.obj: option.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-option.obj -MD -MP -MF $(DEPDIR)/yad-option.Tpo -c -o yad-option.obj `if test -f 'option.c'; then $(CYGPATH_W) 'option.c'; else $(CYGPATH_W) '$(srcdir)/option.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-option.Tpo $(DEPDIR)/yad-option.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='option.c' object='yad-option.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='option.c' object='yad-option.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-option.obj `if test -f 'option.c'; then $(CYGPATH_W) 'option.c'; else $(CYGPATH_W) '$(srcdir)/option.c'; fi` + +yad-paned.o: paned.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-paned.o -MD -MP -MF $(DEPDIR)/yad-paned.Tpo -c -o yad-paned.o `test -f 'paned.c' || echo '$(srcdir)/'`paned.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-paned.Tpo $(DEPDIR)/yad-paned.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='paned.c' object='yad-paned.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-paned.o `test -f 'paned.c' || echo '$(srcdir)/'`paned.c + +yad-paned.obj: paned.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-paned.obj -MD -MP -MF $(DEPDIR)/yad-paned.Tpo -c -o yad-paned.obj `if test -f 'paned.c'; then $(CYGPATH_W) 'paned.c'; else $(CYGPATH_W) '$(srcdir)/paned.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-paned.Tpo $(DEPDIR)/yad-paned.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='paned.c' object='yad-paned.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-option.obj `if test -f 'option.c'; then $(CYGPATH_W) 'option.c'; else $(CYGPATH_W) '$(srcdir)/option.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-paned.obj `if test -f 'paned.c'; then $(CYGPATH_W) 'paned.c'; else $(CYGPATH_W) '$(srcdir)/paned.c'; fi` + +yad-picture.o: picture.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-picture.o -MD -MP -MF $(DEPDIR)/yad-picture.Tpo -c -o yad-picture.o `test -f 'picture.c' || echo '$(srcdir)/'`picture.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-picture.Tpo $(DEPDIR)/yad-picture.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='picture.c' object='yad-picture.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-picture.o `test -f 'picture.c' || echo '$(srcdir)/'`picture.c + +yad-picture.obj: picture.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-picture.obj -MD -MP -MF $(DEPDIR)/yad-picture.Tpo -c -o yad-picture.obj `if test -f 'picture.c'; then $(CYGPATH_W) 'picture.c'; else $(CYGPATH_W) '$(srcdir)/picture.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-picture.Tpo $(DEPDIR)/yad-picture.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='picture.c' object='yad-picture.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-picture.obj `if test -f 'picture.c'; then $(CYGPATH_W) 'picture.c'; else $(CYGPATH_W) '$(srcdir)/picture.c'; fi` yad-print.o: print.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-print.o -MD -MP -MF $(DEPDIR)/yad-print.Tpo -c -o yad-print.o `test -f 'print.c' || echo '$(srcdir)/'`print.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-print.Tpo $(DEPDIR)/yad-print.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='print.c' object='yad-print.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='print.c' object='yad-print.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-print.o `test -f 'print.c' || echo '$(srcdir)/'`print.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-print.o `test -f 'print.c' || echo '$(srcdir)/'`print.c yad-print.obj: print.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-print.obj -MD -MP -MF $(DEPDIR)/yad-print.Tpo -c -o yad-print.obj `if test -f 'print.c'; then $(CYGPATH_W) 'print.c'; else $(CYGPATH_W) '$(srcdir)/print.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-print.Tpo $(DEPDIR)/yad-print.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='print.c' object='yad-print.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='print.c' object='yad-print.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-print.obj `if test -f 'print.c'; then $(CYGPATH_W) 'print.c'; else $(CYGPATH_W) '$(srcdir)/print.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-print.obj `if test -f 'print.c'; then $(CYGPATH_W) 'print.c'; else $(CYGPATH_W) '$(srcdir)/print.c'; fi` yad-progress.o: progress.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-progress.o -MD -MP -MF $(DEPDIR)/yad-progress.Tpo -c -o yad-progress.o `test -f 'progress.c' || echo '$(srcdir)/'`progress.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-progress.Tpo $(DEPDIR)/yad-progress.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='progress.c' object='yad-progress.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='progress.c' object='yad-progress.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-progress.o `test -f 'progress.c' || echo '$(srcdir)/'`progress.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-progress.o `test -f 'progress.c' || echo '$(srcdir)/'`progress.c yad-progress.obj: progress.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-progress.obj -MD -MP -MF $(DEPDIR)/yad-progress.Tpo -c -o yad-progress.obj `if test -f 'progress.c'; then $(CYGPATH_W) 'progress.c'; else $(CYGPATH_W) '$(srcdir)/progress.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-progress.Tpo $(DEPDIR)/yad-progress.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='progress.c' object='yad-progress.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='progress.c' object='yad-progress.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-progress.obj `if test -f 'progress.c'; then $(CYGPATH_W) 'progress.c'; else $(CYGPATH_W) '$(srcdir)/progress.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-progress.obj `if test -f 'progress.c'; then $(CYGPATH_W) 'progress.c'; else $(CYGPATH_W) '$(srcdir)/progress.c'; fi` yad-scale.o: scale.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-scale.o -MD -MP -MF $(DEPDIR)/yad-scale.Tpo -c -o yad-scale.o `test -f 'scale.c' || echo '$(srcdir)/'`scale.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-scale.Tpo $(DEPDIR)/yad-scale.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='scale.c' object='yad-scale.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='scale.c' object='yad-scale.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-scale.o `test -f 'scale.c' || echo '$(srcdir)/'`scale.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-scale.o `test -f 'scale.c' || echo '$(srcdir)/'`scale.c yad-scale.obj: scale.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-scale.obj -MD -MP -MF $(DEPDIR)/yad-scale.Tpo -c -o yad-scale.obj `if test -f 'scale.c'; then $(CYGPATH_W) 'scale.c'; else $(CYGPATH_W) '$(srcdir)/scale.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-scale.Tpo $(DEPDIR)/yad-scale.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='scale.c' object='yad-scale.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='scale.c' object='yad-scale.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-scale.obj `if test -f 'scale.c'; then $(CYGPATH_W) 'scale.c'; else $(CYGPATH_W) '$(srcdir)/scale.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-scale.obj `if test -f 'scale.c'; then $(CYGPATH_W) 'scale.c'; else $(CYGPATH_W) '$(srcdir)/scale.c'; fi` yad-text.o: text.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-text.o -MD -MP -MF $(DEPDIR)/yad-text.Tpo -c -o yad-text.o `test -f 'text.c' || echo '$(srcdir)/'`text.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-text.Tpo $(DEPDIR)/yad-text.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='text.c' object='yad-text.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='text.c' object='yad-text.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-text.o `test -f 'text.c' || echo '$(srcdir)/'`text.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-text.o `test -f 'text.c' || echo '$(srcdir)/'`text.c yad-text.obj: text.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-text.obj -MD -MP -MF $(DEPDIR)/yad-text.Tpo -c -o yad-text.obj `if test -f 'text.c'; then $(CYGPATH_W) 'text.c'; else $(CYGPATH_W) '$(srcdir)/text.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-text.Tpo $(DEPDIR)/yad-text.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='text.c' object='yad-text.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='text.c' object='yad-text.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-text.obj `if test -f 'text.c'; then $(CYGPATH_W) 'text.c'; else $(CYGPATH_W) '$(srcdir)/text.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-text.obj `if test -f 'text.c'; then $(CYGPATH_W) 'text.c'; else $(CYGPATH_W) '$(srcdir)/text.c'; fi` yad-util.o: util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-util.o -MD -MP -MF $(DEPDIR)/yad-util.Tpo -c -o yad-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-util.Tpo $(DEPDIR)/yad-util.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='yad-util.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='util.c' object='yad-util.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c yad-util.obj: util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-util.obj -MD -MP -MF $(DEPDIR)/yad-util.Tpo -c -o yad-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-util.Tpo $(DEPDIR)/yad-util.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='yad-util.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='util.c' object='yad-util.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi` yad-main.o: main.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-main.o -MD -MP -MF $(DEPDIR)/yad-main.Tpo -c -o yad-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-main.Tpo $(DEPDIR)/yad-main.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='yad-main.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='main.c' object='yad-main.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c yad-main.obj: main.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-main.obj -MD -MP -MF $(DEPDIR)/yad-main.Tpo -c -o yad-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-main.Tpo $(DEPDIR)/yad-main.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='yad-main.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='main.c' object='yad-main.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi` + +yad-html.o: html.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-html.o -MD -MP -MF $(DEPDIR)/yad-html.Tpo -c -o yad-html.o `test -f 'html.c' || echo '$(srcdir)/'`html.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-html.Tpo $(DEPDIR)/yad-html.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='html.c' object='yad-html.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-html.o `test -f 'html.c' || echo '$(srcdir)/'`html.c + +yad-html.obj: html.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -MT yad-html.obj -MD -MP -MF $(DEPDIR)/yad-html.Tpo -c -o yad-html.obj `if test -f 'html.c'; then $(CYGPATH_W) 'html.c'; else $(CYGPATH_W) '$(srcdir)/html.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad-html.Tpo $(DEPDIR)/yad-html.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='html.c' object='yad-html.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_CFLAGS) $(CFLAGS) -c -o yad-html.obj `if test -f 'html.c'; then $(CYGPATH_W) 'html.c'; else $(CYGPATH_W) '$(srcdir)/html.c'; fi` yad_icon_browser-browser.o: browser.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_icon_browser_CFLAGS) $(CFLAGS) -MT yad_icon_browser-browser.o -MD -MP -MF $(DEPDIR)/yad_icon_browser-browser.Tpo -c -o yad_icon_browser-browser.o `test -f 'browser.c' || echo '$(srcdir)/'`browser.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad_icon_browser-browser.Tpo $(DEPDIR)/yad_icon_browser-browser.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='browser.c' object='yad_icon_browser-browser.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='browser.c' object='yad_icon_browser-browser.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_icon_browser_CFLAGS) $(CFLAGS) -c -o yad_icon_browser-browser.o `test -f 'browser.c' || echo '$(srcdir)/'`browser.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_icon_browser_CFLAGS) $(CFLAGS) -c -o yad_icon_browser-browser.o `test -f 'browser.c' || echo '$(srcdir)/'`browser.c yad_icon_browser-browser.obj: browser.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_icon_browser_CFLAGS) $(CFLAGS) -MT yad_icon_browser-browser.obj -MD -MP -MF $(DEPDIR)/yad_icon_browser-browser.Tpo -c -o yad_icon_browser-browser.obj `if test -f 'browser.c'; then $(CYGPATH_W) 'browser.c'; else $(CYGPATH_W) '$(srcdir)/browser.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/yad_icon_browser-browser.Tpo $(DEPDIR)/yad_icon_browser-browser.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='browser.c' object='yad_icon_browser-browser.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_icon_browser_CFLAGS) $(CFLAGS) -c -o yad_icon_browser-browser.obj `if test -f 'browser.c'; then $(CYGPATH_W) 'browser.c'; else $(CYGPATH_W) '$(srcdir)/browser.c'; fi` - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='browser.c' object='yad_icon_browser-browser.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(yad_icon_browser_CFLAGS) $(CFLAGS) -c -o yad_icon_browser-browser.obj `if test -f 'browser.c'; then $(CYGPATH_W) 'browser.c'; else $(CYGPATH_W) '$(srcdir)/browser.c'; fi` + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -720,15 +823,11 @@ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -737,6 +836,21 @@ here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + \\/* | ?:\\/*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -788,10 +902,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -874,18 +993,21 @@ .MAKE: install-am install-strip -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ - clean-generic ctags distclean distclean-compile \ - distclean-generic distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-binPROGRAMS \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ - uninstall-am uninstall-binPROGRAMS +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ + clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ + distclean distclean-compile distclean-generic distclean-tags \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-binPROGRAMS install-data install-data-am \ + install-dvi install-dvi-am install-exec install-exec-am \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ + ps ps-am tags tags-am uninstall uninstall-am \ + uninstall-binPROGRAMS + +.PRECIOUS: Makefile # Tell versions 3.59,3.63) of GNU make to not export all variables.
View file
yad-0.16.3.tar.bz2/src/about.c -> yad-0.36.2.tar.xz/src/about.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include "yad.h" @@ -27,33 +27,48 @@ "Victor Ananjevsky <ananasik@gmail.com>", NULL }; - gchar *translators = _("translator-credits"); - gchar *license = - _("YAD is free software; you can redistribute it and/or modify " - "it under the terms of the GNU General Public License as published by " - "the Free Software Foundation; either version 3 of the License, or " - "(at your option) any later version.\n\n" - "YAD 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.\n\n" - "You should have received a copy of the GNU General Public License " - "along with YAD. If not, see <http://www.gnu.org/licenses/>."); + const gchar *translators = N_("translator-credits"); + const gchar *license = + N_("YAD is free software; you can redistribute it and/or modify " + "it under the terms of the GNU General Public License as published by " + "the Free Software Foundation; either version 3 of the License, or " + "(at your option) any later version.\n\n" + "YAD 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.\n\n" + "You should have received a copy of the GNU General Public License " + "along with YAD. If not, see <http://www.gnu.org/licenses/>."); + + gchar *comments = g_strdup_printf (_("Yet Another Dialog\n" + "(show dialog boxes from shell scripts)\n" + "\nBased on Zenity code\n\n" +#ifdef HAVE_HTML + "Built with Webkit\n" +#endif +#ifdef HAVE_SOURCEVIEW + "Built with GtkSourceView\n" +#endif +#ifdef HAVE_SPELL + "Built with GtkSpell\n" +#endif + "Using GTK+ %d.%d.%d\n"), + gtk_major_version, gtk_minor_version, gtk_micro_version); dialog = gtk_about_dialog_new (); gtk_window_set_icon_name (GTK_WINDOW (dialog), "yad"); - g_object_set (G_OBJECT (dialog), - "name", PACKAGE_NAME, - "version", PACKAGE_VERSION, - "copyright", "Copyright \xc2\xa9 2008-2011 Victor Ananjevsky <ananasik@gmail.com>", - "comments", _("Yet Another Dialog\n(show dialog boxes from shell scripts)\n\nBased on Zenity code\n"), - "authors", authors, - "website", PACKAGE_URL, - "translator-credits", translators, - "wrap-license", TRUE, "license", license, - "logo-icon-name", "yad", - NULL); + "name", PACKAGE_NAME, + "version", PACKAGE_VERSION, + "copyright", "Copyright \xc2\xa9 2008-2016, Victor Ananjevsky <ananasik@gmail.com>", + "comments", comments, + "authors", authors, + "website", PACKAGE_URL, + "translator-credits", translators, + "wrap-license", TRUE, + "license", license, + "logo-icon-name", "yad", + NULL); return gtk_dialog_run (GTK_DIALOG (dialog)); }
View file
yad-0.16.3.tar.bz2/src/browser.c -> yad-0.36.2.tar.xz/src/browser.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2010-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2010-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <config.h> @@ -26,7 +26,9 @@ typedef struct { GtkWidget *win; GtkWidget *image; - GtkWidget *label; + GtkWidget *lname; + GtkWidget *lsize; + GtkWidget *lfile; GtkWidget *cat_list; GtkWidget *icon_list; @@ -36,9 +38,9 @@ } IconBrowserData; static gboolean -key_press_cb (GtkWidget *w, GdkEventKey *ev, gpointer data) +key_press_cb (GtkWidget * w, GdkEventKey * ev, gpointer data) { -#if GTK_CHECK_VERSION(3,0,0) +#if GTK_CHECK_VERSION(2,24,0) if (ev->keyval == GDK_KEY_Escape) #else if (ev->keyval == GDK_Escape) @@ -51,7 +53,7 @@ } static GtkListStore * -load_icon_cat (IconBrowserData *data, gchar *cat) +load_icon_cat (IconBrowserData * data, gchar * cat) { GtkListStore *store; GList *i, *icons; @@ -68,26 +70,25 @@ GtkTreeIter iter; GdkPixbuf *pb, *spb; - spb = pb = gtk_icon_theme_load_icon (data->theme, i->data, size, - GTK_ICON_LOOKUP_GENERIC_FALLBACK, NULL); + spb = pb = gtk_icon_theme_load_icon (data->theme, i->data, size, GTK_ICON_LOOKUP_GENERIC_FALLBACK, NULL); if (pb) - { - /* scale pixbuf if needed */ - w = gdk_pixbuf_get_width (pb); - h = gdk_pixbuf_get_height (pb); - if (w > size || h > size) - { - pb = gdk_pixbuf_scale_simple (spb, size, size, GDK_INTERP_BILINEAR); - g_object_unref (spb); - } - } + { + /* scale pixbuf if needed */ + w = gdk_pixbuf_get_width (pb); + h = gdk_pixbuf_get_height (pb); + if (w > size || h > size) + { + pb = gdk_pixbuf_scale_simple (spb, size, size, GDK_INTERP_BILINEAR); + g_object_unref (spb); + } + } gtk_list_store_append (store, &iter); gtk_list_store_set (store, &iter, 0, pb, 1, i->data, -1); if (pb) - g_object_unref (pb); + g_object_unref (pb); g_free (i->data); } g_list_free (icons); @@ -98,13 +99,13 @@ } static void -select_icon (GtkTreeSelection *sel, IconBrowserData *data) +select_icon (GtkTreeSelection * sel, IconBrowserData * data) { GtkTreeModel *model; GtkTreeIter iter; GtkIconInfo *info; gint *sz, i; - gchar *icon, *file, *lbl; + gchar *icon, *file; GString *sizes; if (!gtk_tree_selection_get_selected (sel, &model, &iter)) @@ -128,26 +129,26 @@ while (szi) { if (szi == -1) - g_string_append (sizes, _("scalable ")); + g_string_append (sizes, _("scalable ")); else - g_string_append_printf (sizes, "%dx%d ", szi, szi); + g_string_append_printf (sizes, "%dx%d ", szi, szi); i++; } /* free memory */ g_free (sz); - lbl = g_strdup_printf (_("<b>Name:</b> %s\n<b>Sizes:</b> %s\n<b>Filename:</b> %s"), - icon, sizes->str, file ? file : _("built-in")); - gtk_label_set_markup (GTK_LABEL (data->label), lbl); + gtk_label_set_text (GTK_LABEL (data->lname), icon); + gtk_label_set_text (GTK_LABEL (data->lsize), sizes->str); + gtk_label_set_text (GTK_LABEL (data->lfile), file ? file : _("built-in")); + g_string_free (sizes, TRUE); - g_free (lbl); if (info) gtk_icon_info_free (info); } static void -select_cat (GtkTreeSelection *sel, IconBrowserData *data) +select_cat (GtkTreeSelection * sel, IconBrowserData * data) { GtkTreeModel *model; GtkListStore *store; @@ -169,7 +170,7 @@ } gint -main (gint argc, gchar *argv) +main (gint argc, gchar * argv) { IconBrowserData *data; gchar **themes = NULL; @@ -178,11 +179,11 @@ GtkTreeSelection *sel; GtkTreeViewColumn *col; GtkCellRenderer *r; - GtkWidget *w, *p, *box; + GtkWidget *w, *p, *box, *t; GOptionEntry entrs = { - { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &themes, NULL, NULL }, - { NULL } + {G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &themes, NULL, NULL}, + {NULL} }; data = g_new0 (IconBrowserData, 1); @@ -225,28 +226,89 @@ /* create icon info box */ #if !GTK_CHECK_VERSION(3,0,0) - w = gtk_hbox_new (FALSE, 5); + t = gtk_table_new (3, 3, FALSE); + gtk_table_set_col_spacings (GTK_TABLE (t), 5); + gtk_table_set_row_spacings (GTK_TABLE (t), 5); +#else + t = gtk_grid_new (); + gtk_grid_set_row_spacing (GTK_GRID (t), 5); + gtk_grid_set_column_spacing (GTK_GRID (t), 5); +#endif + gtk_box_pack_start (GTK_BOX (box), t, FALSE, FALSE, 2); + + data->image = gtk_image_new_from_stock ("gtk-missing-image", GTK_ICON_SIZE_DIALOG); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (t), data->image, 0, 1, 0, 3, GTK_FILL, 0, 0, 0); +#else + gtk_grid_attach (GTK_GRID (t), data->image, 0, 0, 1, 3); +#endif + + w = gtk_label_new (NULL); + gtk_label_set_markup (GTK_LABEL (w), _("<b>Name:</b>")); + gtk_misc_set_alignment (GTK_MISC (w), 0, 0.5); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (t), w, 1, 2, 0, 1, GTK_FILL, 0, 0, 0); +#else + gtk_grid_attach (GTK_GRID (t), w, 1, 0, 1, 1); +#endif + data->lname = gtk_label_new (NULL); + gtk_label_set_selectable (GTK_LABEL (data->lname), TRUE); + gtk_misc_set_alignment (GTK_MISC (data->lname), 0, 0.5); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (t), data->lname, 2, 3, 0, 1, GTK_FILL | GTK_EXPAND, 0, 0, 0); +#else + gtk_grid_attach (GTK_GRID (t), data->lname, 2, 0, 1, 1); + gtk_widget_set_hexpand (data->lname, TRUE); +#endif + + w = gtk_label_new (NULL); + gtk_label_set_markup (GTK_LABEL (w), _("<b>Sizes:</b>")); + gtk_misc_set_alignment (GTK_MISC (w), 0, 0.5); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (t), w, 1, 2, 1, 2, GTK_FILL, 0, 0, 0); #else - w = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5); + gtk_grid_attach (GTK_GRID (t), w, 1, 1, 1, 1); +#endif + data->lsize = gtk_label_new (NULL); + gtk_label_set_selectable (GTK_LABEL (data->lsize), TRUE); + gtk_misc_set_alignment (GTK_MISC (data->lsize), 0, 0.5); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (t), data->lsize, 2, 3, 1, 2, GTK_FILL | GTK_EXPAND, 0, 0, 0); +#else + gtk_grid_attach (GTK_GRID (t), data->lsize, 2, 1, 1, 1); + gtk_widget_set_hexpand (data->lsize, TRUE); #endif - gtk_box_pack_start (GTK_BOX (box), w, FALSE, FALSE, 2); - data->image = gtk_image_new (); - gtk_box_pack_start (GTK_BOX (w), data->image, FALSE, FALSE, 2); - data->label = gtk_label_new (""); - gtk_misc_set_alignment (GTK_MISC (data->label), 0, 0.5); - gtk_box_pack_start (GTK_BOX (w), data->label, TRUE, TRUE, 2); + w = gtk_label_new (NULL); + gtk_label_set_markup (GTK_LABEL (w), _("<b>Filename:</b>")); + gtk_misc_set_alignment (GTK_MISC (w), 0, 0.5); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (t), w, 1, 2, 2, 3, GTK_FILL, 0, 0, 0); +#else + gtk_grid_attach (GTK_GRID (t), w, 1, 2, 1, 1); +#endif + data->lfile = gtk_label_new (NULL); + gtk_label_set_selectable (GTK_LABEL (data->lfile), TRUE); + gtk_misc_set_alignment (GTK_MISC (data->lfile), 0, 0.5); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (t), data->lfile, 2, 3, 2, 3, GTK_FILL | GTK_EXPAND, 0, 0, 0); +#else + gtk_grid_attach (GTK_GRID (t), data->lfile, 2, 2, 1, 1); + gtk_widget_set_hexpand (data->lfile, TRUE); +#endif /* create icon browser */ +#if !GTK_CHECK_VERSION(3,0,0) p = gtk_hpaned_new (); +#else + p = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL); +#endif gtk_paned_set_position (GTK_PANED (p), 150); gtk_box_pack_start (GTK_BOX (box), p, TRUE, TRUE, 2); /* create category list */ w = gtk_scrolled_window_new (NULL, NULL); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), - GTK_POLICY_AUTOMATIC, - GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (w), GTK_SHADOW_ETCHED_IN); gtk_paned_add1 (GTK_PANED (p), w); @@ -279,14 +341,13 @@ /* create icons list */ w = gtk_scrolled_window_new (NULL, NULL); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), - GTK_POLICY_AUTOMATIC, - GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (w), GTK_SHADOW_ETCHED_IN); gtk_paned_add2 (GTK_PANED (p), w); data->icon_list = gtk_tree_view_new (); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (data->icon_list), TRUE); + gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (data->icon_list), TRUE); gtk_container_add (GTK_CONTAINER (w), data->icon_list); sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (data->icon_list));
View file
yad-0.16.3.tar.bz2/src/calendar.c -> yad-0.36.2.tar.xz/src/calendar.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <errno.h> @@ -36,8 +36,7 @@ f = fopen (options.calendar_data.details, "r"); if (f == NULL) { - g_printerr (_("Cannot open file '%s': %s\n"), - options.common_data.uri, g_strerror (errno)); + g_printerr (_("Cannot open file '%s': %s\n"), options.common_data.uri, g_strerror (errno)); return; } @@ -50,19 +49,17 @@ memset (buf, 0, 4096); fgets (buf, 4096, f); if (strlen (buf) > 0) - { - dtl = g_strsplit (buf, " ", 2); - g_hash_table_insert (details, dtl0, dtl1); - } + { + dtl = g_strsplit (buf, " ", 2); + g_hash_table_insert (details, dtl0, dtl1); + } } fclose (f); } static gchar * -get_details (GtkCalendar *cal, - guint year, guint month, guint day, - gpointer data) +get_details (GtkCalendar * cal, guint year, guint month, guint day, gpointer data) { GDate *d; gchar time_string128; @@ -82,13 +79,14 @@ } static void -double_click_cb (GtkWidget *w, gpointer data) +double_click_cb (GtkWidget * w, gpointer data) { - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + if (options.plug == -1) + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); } GtkWidget * -calendar_create_widget (GtkWidget *dlg) +calendar_create_widget (GtkWidget * dlg) { GtkWidget *w; @@ -96,12 +94,9 @@ gtk_widget_set_name (w, "yad-calendar-widget"); if (options.calendar_data.month > 0 || options.calendar_data.year > 0) - gtk_calendar_select_month (GTK_CALENDAR (w), - options.calendar_data.month - 1, - options.calendar_data.year); + gtk_calendar_select_month (GTK_CALENDAR (w), options.calendar_data.month - 1, options.calendar_data.year); if (options.calendar_data.day > 0) - gtk_calendar_select_day (GTK_CALENDAR (w), - options.calendar_data.day); + gtk_calendar_select_day (GTK_CALENDAR (w), options.calendar_data.day); if (options.calendar_data.details) { @@ -110,12 +105,10 @@ } gtk_calendar_set_display_options (GTK_CALENDAR (w), - GTK_CALENDAR_SHOW_HEADING | - GTK_CALENDAR_SHOW_DAY_NAMES | - GTK_CALENDAR_SHOW_WEEK_NUMBERS); + GTK_CALENDAR_SHOW_HEADING | + GTK_CALENDAR_SHOW_DAY_NAMES | GTK_CALENDAR_SHOW_WEEK_NUMBERS); - g_signal_connect (w, "day-selected-double-click", - G_CALLBACK (double_click_cb), dlg); + g_signal_connect (w, "day-selected-double-click", G_CALLBACK (double_click_cb), dlg); return w; }
View file
yad-0.16.3.tar.bz2/src/color.c -> yad-0.36.2.tar.xz/src/color.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <errno.h> @@ -51,7 +51,8 @@ "................", "................", "................", - "................"}; + "................" + }; gchar cl = ". c #FFFFFF"; if (options.color_data.palette) @@ -67,13 +68,13 @@ store = gtk_list_store_new (3, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_STRING); - while ((name = fgets (buf, sizeof(buf), fp)) != NULL) + while ((name = fgets (buf, sizeof (buf), fp)) != NULL) { gint r, g, b; gchar spec8; if (buf0 == '!') - continue; + continue; sscanf (buf, "%d %d %d", &r, &g, &b); @@ -82,8 +83,8 @@ cxpm1 = cl; pb = gdk_pixbuf_new_from_xpm_data ((const gchar **) cxpm); - while (g_ascii_isdigit(*name) || g_ascii_isspace(*name)) - name++; + while (g_ascii_isdigit (*name) || g_ascii_isspace (*name)) + name++; gtk_list_store_append (store, &iter); gtk_list_store_set (store, &iter, 0, pb, 1, spec, 2, g_strstrip (name), -1); @@ -95,7 +96,7 @@ } static void -palette_changed (GtkTreeSelection *sel, gpointer data) +palette_changed (GtkTreeSelection * sel, gpointer data) { GtkTreeModel *model; GtkTreeIter iter; @@ -107,12 +108,12 @@ gtk_tree_model_get (model, &iter, 1, &clr, -1); if (gdk_color_parse (clr, &c)) - gtk_color_selection_set_current_color (GTK_COLOR_SELECTION (color), &c); + gtk_color_selection_set_current_color (GTK_COLOR_SELECTION (color), &c); } } GtkWidget * -color_create_widget (GtkWidget *dlg) +color_create_widget (GtkWidget * dlg) { GtkWidget *w; @@ -124,13 +125,13 @@ color = gtk_color_selection_new (); gtk_widget_set_name (color, "yad-color-widget"); - gtk_color_selection_set_has_palette (GTK_COLOR_SELECTION (color), settings.show_gtk_palette); + gtk_color_selection_set_has_palette (GTK_COLOR_SELECTION (color), options.color_data.gtk_palette); if (options.color_data.init_color) { GdkColor c; if (gdk_color_parse (options.color_data.init_color, &c)) - gtk_color_selection_set_current_color (GTK_COLOR_SELECTION (color), &c); + gtk_color_selection_set_current_color (GTK_COLOR_SELECTION (color), &c); } gtk_box_pack_start (GTK_BOX (w), color, FALSE, FALSE, 2); @@ -139,66 +140,63 @@ GtkTreeModel *model; if ((model = create_palette ()) != NULL) - { - GtkWidget *exp, *sw, *list; - GtkCellRenderer *r; - GtkTreeViewColumn *col; - GtkTreeSelection *sel; - - /* create expander */ - exp = gtk_expander_new (_("Palette")); - gtk_expander_set_expanded (GTK_EXPANDER (exp), settings.expand_palette); - gtk_container_set_border_width (GTK_CONTAINER (exp), 5); - gtk_box_pack_start (GTK_BOX (w), exp, TRUE, TRUE, 2); - - /* create color list */ - sw = gtk_scrolled_window_new (NULL, NULL); - gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), - GTK_SHADOW_ETCHED_IN); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), - GTK_POLICY_AUTOMATIC, - GTK_POLICY_AUTOMATIC); - gtk_container_add (GTK_CONTAINER (exp), sw); - - list = gtk_tree_view_new_with_model (model); - gtk_widget_set_name (list, "yad-color-palette"); - gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (list), settings.rules_hint); - g_object_unref (model); - gtk_container_add (GTK_CONTAINER (sw), list); - - /* add first columns */ - col = gtk_tree_view_column_new (); - gtk_tree_view_column_set_title (col, _("Color")); - - /* pixbuf */ - r = gtk_cell_renderer_pixbuf_new (); - gtk_tree_view_column_pack_start (col, r, FALSE); - gtk_tree_view_column_set_attributes (col, r, "pixbuf", 0, NULL); - - /* color value */ - r = gtk_cell_renderer_text_new (); - gtk_tree_view_column_pack_start (col, r, TRUE); - gtk_tree_view_column_set_attributes (col, r, "text", 1, NULL); - - gtk_tree_view_column_set_sort_column_id (col, 1); - gtk_tree_view_append_column (GTK_TREE_VIEW (list), col); - - /* add second column */ - r = gtk_cell_renderer_text_new (); - col = gtk_tree_view_column_new_with_attributes (_("Name"), r, "text", 2, NULL); - gtk_tree_view_column_set_sort_column_id (col, 2); - gtk_tree_view_append_column (GTK_TREE_VIEW (list), col); - - /* enable searching on Name column */ - gtk_tree_view_set_search_column (GTK_TREE_VIEW (list), 2); - - /* setup the selection handler */ - sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (list)); - gtk_tree_selection_set_mode (sel, GTK_SELECTION_SINGLE); - g_signal_connect (G_OBJECT (sel), "changed", G_CALLBACK (palette_changed), NULL); - - gtk_widget_show_all (exp); - } + { + GtkWidget *exp, *sw, *list; + GtkCellRenderer *r; + GtkTreeViewColumn *col; + GtkTreeSelection *sel; + + /* create expander */ + exp = gtk_expander_new (_("Palette")); + gtk_expander_set_expanded (GTK_EXPANDER (exp), options.color_data.expand_palette); + gtk_container_set_border_width (GTK_CONTAINER (exp), 5); + gtk_box_pack_start (GTK_BOX (w), exp, TRUE, TRUE, 2); + + /* create color list */ + sw = gtk_scrolled_window_new (NULL, NULL); + gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_ETCHED_IN); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_widget_set_size_request (sw, -1, 75); + gtk_container_add (GTK_CONTAINER (exp), sw); + + list = gtk_tree_view_new_with_model (model); + gtk_widget_set_name (list, "yad-color-palette"); + g_object_unref (model); + gtk_container_add (GTK_CONTAINER (sw), list); + + /* add first columns */ + col = gtk_tree_view_column_new (); + gtk_tree_view_column_set_title (col, _("Color")); + + /* pixbuf */ + r = gtk_cell_renderer_pixbuf_new (); + gtk_tree_view_column_pack_start (col, r, FALSE); + gtk_tree_view_column_set_attributes (col, r, "pixbuf", 0, NULL); + + /* color value */ + r = gtk_cell_renderer_text_new (); + gtk_tree_view_column_pack_start (col, r, TRUE); + gtk_tree_view_column_set_attributes (col, r, "text", 1, NULL); + + gtk_tree_view_column_set_sort_column_id (col, 1); + gtk_tree_view_append_column (GTK_TREE_VIEW (list), col); + + /* add second column */ + r = gtk_cell_renderer_text_new (); + col = gtk_tree_view_column_new_with_attributes (_("Name"), r, "text", 2, NULL); + gtk_tree_view_column_set_sort_column_id (col, 2); + gtk_tree_view_append_column (GTK_TREE_VIEW (list), col); + + /* enable searching on Name column */ + gtk_tree_view_set_search_column (GTK_TREE_VIEW (list), 2); + + /* setup the selection handler */ + sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (list)); + gtk_tree_selection_set_mode (sel, GTK_SELECTION_SINGLE); + g_signal_connect (G_OBJECT (sel), "changed", G_CALLBACK (palette_changed), NULL); + + gtk_widget_show_all (exp); + } } return w; @@ -208,13 +206,14 @@ color_print_result (void) { GdkColor c; + guint64 alpha; gchar *cs; gtk_color_selection_get_current_color (GTK_COLOR_SELECTION (color), &c); - cs = gdk_color_to_string (&c); - if (options.color_data.extra) - g_print ("%s\n", cs); - else - g_printf ("#%c%c%c%c%c%c\n", cs1, cs2, cs5, cs6, cs9, cs10); - g_free (cs); + alpha = gtk_color_selection_get_current_alpha (GTK_COLOR_SELECTION (color)); + + cs = get_color (&c, alpha); + + if (cs) + g_printf ("%s\n", cs); }
View file
yad-0.16.3.tar.bz2/src/dnd.c -> yad-0.36.2.tar.xz/src/dnd.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <glib/gprintf.h> @@ -22,8 +22,8 @@ #include "yad.h" static void -drop_data_cb (GtkWidget *w, GdkDragContext *dc, gint x, gint y, - GtkSelectionData *sel, guint info, guint t, gpointer data) +drop_data_cb (GtkWidget * w, GdkDragContext * dc, gint x, gint y, + GtkSelectionData * sel, guint info, guint t, gpointer data) { GdkAtom stgt; @@ -39,49 +39,53 @@ return; while (urisi) - { - gchar *dstr = g_uri_unescape_string (urisi, NULL); - if (options.common_data.command) - { - gchar *action = g_strdup_printf ("%s '%s'", options.common_data.command, dstr); - g_spawn_command_line_async (action, NULL); - g_free (action); - } - else - { - g_printf ("%s\n", dstr); - fflush (stdout); - } - g_free (dstr); - i++; - } + { + gchar *dstr = g_uri_unescape_string (urisi, NULL); + if (options.common_data.command) + { + gchar *action = g_strdup_printf ("%s '%s'", options.common_data.command, dstr); + g_spawn_command_line_async (action, NULL); + g_free (action); + } + else + { + g_printf ("%s\n", dstr); + fflush (stdout); + } + g_free (dstr); + i++; + } g_strfreev (uris); } else if (gtk_targets_include_text (&stgt, 1)) { guchar *str = gtk_selection_data_get_text (sel); if (str) - { - gchar *dstr = g_uri_unescape_string ((const gchar *) str, NULL); - if (options.common_data.command) - { - gchar *action = g_strdup_printf ("%s '%s'", options.common_data.command, dstr); - g_spawn_command_line_async (action, NULL); - g_free (action); - } - else - { - g_printf ("%s\n", dstr); - fflush (stdout); - } - g_free (dstr); - g_free(str); - } + { + gchar *dstr = g_uri_unescape_string ((const gchar *) str, NULL); + if (options.common_data.command) + { + gchar *action, *arg; + + arg = g_shell_quote (dstr); + action = g_strdup_printf ("%s %s", options.common_data.command, arg); + g_free (arg); + g_spawn_command_line_async (action, NULL); + g_free (action); + } + else + { + g_printf ("%s\n", dstr); + fflush (stdout); + } + g_free (dstr); + g_free (str); + } } } void -dnd_init (GtkWidget *w) +dnd_init (GtkWidget * w) { GtkTargetList *tlist; GtkTargetEntry *tgts; @@ -93,10 +97,8 @@ tgts = gtk_target_table_new_from_list (tlist, &ntgts); - gtk_drag_dest_set (w, GTK_DEST_DEFAULT_ALL, tgts, ntgts, - GDK_ACTION_COPY | GDK_ACTION_MOVE); - g_signal_connect (G_OBJECT (w), "drag_data_received", - G_CALLBACK (drop_data_cb), NULL); + gtk_drag_dest_set (w, GTK_DEST_DEFAULT_ALL, tgts, ntgts, GDK_ACTION_COPY | GDK_ACTION_MOVE); + g_signal_connect (G_OBJECT (w), "drag_data_received", G_CALLBACK (drop_data_cb), NULL); gtk_target_table_free (tgts, ntgts); gtk_target_list_unref (tlist); @@ -108,8 +110,8 @@ box = gtk_dialog_get_content_area (GTK_DIALOG (w)); if (!options.data.no_markup) - gtk_widget_set_tooltip_markup (box, options.data.dialog_text); + gtk_widget_set_tooltip_markup (box, options.data.dialog_text); else - gtk_widget_set_tooltip_text (box, options.data.dialog_text); + gtk_widget_set_tooltip_text (box, options.data.dialog_text); } }
View file
yad-0.16.3.tar.bz2/src/entry.c -> yad-0.36.2.tar.xz/src/entry.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <gdk/gdkkeysyms.h> @@ -25,29 +25,30 @@ static gboolean is_combo = FALSE; static void -entry_activate_cb (GtkEntry *entry, gpointer data) +entry_activate_cb (GtkEntry * entry, gpointer data) { - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + if (options.plug == -1) + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); } static gboolean -combo_activate_cb (GtkWidget *w, GdkEventKey *ev, gpointer data) +combo_activate_cb (GtkWidget * w, GdkEventKey * ev, gpointer data) { -#if GTK_CHECK_VERSION(3,0,0) +#if GTK_CHECK_VERSION(2,24,0) if (ev->keyval == GDK_KEY_Return || ev->keyval == GDK_KEY_KP_Enter) #else if (ev->keyval == GDK_Return || ev->keyval == GDK_KP_Enter) -#endif +#endif { - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + if (options.plug == -1) + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); return TRUE; } return FALSE; } static void -icon_cb (GtkEntry *entry, GtkEntryIconPosition pos, - GdkEventButton *event, gpointer data) +icon_cb (GtkEntry * entry, GtkEntryIconPosition pos, GdkEventButton * event, gpointer data) { if (event->button == 1) { @@ -112,9 +113,9 @@ } GtkWidget * -entry_create_widget (GtkWidget *dlg) +entry_create_widget (GtkWidget * dlg) { - GtkWidget *c, *w = NULL; + GtkWidget *c, *l = NULL, *w = NULL; #if !GTK_CHECK_VERSION(3,0,0) w = gtk_hbox_new (FALSE, 5); @@ -124,11 +125,11 @@ if (options.entry_data.entry_label) { - GtkWidget *l = gtk_label_new (NULL); - if (!options.data.no_markup) - gtk_label_set_markup (GTK_LABEL (l), options.entry_data.entry_label); + l = gtk_label_new (NULL); + if (options.data.no_markup) + gtk_label_set_text_with_mnemonic (GTK_LABEL (l), options.entry_data.entry_label); else - gtk_label_set_text (GTK_LABEL (l), options.entry_data.entry_label); + gtk_label_set_markup_with_mnemonic (GTK_LABEL (l), options.entry_data.entry_label); gtk_widget_set_name (l, "yad-entry-label"); gtk_box_pack_start (GTK_BOX (w), l, FALSE, FALSE, 1); } @@ -136,21 +137,32 @@ if (options.entry_data.numeric) { gdouble min, max, step, val; + guint prec; - min = 0.0; max = 65535.0; step = 1.0; + min = 0.0; + max = 65535.0; + step = 1.0; + prec = 0; + val = 0.0; - if (options.extra_data && *options.extra_data) + if (options.extra_data && options.extra_data0) { min = g_ascii_strtod (options.extra_data0, NULL); if (options.extra_data1) + max = g_ascii_strtod (options.extra_data1, NULL); + if (options.extra_data2) + step = g_ascii_strtod (options.extra_data2, NULL); + if (options.extra_data3) { - max = g_ascii_strtod (options.extra_data1, NULL); - if (options.extra_data2) - step = g_ascii_strtod (options.extra_data2, NULL); + prec = (guint) g_ascii_strtoull (options.extra_data3, NULL, 0); + if (prec > 20) + prec = 20; } } c = entry = gtk_spin_button_new_with_range (min, max, step); + gtk_entry_set_alignment (GTK_ENTRY (c), 1.0); + gtk_spin_button_set_digits (GTK_SPIN_BUTTON (c), prec); gtk_widget_set_name (entry, "yad-entry-spin"); if (options.entry_data.entry_text) @@ -160,7 +172,8 @@ if (min >= max) { g_printerr (_("Maximum value must be greater than minimum value.\n")); - min = 0.0; max = 65535.0; + min = 0.0; + max = 65535.0; } if (val < min) @@ -173,14 +186,13 @@ g_printerr (_("Initial value greater than maximum.\n")); val = max; } - - gtk_spin_button_set_value (GTK_SPIN_BUTTON (c), val); } + + gtk_spin_button_set_value (GTK_SPIN_BUTTON (c), val); } - else if (!options.entry_data.completion && - options.extra_data && *options.extra_data) + else if (!options.entry_data.completion && options.extra_data && *options.extra_data) { - gint i = 0; + gint active, i; if (options.common_data.editable || settings.combo_always_editable) { @@ -189,22 +201,22 @@ #else c = gtk_combo_box_entry_new_text (); #endif - gtk_widget_set_name (c, "yad-entry-edit-combo"); + gtk_widget_set_name (c, "yad-entry-edit-combo"); entry = gtk_bin_get_child (GTK_BIN (c)); - if (options.entry_data.licon) - { - GdkPixbuf *pb = get_pixbuf (options.entry_data.licon, YAD_SMALL_ICON); - - if (pb) - gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_PRIMARY, pb); - } - if (options.entry_data.ricon) - { - GdkPixbuf *pb = get_pixbuf (options.entry_data.ricon, YAD_SMALL_ICON); - - if (pb) - gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_SECONDARY, pb); - } + if (options.entry_data.licon) + { + GdkPixbuf *pb = get_pixbuf (options.entry_data.licon, YAD_SMALL_ICON); + + if (pb) + gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_PRIMARY, pb); + } + if (options.entry_data.ricon) + { + GdkPixbuf *pb = get_pixbuf (options.entry_data.ricon, YAD_SMALL_ICON); + + if (pb) + gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_SECONDARY, pb); + } } else { @@ -213,12 +225,17 @@ #else c = entry = gtk_combo_box_new_text (); #endif - gtk_widget_set_name (c, "yad-entry-combo"); + gtk_widget_set_name (c, "yad-entry-combo"); is_combo = TRUE; } + i = 0; + active = -1; while (options.extra_datai != NULL) { + if (options.entry_data.entry_text && + g_ascii_strcasecmp (options.extra_datai, options.entry_data.entry_text) == 0) + active = i; #if GTK_CHECK_VERSION(2,24,0) gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (c), options.extra_datai); #else @@ -227,20 +244,18 @@ i++; } - if (options.entry_data.entry_text) + if (options.entry_data.entry_text && active == -1) { #if GTK_CHECK_VERSION(2,24,0) - gtk_combo_box_text_prepend_text (GTK_COMBO_BOX_TEXT (c), - options.entry_data.entry_text); + gtk_combo_box_text_prepend_text (GTK_COMBO_BOX_TEXT (c), options.entry_data.entry_text); #else - gtk_combo_box_prepend_text (GTK_COMBO_BOX (c), - options.entry_data.entry_text); + gtk_combo_box_prepend_text (GTK_COMBO_BOX (c), options.entry_data.entry_text); #endif } - /* set first iter active */ + /* set first iter active */ if (!options.common_data.editable) - gtk_combo_box_set_active (GTK_COMBO_BOX (c), 0); + gtk_combo_box_set_active (GTK_COMBO_BOX (c), (active != -1 ? active : 0)); } else { @@ -268,6 +283,10 @@ g_object_unref (completion_model); gtk_entry_completion_set_text_column (completion, 0); + + if (options.common_data.complete != YAD_COMPLETE_SIMPLE) + gtk_entry_completion_set_match_func (completion, check_complete, NULL, NULL); + g_object_unref (completion); } @@ -276,22 +295,25 @@ GdkPixbuf *pb = get_pixbuf (options.entry_data.licon, YAD_SMALL_ICON); if (pb) - gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_PRIMARY, pb); + gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_PRIMARY, pb); } if (options.entry_data.ricon) { GdkPixbuf *pb = get_pixbuf (options.entry_data.ricon, YAD_SMALL_ICON); if (pb) - gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_SECONDARY, pb); + gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_SECONDARY, pb); } } + if (l) + gtk_label_set_mnemonic_widget (GTK_LABEL (l), entry); + if (!is_combo) g_signal_connect (G_OBJECT (entry), "activate", G_CALLBACK (entry_activate_cb), dlg); else g_signal_connect (G_OBJECT (entry), "key-press-event", G_CALLBACK (combo_activate_cb), dlg); - + if (options.entry_data.licon || options.entry_data.ricon) g_signal_connect (G_OBJECT (entry), "icon-press", G_CALLBACK (icon_cb), NULL); @@ -304,13 +326,23 @@ entry_print_result (void) { if (options.entry_data.numeric) - g_print ("%lf\n", gtk_spin_button_get_value (GTK_SPIN_BUTTON (entry))); + { + guint prec = gtk_spin_button_get_digits (GTK_SPIN_BUTTON (entry)); + g_print ("%.*f\n", prec, gtk_spin_button_get_value (GTK_SPIN_BUTTON (entry))); + } else if (is_combo) + { + if (options.common_data.num_output) + g_print ("%d\n", gtk_combo_box_get_active (GTK_COMBO_BOX (entry)) + 1); + else + { #if GTK_CHECK_VERSION(2,24,0) - g_print ("%s\n", gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (entry))); + g_print ("%s\n", gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (entry))); #else - g_print ("%s\n", gtk_combo_box_get_active_text (GTK_COMBO_BOX (entry))); + g_print ("%s\n", gtk_combo_box_get_active_text (GTK_COMBO_BOX (entry))); #endif + } + } else g_print ("%s\n", gtk_entry_get_text (GTK_ENTRY (entry))); }
View file
yad-0.16.3.tar.bz2/src/file.c -> yad-0.36.2.tar.xz/src/file.c
Changed
@@ -14,55 +14,55 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ +#include <glib/gprintf.h> + #include "yad.h" static GtkWidget *filechooser; static void -file_activated_cb (GtkFileChooser *chooser, gpointer *data) +file_activated_cb (GtkFileChooser * chooser, gpointer data) { - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + if (options.plug == -1) + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); } -void -confirm_overwrite_cb (GtkDialog *dlg, gint id, gpointer data) +gboolean +file_confirm_overwrite (GtkDialog * dlg) { - if (id != YAD_RESPONSE_OK) - return; - - if (options.file_data.save && - options.file_data.confirm_overwrite && - !options.common_data.multi) + if (options.file_data.save && options.file_data.confirm_overwrite && !options.common_data.multi) { gchar *filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (filechooser)); if (g_file_test (filename, G_FILE_TEST_EXISTS)) - { - GtkWidget *d; - gint r; - gchar *buf; - - buf = g_strcompress (options.file_data.confirm_text); - d = gtk_message_dialog_new (GTK_WINDOW (dlg), GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, - "%s", buf); - g_free (buf); - r = gtk_dialog_run (GTK_DIALOG (d)); - gtk_widget_destroy (d); - if (r != GTK_RESPONSE_YES) - g_signal_stop_emission_by_name (dlg, "response"); - } + { + GtkWidget *d; + gint r; + gchar *buf; + + buf = g_strcompress (options.file_data.confirm_text); + d = gtk_message_dialog_new (GTK_WINDOW (dlg), GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, "%s", buf); + g_free (buf); + r = gtk_dialog_run (GTK_DIALOG (d)); + gtk_widget_destroy (d); + if (r != GTK_RESPONSE_YES) + return FALSE; + } } + + return TRUE; } GtkWidget * -file_create_widget (GtkWidget *dlg) +file_create_widget (GtkWidget * dlg) { GtkWidget *w; gchar *dir, *basename; + GList *filt; GtkFileChooserAction action = GTK_FILE_CHOOSER_ACTION_OPEN; if (options.file_data.directory) @@ -92,70 +92,33 @@ { basename = g_path_get_basename (options.common_data.uri); if (options.file_data.save) - gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (w), - basename); + gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (w), basename); else - gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (w), - options.common_data.uri); + gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (w), options.common_data.uri); g_free (basename); } g_free (dir); } + else + gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (w), g_get_current_dir ()); if (options.common_data.multi) gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (w), TRUE); - if (options.file_data.filter) + /* add preview */ + if (options.common_data.preview) { - /* Filter format: Executables | *.exe *.bat *.com */ - gint filter_i; - - for (filter_i = 0; options.file_data.filterfilter_i; filter_i++) - { - GtkFileFilter *filter = gtk_file_filter_new (); - gchar *filter_str = options.file_data.filterfilter_i; - gchar **pattern, **patterns; - gchar *name = NULL; - gint i; - - /* Set name */ - for (i = 0; filter_stri != '\0'; i++) - { - if (filter_stri == '|') - break; - } - - if (filter_stri == '|') - name = g_strstrip (g_strndup (filter_str, i)); - - if (name) - { - gtk_file_filter_set_name (filter, name); - - /* Point i to the right position for split */ - for (++i; filter_stri == ' '; i++); - } - else - { - gtk_file_filter_set_name (filter, filter_str); - i = 0; - } - - /* Get patterns */ - patterns = g_strsplit_set (filter_str + i, " ", -1); - - for (pattern = patterns; *pattern; pattern++) - gtk_file_filter_add_pattern (filter, *pattern); - - g_free (name); - g_strfreev (patterns); - - gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (w), filter); - } + GtkWidget *p = gtk_image_new (); + gtk_file_chooser_set_preview_widget (GTK_FILE_CHOOSER (w), p); + g_signal_connect (w, "update-preview", G_CALLBACK (update_preview), p); } - g_signal_connect (w, "file-activated", - G_CALLBACK (file_activated_cb), dlg); + /* add filters */ + for (filt = options.common_data.filters; filt; filt = filt->next) + gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (w), GTK_FILE_FILTER (filt->data)); + + g_signal_connect (w, "map", G_CALLBACK (filechooser_mapped), NULL); + g_signal_connect (w, "file-activated", G_CALLBACK (file_activated_cb), dlg); return w; } @@ -168,13 +131,18 @@ selections = gtk_file_chooser_get_filenames (GTK_FILE_CHOOSER (filechooser)); for (iter = selections; iter != NULL; iter = iter->next) { - g_print ("%s", - g_filename_to_utf8 ((gchar *) iter->data, -1, NULL, NULL, - NULL)); + if (options.common_data.quoted_output) + { + gchar *buf = g_shell_quote (g_filename_to_utf8 ((gchar *) iter->data, -1, NULL, NULL, NULL)); + g_printf ("%s", buf); + g_free (buf); + } + else + g_printf ("%s", g_filename_to_utf8 ((gchar *) iter->data, -1, NULL, NULL, NULL)); g_free (iter->data); if (iter->next != NULL) - g_print ("%s", options.common_data.separator); + g_printf ("%s", options.common_data.separator); } - g_print ("\n"); + g_printf ("\n"); g_slist_free (selections); }
View file
yad-0.16.3.tar.bz2/src/font.c -> yad-0.36.2.tar.xz/src/font.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <errno.h> @@ -26,13 +26,13 @@ static GtkWidget *font; static void -realize_cb (GtkWidget *w, gpointer d) +realize_cb (GtkWidget * w, gpointer d) { gtk_font_selection_set_font_name (GTK_FONT_SELECTION (w), options.common_data.font); } GtkWidget * -font_create_widget (GtkWidget *dlg) +font_create_widget (GtkWidget * dlg) { GtkWidget *w; @@ -52,5 +52,46 @@ void font_print_result (void) { - g_printf ("%s\n", gtk_font_selection_get_font_name (GTK_FONT_SELECTION (font))); + if (options.font_data.separate_output) + { + PangoFontFace *face; + PangoFontFamily *family; + gint size; + + face = gtk_font_selection_get_face (GTK_FONT_SELECTION (font)); + family = gtk_font_selection_get_family (GTK_FONT_SELECTION (font)); + size = gtk_font_selection_get_size (GTK_FONT_SELECTION (font)); + + if (options.common_data.quoted_output) + { + gchar *q1 = g_shell_quote (pango_font_family_get_name (family)); + gchar *q2 = g_shell_quote (pango_font_face_get_face_name (face)); + + g_printf ("%s%s%s%s%d\n", q1, options.common_data.separator, q2, + options.common_data.separator, size / 1000); + + g_free (q1); + g_free (q2); + } + else + { + g_printf ("%s%s%s%s%d\n", pango_font_family_get_name (family), options.common_data.separator, + pango_font_face_get_face_name (face), options.common_data.separator, size / 1000); + } + } + else + { + gchar *fn = gtk_font_selection_get_font_name (GTK_FONT_SELECTION (font)); + + if (options.common_data.quoted_output) + { + gchar *buf = g_shell_quote (fn); + g_printf ("%s\n", buf); + g_free (buf); + } + else + g_printf ("%s\n", fn); + + g_free (fn); + } }
View file
yad-0.16.3.tar.bz2/src/form.c -> yad-0.36.2.tar.xz/src/form.c
Changed
@@ -14,9 +14,11 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ +#include <ctype.h> +#include <stdlib.h> #include <glib/gprintf.h> #include "yad.h" @@ -26,11 +28,9 @@ static GSList *fields = NULL; static guint n_fields; -static void button_clicked_cb (GtkButton *b, gchar *action); - /* expand %N in command to fields values */ static GString * -expand_action (gchar *cmd) +expand_action (gchar * cmd) { GString *xcmd; guint i = 0; @@ -39,86 +39,124 @@ while (cmdi) { if (cmdi == '%') - { - i++; - if (g_ascii_isdigit (cmdi)) - { - YadField *fld; - gchar *buf; - guint num, j = i; - - /* get field num */ - while (g_ascii_isdigit (cmdj)) - j++; - buf = g_strndup (cmd + i, j - i); - num = g_ascii_strtoll (buf, NULL, 10); - g_free (buf); - if (num > 0 && num <= n_fields) - num--; - else - continue; - /* get field value */ - fld = g_slist_nth_data (options.form_data.fields, num); - switch (fld->type) - { - case YAD_FIELD_SIMPLE: - case YAD_FIELD_HIDDEN: - case YAD_FIELD_READ_ONLY: - case YAD_FIELD_MFILE: - case YAD_FIELD_FILE_SAVE: - case YAD_FIELD_DIR_CREATE: - case YAD_FIELD_DATE: - g_string_append (xcmd, gtk_entry_get_text (GTK_ENTRY (g_slist_nth_data (fields, num)))); - break; - case YAD_FIELD_NUM: - g_string_append_printf (xcmd, "%f", gtk_spin_button_get_value - (GTK_SPIN_BUTTON (g_slist_nth_data (fields, num)))); - break; - case YAD_FIELD_CHECK: - g_string_append (xcmd, gtk_toggle_button_get_active - (GTK_TOGGLE_BUTTON (g_slist_nth_data (fields, num))) ? "TRUE" : "FALSE"); - break; - case YAD_FIELD_COMBO: - case YAD_FIELD_COMBO_ENTRY: - g_string_append (xcmd, + { + i++; + if (g_ascii_isdigit (cmdi)) + { + YadField *fld; + gchar *buf, *arg; + guint num, j = i; + + /* get field num */ + while (g_ascii_isdigit (cmdj)) + j++; + buf = g_strndup (cmd + i, j - i); + num = g_ascii_strtoll (buf, NULL, 10); + g_free (buf); + if (num > 0 && num <= n_fields) + num--; + else + continue; + + /* get field value */ + arg = NULL; + fld = g_slist_nth_data (options.form_data.fields, num); + switch (fld->type) + { + case YAD_FIELD_SIMPLE: + case YAD_FIELD_HIDDEN: + case YAD_FIELD_READ_ONLY: + case YAD_FIELD_COMPLETE: + case YAD_FIELD_FILE_SAVE: + case YAD_FIELD_DIR_CREATE: + case YAD_FIELD_MFILE: + case YAD_FIELD_MDIR: + case YAD_FIELD_DATE: + buf = escape_char ((gchar *) gtk_entry_get_text (GTK_ENTRY (g_slist_nth_data (fields, num))), '"'); + arg = g_shell_quote (buf ? buf : ""); + g_free (buf); + break; + case YAD_FIELD_NUM: + { + guint prec = gtk_spin_button_get_digits (GTK_SPIN_BUTTON (g_slist_nth_data (fields, num))); + arg = g_strdup_printf ("%.*f", prec, gtk_spin_button_get_value (GTK_SPIN_BUTTON (g_slist_nth_data (fields, num)))); + break; + } + case YAD_FIELD_CHECK: + arg = g_strdup (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (g_slist_nth_data (fields, num))) ? "TRUE" : "FALSE"); + break; + case YAD_FIELD_COMBO: + case YAD_FIELD_COMBO_ENTRY: #if GTK_CHECK_VERSION(2,24,0) - gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (g_slist_nth_data (fields, num))) + buf = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (g_slist_nth_data (fields, num))); #else - gtk_combo_box_get_active_text (GTK_COMBO_BOX (g_slist_nth_data (fields, num))) + buf = gtk_combo_box_get_active_text (GTK_COMBO_BOX (g_slist_nth_data (fields, num))); #endif - ); - break; - case YAD_FIELD_FILE: - case YAD_FIELD_DIR: - g_string_append (xcmd, gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (g_slist_nth_data (fields, num)))); - break; - case YAD_FIELD_FONT: - g_string_append (xcmd, gtk_font_button_get_font_name (GTK_FONT_BUTTON (g_slist_nth_data (fields, num)))); - break; - case YAD_FIELD_COLOR: - { - GdkColor c; - - gtk_color_button_get_color (GTK_COLOR_BUTTON (g_slist_nth_data (fields, num)), &c); - buf = gdk_color_to_string (&c); - g_string_append (xcmd, buf); - g_free (buf); - break; - } - } - i = j; - } - else - { - g_string_append_c (xcmd, cmdi); - i++; - } - } + arg = g_shell_quote (buf ? buf : ""); + g_free (buf); + break; + case YAD_FIELD_SCALE: + arg = g_strdup_printf ("%d", (gint) gtk_range_get_value (GTK_RANGE (g_slist_nth_data (fields, num)))); + break; + case YAD_FIELD_FILE: + case YAD_FIELD_DIR: + arg = g_shell_quote (gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (g_slist_nth_data (fields, num)))); + break; + case YAD_FIELD_FONT: + arg = g_shell_quote (gtk_font_button_get_font_name (GTK_FONT_BUTTON (g_slist_nth_data (fields, num)))); + break; + case YAD_FIELD_COLOR: + { + GdkColor c; + GtkColorButton *cb = GTK_COLOR_BUTTON (g_slist_nth_data (fields, num)); + + gtk_color_button_get_color (cb, &c); + buf = get_color (&c, gtk_color_button_get_alpha (cb)); + arg = g_shell_quote (buf ? buf : ""); + g_free (buf); + break; + } + case YAD_FIELD_TEXT: + { + GtkTextBuffer *tb; + GtkTextIter b, e; + gchar *txt; + + tb = gtk_text_view_get_buffer (GTK_TEXT_VIEW (g_slist_nth_data (fields, num))); + gtk_text_buffer_get_bounds (tb, &b, &e); + txt = gtk_text_buffer_get_text (tb, &b, &e, FALSE); + + /* escape special chars */ + buf = escape_str (txt); + g_free (txt); + + /* escape quotes */ + txt = escape_char (buf, '"'); + g_free (buf); + + arg = g_shell_quote (txt ? txt : ""); + g_free (txt); + } + default: ; + } + if (arg) + { + g_string_append (xcmd, arg); + g_free (arg); + } + i = j; + } + else + { + g_string_append_c (xcmd, cmdi); + i++; + } + } else - { - g_string_append_c (xcmd, cmdi); - i++; - } + { + g_string_append_c (xcmd, cmdi); + i++; + } } g_string_append_c (xcmd, '\0'); @@ -126,190 +164,298 @@ } static void -set_field_value (guint num, gchar *value) +set_field_value (guint num, gchar * value) { + GtkWidget *w; gchar **s; - guint j = 0; YadField *fld = g_slist_nth_data (options.form_data.fields, num); + w = GTK_WIDGET (g_slist_nth_data (fields, num)); + if (g_ascii_strcasecmp (value, "@disabled@") == 0) + { + gtk_widget_set_sensitive (w, FALSE); + return; + } + else + gtk_widget_set_sensitive (w, TRUE); + switch (fld->type) { + case YAD_FIELD_READ_ONLY: + gtk_widget_set_sensitive (w, FALSE); case YAD_FIELD_SIMPLE: case YAD_FIELD_HIDDEN: - case YAD_FIELD_READ_ONLY: case YAD_FIELD_MFILE: + case YAD_FIELD_MDIR: case YAD_FIELD_FILE_SAVE: case YAD_FIELD_DIR_CREATE: case YAD_FIELD_DATE: - gtk_entry_set_text (GTK_ENTRY (g_slist_nth_data (fields, num)), value); + gtk_entry_set_text (GTK_ENTRY (w), value); break; case YAD_FIELD_NUM: s = g_strsplit (value, options.common_data.item_separator, -1); if (s0) - { - GtkWidget *w; - gdouble val = g_strtod (s0, NULL); - w = g_slist_nth_data (fields, num); - if (s1) - { - gdouble min, max; - gchar **s1 = g_strsplit (s1, "..", 2); - min = g_strtod (s10, NULL); - max = g_strtod (s11, NULL); - g_strfreev (s1); - gtk_spin_button_set_range (GTK_SPIN_BUTTON (w), min, max); - if (s2) - { - gdouble step = g_strtod (s2, NULL); - gtk_spin_button_set_increments (GTK_SPIN_BUTTON (w), step, step * 10); - } - } - /* set initial value must be after setting range and step */ - gtk_spin_button_set_value (GTK_SPIN_BUTTON (w), val); - } + { + gdouble val = g_ascii_strtod (s0, NULL); + w = g_slist_nth_data (fields, num); + if (s1) + { + gchar **s1 = g_strsplit (s1, "..", 2); + if (s0 && s1) + { + gdouble min, max; + min = g_ascii_strtod (s10, NULL); + max = g_ascii_strtod (s11, NULL); + gtk_spin_button_set_range (GTK_SPIN_BUTTON (w), min, max); + } + g_strfreev (s1); + if (s2) + { + gdouble step = g_ascii_strtod (s2, NULL); + gtk_spin_button_set_increments (GTK_SPIN_BUTTON (w), step, step * 10); + if (s3) + { + guint prec = (guint) g_ascii_strtoull (s3, NULL, 0); + if (prec > 20) + prec = 20; + gtk_spin_button_set_digits (GTK_SPIN_BUTTON (w), prec); + } + } + } + /* set initial value must be after setting range and step */ + gtk_spin_button_set_value (GTK_SPIN_BUTTON (w), val); + } g_strfreev (s); break; case YAD_FIELD_CHECK: if (g_ascii_strcasecmp (value, "TRUE") == 0) - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (g_slist_nth_data (fields, num)), TRUE); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (w), TRUE); else - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (g_slist_nth_data (fields, num)), FALSE); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (w), FALSE); break; + case YAD_FIELD_COMPLETE: + { + GtkEntryCompletion *c; + GtkTreeModel *m; + GtkTreeIter it; + gint i = 0, def = -1; + + c = gtk_entry_get_completion (GTK_ENTRY (w)); + m = gtk_entry_completion_get_model (GTK_ENTRY_COMPLETION (c)); + gtk_list_store_clear (GTK_LIST_STORE (m)); + + s = g_strsplit (value, options.common_data.item_separator, -1); + while (si) + { + gtk_list_store_append (GTK_LIST_STORE (m), &it); + if (si0 == '^') + { + gtk_list_store_set (GTK_LIST_STORE (m), &it, 0, g_strcompress (si + 1), -1); + def = i; + } + else + gtk_list_store_set (GTK_LIST_STORE (m), &it, 0, g_strcompress (si), -1); + + i++; + } + if (def >= 0) + gtk_entry_set_text (GTK_ENTRY (w), sdef + 1); + else + gtk_entry_set_text (GTK_ENTRY (w), ""); + g_strfreev (s); + break; + } + case YAD_FIELD_COMBO: case YAD_FIELD_COMBO_ENTRY: - s = g_strsplit (value, options.common_data.item_separator, -1); - while (sj) - { + { + GtkTreeModel *m; + gint i = 0, def = 0; + + /* cleanup previous values */ + m = gtk_combo_box_get_model (GTK_COMBO_BOX (w)); + gtk_list_store_clear (GTK_LIST_STORE (m)); + + s = g_strsplit (value, options.common_data.item_separator, -1); + while (si) + { + gchar *buf; + + if (si0 == '^') + { + buf = g_strcompress (si + 1); + def = i; + } + else + buf = g_strcompress (si); #if GTK_CHECK_VERSION(2,24,0) - gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (g_slist_nth_data (fields, num)), sj); + gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (w), buf); #else - gtk_combo_box_append_text (GTK_COMBO_BOX (g_slist_nth_data (fields, num)), sj); + gtk_combo_box_append_text (GTK_COMBO_BOX (w), buf); #endif - j++; - } - gtk_combo_box_set_active (GTK_COMBO_BOX (g_slist_nth_data (fields, num)), 0); - g_strfreev (s); - break; + g_free (buf); + i++; + } + gtk_combo_box_set_active (GTK_COMBO_BOX (w), def); + g_strfreev (s); + break; + } case YAD_FIELD_DIR: - gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (g_slist_nth_data (fields, num)), - value); + gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (w), value); case YAD_FIELD_FILE: - gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (g_slist_nth_data (fields, num)), - value); + gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (w), value); break; case YAD_FIELD_FONT: - gtk_font_button_set_font_name (GTK_FONT_BUTTON (g_slist_nth_data (fields, num)), - value); + gtk_font_button_set_font_name (GTK_FONT_BUTTON (w), value); + break; + + case YAD_FIELD_SCALE: + gtk_range_set_value (GTK_RANGE (w), atoi (value)); break; case YAD_FIELD_COLOR: { - GdkColor c; + GdkColor c; - gdk_color_parse (value, &c); - gtk_color_button_set_color (GTK_COLOR_BUTTON (g_slist_nth_data (fields, num)), &c); - break; + gdk_color_parse (value, &c); + gtk_color_button_set_color (GTK_COLOR_BUTTON (w), &c); + break; } case YAD_FIELD_BUTTON: - g_signal_connect (G_OBJECT (g_slist_nth_data (fields, num)), "clicked", - G_CALLBACK (button_clicked_cb), value); + case YAD_FIELD_FULL_BUTTON: + g_object_set_data_full (G_OBJECT (w), "cmd", g_strdup (value), g_free); break; + + case YAD_FIELD_TEXT: + { + GtkTextBuffer *tb = gtk_text_view_get_buffer (GTK_TEXT_VIEW (w)); + gchar *txt = g_strcompress (value); + gtk_text_buffer_set_text (tb, txt, -1); + g_free (txt); + break; + } + + default:; } } static void -button_clicked_cb (GtkButton *b, gchar *action) +button_clicked_cb (GtkButton * b, gpointer data) { - static gchar *newline = NULL; - - if (!newline) - newline = g_strcompress ("\n"); + gchar *action = (gchar *) g_object_get_data (G_OBJECT (b), "cmd"); if (action && action0) { if (action0 == '@') - { - gchar *data; - gint exit = 1; - GString *cmd = expand_action (action + 1); - g_spawn_command_line_sync (cmd->str, &data, NULL, &exit, NULL); - if (exit == 0) - { - guint i = 0; - gchar **lines = g_strsplit (data, "\n", 0); - while (linesi && linesi0) - { - gint fn; - gchar **ln; - - if (!linesi0) - continue; - - ln = g_strsplit (linesi, ":", 2); - fn = g_ascii_strtoll (ln0, NULL, 10); - if (fn && ln1) - set_field_value (fn - 1, ln1); - g_strfreev (ln); - i++; - } - } - g_free (data); - g_string_free (cmd, TRUE); - } + { + gchar *data; + gint exit = 1; + GString *cmd = expand_action (action + 1); + g_spawn_command_line_sync (cmd->str, &data, NULL, &exit, NULL); + if (exit == 0) + { + guint i = 0; + gchar **lines = g_strsplit (data, "\n", 0); + while (linesi && linesi0) + { + gint fn; + gchar *ptr = linesi; + + while (isblank (*ptr)) ptr++; + + if (isdigit (*ptr)) + { + gchar **ln = g_strsplit (ptr, ":", 2); + fn = g_ascii_strtoll (ln0, NULL, 10); + if (fn && ln1) + set_field_value (fn - 1, ln1); + g_strfreev (ln); + } + i++; + } + } + g_free (data); + g_string_free (cmd, TRUE); + } else - { - GString *cmd = expand_action (action); - g_spawn_command_line_async (cmd->str, NULL); - g_string_free (cmd, TRUE); - } + { + GString *cmd = expand_action (action); + g_spawn_command_line_async (cmd->str, NULL); + g_string_free (cmd, TRUE); + } } -} -static void -form_activate_cb (GtkEntry *entry, gpointer data) -{ - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + /* set focus to specified field */ + if (options.form_data.focus_field > 0 && options.form_data.focus_field <= n_fields) + gtk_widget_grab_focus (GTK_WIDGET (g_slist_nth_data (fields, options.form_data.focus_field - 1))); } static void -text_size_allocate_cb (GtkWidget *w, GtkAllocation *al, gpointer data) +form_activate_cb (GtkEntry * entry, gpointer data) { - gtk_widget_set_size_request (w, al->width, -1); + if (options.plug == -1) + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); } static void -select_files_cb (GtkEntry *entry, GtkEntryIconPosition pos, - GdkEventButton *event, gpointer data) +select_files_cb (GtkEntry * entry, GtkEntryIconPosition pos, GdkEventButton * event, gpointer data) { GtkWidget *dlg; + GList *filt; static gchar *path = NULL; if (event->button == 1) { + YadFieldType type = GPOINTER_TO_INT (data); + if (!path) - { - const gchar *val = gtk_entry_get_text (entry); + { + const gchar *val = gtk_entry_get_text (entry); - if (g_file_test (val, G_FILE_TEST_IS_DIR)) - path = g_strdup (val); - else - path = g_path_get_dirname (val); - } + if (g_file_test (val, G_FILE_TEST_IS_DIR)) + path = g_strdup (val); + else + path = val ? g_path_get_dirname (val) : g_get_current_dir (); + } - dlg = gtk_file_chooser_dialog_new (_("Select files"), - GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), - GTK_FILE_CHOOSER_ACTION_OPEN, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, - NULL ); + if (type == YAD_FIELD_MFILE) + { + dlg = gtk_file_chooser_dialog_new (_("Select files"), + GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), + GTK_FILE_CHOOSER_ACTION_OPEN, + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); + } + else + { + dlg = gtk_file_chooser_dialog_new (_("Select folders"), + GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), + GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); + } gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (dlg), TRUE); - gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dlg), path); + gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dlg), path); + + g_signal_connect (dlg, "map", G_CALLBACK (filechooser_mapped), NULL); + + /* add preview */ + if (options.common_data.preview) + { + GtkWidget *p = gtk_image_new (); + gtk_file_chooser_set_preview_widget (GTK_FILE_CHOOSER (dlg), p); + g_signal_connect (dlg, "update-preview", G_CALLBACK (update_preview), p); + } + + /* add filters */ + for (filt = options.common_data.filters; filt; filt = filt->next) + gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dlg), GTK_FILE_FILTER (filt->data)); if (gtk_dialog_run (GTK_DIALOG (dlg)) == GTK_RESPONSE_ACCEPT) { @@ -331,6 +477,7 @@ ptr = ptr->next; } + str->strstr->len - 1 = '\0'; // remove last item separator gtk_entry_set_text (entry, str->str); g_slist_free (files); @@ -344,52 +491,64 @@ } static void -create_files_cb (GtkEntry *entry, GtkEntryIconPosition pos, - GdkEventButton *event, gpointer data) +create_files_cb (GtkEntry * entry, GtkEntryIconPosition pos, GdkEventButton * event, gpointer data) { GtkWidget *dlg; + GList *filt; static gchar *path = NULL; if (event->button == 1) { YadFieldType type = GPOINTER_TO_INT (data); - + if (!path) - { - const gchar *val = gtk_entry_get_text (entry); - - if (g_file_test (val, G_FILE_TEST_IS_DIR)) - path = g_strdup (val); - else - path = g_path_get_dirname (val); - } - - if (type = YAD_FIELD_FILE_SAVE) - { - dlg = gtk_file_chooser_dialog_new (_("Select or create file"), - GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), - GTK_FILE_CHOOSER_ACTION_SAVE, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, - NULL ); - } + { + const gchar *val = gtk_entry_get_text (entry); + + if (g_file_test (val, G_FILE_TEST_IS_DIR)) + path = g_strdup (val); + else + path = val ? g_path_get_dirname (val) : g_get_current_dir (); + } + + if (type == YAD_FIELD_FILE_SAVE) + { + dlg = gtk_file_chooser_dialog_new (_("Select or create file"), + GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), + GTK_FILE_CHOOSER_ACTION_SAVE, + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); + } else - { - dlg = gtk_file_chooser_dialog_new (_("Select or create folder"), - GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), - GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, - NULL ); - } - gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dlg), path); + { + dlg = gtk_file_chooser_dialog_new (_("Select or create folder"), + GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), + GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER, + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); + } + gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dlg), path); + + g_signal_connect (dlg, "map", G_CALLBACK (filechooser_mapped), NULL); + + /* add preview */ + if (options.common_data.preview) + { + GtkWidget *p = gtk_image_new (); + gtk_file_chooser_set_preview_widget (GTK_FILE_CHOOSER (dlg), p); + g_signal_connect (dlg, "update-preview", G_CALLBACK (update_preview), p); + } + + /* add filters */ + for (filt = options.common_data.filters; filt; filt = filt->next) + gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dlg), GTK_FILE_FILTER (filt->data)); if (gtk_dialog_run (GTK_DIALOG (dlg)) == GTK_RESPONSE_ACCEPT) { - gchar *file = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dlg)); + gchar *file = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dlg)); gtk_entry_set_text (entry, file); - g_free (file); + g_free (file); } g_free (path); @@ -399,8 +558,13 @@ } static void -select_date_cb (GtkEntry *entry, GtkEntryIconPosition pos, - GdkEventButton *event, gpointer data) +date_selected_cb (GtkCalendar * c, gpointer data) +{ + gtk_dialog_response (GTK_DIALOG (data), GTK_RESPONSE_ACCEPT); +} + +static void +select_date_cb (GtkEntry * entry, GtkEntryIconPosition pos, GdkEventButton * event, gpointer data) { GtkWidget *dlg, *cal; @@ -412,21 +576,18 @@ GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, - NULL ); + GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); cal = gtk_calendar_new (); gtk_widget_show (cal); - gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), - cal, TRUE, TRUE, 5); + g_signal_connect (G_OBJECT (cal), "day-selected-double-click", G_CALLBACK (date_selected_cb), dlg); + gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), cal, TRUE, TRUE, 5); d = g_date_new (); g_date_set_parse (d, gtk_entry_get_text (entry)); if (g_date_valid (d)) { gtk_calendar_select_day (GTK_CALENDAR (cal), g_date_get_day (d)); - gtk_calendar_select_month (GTK_CALENDAR (cal), - g_date_get_month (d) - 1, - g_date_get_year (d)); + gtk_calendar_select_month (GTK_CALENDAR (cal), g_date_get_month (d) - 1, g_date_get_year (d)); } g_date_free (d); @@ -436,9 +597,6 @@ gchar *format = options.common_data.date_format; gchar time_string128; - if (format == NULL) - format = "%x"; - gtk_calendar_get_date (GTK_CALENDAR (cal), &day, &month, &year); d = g_date_new_dmy (year, month + 1, day); g_date_strftime (time_string, 127, format, d); @@ -447,27 +605,126 @@ } gtk_widget_destroy (dlg); } + + gtk_widget_grab_focus (GTK_WIDGET (entry)); +} + +static gboolean +handle_stdin (GIOChannel * ch, GIOCondition cond, gpointer data) +{ + static guint cnt = 0; + + if ((cond == G_IO_IN) || (cond == G_IO_IN + G_IO_HUP)) + { + GError *err = NULL; + GString *string = g_string_new (NULL); + + while (ch->is_readable != TRUE); + + do + { + gint status; + + if (cnt == n_fields) + { + if (options.form_data.cycle_read) + cnt = 0; + else + { + g_io_channel_shutdown (ch, TRUE, NULL); + return FALSE; + } + } + + do + { + status = g_io_channel_read_line_string (ch, string, NULL, &err); + + while (gtk_events_pending ()) + gtk_main_iteration (); + } + while (status == G_IO_STATUS_AGAIN); + + if (status != G_IO_STATUS_NORMAL) + { + if (err) + { + g_printerr ("yad_form_handle_stdin(): %s\n", err->message); + g_error_free (err); + err = NULL; + } + /* stop handling */ + g_io_channel_shutdown (ch, TRUE, NULL); + return FALSE; + } + + strip_new_line (string->str); + if (string->str0) + { + if (string->str0 == '\014') + { + gint i; + /* clear the form and reset fields counter */ + for (i = 0; i < n_fields; i++) + set_field_value (i, ""); + cnt = -1; /* must be -1 due to next increment */ + } + else + set_field_value (cnt, string->str); + } + cnt++; + } + while (g_io_channel_get_buffer_condition (ch) == G_IO_IN); + g_string_free (string, TRUE); + } + + if ((cond != G_IO_IN) && (cond != G_IO_IN + G_IO_HUP)) + { + g_io_channel_shutdown (ch, TRUE, NULL); + return FALSE; + } + + return TRUE; } GtkWidget * -form_create_widget (GtkWidget *dlg) +form_create_widget (GtkWidget * dlg) { - GtkWidget *w = NULL; + GtkWidget *tbl, *w = NULL; + GList *filt; if (options.form_data.fields) { GtkWidget *l, *e; GdkPixbuf *pb; guint i, col, row, rows; - + n_fields = g_slist_length (options.form_data.fields); row = col = 0; rows = n_fields / options.form_data.columns; if (n_fields % options.form_data.columns > 0) - rows++; + rows++; + +#if !GTK_CHECK_VERSION(3,0,0) + tbl = gtk_table_new (n_fields, 2 * options.form_data.columns, FALSE); +#else + tbl = gtk_grid_new (); + gtk_grid_set_row_spacing (GTK_GRID (tbl), 5); + gtk_grid_set_column_spacing (GTK_GRID (tbl), 5); +#endif - w = gtk_table_new (n_fields, 2 * options.form_data.columns, FALSE); + if (options.form_data.scroll) + { + GtkWidget *sw = gtk_scrolled_window_new (NULL, NULL); + gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_NONE); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + + gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (sw), tbl); + w = sw; + } + else + w = tbl; /* create form */ for (i = 0; i < n_fields; i++) @@ -475,19 +732,23 @@ YadField *fld = g_slist_nth_data (options.form_data.fields, i); /* add field label */ - if (fld->type != YAD_FIELD_CHECK && - fld->type != YAD_FIELD_BUTTON && - fld->type != YAD_FIELD_LABEL) + l = NULL; + if (fld->type != YAD_FIELD_CHECK && fld->type != YAD_FIELD_BUTTON && + fld->type != YAD_FIELD_FULL_BUTTON && fld->type != YAD_FIELD_LABEL && fld->type != YAD_FIELD_TEXT) { gchar *buf = g_strcompress (fld->name); l = gtk_label_new (NULL); if (!options.data.no_markup) - gtk_label_set_markup (GTK_LABEL (l), buf); + gtk_label_set_markup_with_mnemonic (GTK_LABEL (l), buf); else - gtk_label_set_text (GTK_LABEL (l), buf); - gtk_widget_set_name (l, "yad-form-flabel"); - gtk_misc_set_alignment (GTK_MISC (l), options.form_data.align, 0.5); - gtk_table_attach (GTK_TABLE (w), l, 0 + col * 2, 1 + col * 2, row, row + 1, GTK_FILL, 0, 5, 5); + gtk_label_set_text_with_mnemonic (GTK_LABEL (l), buf); + gtk_widget_set_name (l, "yad-form-flabel"); + gtk_misc_set_alignment (GTK_MISC (l), options.common_data.align, 0.5); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), l, col * 2, 1 + col * 2, row, row + 1, GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), l, col * 2, row, 1, 1); +#endif g_free (buf); } @@ -497,21 +758,53 @@ case YAD_FIELD_SIMPLE: case YAD_FIELD_HIDDEN: case YAD_FIELD_READ_ONLY: + case YAD_FIELD_COMPLETE: e = gtk_entry_new (); - gtk_widget_set_name (e, "yad-form-entry"); + gtk_widget_set_name (e, "yad-form-entry"); g_signal_connect (G_OBJECT (e), "activate", G_CALLBACK (form_activate_cb), dlg); if (fld->type == YAD_FIELD_HIDDEN) gtk_entry_set_visibility (GTK_ENTRY (e), FALSE); else if (fld->type == YAD_FIELD_READ_ONLY) gtk_widget_set_sensitive (e, FALSE); - gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, 1 + col * 2, row, 1, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + if (fld->type == YAD_FIELD_COMPLETE) + { + GtkEntryCompletion *c = gtk_entry_completion_new (); + GtkListStore *m = gtk_list_store_new (1, G_TYPE_STRING); + + gtk_entry_set_completion (GTK_ENTRY (e), c); + gtk_entry_completion_set_model (c, GTK_TREE_MODEL (m)); + gtk_entry_completion_set_text_column (c, 0); + + if (options.common_data.complete != YAD_COMPLETE_SIMPLE) + gtk_entry_completion_set_match_func (c, check_complete, NULL, NULL); + + g_object_unref (m); + g_object_unref (c); + } + + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); fields = g_slist_append (fields, e); break; case YAD_FIELD_NUM: e = gtk_spin_button_new_with_range (0.0, 65525.0, 1.0); - gtk_widget_set_name (e, "yad-form-spin"); - gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + gtk_entry_set_alignment (GTK_ENTRY (e), 1.0); + gtk_widget_set_name (e, "yad-form-spin"); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, 1 + col * 2, row, 1, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); fields = g_slist_append (fields, e); break; @@ -519,8 +812,14 @@ { gchar *buf = g_strcompress (fld->name); e = gtk_check_button_new_with_label (buf); - gtk_widget_set_name (e, "yad-form-check"); - gtk_table_attach (GTK_TABLE (w), e, 0 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + gtk_widget_set_name (e, "yad-form-check"); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, col * 2, row, 2, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif fields = g_slist_append (fields, e); g_free (buf); } @@ -532,8 +831,15 @@ #else e = gtk_combo_box_new_text (); #endif - gtk_widget_set_name (e, "yad-form-combo"); - gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + gtk_widget_set_name (e, "yad-form-combo"); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, 1 + col * 2, row, 1, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); fields = g_slist_append (fields, e); break; @@ -543,106 +849,194 @@ #else e = gtk_combo_box_entry_new_text (); #endif - gtk_widget_set_name (e, "yad-form-edit-combo"); - gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + gtk_widget_set_name (e, "yad-form-edit-combo"); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, 1 + col * 2, row, 1, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); fields = g_slist_append (fields, e); break; case YAD_FIELD_FILE: - e = gtk_file_chooser_button_new (_("Select file"), GTK_FILE_CHOOSER_ACTION_OPEN); - gtk_widget_set_name (e, "yad-form-file"); - gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + e = gtk_file_chooser_button_new (_("Select file"), GTK_FILE_CHOOSER_ACTION_OPEN); + gtk_widget_set_name (e, "yad-form-file"); + gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (e), g_get_current_dir ()); + + /* add preview */ + if (options.common_data.preview) + { + GtkWidget *p = gtk_image_new (); + gtk_file_chooser_set_preview_widget (GTK_FILE_CHOOSER (e), p); + g_signal_connect (e, "update-preview", G_CALLBACK (update_preview), p); + } + + /* add filters */ + for (filt = options.common_data.filters; filt; filt = filt->next) + gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (e), GTK_FILE_FILTER (filt->data)); + +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, 1 + col * 2, row, 1, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); fields = g_slist_append (fields, e); break; case YAD_FIELD_DIR: e = gtk_file_chooser_button_new (_("Select folder"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER); - gtk_widget_set_name (e, "yad-form-file"); - gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + gtk_widget_set_name (e, "yad-form-file"); + gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (e), g_get_current_dir ()); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, 1 + col * 2, row, 1, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); fields = g_slist_append (fields, e); break; case YAD_FIELD_FONT: e = gtk_font_button_new (); - gtk_widget_set_name (e, "yad-form-font"); - gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + gtk_widget_set_name (e, "yad-form-font"); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, 1 + col * 2, row, 1, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); fields = g_slist_append (fields, e); break; case YAD_FIELD_COLOR: e = gtk_color_button_new (); - gtk_widget_set_name (e, "yad-form-color"); - gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + gtk_widget_set_name (e, "yad-form-color"); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, 1 + col * 2, row, 1, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); fields = g_slist_append (fields, e); break; case YAD_FIELD_MFILE: + case YAD_FIELD_MDIR: e = gtk_entry_new (); - gtk_widget_set_name (e, "yad-form-entry"); + gtk_widget_set_name (e, "yad-form-entry"); gtk_entry_set_icon_from_stock (GTK_ENTRY (e), GTK_ENTRY_ICON_SECONDARY, "gtk-directory"); - g_signal_connect (G_OBJECT (e), "icon-press", G_CALLBACK (select_files_cb), NULL); + g_signal_connect (G_OBJECT (e), "icon-press", G_CALLBACK (select_files_cb), GINT_TO_POINTER (fld->type)); g_signal_connect (G_OBJECT (e), "activate", G_CALLBACK (form_activate_cb), dlg); - gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, 1 + col * 2, row, 1, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); fields = g_slist_append (fields, e); break; case YAD_FIELD_FILE_SAVE: - case YAD_FIELD_DIR_CREATE: + case YAD_FIELD_DIR_CREATE: e = gtk_entry_new (); - gtk_widget_set_name (e, "yad-form-entry"); + gtk_widget_set_name (e, "yad-form-entry"); gtk_entry_set_icon_from_stock (GTK_ENTRY (e), GTK_ENTRY_ICON_SECONDARY, "gtk-directory"); g_signal_connect (G_OBJECT (e), "icon-press", G_CALLBACK (create_files_cb), GINT_TO_POINTER (fld->type)); g_signal_connect (G_OBJECT (e), "activate", G_CALLBACK (form_activate_cb), dlg); - gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, 1 + col * 2, row, 1, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); fields = g_slist_append (fields, e); break; case YAD_FIELD_DATE: e = gtk_entry_new (); - gtk_widget_set_name (e, "yad-form-entry"); + gtk_widget_set_name (e, "yad-form-entry"); pb = gdk_pixbuf_new_from_xpm_data (calendar_xpm); gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (e), GTK_ENTRY_ICON_SECONDARY, pb); g_object_unref (pb); g_signal_connect (G_OBJECT (e), "icon-press", G_CALLBACK (select_date_cb), e); g_signal_connect (G_OBJECT (e), "activate", G_CALLBACK (form_activate_cb), dlg); - gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, 1 + col * 2, row, 1, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); + fields = g_slist_append (fields, e); + break; + + case YAD_FIELD_SCALE: +#if !GTK_CHECK_VERSION(3,0,0) + e = gtk_hscale_new_with_range (0.0, 100.0, 1.0); +#else + e = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0.0, 100.0, 1.0); +#endif + gtk_widget_set_name (e, "yad-form-scale"); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, 1 + col * 2, row, 1, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); fields = g_slist_append (fields, e); break; case YAD_FIELD_BUTTON: - { - gchar **buf = g_strsplit (fld->name, options.common_data.item_separator, 2); - e = gtk_button_new_from_stock (buf0); - if (buf1) - { - if (options.data.no_markup) - gtk_widget_set_tooltip_text (e, buf1); - else - gtk_widget_set_tooltip_markup (e, buf1); - } - gtk_widget_set_name (e, "yad-form-button"); - gtk_button_set_relief (GTK_BUTTON (e), GTK_RELIEF_NONE); - gtk_table_attach (GTK_TABLE (w), e, 0 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); - fields = g_slist_append (fields, e); - g_strfreev (buf); - break; - } + case YAD_FIELD_FULL_BUTTON: + e = gtk_button_new (); + g_signal_connect (G_OBJECT (e), "clicked", G_CALLBACK (button_clicked_cb), NULL); + gtk_container_add (GTK_CONTAINER (e), get_label (fld->name, 2)); + gtk_widget_set_name (e, "yad-form-button"); + gtk_button_set_alignment (GTK_BUTTON (e), 0.5, 0.5); + if (fld->type == YAD_FIELD_BUTTON) + gtk_button_set_relief (GTK_BUTTON (e), GTK_RELIEF_NONE); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, col * 2, row, 2, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif + fields = g_slist_append (fields, e); + break; case YAD_FIELD_LABEL: if (fld->name0) { gchar *buf = g_strcompress (fld->name); e = gtk_label_new (NULL); - gtk_widget_set_name (e, "yad-form-label"); + gtk_widget_set_name (e, "yad-form-label"); if (options.data.no_markup) - gtk_label_set_text (GTK_LABEL (e), buf); + gtk_label_set_text (GTK_LABEL (e), buf); else gtk_label_set_markup (GTK_LABEL (e), buf); - gtk_label_set_line_wrap (GTK_LABEL (e), TRUE); + gtk_label_set_line_wrap (GTK_LABEL (e), TRUE); gtk_label_set_selectable (GTK_LABEL (e), options.data.selectable_labels); - gtk_misc_set_alignment (GTK_MISC (e), options.form_data.align, 0.5); - g_signal_connect_after (G_OBJECT (e), "size-allocate", - G_CALLBACK (text_size_allocate_cb), NULL); + gtk_misc_set_alignment (GTK_MISC (e), options.common_data.align, 0.5); + //g_signal_connect_after (G_OBJECT (e), "size-allocate", G_CALLBACK (text_size_allocate_cb), NULL); g_free (buf); } else @@ -652,11 +1046,70 @@ #else e = gtk_hseparator_new (); #endif - gtk_widget_set_name (e, "yad-form-separator"); + gtk_widget_set_name (e, "yad-form-separator"); } - gtk_table_attach (GTK_TABLE (w), e, 0 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), e, col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), e, col * 2, row, 2, 1); + gtk_widget_set_hexpand (e, TRUE); +#endif fields = g_slist_append (fields, e); break; + + case YAD_FIELD_TEXT: + { + GtkWidget *l, *sw, *b; + gchar *ltxt = g_strcompress (fld->name); + +#if !GTK_CHECK_VERSION(3,0,0) + b = gtk_vbox_new (FALSE, 2); +#else + b = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); +#endif + + l = gtk_label_new (""); + gtk_misc_set_alignment (GTK_MISC (l), 0.0, 0.5); + if (options.data.no_markup) + gtk_label_set_text (GTK_LABEL (l), ltxt); + else + gtk_label_set_markup (GTK_LABEL (l), ltxt); + g_free (ltxt); + gtk_box_pack_start (GTK_BOX (b), l, FALSE, FALSE, 0); + + sw = gtk_scrolled_window_new (NULL, NULL); + gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_ETCHED_IN); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_box_pack_start (GTK_BOX (b), sw, TRUE, TRUE, 0); + + e = gtk_text_view_new (); + gtk_widget_set_name (e, "yad-form-text"); + gtk_text_view_set_editable (GTK_TEXT_VIEW (e), TRUE); + gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (e), GTK_WRAP_WORD_CHAR); + gtk_container_add (GTK_CONTAINER (sw), e); + +#ifdef HAVE_SPELL + if (options.common_data.enable_spell) + { + GtkSpellChecker *spell = gtk_spell_checker_new (); + gtk_spell_checker_set_language (spell, options.common_data.spell_lang, NULL); + gtk_spell_checker_attach (spell, GTK_TEXT_VIEW (e)); + } +#endif + +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (tbl), b, col * 2, 2 + col * 2, row, row + 1, + GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 5, 5); +#else + gtk_grid_attach (GTK_GRID (tbl), b, col * 2, row, 2, 1); + gtk_widget_set_hexpand (b, TRUE); + gtk_widget_set_vexpand (b, TRUE); +#endif + gtk_label_set_mnemonic_widget (GTK_LABEL (l), e); + fields = g_slist_append (fields, e); + + break; + } } /* increase row and column */ @@ -673,82 +1126,205 @@ { i = 0; while (options.extra_datai && i < n_fields) - { - set_field_value (i, options.extra_datai); - i++; - } + { + set_field_value (i, options.extra_datai); + i++; + } + } + else + { + GIOChannel *channel = g_io_channel_unix_new (0); + g_io_channel_set_encoding (channel, NULL, NULL); + g_io_channel_set_flags (channel, G_IO_FLAG_NONBLOCK, NULL); + g_io_add_watch (channel, G_IO_IN | G_IO_HUP, handle_stdin, NULL); } } + if (options.form_data.focus_field > 0 && options.form_data.focus_field <= n_fields) + gtk_widget_grab_focus (GTK_WIDGET (g_slist_nth_data (fields, options.form_data.focus_field - 1))); + return w; } -void -form_print_result (void) +static void +form_print_field (guint fn) { - guint i; + gchar *buf; + YadField *fld = g_slist_nth_data (options.form_data.fields, fn); - for (i = 0; i < n_fields; i++) + switch (fld->type) { - YadField *fld = g_slist_nth_data (options.form_data.fields, i); - - switch (fld->type) + case YAD_FIELD_SIMPLE: + case YAD_FIELD_HIDDEN: + case YAD_FIELD_READ_ONLY: + case YAD_FIELD_COMPLETE: + case YAD_FIELD_MFILE: + case YAD_FIELD_MDIR: + case YAD_FIELD_FILE_SAVE: + case YAD_FIELD_DIR_CREATE: + case YAD_FIELD_DATE: + if (options.common_data.quoted_output) { - case YAD_FIELD_SIMPLE: - case YAD_FIELD_HIDDEN: - case YAD_FIELD_READ_ONLY: - case YAD_FIELD_MFILE: - case YAD_FIELD_FILE_SAVE: - case YAD_FIELD_DIR_CREATE: - case YAD_FIELD_DATE: - g_printf ("%s%s", - gtk_entry_get_text (GTK_ENTRY (g_slist_nth_data (fields, i))), + buf = g_shell_quote (gtk_entry_get_text (GTK_ENTRY (g_slist_nth_data (fields, fn)))); + g_printf ("%s%s", buf, options.common_data.separator); + g_free (buf); + } + else + g_printf ("%s%s", gtk_entry_get_text (GTK_ENTRY (g_slist_nth_data (fields, fn))), + options.common_data.separator); + break; + case YAD_FIELD_NUM: + { + guint prec = gtk_spin_button_get_digits (GTK_SPIN_BUTTON (g_slist_nth_data (fields, fn))); + if (options.common_data.quoted_output) + g_printf ("'%.*f'%s", prec, gtk_spin_button_get_value (GTK_SPIN_BUTTON (g_slist_nth_data (fields, fn))), options.common_data.separator); - break; - case YAD_FIELD_NUM: - g_printf ("%f%s", - gtk_spin_button_get_value (GTK_SPIN_BUTTON (g_slist_nth_data (fields, i))), + else + g_printf ("%.*f%s", prec, gtk_spin_button_get_value (GTK_SPIN_BUTTON (g_slist_nth_data (fields, fn))), options.common_data.separator); - break; - case YAD_FIELD_CHECK: - g_printf ("%s%s", - gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (g_slist_nth_data (fields, i))) ? "TRUE" : "FALSE", - options.common_data.separator); - break; - case YAD_FIELD_COMBO: - case YAD_FIELD_COMBO_ENTRY: - g_printf ("%s%s", + break; + } + case YAD_FIELD_CHECK: + if (options.common_data.quoted_output) + g_printf ("'%s'%s", gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (g_slist_nth_data (fields, fn))) ? "TRUE" : + "FALSE", options.common_data.separator); + else + g_printf ("%s%s", gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (g_slist_nth_data (fields, fn))) ? "TRUE" : + "FALSE", options.common_data.separator); + break; + case YAD_FIELD_COMBO: + case YAD_FIELD_COMBO_ENTRY: + if (options.common_data.num_output && fld->type == YAD_FIELD_COMBO) + g_printf ("%d%s", gtk_combo_box_get_active (GTK_COMBO_BOX (g_slist_nth_data (fields, fn))) + 1, + options.common_data.separator); + else if (options.common_data.quoted_output) + { #if GTK_CHECK_VERSION(2,24,0) - gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (g_slist_nth_data (fields, i))), + buf = g_shell_quote (gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (g_slist_nth_data (fields, fn)))); #else - gtk_combo_box_get_active_text (GTK_COMBO_BOX (g_slist_nth_data (fields, i))), + buf = g_shell_quote (gtk_combo_box_get_active_text (GTK_COMBO_BOX (g_slist_nth_data (fields, fn)))); #endif - options.common_data.separator); - break; - case YAD_FIELD_FILE: - case YAD_FIELD_DIR: - g_printf ("%s%s", - gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (g_slist_nth_data (fields, i))), - options.common_data.separator); - break; - case YAD_FIELD_FONT: + g_printf ("%s%s", buf, options.common_data.separator); + g_free (buf); + } + else + { g_printf ("%s%s", - gtk_font_button_get_font_name (GTK_FONT_BUTTON (g_slist_nth_data (fields, i))), +#if GTK_CHECK_VERSION(2,24,0) + gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (g_slist_nth_data (fields, fn))), +#else + gtk_combo_box_get_active_text (GTK_COMBO_BOX (g_slist_nth_data (fields, fn))), +#endif options.common_data.separator); - break; - case YAD_FIELD_COLOR: - { - GdkColor c; + } + break; + case YAD_FIELD_FILE: + case YAD_FIELD_DIR: + if (options.common_data.quoted_output) + { + gchar *fname = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (g_slist_nth_data (fields, fn))); + buf = g_shell_quote (fname ? fname : ""); + g_free (fname); + g_printf ("%s%s", buf ? buf : "", options.common_data.separator); + g_free (buf); + } + else + { + buf = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (g_slist_nth_data (fields, fn))); + g_printf ("%s%s", buf ? buf : "", options.common_data.separator); + g_free (buf); + } + break; + case YAD_FIELD_FONT: + if (options.common_data.quoted_output) + g_printf ("'%s'%s", gtk_font_button_get_font_name (GTK_FONT_BUTTON (g_slist_nth_data (fields, fn))), + options.common_data.separator); + else + g_printf ("%s%s", gtk_font_button_get_font_name (GTK_FONT_BUTTON (g_slist_nth_data (fields, fn))), + options.common_data.separator); + break; + case YAD_FIELD_COLOR: + { + gchar *cs; + GdkColor c; + GtkColorButton *cb = GTK_COLOR_BUTTON (g_slist_nth_data (fields, fn)); - gtk_color_button_get_color (GTK_COLOR_BUTTON (g_slist_nth_data (fields, i)), &c); - g_printf ("%s%s", gdk_color_to_string (&c), options.common_data.separator); - break; + gtk_color_button_get_color (cb, &c); + cs = get_color (&c, gtk_color_button_get_alpha (cb)); + if (options.common_data.quoted_output) + { + buf = g_shell_quote (cs ? cs : ""); + g_printf ("%s%s", buf, options.common_data.separator); + g_free (buf); + } + else + g_printf ("%s%s", cs, options.common_data.separator); + g_free (cs); + break; + } + case YAD_FIELD_SCALE: + if (options.common_data.quoted_output) + g_printf ("'%d'%s", (gint) gtk_range_get_value (GTK_RANGE (g_slist_nth_data (fields, fn))), + options.common_data.separator); + else + g_printf ("%d%s", (gint) gtk_range_get_value (GTK_RANGE (g_slist_nth_data (fields, fn))), + options.common_data.separator); + break; + case YAD_FIELD_BUTTON: + case YAD_FIELD_FULL_BUTTON: + case YAD_FIELD_LABEL: + if (options.common_data.quoted_output) + g_printf ("''%s", options.common_data.separator); + else + g_printf ("%s", options.common_data.separator); + break; + case YAD_FIELD_TEXT: + { + gchar *txt; + GtkTextBuffer *tb; + GtkTextIter b, e; + + tb = gtk_text_view_get_buffer (GTK_TEXT_VIEW (g_slist_nth_data (fields, fn))); + gtk_text_buffer_get_bounds (tb, &b, &e); + txt = escape_str (gtk_text_buffer_get_text (tb, &b, &e, FALSE)); + if (options.common_data.quoted_output) + { + buf = g_shell_quote (txt); + g_printf ("%s%s", buf, options.common_data.separator); + g_free (buf); } - case YAD_FIELD_BUTTON: - case YAD_FIELD_LABEL: - g_printf ("%s", options.common_data.separator); - break; + else + g_printf ("%s%s", txt, options.common_data.separator); + g_free (txt); + } + } +} + +void +form_print_result (void) +{ + guint i; + + if (options.form_data.output_by_row) + { + guint j, rows; + + rows = n_fields / options.form_data.columns; + rows += (n_fields % options.form_data.columns ? 1 : 0); + for (i = 0; i < rows; i++) + { + for (j = 0; j < options.form_data.columns; j++) + { + guint fld = i + rows * j; + if (fld < n_fields) + form_print_field (fld); + } } } + else + { + for (i = 0; i < n_fields; i++) + form_print_field (i); + } g_printf ("\n"); }
View file
yad-0.36.2.tar.xz/src/html.c
Added
@@ -0,0 +1,314 @@ +/* + * This file is part of YAD. + * + * YAD is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * YAD 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 YAD. If not, see <http://www.gnu.org/licenses/>. + * + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> + */ + +#include <limits.h> +#include <stdlib.h> + +#include <glib/gprintf.h> +#include <webkit/webkit.h> + +#include "yad.h" + +static WebKitWebView *view; + +static GString *inbuf; + +static gboolean is_link = FALSE; +static gboolean is_loaded = FALSE; + +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + +static void +load_uri (const gchar * uri) +{ + gchar *addr = NULL; + + if (!uri || !uri0) + return; + + if (g_file_test (uri, G_FILE_TEST_EXISTS)) + { + if (g_path_is_absolute (uri)) + addr = g_filename_to_uri (uri, NULL, NULL); + else + { + gchar *afn = g_new0 (gchar, PATH_MAX); + realpath (uri, afn); + addr = g_filename_to_uri (afn, NULL, NULL); + g_free (afn); + } + } + else + { + if (g_uri_parse_scheme (uri) == NULL) + addr = g_strdup_printf ("http://%s", uri); + else + addr = g_strdup (uri); + } + + if (addr) + { + webkit_web_view_load_uri (view, addr); + g_free (addr); + } + else + g_printerr ("yad_html_load_uri: cannot load uri '%s'\n", uri); +} + +static void +loaded_cb (WebKitWebView * v, WebKitWebFrame * f, gpointer d) +{ + is_loaded = TRUE; +} + +static gboolean +link_cb (WebKitWebView * v, WebKitWebFrame * f, WebKitNetworkRequest * r, + WebKitWebNavigationAction * act, WebKitWebPolicyDecision * pd, gpointer d) +{ + gchar *uri = (gchar *) webkit_network_request_get_uri (r); + + if (is_loaded && !options.html_data.browser) + { + if (options.html_data.print_uri) + g_printf ("%s\n", uri); + else + { + gchar *cmd = g_strdup_printf (settings.open_cmd, uri); + g_spawn_command_line_async (cmd, NULL); + g_free (cmd); + } + webkit_web_policy_decision_ignore (pd); + } + else + webkit_web_policy_decision_use (pd); + + return TRUE; +} + +static void +link_hover_cb (WebKitWebView * v, const gchar * t, const gchar * link, gpointer * d) +{ + if (link) + is_link = TRUE; + else + is_link = FALSE; +} + +static void +select_file_cb (GtkEntry * entry, GtkEntryIconPosition pos, GdkEventButton * ev, gpointer d) +{ + GtkWidget *dlg; + static gchar *dir = NULL; + + if (ev->button != 1 || pos != GTK_ENTRY_ICON_SECONDARY) + return; + + dlg = gtk_file_chooser_dialog_new (_("YAD - Select File"), + GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), + GTK_FILE_CHOOSER_ACTION_OPEN, + GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL); + if (dir) + gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dlg), dir); + + if (gtk_dialog_run (GTK_DIALOG (dlg)) == GTK_RESPONSE_ACCEPT) + { + gchar *uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (dlg)); + gtk_entry_set_text (entry, uri); + g_free (uri); + + /* keep current dir */ + g_free (dir); + dir = gtk_file_chooser_get_current_folder (GTK_FILE_CHOOSER (dlg)); + } + + gtk_widget_destroy (dlg); +} + +static void +do_open_cb (GtkWidget * w, GtkDialog * dlg) +{ + gtk_dialog_response (dlg, GTK_RESPONSE_ACCEPT); +} + +static void +open_cb (GtkWidget * w, gpointer d) +{ + GtkWidget *dlg, *cnt, *lbl, *entry; + + dlg = gtk_dialog_new_with_buttons (_("Open URI"), + GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (view))), + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); + gtk_window_set_default_size (GTK_WINDOW (dlg), 350, -1); + + cnt = gtk_dialog_get_content_area (GTK_DIALOG (dlg)); + + lbl = gtk_label_new (_("Enter URI or file name:")); + gtk_misc_set_alignment (GTK_MISC (lbl), 0, 0); + gtk_widget_show (lbl); + gtk_box_pack_start (GTK_BOX (cnt), lbl, TRUE, FALSE, 2); + + entry = gtk_entry_new (); + gtk_entry_set_icon_from_stock (GTK_ENTRY (entry), GTK_ENTRY_ICON_SECONDARY, "gtk-directory"); + gtk_widget_show (entry); + gtk_box_pack_start (GTK_BOX (cnt), entry, TRUE, FALSE, 2); + + g_signal_connect (G_OBJECT (entry), "icon-press", G_CALLBACK (select_file_cb), NULL); + g_signal_connect (G_OBJECT (entry), "activate", G_CALLBACK (do_open_cb), dlg); + + if (gtk_dialog_run (GTK_DIALOG (dlg)) == GTK_RESPONSE_ACCEPT) + load_uri (gtk_entry_get_text (GTK_ENTRY (entry))); + + gtk_widget_destroy (dlg); +} + +static gboolean +menu_cb (WebKitWebView * view, GtkWidget * menu, WebKitHitTestResult * hit, gboolean kb, gpointer d) +{ + GtkWidget *mi; + + if (!is_link) + { + /* add open item */ + mi = gtk_separator_menu_item_new (); + gtk_widget_show (mi); + gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi); + + mi = gtk_image_menu_item_new_from_stock ("gtk-open", NULL); + gtk_widget_show (mi); + gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi); + g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (open_cb), NULL); + + /* add quit item */ + mi = gtk_separator_menu_item_new (); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); + + mi = gtk_image_menu_item_new_from_stock ("gtk-quit", NULL); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); + g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (gtk_main_quit), NULL); + } + + return FALSE; +} + +static void +title_cb (GObject *obj, GParamSpec *spec, GtkWindow *dlg) +{ + const gchar *title = webkit_web_view_get_title (view); + if (title) + gtk_window_set_title (dlg, title); +} + +static void +icon_cb (GObject *obj, GParamSpec *spec, GtkWindow *dlg) +{ + GdkPixbuf *pb = webkit_web_view_try_get_favicon_pixbuf (view, 16, 16); + if (pb) + { + gtk_window_set_icon (dlg, pb); + g_object_unref (pb); + } +} + +static gboolean +handle_stdin (GIOChannel * ch, GIOCondition cond, gpointer d) +{ + gchar *buf; + GError *err = NULL; + + switch (g_io_channel_read_line (ch, &buf, NULL, NULL, &err)) + { + case G_IO_STATUS_NORMAL: + g_string_append (inbuf, buf); + return TRUE; + + case G_IO_STATUS_ERROR: + g_printerr ("yad_html_handle_stdin(): %s\n", err->message); + g_error_free (err); + return FALSE; + + case G_IO_STATUS_EOF: + webkit_web_view_load_string (view, inbuf->str, options.html_data.mime, options.html_data.encoding, NULL); + return FALSE; + + case G_IO_STATUS_AGAIN: + return TRUE; + } + + return FALSE; +} + +GtkWidget * +html_create_widget (GtkWidget * dlg) +{ + GtkWidget *sw; + WebKitWebSettings *settings; + SoupSession *sess; + const gchar *enc; + + sw = gtk_scrolled_window_new (NULL, NULL); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + + view = WEBKIT_WEB_VIEW (webkit_web_view_new ()); + gtk_container_add (GTK_CONTAINER (sw), GTK_WIDGET (view)); + + settings = webkit_web_view_get_settings (view); + g_get_charset (&enc); + g_object_set (G_OBJECT (settings), "default-encoding", enc, NULL); + + g_signal_connect (view, "hovering-over-link", G_CALLBACK (link_hover_cb), NULL); + g_signal_connect (view, "navigation-policy-decision-requested", G_CALLBACK (link_cb), NULL); + + if (options.html_data.browser) + { + g_signal_connect (view, "context-menu", G_CALLBACK (menu_cb), NULL); + if (!options.data.dialog_title) + g_signal_connect (view, "notify::title", G_CALLBACK (title_cb), dlg); + if (strcmp (options.data.window_icon, "yad") == 0) + g_signal_connect (view, "icon-loaded", G_CALLBACK (icon_cb), dlg); + } + else + g_signal_connect (view, "document-load-finished", G_CALLBACK (loaded_cb), NULL); + + sess = webkit_get_default_session (); + soup_session_add_feature_by_type (sess, SOUP_TYPE_PROXY_RESOLVER_DEFAULT); + g_object_set (G_OBJECT (sess), SOUP_SESSION_ACCEPT_LANGUAGE_AUTO, TRUE, NULL); + + gtk_widget_show_all (sw); + gtk_widget_grab_focus (GTK_WIDGET (view)); + + if (options.html_data.uri) + load_uri (options.html_data.uri); + else if (!options.html_data.browser) + { + GIOChannel *ch; + + inbuf = g_string_new (NULL); + ch = g_io_channel_unix_new (0); + g_io_channel_set_encoding (ch, NULL, NULL); + g_io_channel_set_flags (ch, G_IO_FLAG_NONBLOCK, NULL); + g_io_add_watch (ch, G_IO_IN | G_IO_HUP, handle_stdin, NULL); + } + + return sw; +}
View file
yad-0.16.3.tar.bz2/src/icons.c -> yad-0.36.2.tar.xz/src/icons.c
Changed
@@ -14,12 +14,13 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include "yad.h" static GtkWidget *icon_view; +static GtkListStore *store; enum { COL_FILENAME = 0, @@ -31,6 +32,11 @@ NUM_COLS }; +enum { + TYPE_APP, + TYPE_LINK +}; + typedef struct { gchar *name; gchar *comment; @@ -40,45 +46,91 @@ } DEntry; static void -activate_cb (GtkWidget *view, GtkTreePath *path, gpointer data) +select_cb (GObject * obj, gpointer data) +{ + static gboolean first_time = TRUE; + + if (!options.icons_data.compact) + { + GList *sel = gtk_icon_view_get_selected_items (GTK_ICON_VIEW (icon_view)); + if (sel) + gtk_icon_view_item_activated (GTK_ICON_VIEW (icon_view), (GtkTreePath *) sel->data); + g_list_foreach (sel, (GFunc) gtk_tree_path_free, NULL); + g_list_free (sel); + } + else + { + GtkTreeIter iter; + GtkTreeSelection *sel = (GtkTreeSelection *) obj; + + if (first_time) + { + /* don't activate item when dialog is appear and clear the selection */ + first_time = FALSE; + gtk_tree_selection_unselect_all (sel); + return; + } + + if (gtk_tree_selection_get_selected (sel, NULL, &iter)) + { + GtkTreeModel *model; + GtkTreePath *path; + + model = gtk_tree_view_get_model (GTK_TREE_VIEW (icon_view)); + path = gtk_tree_model_get_path (model, &iter); + + gtk_tree_view_row_activated (GTK_TREE_VIEW (icon_view), path, (GtkTreeViewColumn *) data); + } + } +} + +static void +activate_cb (GtkWidget * view, GtkTreePath * path, gpointer data) { GtkTreeIter iter; GtkTreeModel *model; gchar *cmd; gboolean in_term; + if (!path) + return; + if (!options.icons_data.compact) model = gtk_icon_view_get_model (GTK_ICON_VIEW (view)); else model = gtk_tree_view_get_model (GTK_TREE_VIEW (view)); gtk_tree_model_get_iter (model, &iter, path); - gtk_tree_model_get (model, &iter, - COL_COMMAND, &cmd, - COL_TERM, &in_term, - -1); + gtk_tree_model_get (model, &iter, COL_COMMAND, &cmd, COL_TERM, &in_term, -1); - if (in_term) + if (cmd && cmd0) { - gchar *tcmd; + if (in_term) + { + gchar *tcmd; - tcmd = g_strdup_printf (options.icons_data.term, cmd); - g_spawn_command_line_async (tcmd, NULL); - g_free (tcmd); + tcmd = g_strdup_printf (options.icons_data.term, cmd); + g_spawn_command_line_async (tcmd, NULL); + g_free (tcmd); + } + else + g_spawn_command_line_async (cmd, NULL); } - else - g_spawn_command_line_async (cmd, NULL); } static gboolean -handle_stdin (GIOChannel * channel, - GIOCondition condition, gpointer data) +handle_stdin (GIOChannel * channel, GIOCondition condition, gpointer data) { static GtkTreeIter iter; static gint column_count = 1; static gint row_count = 0; static gboolean first_time = TRUE; - GtkTreeModel *model = gtk_icon_view_get_model (GTK_ICON_VIEW (icon_view)); + GtkTreeModel *model; + + if (!options.icons_data.compact) + model = gtk_icon_view_get_model (GTK_ICON_VIEW (icon_view)); + else + model = gtk_tree_view_get_model (GTK_TREE_VIEW (icon_view)); if (first_time) { @@ -92,23 +144,22 @@ GError *err = NULL; GString *string = g_string_new (NULL); - while (channel->is_readable != TRUE) ; + while (channel->is_readable != TRUE); do { - GdkPixbuf *pb; + GdkPixbuf *pb; gint status; do { - status = - g_io_channel_read_line_string (channel, string, NULL, &err); + status = g_io_channel_read_line_string (channel, string, NULL, &err); while (gtk_events_pending ()) gtk_main_iteration (); } while (status == G_IO_STATUS_AGAIN); - strip_new_line (string->str); + strip_new_line (string->str); if (status != G_IO_STATUS_NORMAL) { @@ -118,7 +169,9 @@ g_error_free (err); err = NULL; } - continue; + /* stop handling */ + g_io_channel_shutdown (channel, TRUE, NULL); + return FALSE; } if (column_count == NUM_COLS) @@ -127,45 +180,43 @@ column_count = 1; row_count++; gtk_list_store_append (GTK_LIST_STORE (model), &iter); - gtk_list_store_set (GTK_LIST_STORE (model), &iter, COL_FILENAME, "", -1); + gtk_list_store_set (GTK_LIST_STORE (model), &iter, COL_FILENAME, "", -1); } - switch (column_count) - { - case COL_NAME: - case COL_COMMAND: - gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, string->str, -1); - break; - case COL_TOOLTIP: - { - gchar *val; - - val = escape_markup (string->str); - gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, val, -1); - g_free (val); - break; - } - case COL_PIXBUF: - if (options.icons_data.compact) - if (*string->str) - pb = get_pixbuf (string->str, YAD_SMALL_ICON); - else - pb = NULL; - else - pb = get_pixbuf (string->str, YAD_BIG_ICON); - gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, pb, -1); - if (pb) - g_object_unref (pb); - break; - case COL_TERM: - if (g_ascii_strcasecmp (string->str, "true") == 0) - gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, TRUE, -1); - else - gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, FALSE, -1); - break; - } - - column_count++; + switch (column_count) + { + case COL_NAME: + case COL_COMMAND: + gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, string->str, -1); + break; + case COL_TOOLTIP: + { + gchar *buf = g_markup_escape_text (string->str, -1); + gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, buf, -1); + g_free (buf); + break; + } + case COL_PIXBUF: + if (options.icons_data.compact) + if (*string->str) + pb = get_pixbuf (string->str, YAD_SMALL_ICON); + else + pb = NULL; + else + pb = get_pixbuf (string->str, YAD_BIG_ICON); + gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, pb, -1); + if (pb) + g_object_unref (pb); + break; + case COL_TERM: + if (strcasecmp (string->str, "true") == 0) + gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, TRUE, -1); + else + gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, FALSE, -1); + break; + } + + column_count++; } while (g_io_channel_get_buffer_condition (channel) == G_IO_IN); g_string_free (string, TRUE); @@ -181,7 +232,7 @@ } static DEntry * -parse_desktop_file (gchar *filename) +parse_desktop_file (gchar * filename) { DEntry *ent; GKeyFile *kf; @@ -195,53 +246,77 @@ gchar *icon; if (g_key_file_has_group (kf, "Desktop Entry")) - { - gint i; - gchar *val; - - if (options.icons_data.generic) - { - ent->name = g_key_file_get_locale_string (kf, "Desktop Entry", "GenericName", NULL, NULL); - if (!ent->name) - ent->name = g_key_file_get_locale_string (kf, "Desktop Entry", "Name", NULL, NULL); - } - else - ent->name = g_key_file_get_locale_string (kf, "Desktop Entry", "Name", NULL, NULL); - /* use filename as a fallback */ - if (!ent->name) - { - gchar *ext_pos, *nm = g_path_get_basename (filename); - - ext_pos = g_strrstr (nm, ".desktop"); - if (ext_pos) - *ext_pos = '\000'; - ent->name = g_strdup (nm); - g_free (nm); - } - val = g_key_file_get_locale_string (kf, "Desktop Entry", "Comment", NULL, NULL); - ent->comment = escape_markup (val); - g_free (val); - ent->command = g_key_file_get_string (kf, "Desktop Entry", "Exec", NULL); - /* remove possible arguments patterns */ - for (i = strlen (ent->command); i > 0; i--) - { - if (ent->commandi == '%') - { - ent->commandi = '\0'; - break; - } - } - ent->in_term = g_key_file_get_boolean (kf, "Desktop Entry", "Terminal", NULL); - icon = g_key_file_get_string (kf, "Desktop Entry", "Icon", NULL); - if (icon) - { - if (options.icons_data.compact) - ent->pixbuf = get_pixbuf (icon, YAD_SMALL_ICON); - else - ent->pixbuf = get_pixbuf (icon, YAD_BIG_ICON); - g_free (icon); - } - } + { + gint i, type; + gchar *val; + + /* get type */ + val = g_key_file_get_string (kf, "Desktop Entry", "Type", NULL); + if (g_ascii_strcasecmp (val, "Link") == 0) + type = TYPE_LINK; + else + type = TYPE_APP; + g_free (val); + + /* get name */ + if (options.icons_data.generic) + ent->name = g_key_file_get_locale_string (kf, "Desktop Entry", "GenericName", NULL, NULL); + if (!ent->name) + ent->name = g_key_file_get_locale_string (kf, "Desktop Entry", "Name", NULL, NULL); + + /* use filename as a fallback */ + if (!ent->name) + { + gchar *ext_pos, *nm = g_path_get_basename (filename); + + ext_pos = g_strrstr (nm, ".desktop"); + if (ext_pos) + *ext_pos = '\000'; + ent->name = g_strdup (nm); + g_free (nm); + } + + /* get tooltip */ + val = g_key_file_get_locale_string (kf, "Desktop Entry", "Comment", NULL, NULL); + ent->comment = g_markup_escape_text (val, -1); + g_free (val); + + /* parse command or url */ + if (type == TYPE_APP) + { + ent->command = g_key_file_get_string (kf, "Desktop Entry", "Exec", NULL); + /* remove possible arguments patterns */ + for (i = strlen (ent->command); i > 0; i--) + { + if (ent->commandi == '%') + { + ent->commandi = '\0'; + break; + } + } + ent->in_term = g_key_file_get_boolean (kf, "Desktop Entry", "Terminal", NULL); + } + else + { + gchar *url = g_key_file_get_string (kf, "Desktop Entry", "URL", NULL); + if (url) + { + ent->command = g_strdup_printf (settings.open_cmd, url); + g_free (url); + } + } + + /* add icon */ + icon = g_key_file_get_string (kf, "Desktop Entry", "Icon", NULL); + if (icon) + { + if (options.icons_data.compact) + ent->pixbuf = get_pixbuf (icon, YAD_SMALL_ICON); + else + ent->pixbuf = get_pixbuf (icon, YAD_BIG_ICON); + g_free (icon); + } + } } else g_printerr (_("Unable to parse file %s: %s\n"), filename, err->message); @@ -252,7 +327,7 @@ } static void -read_dir (GtkListStore *store) +read_dir () { GDir *dir; const gchar *filename; @@ -261,11 +336,12 @@ dir = g_dir_open (options.icons_data.directory, 0, &err); if (!dir) { - g_printerr (_("Unable to open directory %s: %s\n"), - options.icons_data.directory, err->message); + g_printerr (_("Unable to open directory %s: %s\n"), options.icons_data.directory, err->message); return; } + gtk_list_store_clear (store); + while ((filename = g_dir_read_name (dir)) != NULL) { DEntry *ent; @@ -273,58 +349,58 @@ gchar *fullname; if (!g_str_has_suffix (filename, ".desktop")) - continue; + continue; fullname = g_build_filename (options.icons_data.directory, filename, NULL); ent = parse_desktop_file (fullname); g_free (fullname); if (ent->name) - { - gtk_list_store_append (store, &iter); - gtk_list_store_set (store, &iter, - COL_FILENAME, filename, - COL_NAME, ent->name, - COL_TOOLTIP, ent->comment ? ent->comment : "", - COL_PIXBUF, ent->pixbuf, - COL_COMMAND, ent->command ? ent->command : "", - COL_TERM, ent->in_term, - -1); - } + { + gtk_list_store_append (store, &iter); + gtk_list_store_set (store, &iter, + COL_FILENAME, filename, + COL_NAME, ent->name, + COL_TOOLTIP, ent->comment ? ent->comment : "", + COL_PIXBUF, ent->pixbuf, + COL_COMMAND, ent->command ? ent->command : "", COL_TERM, ent->in_term, -1); + } /* free desktop entry */ g_free (ent->name); g_free (ent->comment); g_free (ent->command); if (ent->pixbuf) - g_object_unref (ent->pixbuf); + g_object_unref (ent->pixbuf); g_free (ent); } g_dir_close (dir); } +#ifdef HAVE_GIO +static void +dir_changed_cb (GFileMonitor *mon, GFile *file, GFile *ofile, GFileMonitorEvent ev, gpointer data) +{ + if (ev == G_FILE_MONITOR_EVENT_DELETED || ev == G_FILE_MONITOR_EVENT_CREATED) + read_dir (); +} +#endif + GtkWidget * -icons_create_widget (GtkWidget *dlg) +icons_create_widget (GtkWidget * dlg) { GtkWidget *w; - GtkListStore *store; w = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (w), GTK_SHADOW_ETCHED_IN); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), - GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); - - store = gtk_list_store_new (NUM_COLS, - G_TYPE_STRING, - G_TYPE_STRING, - G_TYPE_STRING, - GDK_TYPE_PIXBUF, - G_TYPE_STRING, - G_TYPE_BOOLEAN); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + + store = gtk_list_store_new (NUM_COLS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, + GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_BOOLEAN); gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (store), - options.icons_data.sort_by_name ? COL_NAME : COL_FILENAME, - options.icons_data.descend ? GTK_SORT_DESCENDING : GTK_SORT_ASCENDING); + options.icons_data.sort_by_name ? COL_NAME : COL_FILENAME, + options.icons_data.descend ? GTK_SORT_DESCENDING : GTK_SORT_ASCENDING); if (!options.icons_data.compact) { @@ -334,6 +410,9 @@ gtk_icon_view_set_pixbuf_column (GTK_ICON_VIEW (icon_view), COL_PIXBUF); gtk_icon_view_set_tooltip_column (GTK_ICON_VIEW (icon_view), COL_TOOLTIP); gtk_icon_view_set_item_width (GTK_ICON_VIEW (icon_view), options.icons_data.width); + + if (options.icons_data.single_click) + g_signal_connect (G_OBJECT (icon_view), "selection-changed", G_CALLBACK (select_cb), NULL); } else { @@ -356,12 +435,19 @@ gtk_tree_view_append_column (GTK_TREE_VIEW (icon_view), col); gtk_tree_view_set_tooltip_column (GTK_TREE_VIEW (icon_view), COL_TOOLTIP); + + if (options.icons_data.single_click) + { + GtkTreeSelection *sel; + sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (icon_view)); + g_signal_connect (G_OBJECT (sel), "changed", G_CALLBACK (select_cb), col); + } } /* handle directory */ if (options.icons_data.directory) - read_dir (store); - else if (options.icons_data.stdinput) + read_dir (); + else if (options.common_data.listen) { /* read from stdin */ GIOChannel *channel; @@ -375,13 +461,25 @@ } } - g_object_unref (store); - if (!options.icons_data.compact) g_signal_connect (G_OBJECT (icon_view), "item-activated", G_CALLBACK (activate_cb), NULL); else g_signal_connect (G_OBJECT (icon_view), "row-activated", G_CALLBACK (activate_cb), NULL); +#ifdef HAVE_GIO + /* start file monitor */ + if (options.icons_data.monitor && options.icons_data.directory) + { + GFile *file = g_file_new_for_path (options.icons_data.directory); + if (file) + { + GFileMonitor *mon = g_file_monitor_directory (file, 0, NULL, NULL); + g_signal_connect (G_OBJECT (mon), "changed", G_CALLBACK (dir_changed_cb), NULL); + g_object_unref (file); + } + } +#endif + gtk_container_add (GTK_CONTAINER (w), icon_view); return w;
View file
yad-0.16.3.tar.bz2/src/list.c -> yad-0.36.2.tar.xz/src/list.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <string.h> @@ -32,31 +32,37 @@ static gboolean list_activate_cb (GtkWidget *widget, GdkEventKey *event, gpointer data) { -#if GTK_CHECK_VERSION(3,0,0) +#if GTK_CHECK_VERSION(2,24,0) if (event->keyval == GDK_KEY_Return || event->keyval == GDK_KEY_KP_Enter) #else if (event->keyval == GDK_Return || event->keyval == GDK_KP_Enter) #endif { if (options.list_data.dclick_action) - { - /* FIXME: check this under gtk-3.0 */ - if (event->state & GDK_CONTROL_MASK) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); - else - return FALSE; - } + { + /* FIXME: check this under gtk-3.0 */ + if (event->state & GDK_CONTROL_MASK) + { + if (options.plug == -1) + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + } + else + return FALSE; + } else - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + { + if (options.plug == -1) + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + } return TRUE; } + return FALSE; } static void -toggled_cb (GtkCellRendererToggle *cell, - gchar *path_str, gpointer data) +toggled_cb (GtkCellRendererToggle *cell, gchar *path_str, gpointer data) { gint column; gboolean fixed; @@ -75,10 +81,34 @@ gtk_tree_path_free (path); } +static gboolean +runtoggle (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data) +{ + gint col = GPOINTER_TO_INT (data); + gtk_list_store_set (GTK_LIST_STORE (model), iter, col, FALSE, -1); + return FALSE; +} + +static void +rtoggled_cb (GtkCellRendererToggle *cell, gchar *path_str, gpointer data) +{ + gint column; + GtkTreeIter iter; + GtkTreePath *path = gtk_tree_path_new_from_string (path_str); + GtkTreeModel *model = gtk_tree_view_get_model (GTK_TREE_VIEW (list_view)); + + column = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (cell), "column")); + + gtk_tree_model_foreach (model, runtoggle, GINT_TO_POINTER (column)); + + gtk_tree_model_get_iter (model, &iter, path); + gtk_list_store_set (GTK_LIST_STORE (model), &iter, column, TRUE, -1); + + gtk_tree_path_free (path); +} + static void -cell_edited_cb (GtkCellRendererText * cell, - const gchar * path_string, - const gchar * new_text, gpointer data) +cell_edited_cb (GtkCellRendererText *cell, const gchar *path_string, const gchar *new_text, gpointer data) { gint column; GtkTreeIter iter; @@ -100,83 +130,8 @@ gtk_tree_path_free (path); } -static void -tooltip_cb (GtkWidget * w, gint x, gint y, - gboolean kmode, GtkTooltip * tip, - gpointer data) -{ - GtkTreeModel *model = NULL; - GtkTreePath *path = NULL; - GtkTreeIter iter; - gint cnum = -1; - - if (gtk_tree_view_get_tooltip_context (GTK_TREE_VIEW (list_view), &x, &y, kmode, - &model, &path, &iter)) - { - GtkTreeViewColumn *col = NULL; - GList *cols, *node; - guint colx = 0; - - /* find current column */ - cols = gtk_tree_view_get_columns (GTK_TREE_VIEW (list_view)); - for (node = cols; node != NULL && col == NULL; node = node->next) - { - GtkTreeViewColumn *checkcol = (GtkTreeViewColumn*) node->data; - - cnum++; - if (x >= colx && x < (colx + gtk_tree_view_column_get_width (checkcol))) - col = checkcol; - else - colx += gtk_tree_view_column_get_width (checkcol); - - } - g_list_free(cols); - - /* set tolltip */ - if (col) - { - YadColumn *yc; - gchar *text = NULL; - - yc = (YadColumn *) g_slist_nth_data (options.list_data.columns, cnum); - switch (yc->type) - { - case YAD_COLUMN_NUM: - { - gint64 nval; - gtk_tree_model_get (model, &iter, cnum, &nval, -1); - text = g_strdup_printf ("%ld", nval); - break; - } - case YAD_COLUMN_FLOAT: - { - gdouble nval; - gtk_tree_model_get (model, &iter, cnum, &nval, -1); - text = g_strdup_printf ("%lf", nval); - break; - } - case YAD_COLUMN_TOOLTIP: - case YAD_COLUMN_TEXT: - { - gchar *cval; - gtk_tree_model_get (model, &iter, cnum, &cval, -1); - text = g_strdup_printf ("%s", cval); - break; - } - } - - if (text) - { - gtk_tooltip_set_text (tip, text); - g_free (text); - } - } - } -} - static gboolean -regex_search (GtkTreeModel *model, gint col, const gchar *key, - GtkTreeIter *iter, gpointer data) +regex_search (GtkTreeModel *model, gint col, const gchar *key, GtkTreeIter *iter, gpointer data) { static GRegex *pattern = NULL; static guint pos = 0; @@ -185,9 +140,8 @@ if (keypos) { if (pattern) - g_regex_unref (pattern); - pattern = g_regex_new (key, G_REGEX_CASELESS | G_REGEX_EXTENDED | G_REGEX_OPTIMIZE, - G_REGEX_MATCH_NOTEMPTY, NULL); + g_regex_unref (pattern); + pattern = g_regex_new (key, G_REGEX_CASELESS | G_REGEX_EXTENDED | G_REGEX_OPTIMIZE, G_REGEX_MATCH_NOTEMPTY, NULL); pos = strlen (key); } @@ -215,13 +169,18 @@ GType *ctypes; gint i; - ctypes = g_new0 (GType, n_columns + 1); + ctypes = g_new0 (GType, n_columns); if (options.list_data.checkbox) { YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, 0); col->type = YAD_COLUMN_CHECK; } + else if (options.list_data.radiobox) + { + YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, 0); + col->type = YAD_COLUMN_RADIO; + } for (i = 0; i < n_columns; i++) { @@ -230,9 +189,12 @@ switch (col->type) { case YAD_COLUMN_CHECK: + case YAD_COLUMN_RADIO: ctypesi = G_TYPE_BOOLEAN; break; case YAD_COLUMN_NUM: + case YAD_COLUMN_SIZE: + case YAD_COLUMN_BAR: ctypesi = G_TYPE_INT64; break; case YAD_COLUMN_FLOAT: @@ -241,33 +203,56 @@ case YAD_COLUMN_IMAGE: ctypesi = GDK_TYPE_PIXBUF; break; - case YAD_COLUMN_ATTR_FORE: - ctypesi = G_TYPE_STRING; - fore_col = i; - break; - case YAD_COLUMN_ATTR_BACK: - ctypesi = G_TYPE_STRING; - back_col = i; - break; - case YAD_COLUMN_ATTR_FONT: - ctypesi = G_TYPE_STRING; - font_col = i; - break; - case YAD_COLUMN_TOOLTIP: - case YAD_COLUMN_TEXT: + case YAD_COLUMN_ATTR_FORE: + ctypesi = G_TYPE_STRING; + fore_col = i; + break; + case YAD_COLUMN_ATTR_BACK: + ctypesi = G_TYPE_STRING; + back_col = i; + break; + case YAD_COLUMN_ATTR_FONT: + ctypesi = G_TYPE_STRING; + font_col = i; + break; default: ctypesi = G_TYPE_STRING; break; } } - ctypesn_columns = PANGO_TYPE_ELLIPSIZE_MODE; - store = gtk_list_store_newv (n_columns + 1, ctypes); + store = gtk_list_store_newv (n_columns, ctypes); return GTK_TREE_MODEL (store); } static void +float_col_format (GtkTreeViewColumn *col, GtkCellRenderer *cell, GtkTreeModel *model, + GtkTreeIter *iter, gpointer data) +{ + gdouble val; + gchar buf20; + + gtk_tree_model_get (model, iter, GPOINTER_TO_INT (data), &val, -1); + g_snprintf (buf, sizeof (buf), "%.*f", options.common_data.float_precision, val); + g_object_set (cell, "text", buf, NULL); +} + +static void +size_col_format (GtkTreeViewColumn *col, GtkCellRenderer *cell, GtkTreeModel *model, + GtkTreeIter *iter, gpointer data) +{ + guint64 val; + gchar buf20, *sz; + + gtk_tree_model_get (model, iter, GPOINTER_TO_INT (data), &val, -1); + sz = g_format_size (val); + g_snprintf (buf, sizeof (buf), "%s", sz); + g_free (sz); + g_object_set (cell, "text", buf, NULL); +} + +static void add_columns (gint n_columns) { gint i; @@ -278,75 +263,95 @@ { YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, i); - if (i == options.list_data.hide_column - 1 || - i == fore_col || i == back_col || i == font_col) + if (i == options.list_data.hide_column - 1 || col->type == YAD_COLUMN_HIDDEN || + i == fore_col || i == back_col || i == font_col) continue; switch (col->type) { case YAD_COLUMN_CHECK: + case YAD_COLUMN_RADIO: renderer = gtk_cell_renderer_toggle_new (); - g_object_set_data (G_OBJECT (renderer), "column", GINT_TO_POINTER (i)); - g_signal_connect (renderer, "toggled", G_CALLBACK (toggled_cb), NULL); column = gtk_tree_view_column_new_with_attributes (col->name, renderer, "active", i, NULL); - if (back_col != -1) - gtk_tree_view_column_add_attribute (column, renderer, "cell-background", back_col); + if (back_col != -1) + gtk_tree_view_column_add_attribute (column, renderer, "cell-background", back_col); + if (col->type == YAD_COLUMN_RADIO) + { + gtk_cell_renderer_toggle_set_radio (GTK_CELL_RENDERER_TOGGLE (renderer), TRUE); + g_signal_connect (renderer, "toggled", G_CALLBACK (rtoggled_cb), NULL); + } + else + g_signal_connect (renderer, "toggled", G_CALLBACK (toggled_cb), NULL); break; case YAD_COLUMN_IMAGE: renderer = gtk_cell_renderer_pixbuf_new (); column = gtk_tree_view_column_new_with_attributes (col->name, renderer, "pixbuf", i, NULL); - if (back_col != -1) - gtk_tree_view_column_add_attribute (column, renderer, "cell-background", back_col); + if (back_col != -1) + gtk_tree_view_column_add_attribute (column, renderer, "cell-background", back_col); break; case YAD_COLUMN_NUM: + case YAD_COLUMN_SIZE: case YAD_COLUMN_FLOAT: renderer = gtk_cell_renderer_text_new (); if (options.common_data.editable) { g_object_set (G_OBJECT (renderer), "editable", TRUE, NULL); - g_object_set_data (G_OBJECT (renderer), "column", GINT_TO_POINTER (i)); g_signal_connect (renderer, "edited", G_CALLBACK (cell_edited_cb), NULL); } column = gtk_tree_view_column_new_with_attributes (col->name, renderer, "text", i, NULL); - if (fore_col != -1) - gtk_tree_view_column_add_attribute (column, renderer, "foreground", fore_col); - if (back_col != -1) - gtk_tree_view_column_add_attribute (column, renderer, "cell-background", back_col); - if (font_col != -1) - gtk_tree_view_column_add_attribute (column, renderer, "font", font_col); + if (fore_col != -1) + gtk_tree_view_column_add_attribute (column, renderer, "foreground", fore_col); + if (back_col != -1) + gtk_tree_view_column_add_attribute (column, renderer, "cell-background", back_col); + if (font_col != -1) + gtk_tree_view_column_add_attribute (column, renderer, "font", font_col); gtk_tree_view_column_set_sort_column_id (column, i); - gtk_tree_view_column_set_resizable (column, TRUE); + gtk_tree_view_column_set_resizable (column, TRUE); + if (col->type == YAD_COLUMN_FLOAT) + gtk_tree_view_column_set_cell_data_func (column, renderer, float_col_format, GINT_TO_POINTER (i), NULL); + else if (col->type == YAD_COLUMN_SIZE) + gtk_tree_view_column_set_cell_data_func (column, renderer, size_col_format, GINT_TO_POINTER (i), NULL); + break; + case YAD_COLUMN_BAR: + renderer = gtk_cell_renderer_progress_new (); + column = gtk_tree_view_column_new_with_attributes (col->name, renderer, "value", i, NULL); + if (back_col != -1) + gtk_tree_view_column_add_attribute (column, renderer, "cell-background", back_col); + gtk_tree_view_column_set_sort_column_id (column, i); + gtk_tree_view_column_set_resizable (column, TRUE); break; - case YAD_COLUMN_TEXT: - case YAD_COLUMN_TOOLTIP: default: renderer = gtk_cell_renderer_text_new (); if (options.common_data.editable) { g_object_set (G_OBJECT (renderer), "editable", TRUE, NULL); - g_object_set_data (G_OBJECT (renderer), "column", GINT_TO_POINTER (i)); g_signal_connect (renderer, "edited", G_CALLBACK (cell_edited_cb), NULL); } - column = gtk_tree_view_column_new_with_attributes (col->name, renderer, "markup", i, NULL); - gtk_tree_view_column_add_attribute (column, renderer, "ellipsize", n_columns); - if (fore_col != -1) - gtk_tree_view_column_add_attribute (column, renderer, "foreground", fore_col); - if (back_col != -1) - gtk_tree_view_column_add_attribute (column, renderer, "cell-background", back_col); - if (font_col != -1) - gtk_tree_view_column_add_attribute (column, renderer, "font", font_col); + if (options.data.no_markup) + column = gtk_tree_view_column_new_with_attributes (col->name, renderer, "text", i, NULL); + else + column = gtk_tree_view_column_new_with_attributes (col->name, renderer, "markup", i, NULL); + g_object_set (G_OBJECT (renderer), "ellipsize", options.list_data.ellipsize, NULL); + if (fore_col != -1) + gtk_tree_view_column_add_attribute (column, renderer, "foreground", fore_col); + if (back_col != -1) + gtk_tree_view_column_add_attribute (column, renderer, "cell-background", back_col); + if (font_col != -1) + gtk_tree_view_column_add_attribute (column, renderer, "font", font_col); gtk_tree_view_column_set_sort_column_id (column, i); gtk_tree_view_column_set_resizable (column, TRUE); break; } + g_object_set_data (G_OBJECT (renderer), "column", GINT_TO_POINTER (i)); gtk_tree_view_append_column (GTK_TREE_VIEW (list_view), column); - if (col->type != YAD_COLUMN_CHECK || col->type != YAD_COLUMN_IMAGE) - { - if (i == options.list_data.expand_column - 1 || - options.list_data.expand_column == 0) - gtk_tree_view_column_set_expand (column, TRUE); - } + gtk_tree_view_column_set_clickable (column, options.list_data.clickable); + + if (col->type != YAD_COLUMN_CHECK && col->type != YAD_COLUMN_IMAGE) + { + if (i == options.list_data.expand_column - 1 || options.list_data.expand_column == 0) + gtk_tree_view_column_set_expand (column, TRUE); + } } if (options.list_data.checkbox && !options.list_data.search_column) @@ -359,46 +364,35 @@ } static gboolean -handle_stdin (GIOChannel * channel, - GIOCondition condition, gpointer data) +handle_stdin (GIOChannel * channel, GIOCondition condition, gpointer data) { static GtkTreeIter iter; static gint column_count = 0; static gint row_count = 0; - static gboolean first_time = TRUE; gint n_columns = GPOINTER_TO_INT (data); GtkTreeModel *model = gtk_tree_view_get_model (GTK_TREE_VIEW (list_view)); - if (first_time) - { - first_time = FALSE; - gtk_list_store_append (GTK_LIST_STORE (model), &iter); - } - if ((condition == G_IO_IN) || (condition == G_IO_IN + G_IO_HUP)) { GError *err = NULL; GString *string = g_string_new (NULL); - while (channel->is_readable != TRUE) ; + while (channel->is_readable != TRUE); do { YadColumn *col; GdkPixbuf *pb; gint status; - gchar *val; do { - status = - g_io_channel_read_line_string (channel, string, NULL, &err); + status = g_io_channel_read_line_string (channel, string, NULL, &err); while (gtk_events_pending ()) gtk_main_iteration (); } while (status == G_IO_STATUS_AGAIN); - strip_new_line (string->str); if (status != G_IO_STATUS_NORMAL) { @@ -408,22 +402,32 @@ g_error_free (err); err = NULL; } + /* stop handling */ + g_io_channel_shutdown (channel, TRUE, NULL); + return FALSE; + } + + strip_new_line (string->str); + if (string->str0 == '\014') + { + /* clear list if ^L received */ + gtk_list_store_clear (GTK_LIST_STORE (model)); + row_count = column_count = 0; continue; } - if (column_count == n_columns) + if (row_count == 0 && column_count == 0) + gtk_list_store_append (GTK_LIST_STORE (model), &iter); + else if (column_count == n_columns) { - /* add eliipsize */ - gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, - options.list_data.ellipsize, -1); /* We're starting a new row */ column_count = 0; row_count++; - if (options.list_data.limit && row_count >= options.list_data.limit) - { - gtk_tree_model_get_iter_first (model, &iter); - gtk_list_store_remove (GTK_LIST_STORE (model), &iter); - } + if (options.list_data.limit && row_count >= options.list_data.limit) + { + gtk_tree_model_get_iter_first (model, &iter); + gtk_list_store_remove (GTK_LIST_STORE (model), &iter); + } gtk_list_store_append (GTK_LIST_STORE (model), &iter); } @@ -432,34 +436,40 @@ switch (col->type) { case YAD_COLUMN_CHECK: - if (g_ascii_strcasecmp (string->str, "true") == 0) + case YAD_COLUMN_RADIO: + if (strcasecmp (string->str, "true") == 0) gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, TRUE, -1); else gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, FALSE, -1); break; case YAD_COLUMN_NUM: + case YAD_COLUMN_SIZE: gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, - g_ascii_strtoll (string->str, NULL, 10), -1); + g_ascii_strtoll (string->str, NULL, 10), -1); break; case YAD_COLUMN_FLOAT: - gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, - g_ascii_strtod (string->str, NULL), -1); + gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, g_ascii_strtod (string->str, NULL), -1); break; + case YAD_COLUMN_BAR: + { + gint64 val = g_ascii_strtoll (string->str, NULL, 10); + if (val < 0) + val = 0; + if (val > 100) + val = 100; + gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, val, -1); + break; + } case YAD_COLUMN_IMAGE: pb = get_pixbuf (string->str, YAD_SMALL_ICON); - gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, pb, -1); if (pb) - g_object_unref (pb); + { + gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, pb, -1); + g_object_unref (pb); + } break; - case YAD_COLUMN_ATTR_FORE: - case YAD_COLUMN_ATTR_BACK: - case YAD_COLUMN_ATTR_FONT: - gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, string->str, -1); - break; default: - val = escape_markup (string->str); - gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, val, -1); - g_free (val); + gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, string->str, -1); break; } @@ -482,24 +492,25 @@ fill_data (gint n_columns) { GtkTreeIter iter; - GtkListStore *model = - GTK_LIST_STORE (gtk_tree_view_get_model (GTK_TREE_VIEW (list_view))); + GtkListStore *model = GTK_LIST_STORE (gtk_tree_view_get_model (GTK_TREE_VIEW (list_view))); + GIOChannel *channel; if (options.extra_data && *options.extra_data) { gchar **args = options.extra_data; gint i = 0; + gtk_widget_freeze_child_notify (list_view); + while (argsi != NULL) { gint j; gtk_list_store_append (model, &iter); - for (j = 0; j < n_columns; j++) + for (j = 0; j < n_columns; j++, i++) { YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, j); GdkPixbuf *pb; - gchar *val; if (argsi == NULL) break; @@ -507,67 +518,58 @@ switch (col->type) { case YAD_COLUMN_CHECK: - if (g_ascii_strcasecmp ((gchar *) argsi, "true") == 0) - gtk_list_store_set (model, &iter, j, TRUE, -1); + case YAD_COLUMN_RADIO: + if (strcasecmp ((gchar *) argsi, "true") == 0) + gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, TRUE, -1); else - gtk_list_store_set (model, &iter, j, FALSE, -1); + gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, FALSE, -1); break; case YAD_COLUMN_NUM: - gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, - g_ascii_strtoll (argsi, NULL, 10), -1); + case YAD_COLUMN_SIZE: + gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, g_ascii_strtoll (argsi, NULL, 10), -1); break; case YAD_COLUMN_FLOAT: - gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, - g_ascii_strtod (argsi, NULL), -1); + gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, g_ascii_strtod (argsi, NULL), -1); break; + case YAD_COLUMN_BAR: + { + gint64 val = g_ascii_strtoll (argsi, NULL, 10); + if (val < 0) + val = 0; + if (val > 100) + val = 100; + gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, val, -1); + break; + } case YAD_COLUMN_IMAGE: pb = get_pixbuf (argsi, YAD_SMALL_ICON); - gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, pb, -1); if (pb) - g_object_unref (pb); + { + gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, pb, -1); + g_object_unref (pb); + } break; - case YAD_COLUMN_ATTR_FORE: - case YAD_COLUMN_ATTR_BACK: - case YAD_COLUMN_ATTR_FONT: - gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, argsi, -1); - break; default: - val = escape_markup (argsi); - gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, val, -1); - g_free (val); + gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, argsi, -1); break; } - i++; } - /* set ellipsize */ - gtk_list_store_set (GTK_LIST_STORE (model), &iter, n_columns, options.list_data.ellipsize, -1); } - if (settings.always_selected) - { - GtkTreeIter it; - GtkTreeSelection *sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (list_view)); - GtkTreeModel *model = gtk_tree_view_get_model (GTK_TREE_VIEW (list_view)); - - gtk_tree_model_get_iter_first (model, &it); - gtk_tree_selection_select_iter (sel, &it); - } + gtk_widget_thaw_child_notify (list_view); } - else - { - GIOChannel *channel; + if (options.common_data.listen || !(options.extra_data && *options.extra_data)) + { channel = g_io_channel_unix_new (0); g_io_channel_set_encoding (channel, NULL, NULL); g_io_channel_set_flags (channel, G_IO_FLAG_NONBLOCK, NULL); - g_io_add_watch (channel, G_IO_IN | G_IO_HUP, - handle_stdin, GINT_TO_POINTER (n_columns)); + g_io_add_watch (channel, G_IO_IN | G_IO_HUP, handle_stdin, GINT_TO_POINTER (n_columns)); } } static void -double_click_cb (GtkTreeView *view, GtkTreePath *path, - GtkTreeViewColumn *column, gpointer data) +double_click_cb (GtkTreeView * view, GtkTreePath * path, GtkTreeViewColumn * column, gpointer data) { GtkTreeModel *model; GtkTreeIter iter; @@ -578,96 +580,254 @@ { gchar *cmd; GString *args; + guint n_cols; args = g_string_new (""); + n_cols = gtk_tree_model_get_n_columns (model); + if (gtk_tree_model_get_iter (model, &iter, path)) - { - gint i; - - for (i = 0; i < gtk_tree_model_get_n_columns (model) - 1; i++) - { - YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, i); - switch (col->type) - { - case YAD_COLUMN_CHECK: - { - gboolean bval; - gtk_tree_model_get (model, &iter, i, &bval, -1); - g_string_append_printf (args, " %s", bval ? "TRUE" : "FALSE"); - break; - } - case YAD_COLUMN_NUM: - { - gint64 nval; - gtk_tree_model_get (model, &iter, i, &nval, -1); - g_string_append_printf (args, " %ld", nval); - break; - } - case YAD_COLUMN_FLOAT: - { - gdouble nval; - gtk_tree_model_get (model, &iter, i, &nval, -1); - g_string_append_printf (args, " %lf", nval); - break; - } - case YAD_COLUMN_IMAGE: - { - g_string_append_printf (args, " ''"); - break; - } - case YAD_COLUMN_ATTR_FORE: - case YAD_COLUMN_ATTR_BACK: - case YAD_COLUMN_ATTR_FONT: - break; - default: - { - gchar *cval, *uval; - gtk_tree_model_get (model, &iter, i, &cval, -1); - uval = unescape_markup (cval); - g_string_append_printf (args, " '%s'", uval); - g_free (uval); - break; - } - } - } - } + { + gint i; + + for (i = 0; i < n_cols; i++) + { + YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, i); + switch (col->type) + { + case YAD_COLUMN_CHECK: + case YAD_COLUMN_RADIO: + { + gboolean bval; + gtk_tree_model_get (model, &iter, i, &bval, -1); + g_string_append_printf (args, " %s", bval ? "TRUE" : "FALSE"); + break; + } + case YAD_COLUMN_NUM: + case YAD_COLUMN_SIZE: + case YAD_COLUMN_BAR: + { + gint64 nval; + gtk_tree_model_get (model, &iter, i, &nval, -1); + g_string_append_printf (args, " %ld", (long) nval); + break; + } + case YAD_COLUMN_FLOAT: + { + gdouble nval; + gtk_tree_model_get (model, &iter, i, &nval, -1); + g_string_append_printf (args, " %lf", nval); + break; + } + case YAD_COLUMN_IMAGE: + { + g_string_append_printf (args, " ''"); + break; + } + default: + { + gchar *cval; + gtk_tree_model_get (model, &iter, i, &cval, -1); + if (cval) + { + gchar *sval = g_shell_quote (cval); + g_string_append_printf (args, " %s", sval); + g_free (sval); + } + break; + } + } + } + } if (g_strstr_len (options.list_data.dclick_action, -1, "%s")) - { - static GRegex *regex = NULL; + { + static GRegex *regex = NULL; - if (!regex) - regex = g_regex_new ("\%s", G_REGEX_OPTIMIZE, 0, NULL); - cmd = g_regex_replace_literal (regex, options.list_data.dclick_action, -1, 0, args->str, 0, NULL); - } + if (!regex) + regex = g_regex_new ("\%s", G_REGEX_OPTIMIZE, 0, NULL); + cmd = g_regex_replace_literal (regex, options.list_data.dclick_action, -1, 0, args->str, 0, NULL); + } else - cmd = g_strdup_printf ("%s %s", options.list_data.dclick_action, args->str); + cmd = g_strdup_printf ("%s %s", options.list_data.dclick_action, args->str); g_string_free (args, TRUE); - g_spawn_command_line_async (cmd, NULL); + if (cmd0 == '@') + { + gchar *data = NULL; + gint exit; + + g_spawn_command_line_sync (cmd + 1, &data, NULL, &exit, NULL); + if (exit == 0) + { + gint i; + gchar **lines = g_strsplit (data, "\n", 0); + + for (i = 0; i < n_cols; i++) + { + YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, i); + GdkPixbuf *pb; + + if (linesi == NULL) + break; + + switch (col->type) + { + case YAD_COLUMN_CHECK: + case YAD_COLUMN_RADIO: + if (strcasecmp ((gchar *) linesi, "true") == 0) + gtk_list_store_set (GTK_LIST_STORE (model), &iter, i, TRUE, -1); + else + gtk_list_store_set (GTK_LIST_STORE (model), &iter, i, FALSE, -1); + break; + case YAD_COLUMN_NUM: + case YAD_COLUMN_SIZE: + gtk_list_store_set (GTK_LIST_STORE (model), &iter, i, g_ascii_strtoll (linesi, NULL, 10), -1); + break; + case YAD_COLUMN_FLOAT: + gtk_list_store_set (GTK_LIST_STORE (model), &iter, i, g_ascii_strtod (linesi, NULL), -1); + break; + case YAD_COLUMN_BAR: + { + gint64 val = g_ascii_strtoll (linesi, NULL, 10); + if (val < 0) + val = 0; + if (val > 100) + val = 100; + gtk_list_store_set (GTK_LIST_STORE (model), &iter, i, val, -1); + break; + } + case YAD_COLUMN_IMAGE: + pb = get_pixbuf (linesi, YAD_SMALL_ICON); + if (pb) + { + gtk_list_store_set (GTK_LIST_STORE (model), &iter, i, pb, -1); + g_object_unref (pb); + } + break; + default: + gtk_list_store_set (GTK_LIST_STORE (model), &iter, i, linesi, -1); + break; + } + } + g_strfreev (lines); + } + g_free (data); + } + else + g_spawn_command_line_async (cmd, NULL); + g_free (cmd); } else { if (options.list_data.checkbox) - { - if (gtk_tree_model_get_iter (model, &iter, path)) - { - gboolean chk; - - gtk_tree_model_get (model, &iter, 0, &chk, -1); - chk = !chk; - gtk_list_store_set (GTK_LIST_STORE (model), &iter, 0, chk, -1); - } - } - else - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + { + if (gtk_tree_model_get_iter (model, &iter, path)) + { + gboolean chk; + + gtk_tree_model_get (model, &iter, 0, &chk, -1); + chk = !chk; + gtk_list_store_set (GTK_LIST_STORE (model), &iter, 0, chk, -1); + } + } + else if (options.list_data.radiobox) + { + if (gtk_tree_model_get_iter (model, &iter, path)) + { + gtk_tree_model_foreach (model, runtoggle, GINT_TO_POINTER (0)); + gtk_list_store_set (GTK_LIST_STORE (model), &iter, 0, TRUE, -1); + } + } + else if (options.plug == -1) + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); } } -void -add_row_cb (GtkMenuItem *item, gpointer data) +static void +select_cb (GtkTreeSelection *sel, gpointer data) +{ + GtkTreeModel *model; + GtkTreeIter iter; + gchar *cmd; + GString *args; + guint i, n_cols; + + if (!gtk_tree_selection_get_selected (sel, &model, &iter)) + return; + + args = g_string_new (""); + n_cols = gtk_tree_model_get_n_columns (model); + + for (i = 0; i < n_cols; i++) + { + YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, i); + switch (col->type) + { + case YAD_COLUMN_CHECK: + case YAD_COLUMN_RADIO: + { + gboolean bval; + gtk_tree_model_get (model, &iter, i, &bval, -1); + g_string_append_printf (args, " %s", bval ? "TRUE" : "FALSE"); + break; + } + case YAD_COLUMN_NUM: + case YAD_COLUMN_SIZE: + case YAD_COLUMN_BAR: + { + gint64 nval; + gtk_tree_model_get (model, &iter, i, &nval, -1); + g_string_append_printf (args, " %ld", (long) nval); + break; + } + case YAD_COLUMN_FLOAT: + { + gdouble nval; + gtk_tree_model_get (model, &iter, i, &nval, -1); + g_string_append_printf (args, " %lf", nval); + break; + } + case YAD_COLUMN_IMAGE: + { + g_string_append_printf (args, " ''"); + break; + } + default: + { + gchar *cval; + gtk_tree_model_get (model, &iter, i, &cval, -1); + if (cval) + { + gchar *sval = g_shell_quote (cval); + g_string_append_printf (args, " %s", sval); + g_free (sval); + } + break; + } + } + } + + if (g_strstr_len (options.list_data.select_action, -1, "%s")) + { + static GRegex *regex = NULL; + + if (!regex) + regex = g_regex_new ("\%s", G_REGEX_OPTIMIZE, 0, NULL); + cmd = g_regex_replace_literal (regex, options.list_data.select_action, -1, 0, args->str, 0, NULL); + } + else + cmd = g_strdup_printf ("%s %s", options.list_data.select_action, args->str); + g_string_free (args, TRUE); + + g_spawn_command_line_async (cmd, NULL); + + g_free (cmd); +} + +static void +add_row_cb (GtkMenuItem * item, gpointer data) { GtkTreeModel *model; GtkTreeIter iter; @@ -677,8 +837,8 @@ gtk_list_store_append (GTK_LIST_STORE (model), &iter); } -void -del_row_cb (GtkMenuItem *item, gpointer data) +static void +del_row_cb (GtkMenuItem * item, gpointer data) { GtkTreeIter iter; GtkTreeModel *model = gtk_tree_view_get_model (GTK_TREE_VIEW (list_view)); @@ -688,8 +848,63 @@ gtk_list_store_remove (GTK_LIST_STORE (model), &iter); } +static void +copy_row_cb (GtkMenuItem * item, gpointer data) +{ + GtkTreeIter iter, new_iter; + GtkTreeModel *model = gtk_tree_view_get_model (GTK_TREE_VIEW (list_view)); + GtkTreeSelection *sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (list_view)); + + if (gtk_tree_selection_get_selected (sel, NULL, &iter)) + { + gint i, n_columns; + + /* decrease by 1 due to last ellipsize column */ + n_columns = gtk_tree_model_get_n_columns (model); + + gtk_list_store_insert_after (GTK_LIST_STORE (model), &new_iter, &iter); + + for (i = 0; i < n_columns; i++) + { + GdkPixbuf *pb; + gchar *tv; + gint64 iv; + gfloat fv; + gboolean bv; + YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, i); + + switch (col->type) + { + case YAD_COLUMN_CHECK: + case YAD_COLUMN_RADIO: + gtk_tree_model_get (model, &iter, i, &bv, -1); + gtk_list_store_set (GTK_LIST_STORE (model), &new_iter, i, bv, -1); + break; + case YAD_COLUMN_NUM: + case YAD_COLUMN_SIZE: + case YAD_COLUMN_BAR: + gtk_tree_model_get (model, &iter, i, &iv, -1); + gtk_list_store_set (GTK_LIST_STORE (model), &new_iter, i, iv, -1); + break; + case YAD_COLUMN_FLOAT: + gtk_tree_model_get (model, &iter, i, &fv, -1); + gtk_list_store_set (GTK_LIST_STORE (model), &new_iter, i, fv, -1); + break; + case YAD_COLUMN_IMAGE: + gtk_tree_model_get (model, &iter, i, &pb, -1); + gtk_list_store_set (GTK_LIST_STORE (model), &new_iter, i, pb, -1); + break; + default: + gtk_tree_model_get (model, &iter, i, &tv, -1); + gtk_list_store_set (GTK_LIST_STORE (model), &new_iter, i, tv, -1); + break; + } + } + } +} + static gboolean -popup_menu_cb (GtkWidget *w, GdkEventButton *ev, gpointer data) +popup_menu_cb (GtkWidget * w, GdkEventButton * ev, gpointer data) { static GtkWidget *menu = NULL; if (ev->button == 3) @@ -699,38 +914,53 @@ if (menu == NULL) { menu = gtk_menu_new (); - + item = gtk_image_menu_item_new_with_label (_("Add row")); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), - gtk_image_new_from_stock - (GTK_STOCK_ADD, GTK_ICON_SIZE_MENU)); + gtk_image_new_from_stock (GTK_STOCK_ADD, GTK_ICON_SIZE_MENU)); gtk_widget_show (item); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - g_signal_connect (G_OBJECT (item), "activate", - G_CALLBACK (add_row_cb), NULL); + g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (add_row_cb), NULL); item = gtk_image_menu_item_new_with_label (_("Delete row")); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), - gtk_image_new_from_stock - (GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); - gtk_widget_show (item); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - g_signal_connect (G_OBJECT (item), "activate", - G_CALLBACK (del_row_cb), NULL); - gtk_widget_show (menu); + gtk_image_new_from_stock (GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); + gtk_widget_show (item); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); + g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (del_row_cb), NULL); + + item = gtk_image_menu_item_new_with_label (_("Duplicate row")); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), + gtk_image_new_from_stock (GTK_STOCK_COPY, GTK_ICON_SIZE_MENU)); + gtk_widget_show (item); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); + g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (copy_row_cb), NULL); + + gtk_widget_show (menu); } - gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, - NULL, ev->button, ev->time); + gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, ev->button, ev->time); } return FALSE; } +static gboolean +row_sep_func (GtkTreeModel * m, GtkTreeIter * it, gpointer data) +{ + gchar *name; + + if (!options.list_data.sep_value) + return FALSE; + + gtk_tree_model_get (m, it, options.list_data.sep_column - 1, &name, -1); + return (strcmp (name, options.list_data.sep_value) == 0); +} + GtkWidget * -list_create_widget (GtkWidget *dlg) +list_create_widget (GtkWidget * dlg) { GtkWidget *w; GtkTreeModel *model; - gint i, n_columns; + gint n_columns; fore_col = back_col = font_col = -1; @@ -744,15 +974,14 @@ w = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (w), GTK_SHADOW_ETCHED_IN); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), - GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); model = create_model (n_columns); list_view = gtk_tree_view_new_with_model (model); gtk_widget_set_name (list_view, "yad-list-widget"); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (list_view), !options.list_data.no_headers); - gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (list_view), settings.rules_hint); + gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (list_view), options.list_data.rules_hint); gtk_tree_view_set_reorderable (GTK_TREE_VIEW (list_view), options.common_data.editable); g_object_unref (model); @@ -760,141 +989,149 @@ add_columns (n_columns); - if (options.common_data.multi && !options.list_data.checkbox) - { - GtkTreeSelection *sel = - gtk_tree_view_get_selection (GTK_TREE_VIEW (list_view)); - gtk_tree_selection_set_mode (sel, GTK_SELECTION_MULTIPLE); - } + /* add popup menu */ + if (options.common_data.editable) + g_signal_connect_swapped (G_OBJECT (list_view), "button_press_event", G_CALLBACK (popup_menu_cb), NULL); - if (options.list_data.checkbox || !options.common_data.multi) - { - g_signal_connect (G_OBJECT (list_view), "row-activated", - G_CALLBACK (double_click_cb), dlg); - } + /* add tooltip column */ + if (options.list_data.tooltip_column > 0) + gtk_tree_view_set_tooltip_column (GTK_TREE_VIEW (list_view), options.list_data.tooltip_column - 1); - if (options.common_data.editable) + /* set search function for regex search */ + if (options.list_data.search_column != -1 && options.list_data.regex_search) { - /* add popup menu */ - g_signal_connect_swapped (G_OBJECT (list_view), "button_press_event", - G_CALLBACK (popup_menu_cb), NULL); - } + YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, + options.list_data.search_column); - /* Return submits data */ - g_signal_connect (G_OBJECT (list_view), "key-press-event", - G_CALLBACK (list_activate_cb), dlg); + if (col->type == YAD_COLUMN_TEXT) + gtk_tree_view_set_search_equal_func (GTK_TREE_VIEW (list_view), regex_search, NULL, NULL); + } - fill_data (n_columns); + /* add row separator function */ + if (options.list_data.sep_column > 0) + gtk_tree_view_set_row_separator_func (GTK_TREE_VIEW (list_view), row_sep_func, NULL, NULL); - /* add tooltip column, if present */ - for (i = 0; i < n_columns; i++) + if (options.list_data.no_selection) { - YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, i); - - if (col->type == YAD_COLUMN_TOOLTIP) - { - gtk_tree_view_set_tooltip_column (GTK_TREE_VIEW (list_view), i); - break; - } + GtkTreeSelection *sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (list_view)); + gtk_tree_selection_set_mode (sel, GTK_SELECTION_NONE); + gtk_widget_set_can_focus (list_view, FALSE); } - /* set tooltip callback if no tooltip column */ - if (i == n_columns) + else { - gtk_widget_set_has_tooltip (list_view, TRUE); - g_signal_connect (G_OBJECT (list_view), "query-tooltip", - G_CALLBACK (tooltip_cb), NULL); - } + GtkTreeSelection *sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (list_view)); - /* set search function for regex search */ - if (options.list_data.search_column != -1 && options.list_data.regex_search) - { - YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, - options.list_data.search_column); + if (options.common_data.multi && !options.list_data.checkbox && !options.list_data.radiobox) + gtk_tree_selection_set_mode (sel, GTK_SELECTION_MULTIPLE); - if (col->type == YAD_COLUMN_TEXT || col->type == YAD_COLUMN_TOOLTIP) - gtk_tree_view_set_search_equal_func (GTK_TREE_VIEW (list_view), - regex_search, NULL, NULL); + if (!options.common_data.multi && options.list_data.select_action) + g_signal_connect (G_OBJECT (sel), "changed", G_CALLBACK (select_cb), NULL); + + g_signal_connect (G_OBJECT (list_view), "row-activated", G_CALLBACK (double_click_cb), dlg); + g_signal_connect (G_OBJECT (list_view), "key-press-event", G_CALLBACK (list_activate_cb), dlg); } + /* load data */ + fill_data (n_columns); + return w; } static void -print_col (GtkTreeModel *model, GtkTreeIter *iter, gint num) +print_col (GtkTreeModel * model, GtkTreeIter * iter, gint num) { YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, num); /* don't print attributes */ - if (col->type == YAD_COLUMN_ATTR_FORE || - col->type == YAD_COLUMN_ATTR_BACK || - col->type == YAD_COLUMN_ATTR_FONT) + if (col->type == YAD_COLUMN_ATTR_FORE || col->type == YAD_COLUMN_ATTR_BACK || col->type == YAD_COLUMN_ATTR_FONT) return; switch (col->type) { case YAD_COLUMN_CHECK: + case YAD_COLUMN_RADIO: { gboolean bval; gtk_tree_model_get (model, iter, num, &bval, -1); - g_printf ("%s", bval ? "TRUE" : "FALSE"); + if (options.common_data.quoted_output) + g_printf ("'%s'", bval ? "TRUE" : "FALSE"); + else + g_printf ("%s", bval ? "TRUE" : "FALSE"); break; } case YAD_COLUMN_NUM: + case YAD_COLUMN_SIZE: + case YAD_COLUMN_BAR: { gint64 nval; gtk_tree_model_get (model, iter, num, &nval, -1); - g_printf ("%ld", nval); + if (options.common_data.quoted_output) + g_printf ("'%ld'", (long) nval); + else + g_printf ("%ld", (long) nval); break; } case YAD_COLUMN_FLOAT: { gdouble nval; gtk_tree_model_get (model, iter, num, &nval, -1); - g_printf ("%lf", nval); + if (options.common_data.quoted_output) + g_printf ("'%.*f'", options.common_data.float_precision, nval); + else + g_printf ("%.*f", options.common_data.float_precision, nval); break; } case YAD_COLUMN_IMAGE: + if (options.common_data.quoted_output) + g_printf ("''"); break; default: { - gchar *cval, *uval; - gtk_tree_model_get (model, iter, num, &cval, -1); - uval = unescape_markup (cval); - g_printf ("%s", uval); - g_free (uval); - break; + gchar *val; + gtk_tree_model_get (model, iter, num, &val, -1); + if (options.common_data.quoted_output) + { + gchar *buf = g_shell_quote (val); + g_printf ("%s", buf); + g_free (buf); + } + else + g_printf ("%s", val); + break; } } g_printf ("%s", options.common_data.separator); } static void -print_selected (GtkTreeModel *model, GtkTreePath *path, - GtkTreeIter *iter, gpointer data) +print_selected (GtkTreeModel * model, GtkTreePath * path, GtkTreeIter * iter, gpointer data) { - gint i, col = options.list_data.print_column; + gint i, n_cols, col; - if (col) + col = options.list_data.print_column; + n_cols = gtk_tree_model_get_n_columns (model); + + if (col && col <= n_cols) print_col (model, iter, col - 1); else { - for (i = 0; i < gtk_tree_model_get_n_columns (model) - 1; i++) + for (i = 0; i < n_cols; i++) print_col (model, iter, i); } g_printf ("\n"); } static void -print_all (GtkTreeModel *model) +print_all (GtkTreeModel * model) { GtkTreeIter iter; - gint i, cols = gtk_tree_model_get_n_columns (model) - 1; + gint i, n_cols = gtk_tree_model_get_n_columns (model); if (gtk_tree_model_get_iter_first (model, &iter)) { do { - for (i = 0; i < cols; i++) + for (i = 0; i < n_cols; i++) print_col (model, &iter, i); g_printf ("\n"); } @@ -916,10 +1153,10 @@ return; } - if (options.list_data.checkbox) + if (options.list_data.checkbox || options.list_data.radiobox) { // don't check in cycle - if (col) + if (col > 0) { GtkTreeIter iter; @@ -951,7 +1188,7 @@ if (chk) { gint i; - for (i = 0; i < gtk_tree_model_get_n_columns (model) - 1; i++) + for (i = 0; i < gtk_tree_model_get_n_columns (model); i++) print_col (model, &iter, i); g_printf ("\n"); } @@ -962,9 +1199,7 @@ } else { - GtkTreeSelection *sel = - gtk_tree_view_get_selection (GTK_TREE_VIEW (list_view)); - + GtkTreeSelection *sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (list_view)); gtk_tree_selection_selected_foreach (sel, print_selected, NULL); } }
View file
yad-0.16.3.tar.bz2/src/main.c -> yad-0.36.2.tar.xz/src/main.c
Changed
@@ -14,15 +14,20 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> #include <locale.h> #include <stdlib.h> #include <signal.h> #include <stdio.h> +#include <unistd.h> #ifndef G_OS_WIN32 +# include <sys/shm.h> # include <gdk/gdkx.h> #endif @@ -31,104 +36,311 @@ YadOptions options; GtkWidget *dialog = NULL; +YadNTabs *tabs; +gint t_sem; + +void print_result (void); + #ifndef G_OS_WIN32 static void sa_usr1 (gint sig) { + if (options.plug != -1) + print_result (); + else gtk_dialog_response (GTK_DIALOG (dialog), YAD_RESPONSE_OK); } static void sa_usr2 (gint sig) { - gtk_dialog_response (GTK_DIALOG (dialog), YAD_RESPONSE_CANCEL); + if (options.plug != -1) + gtk_main_quit (); + else + gtk_dialog_response (GTK_DIALOG (dialog), YAD_RESPONSE_CANCEL); } #endif +static void +btn_cb (GtkWidget *b, gchar *cmd) +{ + if (cmd) + g_spawn_command_line_async (cmd, NULL); + else + { + gint resp = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (b), "resp")); + gtk_dialog_response (GTK_DIALOG (dialog), resp); + } +} + static gboolean timeout_cb (gpointer data) { + static guint count = 1; GtkWidget *w = (GtkWidget *) data; - gtk_dialog_response (GTK_DIALOG (w), YAD_RESPONSE_TIMEOUT); + if (options.data.timeout < count) + { + gtk_dialog_response (GTK_DIALOG (dialog), YAD_RESPONSE_TIMEOUT); + return FALSE; + } - return FALSE; + if (w) + { + gdouble percent = ((gdouble) options.data.timeout - count) / (gdouble) options.data.timeout; + gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (w), percent); + if (settings.show_remain) + { + gchar *lbl = g_strdup_printf (_("%d sec"), options.data.timeout - count); + gtk_progress_bar_set_text (GTK_PROGRESS_BAR (w), lbl); + g_free (lbl); + } + } + + count++; + + return TRUE; } +#if !GTK_CHECK_VERSION(3,0,0) static void -btn_cb (GtkButton *b, gchar *c) +text_size_allocate_cb (GtkWidget * w, GtkAllocation * al, gpointer data) { - gchar *cmd; - gint pid; + PangoLayout *pl = gtk_label_get_layout (GTK_LABEL (w)); -#if !defined(_WIN32) - pid = getpid (); + if (pango_layout_is_wrapped (pl)) + gtk_widget_set_size_request (w, al->width, -1); +} #endif - - cmd = g_strdup_printf (c, pid); - g_spawn_command_line_async (cmd, NULL); - g_free (cmd); + +static void +dlg_response_cb (GtkDialog *dlg, gint id, gint *data) +{ + if (options.mode == YAD_MODE_FILE) + { + /* show custom confirmation dialog */ + if (!file_confirm_overwrite (dlg)) + { + g_signal_stop_emission_by_name (dlg, "response"); + return; + } + } + + *data = id; + gtk_main_quit (); } -static gboolean -timeout_indicator_cb (gpointer data) +static GtkWidget * +create_layout (GtkWidget *dlg) { - static guint count = 1; - gdouble percent; - GtkWidget *w = (GtkWidget *) data; + GtkWidget *image, *text, *mw, *imw, *layout, *exp, *box; - if (!w) - return FALSE; + layout = image = text = mw = exp = NULL; - percent = - ((gdouble) options.data.timeout - count) / (gdouble) options.data.timeout; - gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (w), percent); - if (settings.show_remain) + /* create image */ + if (options.data.dialog_image) { - gchar *lbl = - g_strdup_printf (_("%d sec"), options.data.timeout - count); - gtk_progress_bar_set_text (GTK_PROGRESS_BAR (w), lbl); - g_free (lbl); + GdkPixbuf *pb = NULL; + + pb = get_pixbuf (options.data.dialog_image, YAD_BIG_ICON); + image = gtk_image_new_from_pixbuf (pb); + if (pb) + g_object_unref (pb); + + gtk_widget_set_name (image, "yad-dialog-image"); + gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0.0); } - count++; - return TRUE; -} + /* create text label */ + if (options.data.dialog_text) + { + /* for dnd's tooltip we don't need text label */ + if (options.mode != YAD_MODE_DND || !options.dnd_data.tooltip) + { + gchar *buf = g_strcompress (options.data.dialog_text); + + text = gtk_label_new (NULL); + if (!options.data.no_markup) + gtk_label_set_markup (GTK_LABEL (text), buf); + else + gtk_label_set_text (GTK_LABEL (text), buf); + g_free (buf); + + gtk_widget_set_name (text, "yad-dialog-label"); + gtk_label_set_line_wrap (GTK_LABEL (text), TRUE); + gtk_label_set_selectable (GTK_LABEL (text), options.data.selectable_labels); + gtk_label_set_justify (GTK_LABEL (text), options.data.text_align); + switch (options.data.text_align) + { + case GTK_JUSTIFY_LEFT: + case GTK_JUSTIFY_FILL: + gtk_misc_set_alignment (GTK_MISC (text), 0.0, 0.5); + break; + case GTK_JUSTIFY_CENTER: + gtk_misc_set_alignment (GTK_MISC (text), 0.5, 0.5); + break; + case GTK_JUSTIFY_RIGHT: + gtk_misc_set_alignment (GTK_MISC (text), 1.0, 0.5); + break; + } +#if !GTK_CHECK_VERSION(3,0,0) + if (!options.data.fixed) + g_signal_connect (G_OBJECT (text), "size-allocate", G_CALLBACK (text_size_allocate_cb), NULL); +#endif + } + } -static void -text_size_allocate_cb (GtkWidget *w, GtkAllocation *al, gpointer data) -{ - gtk_widget_set_size_request (w, al->width, -1); + /* create main widget */ + switch (options.mode) + { + case YAD_MODE_CALENDAR: + mw = calendar_create_widget (dlg); + break; + case YAD_MODE_COLOR: + mw = color_create_widget (dlg); + break; + case YAD_MODE_DND: + dnd_init (dlg); + break; + case YAD_MODE_ENTRY: + mw = entry_create_widget (dlg); + break; + case YAD_MODE_FILE: + mw = file_create_widget (dlg); + break; + case YAD_MODE_FONT: + mw = font_create_widget (dlg); + break; + case YAD_MODE_FORM: + mw = form_create_widget (dlg); + break; +#ifdef HAVE_HTML + case YAD_MODE_HTML: + mw = html_create_widget (dlg); + break; +#endif + case YAD_MODE_ICONS: + mw = icons_create_widget (dlg); + break; + case YAD_MODE_LIST: + mw = list_create_widget (dlg); + break; + case YAD_MODE_MULTI_PROGRESS: + mw = multi_progress_create_widget (dlg); + break; + case YAD_MODE_NOTEBOOK: + if (options.plug == -1) + mw = notebook_create_widget (dlg); + break; + case YAD_MODE_PANED: + if (options.plug == -1) + mw = paned_create_widget (dlg); + break; + case YAD_MODE_PICTURE: + mw = picture_create_widget (dlg); + break; + case YAD_MODE_PROGRESS: + mw = progress_create_widget (dlg); + break; + case YAD_MODE_SCALE: + mw = scale_create_widget (dlg); + break; + case YAD_MODE_TEXTINFO: + mw = text_create_widget (dlg); + break; + default: ; + } + + /* add expander */ + imw = NULL; + if (mw && options.data.expander) + { + exp = gtk_expander_new_with_mnemonic (options.data.expander); + gtk_expander_set_expanded (GTK_EXPANDER (exp), FALSE); + if (mw) + { + gtk_container_add (GTK_CONTAINER (exp), mw); + imw = exp; + } + } + else + imw = mw; + + /* create layout */ + if (options.data.image_on_top) + { +#if !GTK_CHECK_VERSION(3,0,0) + layout = gtk_vbox_new (FALSE, 0); + box = gtk_hbox_new (FALSE, 0); +#else + layout = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); +#endif + if (image) + gtk_box_pack_start (GTK_BOX (box), image, FALSE, FALSE, 2); + if (text) + gtk_box_pack_start (GTK_BOX (box), text, TRUE, TRUE, 0); + + gtk_box_pack_start (GTK_BOX (layout), box, FALSE, FALSE, 0); + if (imw) + gtk_box_pack_start (GTK_BOX (layout), imw, TRUE, TRUE, 0); + } + else + { +#if !GTK_CHECK_VERSION(3,0,0) + layout = gtk_hbox_new (FALSE, 0); + box = gtk_vbox_new (FALSE, 0); +#else + layout = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); +#endif + if (text) + gtk_box_pack_start (GTK_BOX (box), text, FALSE, FALSE, 0); + if (imw) + gtk_box_pack_start (GTK_BOX (box), imw, TRUE, TRUE, 0); + + if (image) + gtk_box_pack_start (GTK_BOX (layout), image, FALSE, FALSE, 2); + gtk_box_pack_start (GTK_BOX (layout), box, TRUE, TRUE, 0); + } + + return layout; } -GtkWidget * -create_dialog () +static GtkWidget * +create_dialog (void) { - GtkWidget *dlg; - GtkWidget *hbox, *vbox, *hbox2, *bbox; - GtkWidget *image; - GtkWidget *text; - GtkWidget *main_widget = NULL; - GtkWidget *topb = NULL; + GtkWidget *dlg, *vbox, *bbox, *layout; /* create dialog window */ dlg = gtk_dialog_new (); + if (options.data.splash) + gtk_window_set_type_hint (GTK_WINDOW (dlg), GDK_WINDOW_TYPE_HINT_SPLASHSCREEN); + else + gtk_window_set_type_hint (GTK_WINDOW (dlg), GDK_WINDOW_TYPE_HINT_NORMAL); gtk_window_set_title (GTK_WINDOW (dlg), options.data.dialog_title); -#if !GTK_CHECK_VERSION(2,22,0) - gtk_dialog_set_has_separator (GTK_DIALOG (dlg), options.data.dialog_sep); -#endif gtk_widget_set_name (dlg, "yad-dialog-window"); - /* get buttons container */ - bbox = gtk_dialog_get_action_area (GTK_DIALOG (dlg)); +#ifndef G_OS_WIN32 + /* FIXME: is that very useful !? */ + if (options.parent) + { + gdk_window_set_transient_for (gtk_widget_get_window (dlg), + gdk_x11_window_foreign_new_for_display (gdk_display_get_default (), + options.parent)); + } +#endif + + if (options.data.no_escape) + g_signal_connect (G_OBJECT (dlg), "close", G_CALLBACK (g_signal_stop_emission_by_name), "close"); /* set window icon */ if (options.data.window_icon) { if (g_file_test (options.data.window_icon, G_FILE_TEST_EXISTS)) - gtk_window_set_icon_from_file (GTK_WINDOW (dlg), options.data.window_icon, NULL); + gtk_window_set_icon_from_file (GTK_WINDOW (dlg), options.data.window_icon, NULL); else - gtk_window_set_icon_name (GTK_WINDOW (dlg), options.data.window_icon); + gtk_window_set_icon_name (GTK_WINDOW (dlg), options.data.window_icon); } /* set window borders */ @@ -137,211 +349,130 @@ gtk_container_set_border_width (GTK_CONTAINER (dlg), (guint) options.data.borders); /* set window size and position */ - if (!options.data.geometry) + if (!options.data.geometry && !options.data.maximized && !options.data.fullscreen) { - gtk_window_set_default_size (GTK_WINDOW (dlg), - options.data.width, options.data.height); + gtk_window_set_default_size (GTK_WINDOW (dlg), options.data.width, options.data.height); if (options.data.center) - gtk_window_set_position (GTK_WINDOW (dlg), GTK_WIN_POS_CENTER); + gtk_window_set_position (GTK_WINDOW (dlg), GTK_WIN_POS_CENTER_ALWAYS); else if (options.data.mouse) gtk_window_set_position (GTK_WINDOW (dlg), GTK_WIN_POS_MOUSE); - gtk_widget_realize (dlg); - } - else - { - /* parse geometry, if given. must be after showing widget */ - gtk_widget_realize (dlg); - gtk_window_parse_geometry (GTK_WINDOW (dlg), options.data.geometry); } /* set window behavior */ if (options.data.sticky) gtk_window_stick (GTK_WINDOW (dlg)); - gtk_window_set_resizable (GTK_WINDOW (dlg), !options.data.fixed); gtk_window_set_keep_above (GTK_WINDOW (dlg), options.data.ontop); gtk_window_set_decorated (GTK_WINDOW (dlg), !options.data.undecorated); gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dlg), options.data.skip_taskbar); gtk_window_set_skip_pager_hint (GTK_WINDOW (dlg), options.data.skip_taskbar); + gtk_window_set_accept_focus (GTK_WINDOW (dlg), options.data.focus); + + vbox = gtk_dialog_get_content_area (GTK_DIALOG (dlg)); + layout = create_layout (dlg); /* create timeout indicator widget */ if (options.data.timeout) { - if (G_LIKELY (options.data.to_indicator) && - g_ascii_strcasecmp (options.data.to_indicator, "none")) + GtkWidget *cbox = NULL, *topb = NULL; + + if (G_LIKELY (options.data.to_indicator) && strcasecmp (options.data.to_indicator, "none") != 0) { topb = gtk_progress_bar_new (); gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (topb), 1.0); gtk_widget_set_name (topb, "yad-timeout-indicator"); } - } - /* add top label widgets */ + /* add timeout indicator */ + if (topb) + { + if (strcasecmp (options.data.to_indicator, "top") == 0) + { #if !GTK_CHECK_VERSION(3,0,0) - hbox = hbox2 = gtk_hbox_new (FALSE, 0); + gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_LEFT_TO_RIGHT); + cbox = gtk_vbox_new (FALSE, 0); #else - hbox = hbox2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); + gtk_orientable_set_orientation (GTK_ORIENTABLE (topb), GTK_ORIENTATION_HORIZONTAL); + cbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); #endif - gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), - hbox, TRUE, TRUE, 5); + gtk_box_pack_start (GTK_BOX (cbox), topb, FALSE, FALSE, 2); + gtk_box_pack_end (GTK_BOX (cbox), layout, TRUE, TRUE, 0); + } + else if (strcasecmp (options.data.to_indicator, "bottom") == 0) + { #if !GTK_CHECK_VERSION(3,0,0) - vbox = gtk_vbox_new (FALSE, 0); + gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_LEFT_TO_RIGHT); + cbox = gtk_vbox_new (FALSE, 0); #else - vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + gtk_orientable_set_orientation (GTK_ORIENTABLE (topb), GTK_ORIENTATION_HORIZONTAL); + cbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); #endif - - /* add timeout indicator */ - if (topb) - { - if (g_ascii_strcasecmp (options.data.to_indicator, "top") == 0) - { -#if !GTK_CHECK_VERSION(3,0,0) - gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_LEFT_TO_RIGHT); -#endif - gtk_box_pack_start (GTK_BOX (vbox), topb, FALSE, FALSE, 2); - } - else if (g_ascii_strcasecmp (options.data.to_indicator, "bottom") == 0) - { -#if !GTK_CHECK_VERSION(3,0,0) - gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_LEFT_TO_RIGHT); -#endif - gtk_box_pack_end (GTK_BOX (vbox), topb, FALSE, FALSE, 2); - } - else if (g_ascii_strcasecmp (options.data.to_indicator, "left") == 0) - { + gtk_box_pack_start (GTK_BOX (cbox), layout, TRUE, TRUE, 0); + gtk_box_pack_end (GTK_BOX (cbox), topb, FALSE, FALSE, 2); + } + else if (strcasecmp (options.data.to_indicator, "left") == 0) + { #if !GTK_CHECK_VERSION(3,0,0) - gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_BOTTOM_TO_TOP); + gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_BOTTOM_TO_TOP); + cbox = gtk_hbox_new (FALSE, 0); +#else + gtk_orientable_set_orientation (GTK_ORIENTABLE (topb), GTK_ORIENTATION_VERTICAL); + gtk_progress_bar_set_inverted (GTK_PROGRESS_BAR (topb), TRUE); + cbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); #endif - gtk_box_pack_start (GTK_BOX (hbox), topb, FALSE, FALSE, 2); - } - else if (g_ascii_strcasecmp (options.data.to_indicator, "right") == 0) - { + gtk_box_pack_start (GTK_BOX (cbox), topb, FALSE, FALSE, 2); + gtk_box_pack_end (GTK_BOX (cbox), layout, TRUE, TRUE, 0); + } + else if (strcasecmp (options.data.to_indicator, "right") == 0) + { #if !GTK_CHECK_VERSION(3,0,0) - gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_BOTTOM_TO_TOP); + gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_BOTTOM_TO_TOP); + cbox = gtk_hbox_new (FALSE, 0); +#else + gtk_orientable_set_orientation (GTK_ORIENTABLE (topb), GTK_ORIENTATION_VERTICAL); + gtk_progress_bar_set_inverted (GTK_PROGRESS_BAR (topb), TRUE); + cbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); #endif - gtk_box_pack_end (GTK_BOX (hbox), topb, FALSE, FALSE, 2); - } - if (settings.show_remain) - { - gchar *lbl = g_strdup_printf (_("%d sec"), options.data.timeout); + gtk_box_pack_start (GTK_BOX (cbox), layout, TRUE, TRUE, 0); + gtk_box_pack_end (GTK_BOX (cbox), topb, FALSE, FALSE, 2); + } + + if (settings.show_remain) + { + gchar *lbl = g_strdup_printf (_("%d sec"), options.data.timeout); #if GTK_CHECK_VERSION(3,0,0) - gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR (topb), TRUE); + gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR (topb), TRUE); #endif - gtk_progress_bar_set_text (GTK_PROGRESS_BAR (topb), lbl); - g_free (lbl); + gtk_progress_bar_set_text (GTK_PROGRESS_BAR (topb), lbl); + g_free (lbl); + } } - } - - /* must be after indicator! */ - gtk_box_pack_end (GTK_BOX (hbox), vbox, TRUE, TRUE, 0); - - if (options.data.image_on_top) - { + else + { #if !GTK_CHECK_VERSION(3,0,0) - hbox2 = gtk_hbox_new (FALSE, 0); + cbox = gtk_vbox_new (FALSE, 0); #else - hbox2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); + cbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); #endif - gtk_box_pack_start (GTK_BOX (vbox), hbox2, FALSE, FALSE, 0); - } + gtk_box_pack_start (GTK_BOX (cbox), layout, TRUE, TRUE, 0); + } - if (options.data.dialog_image) - { - GdkPixbuf *pb = NULL; + if (cbox) + gtk_box_pack_start (GTK_BOX (vbox), cbox, TRUE, TRUE, 0); - pb = get_pixbuf (options.data.dialog_image, YAD_BIG_ICON); - image = gtk_image_new_from_pixbuf (pb); - if (pb) - g_object_unref (pb); - - gtk_widget_set_name (image, "yad-dialog-image"); - gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0.0); - gtk_box_pack_start (GTK_BOX (hbox2), image, FALSE, FALSE, 2); - } - if (options.data.dialog_text) - { - /* for dnd's tooltip we don't need text label */ - if (options.mode != YAD_MODE_DND || !options.dnd_data.tooltip) - { - gchar *buf = g_strcompress (options.data.dialog_text); - - text = gtk_label_new (NULL); - if (!options.data.no_markup) - gtk_label_set_markup (GTK_LABEL (text), buf); - else - gtk_label_set_text (GTK_LABEL (text), buf); - gtk_widget_set_name (text, "yad-dialog-label"); - gtk_label_set_selectable (GTK_LABEL (text), options.data.selectable_labels); - gtk_misc_set_alignment (GTK_MISC (text), options.data.text_align, 0.5); - if (options.data.geometry || options.data.width != -1) - gtk_label_set_line_wrap (GTK_LABEL (text), TRUE); - if (options.data.image_on_top) - gtk_box_pack_start (GTK_BOX (hbox2), text, TRUE, TRUE, 2); - else - gtk_box_pack_start (GTK_BOX (vbox), text, FALSE, FALSE, 2); - g_signal_connect (G_OBJECT (text), "size-allocate", - G_CALLBACK (text_size_allocate_cb), NULL); - - g_free (buf); - } + /* set timeout handler */ + g_timeout_add_seconds (1, timeout_cb, topb); } + else + gtk_box_pack_start (GTK_BOX (vbox), layout, TRUE, TRUE, 0); - /* add main widget */ - switch (options.mode) - { - case YAD_MODE_CALENDAR: - main_widget = calendar_create_widget (dlg); - break; - case YAD_MODE_COLOR: - main_widget = color_create_widget (dlg); - break; - case YAD_MODE_DND: - dnd_init (dlg); - break; - case YAD_MODE_ENTRY: - main_widget = entry_create_widget (dlg); - break; - case YAD_MODE_FILE: - main_widget = file_create_widget (dlg); - break; - case YAD_MODE_FONT: - main_widget = font_create_widget (dlg); - break; - case YAD_MODE_FORM: - main_widget = form_create_widget (dlg); - break; - case YAD_MODE_ICONS: - main_widget = icons_create_widget (dlg); - break; - case YAD_MODE_LIST: - main_widget = list_create_widget (dlg); - break; - case YAD_MODE_MULTI_PROGRESS: - main_widget = multi_progress_create_widget (dlg); - break; - case YAD_MODE_PROGRESS: - main_widget = progress_create_widget (dlg); - break; - case YAD_MODE_SCALE: - main_widget = scale_create_widget (dlg); - break; - case YAD_MODE_TEXTINFO: - main_widget = text_create_widget (dlg); - break; - } - if (main_widget) - { - if (options.data.expander) - { - GtkWidget *exp; - - exp = gtk_expander_new_with_mnemonic (options.data.expander); - gtk_expander_set_expanded (GTK_EXPANDER (exp), FALSE); - gtk_container_add (GTK_CONTAINER (exp), main_widget); - gtk_box_pack_start (GTK_BOX (vbox), exp, TRUE, TRUE, 2); - } - else - gtk_box_pack_start (GTK_BOX (vbox), main_widget, TRUE, TRUE, 2); - } + /* get buttons container */ + bbox = gtk_dialog_get_action_area (GTK_DIALOG (dlg)); + +#ifdef HAVE_HTML + /* enable no-buttons mode if --browser is specified and sets no custom buttons */ + if (options.mode == YAD_MODE_HTML && options.html_data.browser && !options.data.buttons) + options.data.no_buttons = TRUE; +#endif /* add buttons */ if (!options.data.no_buttons) @@ -351,60 +482,70 @@ GSList *tmp = options.data.buttons; do { + GtkWidget *btn; YadButton *b = (YadButton *) tmp->data; - if (b->cmd) - { - GtkWidget *btn = gtk_button_new_from_stock (b->name); - g_signal_connect (G_OBJECT (btn), "clicked", G_CALLBACK (btn_cb), b->cmd); - gtk_box_pack_start (GTK_BOX (bbox), btn, FALSE, FALSE, 0); - } - else - gtk_dialog_add_button (GTK_DIALOG (dlg), b->name, b->response); + + btn = gtk_button_new (); + gtk_container_add (GTK_CONTAINER (btn), get_label (b->name, 2)); + gtk_button_set_alignment (GTK_BUTTON (btn), 0.5, 0.5); + g_object_set_data (G_OBJECT (btn), "resp", GINT_TO_POINTER (b->response)); + g_signal_connect (G_OBJECT (btn), "clicked", G_CALLBACK (btn_cb), b->cmd); + gtk_box_pack_start (GTK_BOX (bbox), btn, FALSE, FALSE, 0); + tmp = tmp->next; } while (tmp != NULL); } else { - if (options.mode == YAD_MODE_PROGRESS || options.mode == YAD_MODE_MULTI_PROGRESS) - { - gtk_dialog_add_buttons (GTK_DIALOG (dlg), - GTK_STOCK_CLOSE, YAD_RESPONSE_OK, - NULL); - } - else - { - if (gtk_alternative_dialog_button_order (NULL)) - gtk_dialog_add_buttons (GTK_DIALOG (dlg), - GTK_STOCK_OK, YAD_RESPONSE_OK, - GTK_STOCK_CANCEL, YAD_RESPONSE_CANCEL, - NULL); - else - gtk_dialog_add_buttons (GTK_DIALOG (dlg), - GTK_STOCK_CANCEL, YAD_RESPONSE_CANCEL, - GTK_STOCK_OK, YAD_RESPONSE_OK, NULL); - } + if (options.mode == YAD_MODE_PROGRESS || options.mode == YAD_MODE_MULTI_PROGRESS || + options.mode == YAD_MODE_DND || options.mode == YAD_MODE_PICTURE) + gtk_dialog_add_buttons (GTK_DIALOG (dlg), GTK_STOCK_CLOSE, YAD_RESPONSE_OK, NULL); + else + { + if (gtk_alternative_dialog_button_order (NULL)) + gtk_dialog_add_buttons (GTK_DIALOG (dlg), + GTK_STOCK_OK, YAD_RESPONSE_OK, GTK_STOCK_CANCEL, YAD_RESPONSE_CANCEL, NULL); + else + gtk_dialog_add_buttons (GTK_DIALOG (dlg), + GTK_STOCK_CANCEL, YAD_RESPONSE_CANCEL, GTK_STOCK_OK, YAD_RESPONSE_OK, NULL); + } gtk_dialog_set_default_response (GTK_DIALOG (dlg), YAD_RESPONSE_OK); } + gtk_button_box_set_layout (GTK_BUTTON_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dlg))), + options.data.buttons_layout); } /* show widgets */ - gtk_widget_show_all (dlg); + gtk_widget_show_all (gtk_dialog_get_content_area (GTK_DIALOG (dlg))); + /* parse geometry, if given. must be after showing widget */ + if (options.data.geometry && !options.data.maximized && !options.data.fullscreen) + { + gtk_widget_realize (dlg); + gtk_window_parse_geometry (GTK_WINDOW (dlg), options.data.geometry); + } + gtk_widget_show (dlg); + if (options.data.no_buttons) gtk_widget_hide (bbox); - /* set timeout */ - if (options.data.timeout) + /* set maximized or fixed size after showing widget */ + if (options.data.maximized) + gtk_window_maximize (GTK_WINDOW (dlg)); + else if (options.data.fullscreen) + gtk_window_fullscreen (GTK_WINDOW (dlg)); + else { - g_timeout_add_seconds (options.data.timeout, timeout_cb, dlg); - g_timeout_add_seconds (1, timeout_indicator_cb, topb); + gtk_window_set_resizable (GTK_WINDOW (dlg), !options.data.fixed); + if (options.data.fixed) + gtk_widget_set_size_request (dlg, options.data.width, options.data.height); } - /* print xid */ #ifndef G_OS_WIN32 + /* print xid */ if (options.print_xid) { - g_fprintf (stderr, "0x%X", GDK_WINDOW_XID (gtk_widget_get_window (dlg))); + fprintf (stderr, "0x%lX", GDK_WINDOW_XID (gtk_widget_get_window (dlg))); fflush (stderr); } #endif @@ -412,6 +553,38 @@ return dlg; } +static void +create_plug (void) +{ + GtkWidget *win, *box; + + tabs = get_tabs (options.plug, FALSE); + while (!tabs) + { + usleep (1000); + tabs = get_tabs (options.plug, FALSE); + } + + win = gtk_plug_new (0); + /* set window borders */ + if (options.data.borders == -1) + options.data.borders = (gint) gtk_container_get_border_width (GTK_CONTAINER (win)); + gtk_container_set_border_width (GTK_CONTAINER (win), (guint) options.data.borders); + + box = create_layout (win); + if (box) + gtk_container_add (GTK_CONTAINER (win), box); + + gtk_widget_show_all (win); + + /* add plug data */ + tabsoptions.tabnum.pid = getpid (); + tabsoptions.tabnum.xid = gtk_plug_get_id (GTK_PLUG (win)); + /* FIXME: may be a race here */ + tabs0.xid++; + shmdt (tabs); +} + void print_result (void) { @@ -438,12 +611,19 @@ case YAD_MODE_LIST: list_print_result (); break; + case YAD_MODE_NOTEBOOK: + notebook_print_result (); + break; + case YAD_MODE_PANED: + paned_print_result (); + break; case YAD_MODE_SCALE: scale_print_result (); break; case YAD_MODE_TEXTINFO: text_print_result (); break; + default:; } } @@ -453,9 +633,8 @@ GOptionContext *ctx; GError *err = NULL; gint w, h; - gint ret = 0; - gchar *tmp_sep; - struct sigaction sa; + gchar *str; + gint ret = YAD_RESPONSE_ESC; setlocale (LC_ALL, ""); @@ -465,104 +644,206 @@ textdomain (GETTEXT_PACKAGE); #endif +#if !GLIB_CHECK_VERSION(2,36,0) g_type_init (); +#endif read_settings (); gtk_init (&argc, &argv); g_set_application_name ("YAD"); yad_options_init (); + ctx = yad_create_context (); + /* parse YAD_OPTIONS */ + if (g_getenv ("YAD_OPTIONS")) + { + gchar *cmd, **args = NULL; + gint cnt; + + cmd = g_strdup_printf ("yad %s", g_getenv ("YAD_OPTIONS")); + + if (g_shell_parse_argv (cmd, &cnt, &args, &err)) + { + g_option_context_parse (ctx, &cnt, &args, &err); + if (err) + { + g_printerr (_("Unable to parse YAD_OPTIONS: %s\n"), err->message); + g_error_free (err); + err = NULL; + } + } + else + { + g_printerr (_("Unable to parse YAD_OPTIONS: %s\n"), err->message); + g_error_free (err); + err = NULL; + } + + g_free (cmd); + } + /* parse command line */ + g_option_context_parse (ctx, &argc, &argv, &err); + if (err) + { + g_printerr (_("Unable to parse command line: %s\n"), err->message); + return -1; + } + yad_set_mode (); + + /* parse custom gtkrc */ + if (options.gtkrc_file) + gtk_rc_parse (options.gtkrc_file); + /* set default icons and icon theme */ if (options.data.icon_theme) { settings.icon_theme = gtk_icon_theme_new (); - gtk_icon_theme_set_custom_theme (settings.icon_theme, - options.data.icon_theme); + gtk_icon_theme_set_custom_theme (settings.icon_theme, options.data.icon_theme); } else settings.icon_theme = gtk_icon_theme_get_default (); gtk_icon_size_lookup (GTK_ICON_SIZE_DIALOG, &w, &h); settings.big_fallback_image = - gtk_icon_theme_load_icon (settings.icon_theme, "yad", MIN (w, h), - GTK_ICON_LOOKUP_GENERIC_FALLBACK, NULL); + gtk_icon_theme_load_icon (settings.icon_theme, "yad", MIN (w, h), GTK_ICON_LOOKUP_GENERIC_FALLBACK, NULL); gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &w, &h); settings.small_fallback_image = - gtk_icon_theme_load_icon (settings.icon_theme, "yad", MIN (w, h), - GTK_ICON_LOOKUP_GENERIC_FALLBACK, NULL); + gtk_icon_theme_load_icon (settings.icon_theme, "yad", MIN (w, h), GTK_ICON_LOOKUP_GENERIC_FALLBACK, NULL); - ctx = yad_create_context (); - g_option_context_parse (ctx, &argc, &argv, &err); - if (err) + /* correct separators */ + str = g_strcompress (options.common_data.separator); + options.common_data.separator = str; + str = g_strcompress (options.common_data.item_separator); + options.common_data.item_separator = str; + + /* loads an extra arguments, if specified */ + if (options.rest_file) { - g_printerr (_("Unable parse command line: %s\n"), err->message); - return -1; - } - yad_set_mode (); + GIOChannel *ioc; + gchar *buf; + guint len, line = 0; - /* correct separators */ - tmp_sep = g_strcompress (options.common_data.separator); - options.common_data.separator = tmp_sep; - tmp_sep = g_strcompress (options.common_data.item_separator); - options.common_data.item_separator = tmp_sep; + g_strfreev (options.extra_data); + options.extra_data = NULL; + + ioc = g_io_channel_new_file (options.rest_file, "r", NULL); + while (TRUE) + { + gint status = g_io_channel_read_line (ioc, &buf, NULL, NULL, NULL); + + if (status != G_IO_STATUS_NORMAL) + break; + + /* remove \n at the end of string */ + len = strlen (buf); + if (buflen - 1 == '\n') + buflen - 1 = '\0'; + + /* add line to arguments array */ + options.extra_data = g_realloc (options.extra_data, (line + 2) * sizeof (gchar *)); + options.extra_dataline = g_strcompress (buf); + options.extra_dataline + 1 = NULL; + + g_free (buf); + line++; + } + g_io_channel_shutdown (ioc, FALSE, NULL); + } #ifndef G_OS_WIN32 + /* add YAD_PID variable */ + str = g_strdup_printf ("%d", getpid ()); + g_setenv ("YAD_PID", str, TRUE); /* set signal handlers */ - bzero (&sa, sizeof (struct sigaction)); - sa.sa_handler = sa_usr1; - sigaction (SIGUSR1, &sa, NULL); - sa.sa_handler = sa_usr2; - sigaction (SIGUSR2, &sa, NULL); + signal (SIGUSR1, sa_usr1); + signal (SIGUSR2, sa_usr2); #endif + /* plug mode */ + if (options.plug != -1) + { + create_plug (); + gtk_main (); + shmdt (tabs); + return ret; + } + switch (options.mode) { case YAD_MODE_ABOUT: ret = yad_about (); break; + case YAD_MODE_VERSION: - g_print ("%s\n", VERSION); + g_print ("%s (GTK+ %d.%d.%d)\n", VERSION, gtk_major_version, gtk_minor_version, gtk_micro_version); break; + case YAD_MODE_NOTIFICATION: ret = yad_notification_run (); break; + case YAD_MODE_PRINT: ret = yad_print_run (); break; + default: dialog = create_dialog (); - if (options.mode == YAD_MODE_FILE) + g_signal_connect (G_OBJECT (dialog), "response", G_CALLBACK (dlg_response_cb), &ret); + gtk_widget_show_all (dialog); + +#ifndef G_OS_WIN32 + /* add YAD_XID variable */ + str = g_strdup_printf ("0x%X", (guint) GDK_WINDOW_XID (gtk_widget_get_window (dialog))); + g_setenv ("YAD_XID", str, TRUE); +#endif + + /* make some specific init actions */ + if (options.mode == YAD_MODE_NOTEBOOK) + notebook_swallow_childs (); + else if (options.mode == YAD_MODE_PANED) + paned_swallow_childs (); + else if (options.mode == YAD_MODE_PICTURE) { - /* show custom confirmation dialog */ - g_signal_connect (G_OBJECT (dialog), "response", - G_CALLBACK (confirm_overwrite_cb), NULL); + if (options.picture_data.size == YAD_PICTURE_FIT) + picture_fit_to_window (); + } + + /* run main loop */ + gtk_main (); + + /* print results */ + if (ret != YAD_RESPONSE_TIMEOUT && ret != YAD_RESPONSE_ESC) + { + if (options.data.always_print) + print_result (); + else + { + /* standard OK button pressed */ + if (ret == YAD_RESPONSE_OK && options.data.buttons == NULL) + print_result (); + /* custom even button pressed */ + else if (!(ret & 1)) + print_result (); + } } - ret = gtk_dialog_run (GTK_DIALOG (dialog)); - if (options.data.always_print) - print_result (); - else if (ret != YAD_RESPONSE_TIMEOUT && ret != YAD_RESPONSE_ESC) - { - /* standard OK button pressed */ - if (ret == YAD_RESPONSE_OK && options.data.buttons == NULL) - print_result (); - /* custom even button pressed */ - else if (options.data.buttons && !(ret & 1)) - print_result (); - } #ifndef G_OS_WIN32 + if (options.mode == YAD_MODE_NOTEBOOK) + notebook_close_childs (); + else if (options.mode == YAD_MODE_PANED) + paned_close_childs (); /* autokill option for progress dialog */ if (!options.kill_parent) - { - if (options.mode == YAD_MODE_PROGRESS && - options.progress_data.autokill && - ret != YAD_RESPONSE_OK) - kill (getppid (), 1); - } + { + if ((options.mode == YAD_MODE_PROGRESS || options.mode == YAD_MODE_MULTI_PROGRESS) && + options.progress_data.autokill && ret != YAD_RESPONSE_OK) + kill (getppid (), SIGHUP); + } #endif } #ifndef G_OS_WIN32 - if (options.kill_parent) - kill (getppid (), SIGTERM); + /* NSIG defined in signal.h */ + if (options.kill_parent > 0 && options.kill_parent < NSIG) + kill (getppid (), options.kill_parent); #endif return ret;
View file
yad-0.16.3.tar.bz2/src/multi-progress.c -> yad-0.36.2.tar.xz/src/multi-progress.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <stdio.h> @@ -42,18 +42,17 @@ string = g_string_new (NULL); - while (channel->is_readable != TRUE) ; + while (channel->is_readable != TRUE); do { gint status, num; - GtkProgressBar *pb; - YadProgressBar *b; + GtkProgressBar *pb; + YadProgressBar *b; do { - status = - g_io_channel_read_line_string (channel, string, NULL, &err); + status = g_io_channel_read_line_string (channel, string, NULL, &err); while (gtk_events_pending ()) gtk_main_iteration (); @@ -69,43 +68,87 @@ g_error_free (err); err = NULL; } - continue; + /* stop handling */ + g_io_channel_shutdown (channel, TRUE, NULL); + return FALSE; } - value = g_strsplit(string->str, ":", 2); - num = atoi (value0) - 1; - if (num < 0 || num > nbars) - continue; - - pb = GTK_PROGRESS_BAR (g_slist_nth_data (progress_bars, num)); - b = (YadProgressBar *) g_slist_nth_data (options.multi_progress_data.bars, num); - - if (b->type == YAD_PROGRESS_PULSE) - gtk_progress_bar_pulse (pb); - else - { - if (value1 && value10 == '#') - { - gchar *match; - - /* We have a comment, so let's try to change the label */ - match = g_strcompress (g_strstrip (string->str + 1)); - gtk_progress_bar_set_text (pb, match); - g_free (match); - } - else - { - if (!value1 || !g_ascii_isdigit (*value1)) - continue; - - /* Now try to convert the thing to a number */ - percentage = atoi (value1); - if (percentage >= 100) - gtk_progress_bar_set_fraction (pb, 1.0); - else - gtk_progress_bar_set_fraction (pb, percentage / 100.0); - } - } + value = g_strsplit (string->str, ":", 2); + num = atoi (value0) - 1; + if (num < 0 || num > nbars - 1) + continue; + + pb = GTK_PROGRESS_BAR (g_slist_nth_data (progress_bars, num)); + b = (YadProgressBar *) g_slist_nth_data (options.multi_progress_data.bars, num); + + if (value1 && value10 == '#') + { + gchar *match, *p; + + /* We have a comment, so let's try to change the label */ + match = g_strcompress (value1 + 1); + p = g_strrstr (match, "\n"); + if (p) + *p = '\0'; + gtk_progress_bar_set_text (pb, match); + g_free (match); + } + else + { + if (value1 && b->type == YAD_PROGRESS_PULSE) + gtk_progress_bar_pulse (pb); + else + { + if (!value1 || !g_ascii_isdigit (*value1)) + continue; + + /* Now try to convert the thing to a number */ + percentage = atoi (value1); + if (percentage >= 100) + gtk_progress_bar_set_fraction (pb, 1.0); + else + gtk_progress_bar_set_fraction (pb, percentage / 100.0); + + /* Check if all of progress bars reaches 100% */ + if (options.progress_data.autoclose && options.plug == -1) + { + guint i; + gboolean close = TRUE; + gboolean need_close = FALSE; + + if (options.multi_progress_data.watch_bar > 0 && options.multi_progress_data.watch_bar <= nbars) + { + GtkProgressBar *cpb = GTK_PROGRESS_BAR (g_slist_nth_data (progress_bars, + options.multi_progress_data.watch_bar - 1)); + + need_close = TRUE; + if (gtk_progress_bar_get_fraction (cpb) != 1.0) + close = FALSE; + } + else + { + for (i = 0; i < nbars; i++) + { + GtkProgressBar *cpb = GTK_PROGRESS_BAR (g_slist_nth_data (progress_bars, i)); + YadProgressBar *cb = (YadProgressBar *) g_slist_nth_data (options.multi_progress_data.bars, i); + + if (cb->type != YAD_PROGRESS_PULSE) + { + need_close = TRUE; + if (gtk_progress_bar_get_fraction (cpb) != 1.0) + { + close = FALSE; + break; + } + } + } + } + + if (need_close && close) + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + } + } + } } while (g_io_channel_get_buffer_condition (channel) == G_IO_IN); g_string_free (string, TRUE); @@ -130,10 +173,17 @@ nbars = g_slist_length (options.multi_progress_data.bars); if (nbars < 1) return NULL; + +#if !GTK_CHECK_VERSION(3,0,0) if (options.common_data.vertical) table = gtk_table_new (2, nbars, FALSE); else table = gtk_table_new (nbars, 2, FALSE); +#else + table = gtk_grid_new (); + gtk_grid_set_row_spacing (GTK_GRID (table), 2); + gtk_grid_set_column_spacing (GTK_GRID (table), 2); +#endif for (b = options.multi_progress_data.bars; b; b = b->next) { @@ -141,11 +191,24 @@ YadProgressBar *p = (YadProgressBar *) b->data; /* add label */ - l = gtk_label_new (p->name); + l = gtk_label_new (NULL); + if (options.data.no_markup) + gtk_label_set_text (GTK_LABEL (l), p->name); + else + gtk_label_set_markup (GTK_LABEL (l), p->name); + gtk_misc_set_alignment (GTK_MISC (l), options.common_data.align, 0.5); if (options.common_data.vertical) - gtk_table_attach (GTK_TABLE (table), l, i, i + 1, 1, 2, GTK_FILL, 0, 2, 2); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (table), l, i, i + 1, 1, 2, GTK_FILL, 0, 2, 2); +#else + gtk_grid_attach (GTK_GRID (table), l, i, 1, 1, 1); +#endif else - gtk_table_attach (GTK_TABLE (table), l, 0, 1, i, i + 1, GTK_FILL, 0, 2, 2); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (table), l, 0, 1, i, i + 1, GTK_FILL, 0, 2, 2); +#else + gtk_grid_attach (GTK_GRID (table), l, 0, i, 1, 1); +#endif /* add progress bar */ w = gtk_progress_bar_new (); @@ -155,54 +218,59 @@ #endif if (p->type != YAD_PROGRESS_PULSE) - { - if (options.extra_data && options.extra_datai) - { - if (g_ascii_isdigit (*options.extra_datai)) - gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (w), - atoi (options.extra_datai) / 100.0); - } - } + { + if (options.extra_data && options.extra_datai) + { + if (g_ascii_isdigit (*options.extra_datai)) + gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (w), atoi (options.extra_datai) / 100.0); + } + } else - { - if (options.extra_data && options.extra_datai) - { - if (g_ascii_isdigit (*options.extra_datai)) - gtk_progress_bar_set_pulse_step (GTK_PROGRESS_BAR (w), - atoi (options.extra_datai) / 100.0); - } - } + { + if (options.extra_data && options.extra_datai) + { + if (g_ascii_isdigit (*options.extra_datai)) + gtk_progress_bar_set_pulse_step (GTK_PROGRESS_BAR (w), atoi (options.extra_datai) / 100.0); + } + } #if GTK_CHECK_VERSION(3,0,0) - gtk_progress_bar_set_inverted (GTK_PROGRESS_BAR (w), - p->type == YAD_PROGRESS_RTL); + gtk_progress_bar_set_inverted (GTK_PROGRESS_BAR (w), p->type == YAD_PROGRESS_RTL); if (options.common_data.vertical) - { - gtk_orientable_set_orientation (GTK_ORIENTABLE (w), - GTK_ORIENTATION_VERTICAL); - } + gtk_orientable_set_orientation (GTK_ORIENTABLE (w), GTK_ORIENTATION_VERTICAL); #else if (p->type == YAD_PROGRESS_RTL) - { - if (options.common_data.vertical) - gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (w), - GTK_PROGRESS_TOP_TO_BOTTOM); - else - gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (w), - GTK_PROGRESS_RIGHT_TO_LEFT); - } + { + if (options.common_data.vertical) + gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (w), GTK_PROGRESS_TOP_TO_BOTTOM); + else + gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (w), GTK_PROGRESS_RIGHT_TO_LEFT); + } else - { - if (options.common_data.vertical) - gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (w), - GTK_PROGRESS_BOTTOM_TO_TOP); - } + { + if (options.common_data.vertical) + gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (w), GTK_PROGRESS_BOTTOM_TO_TOP); + } #endif if (options.common_data.vertical) - gtk_table_attach (GTK_TABLE (table), w, i, i + 1, 0, 1, 0, GTK_FILL | GTK_EXPAND, 2, 2); + { +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (table), w, i, i + 1, 0, 1, 0, GTK_FILL | GTK_EXPAND, 2, 2); +#else + gtk_grid_attach (GTK_GRID (table), w, i, 0, 1, 1); + gtk_widget_set_vexpand (w, TRUE); +#endif + } else - gtk_table_attach (GTK_TABLE (table), w, 1, 2, i, i + 1, GTK_FILL | GTK_EXPAND, 0, 2, 2); - + { +#if !GTK_CHECK_VERSION(3,0,0) + gtk_table_attach (GTK_TABLE (table), w, 1, 2, i, i + 1, GTK_FILL | GTK_EXPAND, 0, 2, 2); +#else + gtk_grid_attach (GTK_GRID (table), w, 1, i, 1, 1); + gtk_widget_set_hexpand (w, TRUE); +#endif + } + progress_bars = g_slist_append (progress_bars, w); i++;
View file
yad-0.36.2.tar.xz/src/notebook.c
Added
@@ -0,0 +1,141 @@ +/* + * This file is part of YAD. + * + * YAD is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * YAD 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 YAD. If not, see <http://www.gnu.org/licenses/>. + * + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> + */ + +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> +#include <stdlib.h> +#include <unistd.h> + +#include <sys/ipc.h> +#include <sys/shm.h> + +#include <X11/Xlib.h> +#include <X11/Xatom.h> +#include <X11/Xutil.h> +#include <gdk/gdk.h> + +#include "yad.h" + +static GtkWidget *notebook; + +GtkWidget * +notebook_create_widget (GtkWidget * dlg) +{ + GtkWidget *w; + GSList *tab; + + /* get shared memory */ + tabs = get_tabs (options.common_data.key, TRUE); + if (!tabs) + exit (-1); + + /* create widget */ + w = notebook = gtk_notebook_new (); + gtk_notebook_set_tab_pos (GTK_NOTEBOOK (w), options.notebook_data.pos); + gtk_container_set_border_width (GTK_CONTAINER (w), 5); + + /* add tabs */ + for (tab = options.notebook_data.tabs; tab; tab = tab->next) + { + GtkWidget *a, *s; + + a = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_alignment_set_padding (GTK_ALIGNMENT (a), + options.notebook_data.borders, options.notebook_data.borders, + options.notebook_data.borders, options.notebook_data.borders); + + s = gtk_socket_new (); + gtk_container_add (GTK_CONTAINER (a), s); + g_object_set_data (G_OBJECT (a), "socket", s); + + gtk_notebook_append_page (GTK_NOTEBOOK (w), a, get_label ((gchar *) tab->data, 0)); + } + + return w; +} + +void +notebook_swallow_childs (void) +{ + guint i, n_tabs; + + n_tabs = g_slist_length (options.notebook_data.tabs); + + /* wait until all children are register */ + while (tabs0.xid != n_tabs) + usleep (1000); + + for (i = 1; i <= n_tabs; i++) + { + GtkWidget *s = + GTK_WIDGET (g_object_get_data + (G_OBJECT (gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), i - 1)), "socket")); + + if (tabsi.pid != -1) + gtk_socket_add_id (GTK_SOCKET (s), tabsi.xid); + } +} + +void +notebook_print_result (void) +{ + guint i, n_tabs; + + n_tabs = g_slist_length (options.notebook_data.tabs); + for (i = 1; i <= n_tabs; i++) + { + if (tabsi.pid != -1) + kill (tabsi.pid, SIGUSR1); + } +} + +void +notebook_close_childs (void) +{ + guint i, n_tabs; + struct shmid_ds buf; + gboolean is_running = TRUE; + + n_tabs = g_slist_length (options.notebook_data.tabs); + for (i = 1; i <= n_tabs; i++) + { + if (tabsi.pid != -1) + kill (tabsi.pid, SIGUSR2); + } + + /* wait for stop subprocesses */ + while (is_running) + { + is_running = FALSE; + for (i = 1; i <= n_tabs; i++) + { + if (tabsi.pid != -1 && kill (tabsi.pid, 0) == 0) + { + is_running = TRUE; + break; + } + } + usleep (1000); + } + + /* cleanup shared memory */ + shmctl (tabs0.pid, IPC_RMID, &buf); + shmdt (tabs); +}
View file
yad-0.16.3.tar.bz2/src/notification.c -> yad-0.36.2.tar.xz/src/notification.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <sys/stat.h> @@ -37,7 +37,7 @@ static gchar *icon = NULL; static gchar *action = NULL; -static GSList *menu_data; +static GSList *menu_data = NULL; static gint exit_code; static gint icon_size = 16; @@ -46,7 +46,7 @@ free_menu_data (gpointer data, gpointer udata) { MenuData *m = (MenuData *) data; - + g_free (m->name); g_free (m->action); g_free (m->icon); @@ -54,6 +54,44 @@ } static void +parse_menu_str (gchar * str) +{ + gchar **menu_vals; + gint i = 0; + + if (menu_data) + { + g_slist_foreach (menu_data, free_menu_data, NULL); + g_slist_free (menu_data); + menu_data = NULL; + } + + menu_vals = g_strsplit (str, options.common_data.separator, -1); + + while (menu_valsi != NULL) + { + MenuData *mdata = g_new0 (MenuData, 1); + gchar **s = g_strsplit (menu_valsi, options.common_data.item_separator, 3); + + if (s0) + { + mdata->name = g_strdup (s0); + if (s1) + { + mdata->action = g_strdup (s1); + if (s2) + mdata->icon = g_strdup (s2); + } + } + menu_data = g_slist_append (menu_data, mdata); + g_strfreev (s); + i++; + } + + g_strfreev (menu_vals); +} + +static void timeout_cb (gpointer data) { exit_code = YAD_RESPONSE_TIMEOUT; @@ -74,22 +112,19 @@ if (g_file_test (icon, G_FILE_TEST_EXISTS)) { - pixbuf = - gdk_pixbuf_new_from_file_at_scale (icon, icon_size, icon_size, - TRUE, &err); + pixbuf = gdk_pixbuf_new_from_file_at_scale (icon, icon_size, icon_size, TRUE, &err); if (err) { - g_printerr (_("Could not load notification icon '%s': %s\n"), - icon, err->message); + g_printerr (_("Could not load notification icon '%s': %s\n"), icon, err->message); g_clear_error (&err); } if (pixbuf) - { - gtk_status_icon_set_from_pixbuf (status_icon, pixbuf); - g_object_unref (pixbuf); - } + { + gtk_status_icon_set_from_pixbuf (status_icon, pixbuf); + g_object_unref (pixbuf); + } else - gtk_status_icon_set_from_icon_name (status_icon, "yad"); + gtk_status_icon_set_from_icon_name (status_icon, "yad"); } else gtk_status_icon_set_from_icon_name (status_icon, icon); @@ -106,8 +141,7 @@ static gboolean activate_cb (GtkWidget * widget, YadData * data) { - if ((action == NULL && !options.notification_data.listen) || - (action && g_ascii_strcasecmp (action, "quit") == 0)) + if ((action == NULL && !options.common_data.listen) || (action && g_ascii_strcasecmp (action, "quit") == 0)) { exit_code = YAD_RESPONSE_OK; gtk_main_quit (); @@ -119,8 +153,7 @@ } static gboolean -middle_quit_cb (GtkStatusIcon * icon, GdkEventButton * ev, - gpointer data) +middle_quit_cb (GtkStatusIcon * icon, GdkEventButton * ev, gpointer data) { if (ev->button == 2) { @@ -136,18 +169,20 @@ { gchar *cmd = (gchar *) data; - if (g_ascii_strcasecmp (cmd, "quit") == 0) + if (cmd) { - exit_code = YAD_RESPONSE_OK; - gtk_main_quit (); + if (g_ascii_strcasecmp (cmd, "quit") == 0) + { + exit_code = YAD_RESPONSE_OK; + gtk_main_quit (); + } + else + g_spawn_command_line_async (cmd, NULL); } - else - g_spawn_command_line_async (cmd, NULL); } static void -popup_menu_cb (GtkStatusIcon * icon, guint button, - guint activate_time, gpointer data) +popup_menu_cb (GtkStatusIcon * icon, guint button, guint activate_time, gpointer data) { GtkWidget *menu; GtkWidget *item; @@ -169,31 +204,32 @@ item = gtk_image_menu_item_new_with_mnemonic (d->name); if (pb) { - gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), - gtk_image_new_from_pixbuf (pb)); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), gtk_image_new_from_pixbuf (pb)); g_object_unref (pb); } } else - item = gtk_menu_item_new_with_mnemonic (d->name); + { + GtkStockItem it; + if (gtk_stock_lookup (d->name, &it)) + item = gtk_image_menu_item_new_from_stock (d->name, NULL); + else + item = gtk_menu_item_new_with_mnemonic (d->name); + } g_signal_connect (GTK_MENU_ITEM (item), "activate", - G_CALLBACK (popup_menu_item_activate_cb), - (gpointer) d->action); + G_CALLBACK (popup_menu_item_activate_cb), (gpointer) d->action); } else - item = gtk_separator_menu_item_new (); + item = gtk_separator_menu_item_new (); gtk_widget_show (item); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); } - gtk_menu_popup (GTK_MENU (menu), NULL, NULL, - gtk_status_icon_position_menu, - icon, button, activate_time); + gtk_menu_popup (GTK_MENU (menu), NULL, NULL, gtk_status_icon_position_menu, icon, button, activate_time); } static gboolean -handle_stdin (GIOChannel * channel, - GIOCondition condition, gpointer data) +handle_stdin (GIOChannel * channel, GIOCondition condition, gpointer data) { if ((condition & G_IO_IN) != 0) { @@ -201,23 +237,21 @@ GError *err = NULL; string = g_string_new (NULL); - while (channel->is_readable == FALSE) ; + while (channel->is_readable == FALSE); do { gint status; - gchar *command, *value, **args; + gchar *command = NULL, *value = NULL, **args; do { - status = - g_io_channel_read_line_string (channel, string, NULL, &err); + status = g_io_channel_read_line_string (channel, string, NULL, &err); while (gdk_events_pending ()) gtk_main_iteration (); } while (status == G_IO_STATUS_AGAIN); - strip_new_line (string->str); if (status != G_IO_STATUS_NORMAL) { @@ -227,23 +261,29 @@ g_error_free (err); err = NULL; } - continue; + /* stop handling but not exit */ + g_io_channel_shutdown (channel, TRUE, NULL); + return FALSE; } - args = g_strsplit (string->str, ":", 2); + strip_new_line (string->str); + if (!string->str0) + continue; + + args = g_strsplit (string->str, ":", 2); command = g_strdup (args0); - value = g_strdup (args1); - g_strfreev (args); - if (value) - g_strstrip (value); + if (args1) + value = g_strdup (args1); + g_strfreev (args); + if (value) + g_strstrip (value); - if (!g_ascii_strcasecmp (command, "icon")) + if (!g_ascii_strcasecmp (command, "icon") && value) { g_free (icon); icon = g_strdup (value); - if (gtk_status_icon_get_visible (status_icon) && - gtk_status_icon_is_embedded (status_icon)) + if (gtk_status_icon_get_visible (status_icon) && gtk_status_icon_is_embedded (status_icon)) set_icon (); } else if (!g_ascii_strcasecmp (command, "tooltip")) @@ -270,13 +310,13 @@ } else #endif - if (!g_ascii_strcasecmp (value, "false")) - { - gtk_status_icon_set_visible (status_icon, FALSE); + if (!g_ascii_strcasecmp (value, "false")) + { + gtk_status_icon_set_visible (status_icon, FALSE); #if !GTK_CHECK_VERSION(2,22,0) - gtk_status_icon_set_blinking (status_icon, FALSE); + gtk_status_icon_set_blinking (status_icon, FALSE); #endif - } + } else { gtk_status_icon_set_visible (status_icon, TRUE); @@ -288,7 +328,8 @@ else if (!g_ascii_strcasecmp (command, "action")) { g_free (action); - action = g_strdup (value); + if (value) + action = g_strdup (value); } else if (!g_ascii_strcasecmp (command, "quit")) { @@ -297,33 +338,14 @@ } else if (!g_ascii_strcasecmp (command, "menu")) { - MenuData *mdata; - int i = 0; - gchar **menu_vals = g_strsplit (value, options.common_data.separator, -1); - - g_slist_foreach (menu_data, free_menu_data, NULL); - g_slist_free (menu_data); - menu_data = NULL; - - while (menu_valsi != NULL) - { - gchar **s = g_strsplit (menu_valsi, options.common_data.item_separator, 3); - mdata = g_new0 (MenuData, 1); - mdata->name = g_strdup (s0); - mdata->action = g_strdup (s1); - mdata->icon = g_strdup (s2); - menu_data = g_slist_append (menu_data, mdata); - g_strfreev (s); - i++; - } - - g_strfreev (menu_vals); + if (value) + parse_menu_str (value); } else - g_printerr (_("Unknown command '%s'\n"), command); + g_printerr (_("Unknown command '%s'\n"), command); g_free (command); - g_free (value); + g_free (value); } while (g_io_channel_get_buffer_condition (channel) == G_IO_IN); g_string_free (string, TRUE); @@ -345,8 +367,7 @@ GIOChannel *channel = NULL; status_icon = gtk_status_icon_new (); - g_signal_connect (status_icon, "size-changed", - G_CALLBACK (icon_size_changed_cb), NULL); + g_signal_connect (status_icon, "size-changed", G_CALLBACK (icon_size_changed_cb), NULL); if (options.data.dialog_text) { @@ -362,37 +383,35 @@ icon = g_strdup (options.data.dialog_image); if (options.common_data.command) action = g_strdup (options.common_data.command); - menu_data = NULL; set_icon (); - g_signal_connect (status_icon, "activate", - G_CALLBACK (activate_cb), NULL); + g_signal_connect (status_icon, "activate", G_CALLBACK (activate_cb), NULL); + g_signal_connect (status_icon, "popup_menu", G_CALLBACK (popup_menu_cb), NULL); + + if (options.notification_data.menu) + parse_menu_str (options.notification_data.menu); /* quit on middle click (like press Esc) */ - g_signal_connect (status_icon, "button-press-event", - G_CALLBACK (middle_quit_cb), NULL); + if (options.notification_data.middle) + g_signal_connect (status_icon, "button-press-event", G_CALLBACK (middle_quit_cb), NULL); - if (options.notification_data.listen) + if (options.common_data.listen) { channel = g_io_channel_unix_new (0); if (channel) - { - g_io_channel_set_encoding (channel, NULL, NULL); - g_io_channel_set_flags (channel, G_IO_FLAG_NONBLOCK, NULL); - g_io_add_watch (channel, G_IO_IN | G_IO_HUP, handle_stdin, NULL); - - g_signal_connect (status_icon, "popup_menu", - G_CALLBACK (popup_menu_cb), NULL); - } + { + g_io_channel_set_encoding (channel, NULL, NULL); + g_io_channel_set_flags (channel, G_IO_FLAG_NONBLOCK, NULL); + g_io_add_watch (channel, G_IO_IN | G_IO_HUP, handle_stdin, NULL); + } } /* Show icon and wait */ - gtk_status_icon_set_visible (status_icon, TRUE); + gtk_status_icon_set_visible (status_icon, !options.notification_data.hidden); if (options.data.timeout > 0) - g_timeout_add_seconds (options.data.timeout, - (GSourceFunc) timeout_cb, NULL); + g_timeout_add_seconds (options.data.timeout, (GSourceFunc) timeout_cb, NULL); gtk_main ();
View file
yad-0.16.3.tar.bz2/src/option.c -> yad-0.36.2.tar.xz/src/option.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <stdlib.h> @@ -26,15 +26,28 @@ static gboolean add_column (const gchar *, const gchar *, gpointer, GError **); static gboolean add_field (const gchar *, const gchar *, gpointer, GError **); static gboolean add_bar (const gchar *, const gchar *, gpointer, GError **); +static gboolean add_tab (const gchar *, const gchar *, gpointer, GError **); static gboolean add_scale_mark (const gchar *, const gchar *, gpointer, GError **); static gboolean add_palette (const gchar *, const gchar *, gpointer, GError **); static gboolean add_confirm_overwrite (const gchar *, const gchar *, gpointer, GError **); +static gboolean add_file_filter (const gchar *, const gchar *, gpointer, GError **); +static gboolean set_color_mode (const gchar *, const gchar *, gpointer, GError **); +static gboolean set_buttons_layout (const gchar *, const gchar *, gpointer, GError **); static gboolean set_align (const gchar *, const gchar *, gpointer, GError **); static gboolean set_justify (const gchar *, const gchar *, gpointer, GError **); +static gboolean set_tab_pos (const gchar *, const gchar *, gpointer, GError **); static gboolean set_scale_value (const gchar *, const gchar *, gpointer, GError **); static gboolean set_ellipsize (const gchar *, const gchar *, gpointer, GError **); static gboolean set_expander (const gchar *, const gchar *, gpointer, GError **); +static gboolean set_orient (const gchar *, const gchar *, gpointer, GError **); static gboolean set_print_type (const gchar *, const gchar *, gpointer, GError **); +static gboolean set_progress_log (const gchar *, const gchar *, gpointer, GError **); +static gboolean set_size (const gchar *, const gchar *, gpointer, GError **); +#ifndef G_OS_WIN32 +static gboolean parse_signal (const gchar *, const gchar *, gpointer, GError **); +#endif +static gboolean add_image_path (const gchar *, const gchar *, gpointer, GError **); +static gboolean set_complete_type (const gchar *, const gchar *, gpointer, GError **); static gboolean about_mode = FALSE; static gboolean version_mode = FALSE; @@ -45,975 +58,541 @@ static gboolean file_mode = FALSE; static gboolean font_mode = FALSE; static gboolean form_mode = FALSE; +#ifdef HAVE_HTML +static gboolean html_mode = FALSE; +#endif static gboolean icons_mode = FALSE; static gboolean list_mode = FALSE; static gboolean multi_progress_mode = FALSE; +static gboolean notebook_mode = FALSE; static gboolean notification_mode = FALSE; +static gboolean paned_mode = FALSE; +static gboolean picture_mode = FALSE; static gboolean print_mode = FALSE; static gboolean progress_mode = FALSE; static gboolean scale_mode = FALSE; static gboolean text_mode = FALSE; static GOptionEntry general_options = { - { "title", 0, - 0, - G_OPTION_ARG_STRING, - &options.data.dialog_title, - N_("Set the dialog title"), - N_("TITLE") }, - { "window-icon", 0, - 0, - G_OPTION_ARG_FILENAME, - &options.data.window_icon, - N_("Set the window icon"), - N_("ICONPATH") }, - { "width", 0, - 0, - G_OPTION_ARG_INT, - &options.data.width, - N_("Set the width"), - N_("WIDTH") }, - { "height", 0, - 0, - G_OPTION_ARG_INT, - &options.data.height, - N_("Set the height"), - N_("HEIGHT") }, - { "geometry", 0, - 0, - G_OPTION_ARG_STRING, - &options.data.geometry, - N_("Set the window geometry"), - N_("WxH+X+Y") }, - { "timeout", 0, - 0, - G_OPTION_ARG_INT, - &options.data.timeout, - N_("Set dialog timeout in seconds"), - N_("TIMEOUT") }, - { "timeout-indicator", 0, - 0, - G_OPTION_ARG_STRING, - &options.data.to_indicator, - N_("Show remaining time indicator (top, bottom, left, right)"), - N_("POS") }, - { "text", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.data.dialog_text, - N_("Set the dialog text"), - N_("TEXT") }, - { "text-align", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_CALLBACK, - set_text_align, - N_("Set the dialog text alignment (left, center, right)"), - N_("TYPE") }, - { "image", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_FILENAME, - &options.data.dialog_image, - N_("Set the dialog image"), - N_("IMAGE") }, - { "image-on-top", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_NONE, - &options.data.image_on_top, - N_("Show image above main widget"), - NULL }, - { "icon-theme", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.data.icon_theme, - N_("Use specified icon theme instead of default"), - N_("THEME") }, - { "expander", 0, - G_OPTION_FLAG_OPTIONAL_ARG, - G_OPTION_ARG_CALLBACK, - set_expander, - N_("Hide main widget with expander"), - N_("TEXT") }, - { "button", 0, - 0, - G_OPTION_ARG_CALLBACK, - add_button, - N_("Add dialog button (may be used multiple times)"), - N_("NAME:ID") }, - { "no-buttons", 0, - 0, - G_OPTION_ARG_NONE, - &options.data.no_buttons, - N_("Don't show buttons"), - NULL }, - { "no-markup", 0, - 0, - G_OPTION_ARG_NONE, - &options.data.no_markup, - N_("Don't use pango markup language in dialog's text"), - NULL }, -#if !GTK_CHECK_VERSION(2,22,0) - { "dialog-sep", 0, - 0, - G_OPTION_ARG_NONE, - &options.data.dialog_sep, - N_("Add separator between dialog and buttons"), - NULL }, -#endif - { "borders", 0, - 0, - G_OPTION_ARG_INT, - &options.data.borders, - N_("Set window borders"), - N_("NUMBER") }, - { "always-print-result", 0, - 0, - G_OPTION_ARG_NONE, - &options.data.always_print, - N_("Always print result"), - NULL }, - { "selectable-labels", 0, - 0, - G_OPTION_ARG_NONE, - &options.data.selectable_labels, - N_("Dialog text can be selected"), - NULL }, + { "title", 0, 0, G_OPTION_ARG_STRING, &options.data.dialog_title, + N_("Set the dialog title"), N_("TITLE") }, + { "window-icon", 0, 0, G_OPTION_ARG_FILENAME, &options.data.window_icon, + N_("Set the window icon"), N_("ICONPATH") }, + { "width", 0, 0, G_OPTION_ARG_INT, &options.data.width, + N_("Set the width"), N_("WIDTH") }, + { "height", 0, 0, G_OPTION_ARG_INT, &options.data.height, + N_("Set the height"), N_("HEIGHT") }, + { "geometry", 0, 0, G_OPTION_ARG_STRING, &options.data.geometry, + N_("Set the window geometry"), N_("WxH+X+Y") }, + { "timeout", 0, 0, G_OPTION_ARG_INT, &options.data.timeout, + N_("Set dialog timeout in seconds"), N_("TIMEOUT") }, + { "timeout-indicator", 0, 0, G_OPTION_ARG_STRING, &options.data.to_indicator, + N_("Show remaining time indicator (top, bottom, left, right)"), N_("POS") }, + { "text", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_STRING, &options.data.dialog_text, + N_("Set the dialog text"), N_("TEXT") }, + { "text-align", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_CALLBACK, set_text_align, + N_("Set the dialog text alignment (left, center, right, fill)"), N_("TYPE") }, + { "image", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_FILENAME, &options.data.dialog_image, + N_("Set the dialog image"), N_("IMAGE") }, + { "image-on-top", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_NONE, &options.data.image_on_top, + N_("Show image above main widget"), NULL }, + { "icon-theme", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_STRING, &options.data.icon_theme, + N_("Use specified icon theme instead of default"), N_("THEME") }, + { "expander", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, set_expander, + N_("Hide main widget with expander"), N_("TEXT") }, + { "button", 0, 0, G_OPTION_ARG_CALLBACK, add_button, + N_("Add dialog button (may be used multiple times)"), N_("NAME:ID") }, + { "no-buttons", 0, 0, G_OPTION_ARG_NONE, &options.data.no_buttons, + N_("Don't show buttons"), NULL }, + { "buttons-layout", 0, 0, G_OPTION_ARG_CALLBACK, set_buttons_layout, + N_("Set buttons layout type (spread, edge, start, end or center)"), N_("TYPE") }, + { "no-markup", 0, 0, G_OPTION_ARG_NONE, &options.data.no_markup, + N_("Don't use pango markup language in dialog's text"), NULL }, + { "no-escape", 0, 0, G_OPTION_ARG_NONE, &options.data.no_escape, + N_("Don't close dialog if Escape was pressed"), NULL }, + { "borders", 0, 0, G_OPTION_ARG_INT, &options.data.borders, + N_("Set window borders"), N_("NUMBER") }, + { "always-print-result", 0, 0, G_OPTION_ARG_NONE, &options.data.always_print, + N_("Always print result"), NULL }, + { "selectable-labels", 0, 0, G_OPTION_ARG_NONE, &options.data.selectable_labels, + N_("Dialog text can be selected"), NULL }, /* window settings */ - { "sticky", 0, - 0, - G_OPTION_ARG_NONE, - &options.data.sticky, - N_("Set window sticky"), - NULL }, - { "fixed", 0, - 0, - G_OPTION_ARG_NONE, - &options.data.fixed, - N_("Set window unresizable"), - NULL }, - { "on-top", 0, - 0, - G_OPTION_ARG_NONE, - &options.data.ontop, - N_("Place window on top"), - NULL }, - { "center", 0, - 0, - G_OPTION_ARG_NONE, - &options.data.center, - N_("Place window on center of screen"), - NULL }, - { "mouse", 0, - 0, - G_OPTION_ARG_NONE, - &options.data.mouse, - N_("Place window at the mouse position"), - NULL }, - { "undecorated", 0, - 0, - G_OPTION_ARG_NONE, - &options.data.undecorated, - N_("Set window undecorated"), - NULL }, - { "skip-taskbar", 0, - 0, - G_OPTION_ARG_NONE, - &options.data.skip_taskbar, - N_("Don't show window in taskbar"), - NULL }, + { "sticky", 0, 0, G_OPTION_ARG_NONE, &options.data.sticky, + N_("Set window sticky"), NULL }, + { "fixed", 0, 0, G_OPTION_ARG_NONE, &options.data.fixed, + N_("Set window unresizable"), NULL }, + { "on-top", 0, 0, G_OPTION_ARG_NONE, &options.data.ontop, + N_("Place window on top"), NULL }, + { "center", 0, 0, G_OPTION_ARG_NONE, &options.data.center, + N_("Place window on center of screen"), NULL }, + { "mouse", 0, 0, G_OPTION_ARG_NONE, &options.data.mouse, + N_("Place window at the mouse position"), NULL }, + { "undecorated", 0, 0, G_OPTION_ARG_NONE, &options.data.undecorated, + N_("Set window undecorated"), NULL }, + { "skip-taskbar", 0, 0, G_OPTION_ARG_NONE, &options.data.skip_taskbar, + N_("Don't show window in taskbar"), NULL }, + { "maximized", 0, 0, G_OPTION_ARG_NONE, &options.data.maximized, + N_("Set window maximized"), NULL }, + { "fullscreen", 0, 0, G_OPTION_ARG_NONE, &options.data.fullscreen, + N_("Set window fulscreen"), NULL }, + { "no-focus", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &options.data.focus, + N_("Don't focus dialog window"), NULL }, + { "splash", 0, 0, G_OPTION_ARG_NONE, &options.data.splash, + N_("Open window as a splashscreen"), NULL }, + { "plug", 0, 0, G_OPTION_ARG_INT, &options.plug, + N_("Special type of dialog for XEMBED"), N_("KEY") }, + { "tabnum", 0, 0, G_OPTION_ARG_INT, &options.tabnum, + N_("Tab nubmer of this dialog"), N_("NUMBER") }, #ifndef G_OS_WIN32 - { "kill-parent", 0, - 0, - G_OPTION_ARG_NONE, - &options.kill_parent, - N_("Send TERM to parent"), - NULL }, - { "print-xid", 0, - 0, - G_OPTION_ARG_NONE, - &options.print_xid, - N_("Print X Window Id to the stderr"), - NULL }, + { "parent-win", 0, 0, G_OPTION_ARG_INT, &options.parent, + N_("XID of parent window"), "XID" }, + { "kill-parent", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, parse_signal, + N_("Send SIGNAL to parent"), N_("SIGNAL") }, + { "print-xid", 0, 0, G_OPTION_ARG_NONE, &options.print_xid, + N_("Print X Window Id to the stderr"), NULL }, +#endif + { "image-path", 0, 0, G_OPTION_ARG_CALLBACK, add_image_path, + N_("Add path for search icons by name"), N_("PATH") }, + { NULL } +}; + +static GOptionEntry common_options = { + { "date-format", 0, 0, G_OPTION_ARG_STRING, &options.common_data.date_format, + N_("Set the format for the returned date"), N_("PATTERN") }, + { "float-precision", 0, 0, G_OPTION_ARG_INT, &options.common_data.float_precision, + N_("Set presicion of floating numbers (default - 3)"), N_("NUMBER") }, + { "command", 0, 0, G_OPTION_ARG_STRING, &options.common_data.command, + N_("Set command handler"), N_("CMD") }, + { "listen", 0, 0, G_OPTION_ARG_NONE, &options.common_data.listen, + N_("Listen for data on stdin"), NULL }, + { "separator", 0, 0, G_OPTION_ARG_STRING, &options.common_data.separator, + N_("Set common separator character"), N_("SEPARATOR") }, + { "item-separator", 0, 0, G_OPTION_ARG_STRING, &options.common_data.item_separator, + N_("Set item separator character"), N_("SEPARATOR") }, + { "editable", 0, 0, G_OPTION_ARG_NONE, &options.common_data.editable, + N_("Allow changes to text in some cases"), NULL }, + { "quoted-output", 0, 0, G_OPTION_ARG_NONE, &options.common_data.quoted_output, + N_("Quote dialogs output"), NULL }, + { "num-output", 0, 0, G_OPTION_ARG_NONE, &options.common_data.num_output, + N_("Output number instead of text for combo-box"), NULL }, + { "fontname", 0, 0, G_OPTION_ARG_STRING, &options.common_data.font, + N_("Specify font name to use"), N_("FONTNAME") }, + { "multiple", 0, 0, G_OPTION_ARG_NONE, &options.common_data.multi, + N_("Allow multiple selection"), NULL }, + { "add-preview", 0, 0, G_OPTION_ARG_NONE, &options.common_data.preview, + N_("Enable preview"), NULL }, + { "show-hidden", 0, 0, G_OPTION_ARG_NONE, &options.common_data.show_hidden, + N_("Show hidden files in file selection dialogs"), NULL }, + { "filename", 0, 0, G_OPTION_ARG_FILENAME, &options.common_data.uri, + N_("Set source filename"), N_("FILENAME") }, + { "vertical", 0, 0, G_OPTION_ARG_NONE, &options.common_data.vertical, + N_("Set vertical orientation"), NULL }, + { "key", 0, 0, G_OPTION_ARG_INT, &options.common_data.key, + N_("Identifier of embedded dialogs"), N_("KEY") }, + { "complete", 0, 0, G_OPTION_ARG_CALLBACK, set_complete_type, + N_("Set extended completion for entries (any, all, or regex)"), N_("TYPE") }, +#ifdef HAVE_SPELL + { "enable-spell", 0, 0, G_OPTION_ARG_NONE, &options.common_data.enable_spell, + N_("Enable spell check for text"), NULL }, + { "spell-lang", 0, 0, G_OPTION_ARG_STRING, &options.common_data.spell_lang, + N_("Set spell checking language"), N_("LANGUAGE") }, #endif { NULL } }; static GOptionEntry calendar_options = { - { "calendar", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &calendar_mode, - N_("Display calendar dialog"), - NULL }, - { "day", 0, - 0, - G_OPTION_ARG_INT, - &options.calendar_data.day, - N_("Set the calendar day"), - N_("DAY") }, - { "month", 0, - 0, - G_OPTION_ARG_INT, - &options.calendar_data.month, - N_("Set the calendar month"), - N_("MONTH") }, - { "year", 0, - 0, - G_OPTION_ARG_INT, - &options.calendar_data.year, - N_("Set the calendar year"), - N_("YEAR") }, - { "date-format", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.date_format, - N_("Set the format for the returned date"), - N_("PATTERN") }, - { "details", 0, - 0, - G_OPTION_ARG_FILENAME, - &options.calendar_data.details, - N_("Set the filename with dates details"), - N_("FILENAME") }, + { "calendar", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &calendar_mode, + N_("Display calendar dialog"), NULL }, + { "day", 0, 0, G_OPTION_ARG_INT, &options.calendar_data.day, + N_("Set the calendar day"), N_("DAY") }, + { "month", 0, 0, G_OPTION_ARG_INT, &options.calendar_data.month, + N_("Set the calendar month"), N_("MONTH") }, + { "year", 0, 0, G_OPTION_ARG_INT, &options.calendar_data.year, + N_("Set the calendar year"), N_("YEAR") }, + { "details", 0, 0, G_OPTION_ARG_FILENAME, &options.calendar_data.details, + N_("Set the filename with dates details"), N_("FILENAME") }, { NULL } }; static GOptionEntry color_options = { - { "color", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &color_mode, - N_("Display color selection dialog"), - NULL }, - { "color-selection", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &color_mode, - N_("Alias for --color"), - NULL }, - { "init-color", 0, - 0, - G_OPTION_ARG_STRING, - &options.color_data.init_color, - N_("Set initial color value"), - N_("COLOR") }, - { "palette", 0, - G_OPTION_FLAG_OPTIONAL_ARG, - G_OPTION_ARG_CALLBACK, - add_palette, - N_("Set path to palette file. Default - " RGB_FILE), - N_("FILENAME") }, - { "extra", 0, - 0, - G_OPTION_ARG_NONE, - &options.color_data.extra, - N_("Use #rrrrggggbbbb format instead of #rrggbb"), - NULL }, + { "color", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &color_mode, + N_("Display color selection dialog"), NULL }, + { "color-selection", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &color_mode, + N_("Alias for --color"), NULL }, + { "init-color", 0, 0, G_OPTION_ARG_STRING, &options.color_data.init_color, + N_("Set initial color value"), N_("COLOR") }, + { "gtk-palette", 0, 0, G_OPTION_ARG_NONE, &options.color_data.gtk_palette, + N_("Show system palette in color dialog"), NULL }, + { "palette", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, add_palette, + N_("Set path to palette file. Default - " RGB_FILE), N_("FILENAME") }, + { "expand-palette", 0, 0, G_OPTION_ARG_NONE, &options.color_data.expand_palette, + N_("Expand user palette"), NULL }, + { "mode", 0, 0, G_OPTION_ARG_CALLBACK, set_color_mode, + N_("Set output mode to MODE. Values are hex (default) or rgb"), N_("MODE") }, + { "extra", 0, 0, G_OPTION_ARG_NONE, &options.color_data.extra, + N_("Use #rrrrggggbbbb format instead of #rrggbb"), NULL }, + { "alpha", 0, 0, G_OPTION_ARG_NONE, &options.color_data.alpha, + N_("Add opacity to output color value"), NULL }, { NULL } }; static GOptionEntry dnd_options = { - { "dnd", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &dnd_mode, - N_("Display drag-n-drop box"), - NULL }, - { "tooltip", 0, - 0, - G_OPTION_ARG_NONE, - &options.dnd_data.tooltip, - N_("Use dialog text as tooltip"), - NULL }, - { "command", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.command, - N_("Set command for process d-n-d data"), - N_("CMD") }, + { "dnd", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &dnd_mode, + N_("Display drag-n-drop box"), NULL }, + { "tooltip", 0, 0, G_OPTION_ARG_NONE, &options.dnd_data.tooltip, + N_("Use dialog text as tooltip"), NULL }, { NULL } }; static GOptionEntry entry_options = { - { "entry", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &entry_mode, - N_("Display text entry or combo-box dialog"), - NULL }, - { "entry-label", 0, - 0, - G_OPTION_ARG_STRING, - &options.entry_data.entry_label, - N_("Set the entry label"), - N_("TEXT") }, - { "entry-text", 0, - 0, - G_OPTION_ARG_STRING, - &options.entry_data.entry_text, - N_("Set the entry text"), - N_("TEXT") }, - { "hide-text", 0, - 0, - G_OPTION_ARG_NONE, - &options.entry_data.hide_text, - N_("Hide the entry text"), - N_("TEXT") }, - { "completion", 0, - 0, - G_OPTION_ARG_NONE, - &options.entry_data.completion, - N_("Use completion instead of combo-box"), - NULL }, - { "numeric", 0, - 0, - G_OPTION_ARG_NONE, - &options.entry_data.numeric, - N_("Use spin button for text entry"), - NULL }, - { "editable", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_NONE, - &options.common_data.editable, - N_("Allow changes to text in combo-box"), - NULL }, - { "licon", 0, - 0, - G_OPTION_ARG_FILENAME, - &options.entry_data.licon, - N_("Set the left entry icon"), - N_("IMAGE") }, - { "licon-action", 0, - 0, - G_OPTION_ARG_STRING, - &options.entry_data.licon_action, - N_("Set the left entry icon action"), - N_("CMD") }, - { "ricon", 0, - 0, - G_OPTION_ARG_FILENAME, - &options.entry_data.ricon, - N_("Set the right entry icon"), - N_("IMAGE") }, - { "ricon-action", 0, - 0, - G_OPTION_ARG_STRING, - &options.entry_data.ricon_action, - N_("Set the right entry icon action"), - N_("CMD") }, + { "entry", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &entry_mode, + N_("Display text entry or combo-box dialog"), NULL }, + { "entry-label", 0, 0, G_OPTION_ARG_STRING, &options.entry_data.entry_label, + N_("Set the entry label"), N_("TEXT") }, + { "entry-text", 0, 0, G_OPTION_ARG_STRING, &options.entry_data.entry_text, + N_("Set the entry text"), N_("TEXT") }, + { "hide-text", 0, 0, G_OPTION_ARG_NONE, &options.entry_data.hide_text, + N_("Hide the entry text"), N_("TEXT") }, + { "completion", 0, 0, G_OPTION_ARG_NONE, &options.entry_data.completion, + N_("Use completion instead of combo-box"), NULL }, + { "numeric", 0, 0, G_OPTION_ARG_NONE, &options.entry_data.numeric, + N_("Use spin button for text entry"), NULL }, + { "licon", 0, 0, G_OPTION_ARG_FILENAME, &options.entry_data.licon, + N_("Set the left entry icon"), N_("IMAGE") }, + { "licon-action", 0, 0, G_OPTION_ARG_STRING, &options.entry_data.licon_action, + N_("Set the left entry icon action"), N_("CMD") }, + { "ricon", 0, 0, G_OPTION_ARG_FILENAME, &options.entry_data.ricon, + N_("Set the right entry icon"), N_("IMAGE") }, + { "ricon-action", 0, 0, G_OPTION_ARG_STRING, &options.entry_data.ricon_action, + N_("Set the right entry icon action"), N_("CMD") }, { NULL } }; static GOptionEntry file_options = { - { "file", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &file_mode, - N_("Display file selection dialog"), - NULL }, - { "file-selection", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &file_mode, - N_("Alias for --file"), - NULL }, - { "filename", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_FILENAME, - &options.common_data.uri, - N_("Set the filename"), - N_("FILENAME") }, - { "multiple", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_NONE, - &options.common_data.multi, - N_("Allow multiple files to be selected"), - NULL }, - { "directory", 0, - 0, - G_OPTION_ARG_NONE, - &options.file_data.directory, - N_("Activate directory-only selection"), - NULL }, - { "save", 0, - 0, - G_OPTION_ARG_NONE, - &options.file_data.save, - N_("Activate save mode"), - NULL }, - { "separator", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.separator, - N_("Set output separator character"), - N_("SEPARATOR") }, - { "confirm-overwrite", 0, - G_OPTION_FLAG_OPTIONAL_ARG, - G_OPTION_ARG_CALLBACK, - add_confirm_overwrite, - N_("Confirm file selection if filename already exists"), - N_("TEXT") }, - { "file-filter", 0, - 0, - G_OPTION_ARG_STRING_ARRAY, - &options.file_data.filter, - N_("Sets a filename filter"), - N_("NAME | PATTERN1 PATTERN2 ...") }, + { "file", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &file_mode, + N_("Display file selection dialog"), NULL }, + { "file-selection", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &file_mode, + N_("Alias for --file"), NULL }, + { "directory", 0, 0, G_OPTION_ARG_NONE, &options.file_data.directory, + N_("Activate directory-only selection"), NULL }, + { "save", 0, 0, G_OPTION_ARG_NONE, &options.file_data.save, + N_("Activate save mode"), NULL }, + { "confirm-overwrite", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, add_confirm_overwrite, + N_("Confirm file selection if filename already exists"), N_("TEXT") }, { NULL } }; static GOptionEntry font_options = { - { "font", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &font_mode, - N_("Display font selection dialog"), - NULL }, - { "font-selection", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &font_mode, - N_("Alias for --font"), - NULL }, - { "fontname", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.font, - N_("Set initial font"), - N_("FONTNAME") }, - { "preview", 0, - 0, - G_OPTION_ARG_STRING, - &options.font_data.preview, - N_("Set preview text"), - N_("TEXT") }, + { "font", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &font_mode, + N_("Display font selection dialog"), NULL }, + { "font-selection", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &font_mode, + N_("Alias for --font"), NULL }, + { "preview", 0, 0, G_OPTION_ARG_STRING, &options.font_data.preview, + N_("Set text string for preview"), N_("TEXT") }, + { "separate-output", 0, 0, G_OPTION_ARG_NONE, &options.font_data.separate_output, + N_("Separate output of font description"), NULL }, { NULL } }; static GOptionEntry form_options = { - { "form", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &form_mode, - N_("Display form dialog"), - NULL }, - { "field", 0, - 0, - G_OPTION_ARG_CALLBACK, - add_field, - N_("Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, SFL, DIR, CDIR, FN, MFL, DT, CLR, BTN or LBL)"), - N_("LABEL:TYPE") }, - { "align", 0, - 0, - G_OPTION_ARG_CALLBACK, - set_align, - N_("Set alignment of fileds labels (left, center or right)"), - N_("TYPE") }, - { "columns", 0, - 0, - G_OPTION_ARG_INT, - &options.form_data.columns, - N_("Set number of columns in form"), - N_("NUMBER") }, - { "separator", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.separator, - N_("Set output separator character"), - N_("SEPARATOR") }, - { "item-separator", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.item_separator, - N_("Set separator character for combobox or scale data"), - N_("SEPARATOR") }, - { "date-format", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.date_format, - N_("Set the format for the returned date"), - N_("PATTERN") }, + { "form", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &form_mode, + N_("Display form dialog"), NULL }, + { "field", 0, 0, G_OPTION_ARG_CALLBACK, add_field, + N_ ("Add field to form (see man page for list of possible types)"), N_("LABEL:TYPE") }, + { "align", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_CALLBACK, set_align, + N_("Set alignment of filed labels (left, center or right)"), N_("TYPE") }, + { "columns", 0, 0, G_OPTION_ARG_INT, &options.form_data.columns, + N_("Set number of columns in form"), N_("NUMBER") }, + { "scroll", 0, 0, G_OPTION_ARG_NONE, &options.form_data.scroll, + N_("Make form scrollable"), NULL }, + { "output-by-row", 0, 0, G_OPTION_ARG_NONE, &options.form_data.output_by_row, + N_("Order output fields by rows"), NULL }, + { "focus-field", 0, 0, G_OPTION_ARG_INT, &options.form_data.focus_field, + N_("Set focused field"), N_("NUMBER") }, + { "cycle-read", 0, 0, G_OPTION_ARG_NONE, &options.form_data.cycle_read, + N_("Cycled reading of stdin data"), NULL }, { NULL } }; +#ifdef HAVE_HTML +static GOptionEntry html_options = { + { "html", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &html_mode, + N_("Display HTML dialog"), NULL }, + { "uri", 0, 0, G_OPTION_ARG_STRING, &options.html_data.uri, + N_("Open specified location"), "URI" }, + { "browser", 0, 0, G_OPTION_ARG_NONE, &options.html_data.browser, + N_("Turn on browser mode"), NULL }, + { "print-uri", 0, 0, G_OPTION_ARG_NONE, &options.html_data.print_uri, + N_("Print clicked uri to stdout"), NULL }, + { "mime", 0, 0, G_OPTION_ARG_STRING, &options.html_data.mime, + N_("Set mime type of input stream data"), N_("TYPE") }, + { "encoding", 0, 0, G_OPTION_ARG_STRING, &options.html_data.encoding, + N_("Set encoding of input stream data"), N_("ENCODING") }, + { NULL } +}; +#endif + static GOptionEntry icons_options = { - { "icons", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &icons_mode, - N_("Display icons box dialog"), - NULL }, - { "read-dir", 0, - 0, - G_OPTION_ARG_STRING, - &options.icons_data.directory, - N_("Read data from .desktop files in specified directory"), - N_("DIRECTORY") }, - { "compact", 0, - 0, - G_OPTION_ARG_NONE, - &options.icons_data.compact, - N_("Use compact (list) view"), - NULL }, - { "generic", 0, - 0, - G_OPTION_ARG_NONE, - &options.icons_data.generic, - N_("Use GenericName field instead of Name for icon label"), - NULL }, - { "stdin", 0, - 0, - G_OPTION_ARG_NONE, - &options.icons_data.stdinput, - N_("Read data from stdin"), - NULL }, - { "item-width", 0, - 0, - G_OPTION_ARG_INT, - &options.icons_data.width, - N_("Set the width of dialog items"), - NULL }, - { "term", 0, - 0, - G_OPTION_ARG_STRING, - &options.icons_data.term, + { "icons", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &icons_mode, + N_("Display icons box dialog"), NULL }, + { "read-dir", 0, 0, G_OPTION_ARG_STRING, &options.icons_data.directory, + N_("Read data from .desktop files in specified directory"), N_("DIR") }, + { "compact", 0, 0, G_OPTION_ARG_NONE, &options.icons_data.compact, + N_("Use compact (list) view"), NULL }, + { "generic", 0, 0, G_OPTION_ARG_NONE, &options.icons_data.generic, + N_("Use GenericName field instead of Name for icon label"), NULL }, + { "item-width", 0, 0, G_OPTION_ARG_INT, &options.icons_data.width, + N_("Set the width of dialog items"), NULL }, + { "term", 0, 0, G_OPTION_ARG_STRING, &options.icons_data.term, /* xgettext: no-c-format */ - N_("Use specified pattern for launch command in terminal (default: xterm -e %s)"), - N_("PATTERN") }, - { "sort-by-name", 0, - 0, - G_OPTION_ARG_NONE, - &options.icons_data.sort_by_name, - N_("Sort items by name instead of filename"), - NULL }, - { "descend", 0, - 0, - G_OPTION_ARG_NONE, - &options.icons_data.descend, - N_("Sort items in descending order"), - NULL }, + N_("Use specified pattern for launch command in terminal (default: xterm -e %s)"), N_("PATTERN") }, + { "sort-by-name", 0, 0, G_OPTION_ARG_NONE, &options.icons_data.sort_by_name, + N_("Sort items by name instead of filename"), NULL }, + { "descend", 0, 0, G_OPTION_ARG_NONE, &options.icons_data.descend, + N_("Sort items in descending order"), NULL }, + { "single-click", 0, 0, G_OPTION_ARG_NONE, &options.icons_data.single_click, + N_("Activate items by single click"), NULL }, +#ifdef HAVE_GIO + { "monitor", 0, 0, G_OPTION_ARG_NONE, &options.icons_data.monitor, + N_("Watch fot changes in directory"), NULL }, +#endif { NULL } }; static GOptionEntry list_options = { - { "list", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &list_mode, - N_("Display list dialog"), - NULL }, - { "no-headers", 0, - 0, - G_OPTION_ARG_NONE, - &options.list_data.no_headers, - N_("Don't show column headers"), - NULL }, - { "column", 0, - 0, - G_OPTION_ARG_CALLBACK, - add_column, - N_("Set the column header (TYPE - TEXT, NUM, FLT, CHK, IMG or TIP)"), - N_("COLUMN:TYPE") }, - { "checklist", 0, - 0, - G_OPTION_ARG_NONE, - &options.list_data.checkbox, - N_("Use check boxes for first column"), - NULL }, - { "radiolist", 0, - 0, - G_OPTION_ARG_NONE, - &options.list_data.checkbox, - N_("Alias to checklist (deprecated)"), - NULL }, - { "separator", - 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.separator, - N_("Set output separator character"), - N_("SEPARATOR") }, - { "multiple", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_NONE, - &options.common_data.multi, - N_("Allow multiple rows to be selected"), - NULL }, - { "editable", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_NONE, - &options.common_data.editable, - N_("Allow changes to text"), - NULL }, - { "print-all", 0, - 0, - G_OPTION_ARG_NONE, - &options.list_data.print_all, - N_("Print all data from list"), - NULL }, - { "ellipsize", 0, - 0, - G_OPTION_ARG_CALLBACK, - set_ellipsize, - N_("Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)"), - N_("TYPE") }, - { "print-column", 0, - 0, - G_OPTION_ARG_INT, - &options.list_data.print_column, - N_("Print a specific column. By default or if 0 is specified will be printed all columns"), - N_("NUMBER") }, - { "hide-column", 0, - 0, - G_OPTION_ARG_INT, - &options.list_data.hide_column, - N_("Hide a specific column"), - N_("NUMBER") }, - { "expand-column", 0, - 0, - G_OPTION_ARG_INT, - &options.list_data.expand_column, - N_("Set the column expandable by default. 0 sets all columns expandable"), - N_("NUMBER") }, - { "search-column", 0, - 0, - G_OPTION_ARG_INT, - &options.list_data.search_column, - N_("Set the quick search column. Default is first column. Set it to 0 for disable searching"), - N_("NUMBER") }, - { "limit", 0, - 0, - G_OPTION_ARG_INT, - &options.list_data.limit, - N_("Set the limit of rows in list"), - N_("NUMBER") }, - { "dclick-action", 0, - 0, - G_OPTION_ARG_STRING, - &options.list_data.dclick_action, - N_("Set double-click action"), - N_("CMD") }, - { "regex-search", 0, - 0, - G_OPTION_ARG_NONE, - &options.list_data.regex_search, - N_("Use regex in search"), - NULL }, + { "list", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &list_mode, + N_("Display list dialog"), NULL }, + { "column", 0, 0, G_OPTION_ARG_CALLBACK, add_column, + N_("Set the column header (see man page for list of possible types)"), N_("COLUMN:TYPE") }, + { "checklist", 0, 0, G_OPTION_ARG_NONE, &options.list_data.checkbox, + N_("Use checkboxes for first column"), NULL }, + { "radiolist", 0, 0, G_OPTION_ARG_NONE, &options.list_data.radiobox, + N_("Use radioboxes for first column"), NULL }, + { "no-headers", 0, 0, G_OPTION_ARG_NONE, &options.list_data.no_headers, + N_("Don't show column headers"), NULL }, + { "no-click", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &options.list_data.clickable, + N_("Disable clickable column headers"), NULL }, + { "no-rules-hint", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &options.list_data.rules_hint, + N_("Disable rules hints"), NULL }, + { "print-all", 0, 0, G_OPTION_ARG_NONE, &options.list_data.print_all, + N_("Print all data from list"), NULL }, + { "ellipsize", 0, 0, G_OPTION_ARG_CALLBACK, set_ellipsize, + N_("Set ellipsize mode for text columns (none, start, middle or end)"), N_("TYPE") }, + { "print-column", 0, 0, G_OPTION_ARG_INT, &options.list_data.print_column, + N_("Print a specific column. By default or if 0 is specified will be printed all columns"), N_("NUMBER") }, + { "hide-column", 0, 0, G_OPTION_ARG_INT, &options.list_data.hide_column, + N_("Hide a specific column"), N_("NUMBER") }, + { "expand-column", 0, 0, G_OPTION_ARG_INT, &options.list_data.expand_column, + N_("Set the column expandable by default. 0 sets all columns expandable"), N_("NUMBER") }, + { "search-column", 0, 0, G_OPTION_ARG_INT, &options.list_data.search_column, + N_("Set the quick search column. Default is first column. Set it to 0 for disable searching"), N_("NUMBER") }, + { "tooltip-column", 0, 0, G_OPTION_ARG_INT, &options.list_data.tooltip_column, + N_("Set the tooltip column"), N_("NUMBER") }, + { "sep-column", 0, 0, G_OPTION_ARG_INT, &options.list_data.sep_column, + N_("Set the row separator column"), N_("NUMBER") }, + { "sep-value", 0, 0, G_OPTION_ARG_STRING, &options.list_data.sep_value, + N_("Set the row separator value"), N_("TEXT") }, + { "limit", 0, 0, G_OPTION_ARG_INT, &options.list_data.limit, + N_("Set the limit of rows in list"), N_("NUMBER") }, + { "dclick-action", 0, 0, G_OPTION_ARG_STRING, &options.list_data.dclick_action, + N_("Set double-click action"), N_("CMD") }, + { "select-action", 0, 0, G_OPTION_ARG_STRING, &options.list_data.select_action, + N_("Set select action"), N_("CMD") }, + { "regex-search", 0, 0, G_OPTION_ARG_NONE, &options.list_data.regex_search, + N_("Use regex in search"), NULL }, + { "no-selection", 0, 0, G_OPTION_ARG_NONE, &options.list_data.no_selection, + N_("Disable selection"), NULL }, { NULL } }; static GOptionEntry multi_progress_options = { - { "multi-progress", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &multi_progress_mode, - N_("Display multi progress bars dialog"), - NULL }, - { "bar", 0, - 0, - G_OPTION_ARG_CALLBACK, - add_bar, - N_("Add the progress bar (TYPE - NORM, RTL or PULSE)"), - N_("LABEL:TYPE") }, - { "vertical", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_NONE, - &options.common_data.vertical, - N_("Show vertical bars"), - NULL }, + { "multi-progress", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &multi_progress_mode, + N_("Display multi progress bars dialog"), NULL }, + { "bar", 0, 0, G_OPTION_ARG_CALLBACK, add_bar, + N_("Add the progress bar (norm, rtl or pulse)"), N_("LABEL:TYPE") }, + { "watch-bar", 0, 0, G_OPTION_ARG_INT, &options.multi_progress_data.watch_bar, + N_("Watch for specific bar for auto close"), N_("NUMBER") }, + { "align", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_CALLBACK, set_align, + N_("Set alignment of bar labels (left, center or right)"), N_("TYPE") }, + { "auto-close", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_NONE, &options.progress_data.autoclose, + /* xgettext: no-c-format */ + N_("Dismiss the dialog when 100% of all bars has been reached"), NULL }, +#ifndef G_OS_WIN32 + { "auto-kill", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_NONE, &options.progress_data.autokill, + N_("Kill parent process if cancel button is pressed"), NULL }, +#endif + { NULL } +}; + +static GOptionEntry notebook_options = { + { "notebook", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, ¬ebook_mode, + N_("Display notebook dialog"), NULL }, + { "tab", 0, 0, G_OPTION_ARG_CALLBACK, add_tab, + N_("Add a tab to notebook"), N_("LABEL") }, + { "tab-pos", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_CALLBACK, set_tab_pos, + N_("Set position of a notebook tabs (top, bottom, left or right)"), N_("TYPE") }, + { "tab-borders", 0, 0, G_OPTION_ARG_INT, &options.notebook_data.borders, + N_("Set tab borders"), N_("NUMBER") }, { NULL } }; static GOptionEntry notification_options = { - { "notification", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - ¬ification_mode, - N_("Display notification"), - NULL}, - { "command", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.command, - N_("Set left-click action"), - N_("CMD") }, - { "listen", 0, - 0, - G_OPTION_ARG_NONE, - &options.notification_data.listen, - N_("Listen for commands on stdin"), - NULL }, - { "separator", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.item_separator, - N_("Set separator character for menu values"), - N_("SEPARATOR") }, - { "item-separator", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.item_separator, - N_("Set separator character for menu items"), - N_("SEPARATOR") }, + { "notification", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, ¬ification_mode, + N_("Display notification"), NULL }, + { "menu", 0, 0, G_OPTION_ARG_STRING, &options.notification_data.menu, + N_("Set initial popup menu"), N_("STRING") }, + { "no-middle", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &options.notification_data.middle, + N_("Disable exit on middle click"), NULL }, + { "hidden", 0, 0, G_OPTION_ARG_NONE, &options.notification_data.hidden, + N_("Doesn't show icon at startup"), NULL }, + { NULL } +}; + +static GOptionEntry paned_options = { + { "paned", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &paned_mode, + N_("Display paned dialog"), NULL }, + { "orient", 0, 0, G_OPTION_ARG_CALLBACK, set_orient, + N_("Set orientation (horizontal or vertical)"), N_("TYPE") }, + { "splitter", 0, 0, G_OPTION_ARG_INT, &options.paned_data.splitter, + N_("Set initial splitter position"), N_("POS") }, + { NULL } +}; + +static GOptionEntry picture_options = { + { "picture", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &picture_mode, + N_("Display picture dialog"), NULL }, + { "size", 0, 0, G_OPTION_ARG_CALLBACK, set_size, + N_("Set initial size (fit or orig)"), N_("TYPE") }, + { "inc", 0, 0, G_OPTION_ARG_INT, &options.picture_data.inc, + N_("Set increment for picture scaling (default - 5)"), N_("NUMBER") }, { NULL } }; static GOptionEntry print_options = { - { "print", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &print_mode, - N_("Display printing dialog"), - NULL }, - { "filename", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_FILENAME, - &options.common_data.uri, - N_("Source filename"), - N_("FILENAME") }, - { "type", 0, - 0, - G_OPTION_ARG_CALLBACK, - set_print_type, - N_("Set source type (TYPE - TEXT, IMAGE or RAW)"), - N_("TYPE") }, - { "headers", 0, - 0, - G_OPTION_ARG_NONE, - &options.print_data.headers, - N_("Add headers to page"), - NULL }, - { "add-preview", 0, - 0, - G_OPTION_ARG_NONE, - &options.print_data.preview, - N_("Enable preview in print dialog"), - NULL }, - { "fontname", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.font, - N_("Use specified font"), - N_("FONTNAME") }, + { "print", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &print_mode, + N_("Display printing dialog"), NULL }, + { "type", 0, 0, G_OPTION_ARG_CALLBACK, set_print_type, + N_("Set source type (text, image or raw)"), N_("TYPE") }, + { "headers", 0, 0, G_OPTION_ARG_NONE, &options.print_data.headers, + N_("Add headers to page"), NULL }, { NULL } }; static GOptionEntry progress_options = { - { "progress", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &progress_mode, - N_("Display progress indication dialog"), - NULL }, - { "progress-text", 0, - 0, - G_OPTION_ARG_STRING, - &options.progress_data.progress_text, - N_("Set progress text"), - N_("TEXT") }, - { "percentage", 0, - 0, - G_OPTION_ARG_INT, - &options.progress_data.percentage, - N_("Set initial percentage"), - N_("PERCENTAGE") }, - { "pulsate", 0, - 0, - G_OPTION_ARG_NONE, - &options.progress_data.pulsate, - N_("Pulsate progress bar"), - NULL }, - { "auto-close", 0, - 0, - G_OPTION_ARG_NONE, - &options.progress_data.autoclose, + { "progress", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &progress_mode, + N_("Display progress indication dialog"), NULL }, + { "progress-text", 0, 0, G_OPTION_ARG_STRING, &options.progress_data.progress_text, + N_("Set progress text"), N_("TEXT") }, + { "percentage", 0, 0, G_OPTION_ARG_INT, &options.progress_data.percentage, + N_("Set initial percentage"), N_("PERCENTAGE") }, + { "pulsate", 0, 0, G_OPTION_ARG_NONE, &options.progress_data.pulsate, + N_("Pulsate progress bar"), NULL }, + { "auto-close", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_NONE, &options.progress_data.autoclose, /* xgettext: no-c-format */ - N_("Dismiss the dialog when 100% has been reached"), - NULL }, + N_("Dismiss the dialog when 100% has been reached"), NULL }, #ifndef G_OS_WIN32 - { "auto-kill", 0, - 0, - G_OPTION_ARG_NONE, - &options.progress_data.autokill, - N_("Kill parent process if cancel button is pressed"), - NULL }, + { "auto-kill", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_NONE, &options.progress_data.autokill, + N_("Kill parent process if cancel button is pressed"), NULL }, #endif - { "rtl", 0, - 0, - G_OPTION_ARG_NONE, - &options.progress_data.rtl, - N_("Right-To-Left progress bar direction"), - NULL }, + { "rtl", 0, 0, G_OPTION_ARG_NONE, &options.progress_data.rtl, + N_("Right-To-Left progress bar direction"), NULL }, + { "enable-log", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, set_progress_log, + N_("Show log window"), N_("TEXT") }, + { "log-expanded", 0, 0, G_OPTION_ARG_NONE, &options.progress_data.log_expanded, + N_("Expand log window"), NULL }, + { "log-on-top", 0, 0, G_OPTION_ARG_NONE, &options.progress_data.log_on_top, + N_("Place log window above progress bar"), NULL }, + { "log-height", 0, 0, G_OPTION_ARG_INT, &options.progress_data.log_height, + N_("Height of log window"), NULL }, { NULL } }; static GOptionEntry scale_options = { - { "scale", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &scale_mode, - N_("Display scale dialog"), - NULL }, - { "value", 0, - 0, - G_OPTION_ARG_CALLBACK, - set_scale_value, - N_("Set initial value"), - N_("VALUE") }, - { "min-value", 0, - 0, - G_OPTION_ARG_INT, - &options.scale_data.min_value, - N_("Set minimum value"), - N_("VALUE") }, - { "max-value", 0, - 0, - G_OPTION_ARG_INT, - &options.scale_data.max_value, - N_("Set maximum value"), - N_("VALUE") }, - { "step", 0, - 0, - G_OPTION_ARG_INT, - &options.scale_data.step, - N_("Set step size"), - N_("VALUE") }, - { "page", 0, - 0, - G_OPTION_ARG_INT, - &options.scale_data.page, - N_("Set paging size"), - N_("VALUE") }, - { "print-partial", 0, - 0, - G_OPTION_ARG_NONE, - &options.scale_data.print_partial, - N_("Print partial values"), - NULL }, - { "hide-value", 0, - 0, - G_OPTION_ARG_NONE, - &options.scale_data.hide_value, - N_("Hide value"), - NULL }, - { "vertical", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_NONE, - &options.common_data.vertical, - N_("Show vertical scale"), - NULL }, - { "invert", 0, - 0, - G_OPTION_ARG_NONE, - &options.scale_data.invert, - N_("Invert direction"), - NULL }, - { "mark", 0, - 0, - G_OPTION_ARG_CALLBACK, - add_scale_mark, - N_("Add mark to scale (may be used multiple times)"), - N_("NAME:VALUE") }, + { "scale", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &scale_mode, + N_("Display scale dialog"), NULL }, + { "value", 0, 0, G_OPTION_ARG_CALLBACK, set_scale_value, + N_("Set initial value"), N_("VALUE") }, + { "min-value", 0, 0, G_OPTION_ARG_INT, &options.scale_data.min_value, + N_("Set minimum value"), N_("VALUE") }, + { "max-value", 0, 0, G_OPTION_ARG_INT, &options.scale_data.max_value, + N_("Set maximum value"), N_("VALUE") }, + { "step", 0, 0, G_OPTION_ARG_INT, &options.scale_data.step, + N_("Set step size"), N_("VALUE") }, + { "page", 0, 0, G_OPTION_ARG_INT, &options.scale_data.page, + N_("Set paging size"), N_("VALUE") }, + { "print-partial", 0, 0, G_OPTION_ARG_NONE, &options.scale_data.print_partial, + N_("Print partial values"), NULL }, + { "hide-value", 0, 0, G_OPTION_ARG_NONE, &options.scale_data.hide_value, + N_("Hide value"), NULL }, + { "invert", 0, 0, G_OPTION_ARG_NONE, &options.scale_data.invert, + N_("Invert direction"), NULL }, + { "mark", 0, 0, G_OPTION_ARG_CALLBACK, add_scale_mark, + N_("Add mark to scale (may be used multiple times)"), N_("NAME:VALUE") }, { NULL } }; static GOptionEntry text_options = { - { "text-info", 0, - G_OPTION_FLAG_IN_MAIN, - G_OPTION_ARG_NONE, - &text_mode, - N_("Display text information dialog"), - NULL }, - { "fore", 0, - 0, - G_OPTION_ARG_STRING, - &options.text_data.fore, - N_("Use specified color for text"), - N_("COLOR") }, - { "back", 0, - 0, - G_OPTION_ARG_STRING, - &options.text_data.back, - N_("Use specified color for background"), - N_("COLOR") }, - { "fontname", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_STRING, - &options.common_data.font, - N_("Use specified font"), - N_("FONTNAME") }, - { "wrap", 0, - 0, - G_OPTION_ARG_NONE, - &options.text_data.wrap, - N_("Enable text wrapping"), - NULL }, - { "justify", 0, - 0, - G_OPTION_ARG_CALLBACK, - set_justify, - N_("Set justification (TYPE - left, right, center or fill)"), - N_("TYPE") }, - { "margins", 0, - 0, - G_OPTION_ARG_INT, - &options.text_data.margins, - N_("Set text margins"), - N_("SIZE") }, - { "tail", 0, - 0, - G_OPTION_ARG_NONE, - &options.text_data.tail, - N_("Autoscroll to end of text"), - NULL }, - { "filename", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_FILENAME, - &options.common_data.uri, - N_("Open file"), - N_("FILENAME") }, - { "editable", 0, - G_OPTION_FLAG_NOALIAS, - G_OPTION_ARG_NONE, - &options.common_data.editable, - N_("Allow changes to text"), - NULL }, - { "show-uri", 0, - 0, - G_OPTION_ARG_NONE, - &options.text_data.uri, - N_("Make URI clickable"), - NULL }, + { "text-info", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &text_mode, + N_("Display text information dialog"), NULL }, + { "fore", 0, 0, G_OPTION_ARG_STRING, &options.text_data.fore, + N_("Use specified color for text"), N_("COLOR") }, + { "back", 0, 0, G_OPTION_ARG_STRING, &options.text_data.back, + N_("Use specified color for background"), N_("COLOR") }, + { "wrap", 0, 0, G_OPTION_ARG_NONE, &options.text_data.wrap, + N_("Enable text wrapping"), NULL }, + { "justify", 0, 0, G_OPTION_ARG_CALLBACK, set_justify, + N_("Set justification (left, right, center or fill)"), N_("TYPE") }, + { "margins", 0, 0, G_OPTION_ARG_INT, &options.text_data.margins, + N_("Set text margins"), N_("SIZE") }, + { "tail", 0, 0, G_OPTION_ARG_NONE, &options.text_data.tail, + N_("Autoscroll to end of text"), NULL }, + { "show-cursor", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &options.text_data.hide_cursor, + N_("Show cursor in read-only mode"), NULL }, + { "show-uri", 0, 0, G_OPTION_ARG_NONE, &options.text_data.uri, + N_("Make URI clickable"), NULL }, + { "uri-color", 0, 0, G_OPTION_ARG_STRING, &options.text_data.uri_color, + N_("Use specified color for links"), N_("COLOR") }, + { NULL } +}; + +#ifdef HAVE_SOURCEVIEW +static GOptionEntry source_options = { + { "lang", 0, 0, G_OPTION_ARG_STRING, &options.source_data.lang, + N_("Use specified langauge for syntax highlighting"), N_("LANG") }, + { NULL } +}; +#endif + +static GOptionEntry filter_options = { + { "file-filter", 0, 0, G_OPTION_ARG_CALLBACK, add_file_filter, + N_("Sets a filename filter"), N_("NAME | PATTERN1 PATTERN2 ...") }, + { "mime-filter", 0, 0, G_OPTION_ARG_CALLBACK, add_file_filter, + N_("Sets a mime-type filter"), N_("NAME | MIME1 MIME2 ...") }, + { "image-filter", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, add_file_filter, + N_("Add filter for images"), N_("NAME") }, { NULL } }; static GOptionEntry misc_options = { - { "about", 0, - 0, - G_OPTION_ARG_NONE, - &about_mode, - N_("Show about dialog"), - NULL }, - { "version", 0, - 0, - G_OPTION_ARG_NONE, - &version_mode, - N_("Print version"), - NULL }, + { "about", 0, 0, G_OPTION_ARG_NONE, &about_mode, + N_("Show about dialog"), NULL }, + { "version", 0, 0, G_OPTION_ARG_NONE, &version_mode, + N_("Print version"), NULL }, + { "gtkrc", 0, 0, G_OPTION_ARG_FILENAME, &options.gtkrc_file, + N_("Load additional GTK settings from file"), N_("FILENAME") }, { NULL } }; static GOptionEntry rest_options = { - { G_OPTION_REMAINING, 0, - 0, - G_OPTION_ARG_STRING_ARRAY, - &options.extra_data, - NULL, NULL }, + { "rest", 0, 0, G_OPTION_ARG_FILENAME, &options.rest_file, + N_("Load extra arguments from file"), N_("FILENAME") }, + {G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &options.extra_data, + NULL, NULL }, { NULL } }; static gboolean -add_button (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +add_button (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { YadButton *btn; gchar **bstr = split_arg (value); @@ -1023,9 +602,9 @@ if (bstr1) { if (bstr10 >= '0' && bstr10 <= '9') - btn->response = g_ascii_strtoll (bstr1, NULL, 10); + btn->response = g_ascii_strtoll (bstr1, NULL, 10); else - btn->cmd = g_strdup (bstr1); + btn->cmd = g_strdup (bstr1); } else btn->response = g_slist_length (options.data.buttons); @@ -1036,15 +615,16 @@ } static gboolean -set_text_align (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +set_text_align (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { - if (g_ascii_strcasecmp (value, "left") == 0) - options.data.text_align = 0.0; - else if (g_ascii_strcasecmp (value, "right") == 0) - options.data.text_align = 1.0; - else if (g_ascii_strcasecmp (value, "center") == 0) - options.data.text_align = 0.5; + if (strcasecmp (value, "left") == 0) + options.data.text_align = GTK_JUSTIFY_LEFT; + else if (strcasecmp (value, "right") == 0) + options.data.text_align = GTK_JUSTIFY_RIGHT; + else if (strcasecmp (value, "center") == 0) + options.data.text_align = GTK_JUSTIFY_CENTER; + else if (strcasecmp (value, "fill") == 0) + options.data.text_align = GTK_JUSTIFY_FILL; else g_printerr (_("Unknown align type: %s\n"), value); @@ -1052,50 +632,53 @@ } static gboolean -add_column (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +add_column (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { YadColumn *col; gchar **cstr = split_arg (value); col = g_new0 (YadColumn, 1); col->name = g_strdup (cstr0); - if (g_ascii_strcasecmp (cstr0, "@fore@") == 0) + if (strcasecmp (cstr0, "@fore@") == 0) col->type = YAD_COLUMN_ATTR_FORE; - else if (g_ascii_strcasecmp (cstr0, "@back@") == 0) + else if (strcasecmp (cstr0, "@back@") == 0) col->type = YAD_COLUMN_ATTR_BACK; - else if (g_ascii_strcasecmp (cstr0, "@font@") == 0) + else if (strcasecmp (cstr0, "@font@") == 0) col->type = YAD_COLUMN_ATTR_FONT; else { if (cstr1) - { - if (g_ascii_strcasecmp (cstr1, "NUM") == 0) - col->type = YAD_COLUMN_NUM ; - else if (g_ascii_strcasecmp (cstr1, "CHK") == 0) - col->type = YAD_COLUMN_CHECK; - else if (g_ascii_strcasecmp (cstr1, "FLT") == 0) - col->type = YAD_COLUMN_FLOAT; - else if (g_ascii_strcasecmp (cstr1, "IMG") == 0) - col->type = YAD_COLUMN_IMAGE; - else if (g_ascii_strcasecmp (cstr1, "TIP") == 0) - col->type = YAD_COLUMN_TOOLTIP; - else - col->type = YAD_COLUMN_TEXT; - } + { + if (strcasecmp (cstr1, "NUM") == 0) + col->type = YAD_COLUMN_NUM; + else if (strcasecmp (cstr1, "CHK") == 0) + col->type = YAD_COLUMN_CHECK; + else if (strcasecmp (cstr1, "RD") == 0) + col->type = YAD_COLUMN_RADIO; + else if (strcasecmp (cstr1, "FLT") == 0) + col->type = YAD_COLUMN_FLOAT; + else if (strcasecmp (cstr1, "IMG") == 0) + col->type = YAD_COLUMN_IMAGE; + else if (strcasecmp (cstr1, "HD") == 0) + col->type = YAD_COLUMN_HIDDEN; + else if (strcasecmp (cstr1, "BAR") == 0) + col->type = YAD_COLUMN_BAR; + else if (strcasecmp (cstr1, "SZ") == 0) + col->type = YAD_COLUMN_SIZE; + else + col->type = YAD_COLUMN_TEXT; + } else - col->type = YAD_COLUMN_TEXT; + col->type = YAD_COLUMN_TEXT; } - options.list_data.columns = - g_slist_append (options.list_data.columns, col); + options.list_data.columns = g_slist_append (options.list_data.columns, col); g_strfreev (cstr); return TRUE; } static gboolean -add_field (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +add_field (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { YadField *fld; gchar **fstr = split_arg (value); @@ -1104,53 +687,61 @@ fld->name = g_strdup (fstr0); if (fstr1) { - if (g_ascii_strcasecmp (fstr1, "H") == 0) - fld->type = YAD_FIELD_HIDDEN; - else if (g_ascii_strcasecmp (fstr1, "RO") == 0) - fld->type = YAD_FIELD_READ_ONLY; - else if (g_ascii_strcasecmp (fstr1, "NUM") == 0) - fld->type = YAD_FIELD_NUM; - else if (g_ascii_strcasecmp (fstr1, "CHK") == 0) - fld->type = YAD_FIELD_CHECK; - else if (g_ascii_strcasecmp (fstr1, "CB") == 0) - fld->type = YAD_FIELD_COMBO; - else if (g_ascii_strcasecmp (fstr1, "CBE") == 0) - fld->type = YAD_FIELD_COMBO_ENTRY; - else if (g_ascii_strcasecmp (fstr1, "FL") == 0) - fld->type = YAD_FIELD_FILE; - else if (g_ascii_strcasecmp (fstr1, "SFL") == 0) - fld->type = YAD_FIELD_FILE_SAVE; - else if (g_ascii_strcasecmp (fstr1, "DIR") == 0) - fld->type = YAD_FIELD_DIR; - else if (g_ascii_strcasecmp (fstr1, "CDIR") == 0) - fld->type = YAD_FIELD_DIR_CREATE; - else if (g_ascii_strcasecmp (fstr1, "FN") == 0) - fld->type = YAD_FIELD_FONT; - else if (g_ascii_strcasecmp (fstr1, "CLR") == 0) - fld->type = YAD_FIELD_COLOR; - else if (g_ascii_strcasecmp (fstr1, "MFL") == 0) - fld->type = YAD_FIELD_MFILE; - else if (g_ascii_strcasecmp (fstr1, "DT") == 0) - fld->type = YAD_FIELD_DATE; - else if (g_ascii_strcasecmp (fstr1, "BTN") == 0) - fld->type = YAD_FIELD_BUTTON; - else if (g_ascii_strcasecmp (fstr1, "LBL") == 0) - fld->type = YAD_FIELD_LABEL; + if (strcasecmp (fstr1, "H") == 0) + fld->type = YAD_FIELD_HIDDEN; + else if (strcasecmp (fstr1, "RO") == 0) + fld->type = YAD_FIELD_READ_ONLY; + else if (strcasecmp (fstr1, "NUM") == 0) + fld->type = YAD_FIELD_NUM; + else if (strcasecmp (fstr1, "CHK") == 0) + fld->type = YAD_FIELD_CHECK; + else if (strcasecmp (fstr1, "CB") == 0) + fld->type = YAD_FIELD_COMBO; + else if (strcasecmp (fstr1, "CBE") == 0) + fld->type = YAD_FIELD_COMBO_ENTRY; + else if (strcasecmp (fstr1, "CE") == 0) + fld->type = YAD_FIELD_COMPLETE; + else if (strcasecmp (fstr1, "FL") == 0) + fld->type = YAD_FIELD_FILE; + else if (strcasecmp (fstr1, "SFL") == 0) + fld->type = YAD_FIELD_FILE_SAVE; + else if (strcasecmp (fstr1, "DIR") == 0) + fld->type = YAD_FIELD_DIR; + else if (strcasecmp (fstr1, "CDIR") == 0) + fld->type = YAD_FIELD_DIR_CREATE; + else if (strcasecmp (fstr1, "FN") == 0) + fld->type = YAD_FIELD_FONT; + else if (strcasecmp (fstr1, "CLR") == 0) + fld->type = YAD_FIELD_COLOR; + else if (strcasecmp (fstr1, "MFL") == 0) + fld->type = YAD_FIELD_MFILE; + else if (strcasecmp (fstr1, "MDIR") == 0) + fld->type = YAD_FIELD_MDIR; + else if (strcasecmp (fstr1, "DT") == 0) + fld->type = YAD_FIELD_DATE; + else if (strcasecmp (fstr1, "SCL") == 0) + fld->type = YAD_FIELD_SCALE; + else if (strcasecmp (fstr1, "BTN") == 0) + fld->type = YAD_FIELD_BUTTON; + else if (strcasecmp (fstr1, "FBTN") == 0) + fld->type = YAD_FIELD_FULL_BUTTON; + else if (strcasecmp (fstr1, "LBL") == 0) + fld->type = YAD_FIELD_LABEL; + else if (strcasecmp (fstr1, "TXT") == 0) + fld->type = YAD_FIELD_TEXT; else - fld->type = YAD_FIELD_SIMPLE; + fld->type = YAD_FIELD_SIMPLE; } else fld->type = YAD_FIELD_SIMPLE; - options.form_data.fields = - g_slist_append (options.form_data.fields, fld); + options.form_data.fields = g_slist_append (options.form_data.fields, fld); g_strfreev (fstr); return TRUE; } static gboolean -add_bar (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +add_bar (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { YadProgressBar *bar; gchar **bstr = split_arg (value); @@ -1159,25 +750,30 @@ bar->name = g_strdup (bstr0); if (bstr1) { - if (g_ascii_strcasecmp (bstr1, "RTL") == 0) - bar->type = YAD_PROGRESS_RTL; - else if (g_ascii_strcasecmp (bstr1, "PULSE") == 0) - bar->type = YAD_PROGRESS_PULSE; + if (strcasecmp (bstr1, "RTL") == 0) + bar->type = YAD_PROGRESS_RTL; + else if (strcasecmp (bstr1, "PULSE") == 0) + bar->type = YAD_PROGRESS_PULSE; else - bar->type = YAD_PROGRESS_NORMAL; + bar->type = YAD_PROGRESS_NORMAL; } else bar->type = YAD_PROGRESS_NORMAL; - options.multi_progress_data.bars = - g_slist_append (options.multi_progress_data.bars, bar); + options.multi_progress_data.bars = g_slist_append (options.multi_progress_data.bars, bar); g_strfreev (bstr); return TRUE; } static gboolean -add_scale_mark (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +add_tab (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + options.notebook_data.tabs = g_slist_append (options.notebook_data.tabs, g_strdup (value)); + return TRUE; +} + +static gboolean +add_scale_mark (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { YadScaleMark *mark; gchar **mstr = split_arg (value); @@ -1201,8 +797,7 @@ } static gboolean -add_palette (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +add_palette (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { options.color_data.use_palette = TRUE; if (value) @@ -1212,8 +807,7 @@ } static gboolean -add_confirm_overwrite (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +add_confirm_overwrite (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { options.file_data.confirm_overwrite = TRUE; if (value) @@ -1223,15 +817,111 @@ } static gboolean -set_align (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +add_file_filter (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + GtkFileFilter *filter = gtk_file_filter_new (); + + /* add image filter */ + if (strcmp (option_name, "--image-filter") == 0) + { + gtk_file_filter_set_name (filter, value ? value : _("Images")); + gtk_file_filter_add_pixbuf_formats (filter); + options.common_data.filters = g_list_append (options.common_data.filters, filter); + } + else + { + gint i; + gchar **pattern, **patterns; + gchar *name = NULL; + gboolean is_mime = (strcmp (option_name, "--mime-filter") == 0); + + /* Set name */ + for (i = 0; valuei != '\0'; i++) + { + if (valuei == '|') + break; + } + + if (valuei == '|') + name = g_strstrip (g_strndup (value, i)); + + if (name) + { + gtk_file_filter_set_name (filter, name); + + /* Point i to the right position for split */ + for (++i; valuei == ' '; i++); + } + else + { + gtk_file_filter_set_name (filter, value); + i = 0; + } + + /* Get patterns */ + patterns = g_strsplit_set (value + i, " ", -1); + + if (is_mime) + { + for (pattern = patterns; *pattern; pattern++) + gtk_file_filter_add_mime_type (filter, *pattern); + } + else + { + for (pattern = patterns; *pattern; pattern++) + gtk_file_filter_add_pattern (filter, *pattern); + } + + g_free (name); + g_strfreev (patterns); + + options.common_data.filters = g_list_append (options.common_data.filters, filter); + } + + return TRUE; +} + +static gboolean +set_color_mode (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + if (strcasecmp (value, "hex") == 0) + options.color_data.mode = YAD_COLOR_HEX; + else if (strcasecmp (value, "rgb") == 0) + options.color_data.mode = YAD_COLOR_RGB; + else + g_printerr (_("Unknown color mode: %s\n"), value); + + return TRUE; +} + +static gboolean +set_buttons_layout (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { - if (g_ascii_strcasecmp (value, "left") == 0) - options.form_data.align = 0.0; - else if (g_ascii_strcasecmp (value, "right") == 0) - options.form_data.align = 1.0; - else if (g_ascii_strcasecmp (value, "center") == 0) - options.form_data.align = 0.5; + if (strcasecmp (value, "spread") == 0) + options.data.buttons_layout = GTK_BUTTONBOX_SPREAD; + else if (strcasecmp (value, "edge") == 0) + options.data.buttons_layout = GTK_BUTTONBOX_EDGE; + else if (strcasecmp (value, "start") == 0) + options.data.buttons_layout = GTK_BUTTONBOX_START; + else if (strcasecmp (value, "end") == 0) + options.data.buttons_layout = GTK_BUTTONBOX_END; + else if (strcasecmp (value, "center") == 0) + options.data.buttons_layout = GTK_BUTTONBOX_CENTER; + else + g_printerr (_("Unknown buttons layout type: %s\n"), value); + + return TRUE; +} + +static gboolean +set_align (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + if (strcasecmp (value, "left") == 0) + options.common_data.align = 0.0; + else if (strcasecmp (value, "right") == 0) + options.common_data.align = 1.0; + else if (strcasecmp (value, "center") == 0) + options.common_data.align = 0.5; else g_printerr (_("Unknown align type: %s\n"), value); @@ -1239,16 +929,15 @@ } static gboolean -set_justify (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +set_justify (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { - if (g_ascii_strcasecmp (value, "left") == 0) + if (strcasecmp (value, "left") == 0) options.text_data.justify = GTK_JUSTIFY_LEFT; - else if (g_ascii_strcasecmp (value, "right") == 0) + else if (strcasecmp (value, "right") == 0) options.text_data.justify = GTK_JUSTIFY_RIGHT; - else if (g_ascii_strcasecmp (value, "center") == 0) + else if (strcasecmp (value, "center") == 0) options.text_data.justify = GTK_JUSTIFY_CENTER; - else if (g_ascii_strcasecmp (value, "fill") == 0) + else if (strcasecmp (value, "fill") == 0) options.text_data.justify = GTK_JUSTIFY_FILL; else g_printerr (_("Unknown justification type: %s\n"), value); @@ -1257,8 +946,24 @@ } static gboolean -set_expander (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +set_tab_pos (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + if (strcasecmp (value, "top") == 0) + options.notebook_data.pos = GTK_POS_TOP; + else if (strcasecmp (value, "bottom") == 0) + options.notebook_data.pos = GTK_POS_BOTTOM; + else if (strcasecmp (value, "left") == 0) + options.notebook_data.pos = GTK_POS_LEFT; + else if (strcasecmp (value, "right") == 0) + options.notebook_data.pos = GTK_POS_RIGHT; + else + g_printerr (_("Unknown tab position type: %s\n"), value); + + return TRUE; +} + +static gboolean +set_expander (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { if (value) options.data.expander = g_strdup (value); @@ -1268,8 +973,7 @@ } static gboolean -set_scale_value (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +set_scale_value (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { options.scale_data.value = atoi (value); options.scale_data.have_value = TRUE; @@ -1278,16 +982,15 @@ } static gboolean -set_ellipsize (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +set_ellipsize (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { - if (g_ascii_strcasecmp (value, "none") == 0) + if (strcasecmp (value, "none") == 0) options.list_data.ellipsize = PANGO_ELLIPSIZE_NONE; - else if (g_ascii_strcasecmp (value, "start") == 0) + else if (strcasecmp (value, "start") == 0) options.list_data.ellipsize = PANGO_ELLIPSIZE_START; - else if (g_ascii_strcasecmp (value, "middle") == 0) + else if (strcasecmp (value, "middle") == 0) options.list_data.ellipsize = PANGO_ELLIPSIZE_MIDDLE; - else if (g_ascii_strcasecmp (value, "end") == 0) + else if (strcasecmp (value, "end") == 0) options.list_data.ellipsize = PANGO_ELLIPSIZE_END; else g_printerr (_("Unknown ellipsize type: %s\n"), value); @@ -1296,14 +999,26 @@ } static gboolean -set_print_type (const gchar *option_name, const gchar *value, - gpointer data, GError **err) +set_orient (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + if (strncasecmp (value, "hor", 3) == 0) + options.paned_data.orient = GTK_ORIENTATION_HORIZONTAL; + else if (strncasecmp (value, "vert", 4) == 0) + options.print_data.type = GTK_ORIENTATION_VERTICAL; + else + g_printerr (_("Unknown orientation: %s\n"), value); + + return TRUE; +} + +static gboolean +set_print_type (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { - if (g_ascii_strcasecmp (value, "text") == 0) + if (strcasecmp (value, "text") == 0) options.print_data.type = YAD_PRINT_TEXT; - else if (g_ascii_strcasecmp (value, "image") == 0) + else if (strcasecmp (value, "image") == 0) options.print_data.type = YAD_PRINT_IMAGE; - else if (g_ascii_strcasecmp (value, "raw") == 0) + else if (strcasecmp (value, "raw") == 0) options.print_data.type = YAD_PRINT_RAW; else g_printerr (_("Unknown source type: %s\n"), value); @@ -1311,6 +1026,154 @@ return TRUE; } +static gboolean +set_progress_log (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + if (value) + options.progress_data.log = g_strdup (value); + else + options.progress_data.log = _("Progress log"); + + return TRUE; +} + +static gboolean +set_size (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + if (strcasecmp (value, "fit") == 0) + options.picture_data.size = YAD_PICTURE_FIT; + else if (strcasecmp (value, "orig") == 0) + options.picture_data.size = YAD_PICTURE_ORIG; + else + g_printerr (_("Unknown size type: %s\n"), value); + + return TRUE; +} + +static gboolean +add_image_path (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + if (value) + gtk_icon_theme_append_search_path (settings.icon_theme, value); + + return TRUE; +} + +static gboolean +set_complete_type (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + if (strcasecmp (value, "any") == 0) + options.common_data.complete = YAD_COMPLETE_ANY; + else if (strcasecmp (value, "all") == 0) + options.common_data.complete = YAD_COMPLETE_ALL; + else if (strcasecmp (value, "regex") == 0) + options.common_data.complete = YAD_COMPLETE_REGEX; + else + g_printerr (_("Unknown completion type: %s\n"), value); + + return TRUE; +} + +#ifndef G_OS_WIN32 +static gboolean +parse_signal (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + guint sn = 0; + + if (!value || !value0) + { + options.kill_parent = SIGTERM; + return TRUE; + } + + sn = (guint) strtol (value, NULL, 0); + if (!sn) + { + guint ofst = 0; + + if (strncmp (value, "SIG", 3) == 0) + ofst = 3; + + /* signals names from bits/sn.h */ + if (strcmp (value + ofst, "HUP") == 0) + sn = SIGHUP; + else if (strcmp (value + ofst, "INT") == 0) + sn = SIGINT; + else if (strcmp (value + ofst, "QUIT") == 0) + sn = SIGQUIT; + else if (strcmp (value + ofst, "ILL") == 0) + sn = SIGILL; + else if (strcmp (value + ofst, "TRAP") == 0) + sn = SIGTRAP; + else if (strcmp (value + ofst, "ABRT") == 0) + sn = SIGABRT; + else if (strcmp (value + ofst, "IOT") == 0) + sn = SIGIOT; + else if (strcmp (value + ofst, "BUS") == 0) + sn = SIGBUS; + else if (strcmp (value + ofst, "FPE") == 0) + sn = SIGFPE; + else if (strcmp (value + ofst, "KILL") == 0) + sn = SIGKILL; + else if (strcmp (value + ofst, "USR1") == 0) + sn = SIGUSR1; + else if (strcmp (value + ofst, "SEGV") == 0) + sn = SIGSEGV; + else if (strcmp (value + ofst, "USR2") == 0) + sn = SIGUSR2; + else if (strcmp (value + ofst, "PIPE") == 0) + sn = SIGPIPE; + else if (strcmp (value + ofst, "ALRM") == 0) + sn = SIGPIPE; + else if (strcmp (value + ofst, "TERM") == 0) + sn = SIGTERM; +#ifdef SIGSTKFLT + else if (strcmp (value + ofst, "STKFLT") == 0) + sn = SIGSTKFLT; +#endif + else if (strcmp (value + ofst, "CHLD") == 0 || strcmp (value + ofst, "CLD") == 0) + sn = SIGCHLD; + else if (strcmp (value + ofst, "CONT") == 0) + sn = SIGCONT; + else if (strcmp (value + ofst, "STOP") == 0) + sn = SIGSTOP; + else if (strcmp (value + ofst, "TSTP") == 0) + sn = SIGTSTP; + else if (strcmp (value + ofst, "TTIN") == 0) + sn = SIGTTIN; + else if (strcmp (value + ofst, "TTOU") == 0) + sn = SIGTTOU; + else if (strcmp (value + ofst, "URG") == 0) + sn = SIGURG; + else if (strcmp (value + ofst, "XCPU") == 0) + sn = SIGXCPU; + else if (strcmp (value + ofst, "XFSZ") == 0) + sn = SIGXFSZ; + else if (strcmp (value + ofst, "VTALRM") == 0) + sn = SIGVTALRM; + else if (strcmp (value + ofst, "PROF") == 0) + sn = SIGPROF; + else if (strcmp (value + ofst, "WINCH") == 0) + sn = SIGWINCH; + else if (strcmp (value + ofst, "IO") == 0 || strcmp (value + ofst, "POLL") == 0) + sn = SIGIO; +#ifdef SIGPWR + else if (strcmp (value + ofst, "PWR") == 0) + sn = SIGPWR; +#endif + else if (strcmp (value + ofst, "SYS") == 0) + sn = SIGSYS; + } + + if (sn > 0 && sn < NSIG) + options.kill_parent = sn; + else + g_printerr (_("Unknown signal: %s\n"), value); + + return TRUE; +} +#endif + void yad_set_mode (void) { @@ -1328,14 +1191,24 @@ options.mode = YAD_MODE_FONT; else if (form_mode) options.mode = YAD_MODE_FORM; +#ifdef HAVE_HTML + else if (html_mode) + options.mode = YAD_MODE_HTML; +#endif else if (icons_mode) options.mode = YAD_MODE_ICONS; else if (list_mode) options.mode = YAD_MODE_LIST; else if (multi_progress_mode) options.mode = YAD_MODE_MULTI_PROGRESS; + else if (notebook_mode) + options.mode = YAD_MODE_NOTEBOOK; else if (notification_mode) options.mode = YAD_MODE_NOTIFICATION; + else if (paned_mode) + options.mode = YAD_MODE_PANED; + else if (picture_mode) + options.mode = YAD_MODE_PICTURE; else if (print_mode) options.mode = YAD_MODE_PRINT; else if (progress_mode) @@ -1355,12 +1228,19 @@ { /* Set default mode */ options.mode = YAD_MODE_MESSAGE; + options.rest_file = NULL; options.extra_data = NULL; + options.gtkrc_file = NULL; #ifndef G_OS_WIN32 - options.kill_parent = FALSE; + options.parent = 0; + options.kill_parent = 0; options.print_xid = FALSE; #endif + /* plug settings */ + options.plug = -1; + options.tabnum = 0; + /* Initialize general data */ options.data.dialog_title = NULL; options.data.window_icon = "yad"; @@ -1368,7 +1248,7 @@ options.data.height = settings.height; options.data.geometry = NULL; options.data.dialog_text = NULL; - options.data.text_align = 0.0; + options.data.text_align = GTK_JUSTIFY_LEFT; options.data.dialog_image = NULL; options.data.image_on_top = FALSE; options.data.icon_theme = NULL; @@ -1377,11 +1257,10 @@ options.data.to_indicator = settings.to_indicator; options.data.buttons = NULL; options.data.no_buttons = FALSE; -#if !GTK_CHECK_VERSION(2,22,0) - options.data.dialog_sep = settings.dlg_sep; -#endif + options.data.buttons_layout = GTK_BUTTONBOX_END; options.data.borders = -1; options.data.no_markup = FALSE; + options.data.no_escape = FALSE; options.data.always_print = FALSE; options.data.selectable_labels = FALSE; @@ -1393,6 +1272,10 @@ options.data.mouse = FALSE; options.data.undecorated = FALSE; options.data.skip_taskbar = FALSE; + options.data.maximized = FALSE; + options.data.fullscreen = FALSE; + options.data.splash = FALSE; + options.data.focus = TRUE; /* Initialize common data */ options.common_data.uri = NULL; @@ -1402,8 +1285,22 @@ options.common_data.multi = FALSE; options.common_data.editable = FALSE; options.common_data.command = NULL; - options.common_data.date_format = "%x"; + options.common_data.date_format = settings.date_format; + options.common_data.float_precision = 3; options.common_data.vertical = FALSE; + options.common_data.align = 0.0; + options.common_data.listen = FALSE; + options.common_data.preview = FALSE; + options.common_data.show_hidden = FALSE; + options.common_data.quoted_output = FALSE; + options.common_data.num_output = FALSE; + options.common_data.filters = NULL; + options.common_data.key = -1; + options.common_data.complete = YAD_COMPLETE_SIMPLE; +#ifdef HAVE_SPELL + options.common_data.enable_spell = FALSE; + options.common_data.spell_lang = NULL; +#endif /* Initialize calendar data */ options.calendar_data.day = -1; @@ -1413,9 +1310,13 @@ /* Initialize color data */ options.color_data.init_color = NULL; + options.color_data.gtk_palette = FALSE; options.color_data.use_palette = FALSE; + options.color_data.expand_palette = FALSE; options.color_data.palette = NULL; options.color_data.extra = FALSE; + options.color_data.alpha = FALSE; + options.color_data.mode = YAD_COLOR_HEX; /* Initialize DND data */ options.dnd_data.tooltip = FALSE; @@ -1436,50 +1337,91 @@ options.file_data.save = FALSE; options.file_data.confirm_overwrite = FALSE; options.file_data.confirm_text = N_("File exist. Overwrite?"); - options.file_data.filter = NULL; + options.file_data.file_filt = NULL; + options.file_data.mime_filt = NULL; + options.file_data.image_filt = NULL; /* Initialize font data */ options.font_data.preview = NULL; + options.font_data.separate_output = FALSE; /* Initialize form data */ options.form_data.fields = NULL; - options.form_data.align = 0.0; options.form_data.columns = 1; + options.form_data.scroll = FALSE; + options.form_data.output_by_row = FALSE; + options.form_data.focus_field = 1; + options.form_data.cycle_read = FALSE; + +#ifdef HAVE_HTML + /* Initialize html data */ + options.html_data.uri = NULL; + options.html_data.browser = FALSE; + options.html_data.print_uri = FALSE; + options.html_data.mime = NULL; + options.html_data.encoding = NULL; +#endif /* Initialize icons data */ options.icons_data.directory = NULL; options.icons_data.compact = FALSE; options.icons_data.generic = FALSE; - options.icons_data.stdinput = FALSE; options.icons_data.width = -1; options.icons_data.term = settings.term; options.icons_data.sort_by_name = FALSE; options.icons_data.descend = FALSE; + options.icons_data.single_click = FALSE; +#ifdef HAVE_GIO + options.icons_data.monitor = FALSE; +#endif /* Initialize list data */ options.list_data.columns = NULL; options.list_data.no_headers = FALSE; options.list_data.checkbox = FALSE; + options.list_data.radiobox = FALSE; options.list_data.print_all = FALSE; + options.list_data.rules_hint = TRUE; options.list_data.print_column = 0; options.list_data.hide_column = 0; - options.list_data.expand_column = -1; // must be -1 for disable expand by default (keep the original behavior) + options.list_data.expand_column = -1; // must be -1 for disable expand by default (keep the original behavior) options.list_data.search_column = 0; + options.list_data.tooltip_column = 0; + options.list_data.sep_column = 0; + options.list_data.sep_value = NULL; options.list_data.limit = 0; options.list_data.ellipsize = PANGO_ELLIPSIZE_NONE; options.list_data.dclick_action = NULL; + options.list_data.select_action = NULL; options.list_data.regex_search = FALSE; + options.list_data.clickable = TRUE; + options.list_data.no_selection = FALSE; /* Initialize multiprogress data */ options.multi_progress_data.bars = NULL; + options.multi_progress_data.watch_bar = 0; + + /* Initialize notebook data */ + options.notebook_data.tabs = NULL; + options.notebook_data.borders = 5; + options.notebook_data.pos = GTK_POS_TOP; /* Initialize notification data */ - options.notification_data.listen = FALSE; + options.notification_data.middle = TRUE; + options.notification_data.hidden = FALSE; + options.notification_data.menu = NULL; + + /* Initialize paned data */ + options.paned_data.orient = GTK_ORIENTATION_VERTICAL; + options.paned_data.splitter = -1; + + /* Initialize picture data */ + options.picture_data.size = YAD_PICTURE_ORIG; + options.picture_data.inc = 5; /* Initialize print data */ options.print_data.type = YAD_PRINT_TEXT; options.print_data.headers = FALSE; - options.print_data.preview = FALSE; /* Initialize progress data */ options.progress_data.progress_text = NULL; @@ -1490,6 +1432,10 @@ options.progress_data.autokill = FALSE; #endif options.progress_data.rtl = FALSE; + options.progress_data.log = NULL; + options.progress_data.log_expanded = FALSE; + options.progress_data.log_on_top = FALSE; + options.progress_data.log_height = -1; /* Initialize scale data */ options.scale_data.value = 0; @@ -1508,7 +1454,16 @@ options.text_data.back = NULL; options.text_data.wrap = FALSE; options.text_data.justify = GTK_JUSTIFY_LEFT; + options.text_data.margins = 0; options.text_data.tail = FALSE; + options.text_data.uri = FALSE; + options.text_data.hide_cursor = TRUE; + options.text_data.uri_color = "blue"; + +#ifdef HAVE_SOURCEVIEW + /* Initialize text data */ + options.source_data.lang = NULL; +#endif } GOptionContext * @@ -1517,124 +1472,155 @@ GOptionContext *tmp_ctx; GOptionGroup *a_group; - tmp_ctx = g_option_context_new (_("Yet another dialoging program")); + tmp_ctx = g_option_context_new (_("- Yet another dialoging program")); g_option_context_add_main_entries (tmp_ctx, rest_options, GETTEXT_PACKAGE); /* Adds general option entries */ - a_group = g_option_group_new ("general", _("General options"), - _("Show general options"), NULL, NULL); + a_group = g_option_group_new ("general", _("General options"), _("Show general options"), NULL, NULL); g_option_group_add_entries (a_group, general_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); + /* Adds common option entries */ + a_group = g_option_group_new ("common", _("Common options"), _("Show common options"), NULL, NULL); + g_option_group_add_entries (a_group, common_options); + g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); + g_option_context_add_group (tmp_ctx, a_group); + /* Adds calendar option entries */ - a_group = g_option_group_new ("calendar", _("Calendar options"), - _("Show calendar options"), NULL, NULL); + a_group = g_option_group_new ("calendar", _("Calendar options"), _("Show calendar options"), NULL, NULL); g_option_group_add_entries (a_group, calendar_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); /* Adds color option entries */ - a_group = g_option_group_new ("color", _("Color selection options"), - _("Show color selection options"), NULL, NULL); + a_group = g_option_group_new ("color", _("Color selection options"), _("Show color selection options"), NULL, NULL); g_option_group_add_entries (a_group, color_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); /* Adds dnd option entries */ - a_group = g_option_group_new ("dnd", _("DND options"), - _("Show drag-n-drop options"), NULL, NULL); + a_group = g_option_group_new ("dnd", _("DND options"), _("Show drag-n-drop options"), NULL, NULL); g_option_group_add_entries (a_group, dnd_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); /* Adds entry option entries */ - a_group = g_option_group_new ("entry", _("Text entry options"), - _("Show text entry options"), NULL, NULL); + a_group = g_option_group_new ("entry", _("Text entry options"), _("Show text entry options"), NULL, NULL); g_option_group_add_entries (a_group, entry_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); /* Adds file selection option entries */ - a_group = g_option_group_new ("file", _("File selection options"), - _("Show file selection options"), NULL, NULL); + a_group = g_option_group_new ("file", _("File selection options"), _("Show file selection options"), NULL, NULL); g_option_group_add_entries (a_group, file_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); /* Add font selection option entries */ - a_group = g_option_group_new ("font", _("Font selection options"), - _("Show font selection options"), NULL, NULL); + a_group = g_option_group_new ("font", _("Font selection options"), _("Show font selection options"), NULL, NULL); g_option_group_add_entries (a_group, font_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); /* Add form option entries */ - a_group = g_option_group_new ("form", _("Form options"), - _("Show form options"), NULL, NULL); + a_group = g_option_group_new ("form", _("Form options"), _("Show form options"), NULL, NULL); g_option_group_add_entries (a_group, form_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); +#ifdef HAVE_HTML + /* Add html options entries */ + a_group = g_option_group_new ("html", _("HTML options"), _("Show HTML options"), NULL, NULL); + g_option_group_add_entries (a_group, html_options); + g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); + g_option_context_add_group (tmp_ctx, a_group); +#endif + /* Add icons option entries */ - a_group = g_option_group_new ("icons", _("Icons box options"), - _("Show icons box options"), NULL, NULL); + a_group = g_option_group_new ("icons", _("Icons box options"), _("Show icons box options"), NULL, NULL); g_option_group_add_entries (a_group, icons_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); /* Adds list option entries */ - a_group = g_option_group_new ("list", _("List options"), - _("Show list options"), NULL, NULL); + a_group = g_option_group_new ("list", _("List options"), _("Show list options"), NULL, NULL); g_option_group_add_entries (a_group, list_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); /* Adds multi progress option entries */ a_group = g_option_group_new ("multi-progress", _("Multi progress bars options"), - _("Show Multi progress bars options"), NULL, NULL); + _("Show multi progress bars options"), NULL, NULL); g_option_group_add_entries (a_group, multi_progress_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); + /* Adds notebook option entries */ + a_group = g_option_group_new ("notebook", _("Notebook options"), _("Show notebook dialog options"), NULL, NULL); + g_option_group_add_entries (a_group, notebook_options); + g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); + g_option_context_add_group (tmp_ctx, a_group); + /* Adds notification option entries */ a_group = g_option_group_new ("notification", _("Notification icon options"), - _("Show notification icon options"), NULL, NULL); + _("Show notification icon options"), NULL, NULL); g_option_group_add_entries (a_group, notification_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); + /* Adds paned option entries */ + a_group = g_option_group_new ("paned", _("Paned dialog options"), _("Show paned dialog options"), NULL, NULL); + g_option_group_add_entries (a_group, paned_options); + g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); + g_option_context_add_group (tmp_ctx, a_group); + + /* Adds picture option entries */ + a_group = g_option_group_new ("picture", _("Picture dialog options"), _("Show picture dialog options"), NULL, NULL); + g_option_group_add_entries (a_group, picture_options); + g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); + g_option_context_add_group (tmp_ctx, a_group); + /* Adds print option entries */ - a_group = g_option_group_new ("print", _("Print dialog options"), - _("Show print dialog options"), NULL, NULL); + a_group = g_option_group_new ("print", _("Print dialog options"), _("Show print dialog options"), NULL, NULL); g_option_group_add_entries (a_group, print_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); /* Adds progress option entries */ - a_group = g_option_group_new ("progress", _("Progress options"), - _("Show progress options"), NULL, NULL); + a_group = g_option_group_new ("progress", _("Progress options"), _("Show progress options"), NULL, NULL); g_option_group_add_entries (a_group, progress_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); /* Adds scale option entries */ - a_group = g_option_group_new ("scale", _("Scale options"), - _("Show scale options"), NULL, NULL); + a_group = g_option_group_new ("scale", _("Scale options"), _("Show scale options"), NULL, NULL); g_option_group_add_entries (a_group, scale_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); /* Adds text option entries */ - a_group = g_option_group_new ("text", _("Text information options"), - _("Show text information options"), NULL, NULL); + a_group = g_option_group_new ("text", _("Text information options"), _("Show text information options"), NULL, NULL); g_option_group_add_entries (a_group, text_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); +#ifdef HAVE_SOURCEVIEW + /* Adds sourceview option entries */ + a_group = g_option_group_new ("source", _("SourceView options"), _("Show SourceView options"), NULL, NULL); + g_option_group_add_entries (a_group, source_options); + g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); + g_option_context_add_group (tmp_ctx, a_group); +#endif + + /* Adds file filters option entries */ + a_group = g_option_group_new ("filter", _("File filter options"), _("Show file filter options"), NULL, NULL); + g_option_group_add_entries (a_group, filter_options); + g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); + g_option_context_add_group (tmp_ctx, a_group); + /* Adds miscellaneous option entries */ - a_group = g_option_group_new ("misc", _("Miscellaneous options"), - _("Show miscellaneous options"), NULL, NULL); + a_group = g_option_group_new ("misc", _("Miscellaneous options"), _("Show miscellaneous options"), NULL, NULL); g_option_group_add_entries (a_group, misc_options); g_option_group_set_translation_domain (a_group, GETTEXT_PACKAGE); g_option_context_add_group (tmp_ctx, a_group); @@ -1644,7 +1630,7 @@ g_option_context_add_group (tmp_ctx, a_group); g_option_context_set_help_enabled (tmp_ctx, TRUE); - g_option_context_set_ignore_unknown_options (tmp_ctx, FALSE); + g_option_context_set_ignore_unknown_options (tmp_ctx, settings.ignore_unknown); return tmp_ctx; }
View file
yad-0.36.2.tar.xz/src/paned.c
Added
@@ -0,0 +1,124 @@ +/* + * This file is part of YAD. + * + * YAD is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * YAD 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 YAD. If not, see <http://www.gnu.org/licenses/>. + * + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> + */ + +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> +#include <stdlib.h> +#include <unistd.h> + +#include <sys/ipc.h> +#include <sys/shm.h> + +#include <X11/Xlib.h> +#include <X11/Xatom.h> +#include <X11/Xutil.h> +#include <gdk/gdk.h> + +#include "yad.h" + +static GtkWidget *paned; + +GtkWidget * +paned_create_widget (GtkWidget * dlg) +{ + GtkWidget *w, *s; + + /* get shared memory */ + tabs = get_tabs (options.common_data.key, TRUE); + if (!tabs) + exit (-1); + + /* create widget */ + if (options.paned_data.orient == GTK_ORIENTATION_HORIZONTAL) + paned = w = gtk_hpaned_new (); + else + paned = w = gtk_vpaned_new (); + + gtk_paned_set_position (GTK_PANED (w), options.paned_data.splitter); + + s = gtk_socket_new (); + gtk_paned_add1 (GTK_PANED (w), s); + g_object_set_data (G_OBJECT (w), "s1", s); + + s = gtk_socket_new (); + gtk_paned_add2 (GTK_PANED (w), s); + g_object_set_data (G_OBJECT (w), "s2", s); + + return w; +} + +void +paned_swallow_childs (void) +{ + GtkWidget *s1, *s2; + + s1 = GTK_WIDGET (g_object_get_data (G_OBJECT (paned), "s1")); + s2 = GTK_WIDGET (g_object_get_data (G_OBJECT (paned), "s2")); + + /* wait until all children are register */ + while (tabs0.xid != 2) + usleep (1000); + + if (tabs1.pid != -1) + gtk_socket_add_id (GTK_SOCKET (s1), tabs1.xid); + if (tabs2.pid != -1) + gtk_socket_add_id (GTK_SOCKET (s2), tabs2.xid); +} + +void +paned_print_result (void) +{ + if (tabs1.pid != -1) + kill (tabs1.pid, SIGUSR1); + if (tabs2.pid != -1) + kill (tabs2.pid, SIGUSR1); +} + +void +paned_close_childs (void) +{ + guint i; + struct shmid_ds buf; + gboolean is_running = TRUE; + + if (tabs1.pid != -1) + kill (tabs1.pid, SIGUSR2); + if (tabs2.pid != -1) + kill (tabs2.pid, SIGUSR2); + + /* wait for stop subprocesses */ + while (is_running) + { + is_running = FALSE; + for (i = 1; i <= 3; i++) + { + if (tabsi.pid != -1 && kill (tabsi.pid, 0) == 0) + { + is_running = TRUE; + break; + } + } + usleep (1000); + } + + /* cleanup shared memory */ + shmctl (tabs0.pid, IPC_RMID, &buf); + shmdt (tabs); +}
View file
yad-0.36.2.tar.xz/src/picture.c
Added
@@ -0,0 +1,287 @@ +/* + * This file is part of YAD. + * + * YAD is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * YAD 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 YAD. If not, see <http://www.gnu.org/licenses/>. + * + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> + */ + +#include "yad.h" + +static GtkWidget *picture; +static GtkWidget *viewport; +static GtkWidget *popup_menu; + +static GdkPixbufAnimation *anim_pb; +static GdkPixbuf *orig_pb; + +static gboolean loaded = FALSE; +static gboolean animated = FALSE; + +enum { + SIZE_FIT, + SIZE_ORIG, + SIZE_INC, + SIZE_DEC +}; + +enum { + ROTATE_LEFT, + ROTATE_RIGHT, + ROTATE_FLIP_VERT, + ROTATE_FLIP_HOR +}; + +static void +load_picture (gchar *filename) +{ + anim_pb = gdk_pixbuf_animation_new_from_file (filename, NULL); + orig_pb = gdk_pixbuf_animation_get_static_image (anim_pb); + + if (orig_pb) + { + if (gdk_pixbuf_animation_is_static_image (anim_pb)) + gtk_image_set_from_pixbuf (GTK_IMAGE (picture), orig_pb); + else + { + gtk_image_set_from_animation (GTK_IMAGE (picture), anim_pb); + animated = TRUE; + } + loaded = TRUE; + } + else + gtk_image_set_from_stock (GTK_IMAGE (picture), "gtk-missing-image", GTK_ICON_SIZE_DIALOG); +} + +void +picture_fit_to_window () +{ + gdouble width, height, ww, wh; + gdouble factor; + + if (animated) + return; + + width = gdk_pixbuf_get_width (orig_pb); + height = gdk_pixbuf_get_height (orig_pb); + + ww = gdk_window_get_width (gtk_viewport_get_view_window (GTK_VIEWPORT (viewport))); + wh = gdk_window_get_height (gtk_viewport_get_view_window (GTK_VIEWPORT (viewport))); + + factor = MIN (ww / width, wh / height); + if (factor < 1.0) + { + GdkPixbuf *pb = gdk_pixbuf_scale_simple (g_object_ref (orig_pb), width * factor, height * factor, GDK_INTERP_HYPER); + if (pb) + gtk_image_set_from_pixbuf (GTK_IMAGE (picture), pb); + } +} + +static void +change_size_cb (GtkWidget *w, gint type) +{ + gdouble width, height; + GdkPixbuf *new_pb, *pb = gtk_image_get_pixbuf (GTK_IMAGE (picture)); + + if (!pb) + { + g_printerr ("picture: can't get pixbuf\n"); + return; + } + + width = gdk_pixbuf_get_width (pb); + height = gdk_pixbuf_get_height (pb); + + switch (type) + { + case SIZE_FIT: + picture_fit_to_window (); + break; + case SIZE_ORIG: + gtk_image_set_from_pixbuf (GTK_IMAGE (picture), orig_pb); + break; + case SIZE_INC: + new_pb = gdk_pixbuf_scale_simple (pb, width + options.picture_data.inc, + height + options.picture_data.inc, GDK_INTERP_HYPER); + if (new_pb) + { + gtk_image_set_from_pixbuf (GTK_IMAGE (picture), new_pb); + g_object_unref (pb); + } + break; + case SIZE_DEC: + new_pb = gdk_pixbuf_scale_simple (pb, width - options.picture_data.inc, + height - options.picture_data.inc, GDK_INTERP_HYPER); + if (new_pb) + { + gtk_image_set_from_pixbuf (GTK_IMAGE (picture), new_pb); + g_object_unref (pb); + } + break; + } +} + +static void +rotate_cb (GtkWidget *w, gint type) +{ + GdkPixbuf *new_pb = NULL; + GdkPixbuf *pb = gtk_image_get_pixbuf (GTK_IMAGE (picture)); + + if (!pb) + { + g_printerr ("picture: can't get pixbuf\n"); + return; + } + + switch (type) + { + case ROTATE_LEFT: + new_pb = gdk_pixbuf_rotate_simple (pb, GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE); + break; + case ROTATE_RIGHT: + new_pb = gdk_pixbuf_rotate_simple (pb, GDK_PIXBUF_ROTATE_CLOCKWISE); + break; + case ROTATE_FLIP_VERT: + new_pb = gdk_pixbuf_flip (pb, FALSE); + break; + case ROTATE_FLIP_HOR: + new_pb = gdk_pixbuf_flip (pb, TRUE); + break; + } + + if (new_pb) + { + gtk_image_set_from_pixbuf (GTK_IMAGE (picture), new_pb); + g_object_unref (pb); + } +} + +static void +create_popup_menu () +{ + GtkWidget *mi; + + popup_menu = gtk_menu_new (); + + mi = gtk_image_menu_item_new_with_label (_("Fit to window")); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), + gtk_image_new_from_icon_name ("gtk-zoom-fit", GTK_ICON_SIZE_MENU)); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), mi); + g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (change_size_cb), GINT_TO_POINTER (SIZE_FIT)); + + mi = gtk_image_menu_item_new_with_label (_("Original size")); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), + gtk_image_new_from_icon_name ("gtk-zoom-100", GTK_ICON_SIZE_MENU)); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), mi); + g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (change_size_cb), GINT_TO_POINTER (SIZE_ORIG)); + + mi = gtk_image_menu_item_new_with_label (_("Increase size")); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), + gtk_image_new_from_icon_name ("gtk-zoom-in", GTK_ICON_SIZE_MENU)); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), mi); + g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (change_size_cb), GINT_TO_POINTER (SIZE_INC)); + + mi = gtk_image_menu_item_new_with_label (_("Decrease size")); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), + gtk_image_new_from_icon_name ("gtk-zoom-out", GTK_ICON_SIZE_MENU)); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), mi); + g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (change_size_cb), GINT_TO_POINTER (SIZE_DEC)); + + mi = gtk_separator_menu_item_new (); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), mi); + + mi = gtk_image_menu_item_new_with_label (_("Rotate left")); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), + gtk_image_new_from_icon_name ("object-rotate-left", GTK_ICON_SIZE_MENU)); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), mi); + g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (rotate_cb), GINT_TO_POINTER (ROTATE_LEFT)); + + mi = gtk_image_menu_item_new_with_label (_("Rotate right")); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), + gtk_image_new_from_icon_name ("object-rotate-right", GTK_ICON_SIZE_MENU)); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), mi); + g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (rotate_cb), GINT_TO_POINTER (ROTATE_RIGHT)); + + mi = gtk_image_menu_item_new_with_label (_("Flip vertical")); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), + gtk_image_new_from_icon_name ("object-flip-vertical", GTK_ICON_SIZE_MENU)); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), mi); + g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (rotate_cb), GINT_TO_POINTER (ROTATE_FLIP_VERT)); + + mi = gtk_image_menu_item_new_with_label (_("Flip horizontal")); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), + gtk_image_new_from_icon_name ("object-flip-horizontal", GTK_ICON_SIZE_MENU)); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), mi); + g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (rotate_cb), GINT_TO_POINTER (ROTATE_FLIP_HOR)); +} + +static gboolean +button_handler (GtkWidget *w, GdkEventButton *ev, gpointer data) +{ + if (ev->button == 3) + { + gtk_menu_popup (GTK_MENU (popup_menu), NULL, NULL, NULL, NULL, ev->button, ev->time); + return TRUE; + } + + return FALSE; +} + +static gboolean +key_handler (GtkWidget *w, GdkEventKey *ev, gpointer data) +{ + return FALSE; +} + +GtkWidget * +picture_create_widget (GtkWidget * dlg) +{ + GtkWidget *sw; + + sw = gtk_scrolled_window_new (NULL, NULL); + gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_NONE); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + + viewport = gtk_viewport_new (gtk_scrolled_window_get_hadjustment (GTK_SCROLLED_WINDOW (sw)), + gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (sw))); + gtk_container_add (GTK_CONTAINER (sw), viewport); + + picture = gtk_image_new (); + gtk_container_add (GTK_CONTAINER (viewport), picture); + + /* load picture */ + if (options.common_data.uri && + g_file_test (options.common_data.uri, G_FILE_TEST_EXISTS)) + load_picture (options.common_data.uri); + else + gtk_image_set_from_stock (GTK_IMAGE (picture), "gtk-missing-image", GTK_ICON_SIZE_DIALOG); + + if (loaded && !animated) + { + create_popup_menu (); + g_signal_connect (G_OBJECT (viewport), "button-press-event", G_CALLBACK (button_handler), NULL); + g_signal_connect (G_OBJECT (viewport), "key-press-event", G_CALLBACK (key_handler), NULL); + } + + return sw; +}
View file
yad-0.16.3.tar.bz2/src/print.c -> yad-0.36.2.tar.xz/src/print.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <sys/types.h> @@ -28,11 +28,8 @@ #define HEADER_GAP (3*72/25.4) #define HEADER_FONT "Sans 11" -#define FONTNAME "Sans" -#define FONTSIZE 12.0 - -static GtkPrintSettings *print_settings = NULL; -static GtkPageSetup *page_setup = NULL; +#define FONTNAME "Monospace" +#define FONTSIZE 11.0 static gchar **text; static gint nlines, npages; @@ -40,7 +37,7 @@ static PangoFontDescription *fdesc = NULL; static void -draw_header (GtkPrintContext *cnt, gint pn, gint pc) +draw_header (GtkPrintContext * cnt, gint pn, gint pc) { cairo_t *cr; PangoFontDescription *desc; @@ -66,7 +63,7 @@ pango_layout_get_pixel_size (layout, &tw, &th); } - cairo_move_to (cr, (pw - tw) / 2, (HEADER_HEIGHT - th) / 2); + cairo_move_to (cr, (pw - tw) / 2, (HEADER_HEIGHT - th) / 2); pango_cairo_show_layout (cr, layout); page = g_strdup_printf ("%d/%d", pn, pc); @@ -89,7 +86,7 @@ } static void -begin_print_text (GtkPrintOperation *op, GtkPrintContext *cnt, gpointer data) +begin_print_text (GtkPrintOperation * op, GtkPrintContext * cnt, gpointer data) { gchar *buf; gint i = 0; @@ -122,7 +119,7 @@ } static void -draw_page_text (GtkPrintOperation *op, GtkPrintContext *cnt, gint page, gpointer data) +draw_page_text (GtkPrintOperation * op, GtkPrintContext * cnt, gint page, gpointer data) { cairo_t *cr; PangoLayout *layout; @@ -139,22 +136,22 @@ pango_layout_set_font_description (layout, fdesc); cairo_move_to (cr, 0, HEADER_HEIGHT + HEADER_GAP); - + line = page * nlines; for (i = 0; i < nlines; i++) { - if (textline+i == NULL) + if (textline + i == NULL) break; - pango_layout_set_text (layout, textline+i, -1); + pango_layout_set_text (layout, textline + i, -1); pango_cairo_show_layout (cr, layout); cairo_rel_move_to (cr, 0, FONTSIZE); } - g_object_unref (layout); + g_object_unref (layout); } static void -draw_page_image (GtkPrintOperation *op, GtkPrintContext *cnt, gint page, gpointer data) +draw_page_image (GtkPrintOperation * op, GtkPrintContext * cnt, gint page, gpointer data) { cairo_t *cr; GdkPixbuf *pb, *spb; @@ -181,7 +178,7 @@ if (pw < iw || ph < ih) { factor = MIN (pw / iw, ph / ih); - factor = (factor > 1.0) ? 1.0 : factor; + factor = (factor > 1.0) ? 1.0 : factor; spb = gdk_pixbuf_scale_simple (pb, iw * factor, ih * factor, GDK_INTERP_HYPER); } else @@ -195,7 +192,7 @@ } static void -raw_print_done (GtkPrintJob *job, gint *ret, GError *err) +raw_print_done (GtkPrintJob * job, gint * ret, GError * err) { if (err) { @@ -206,7 +203,7 @@ } static void -size_allocate_cb (GtkWidget *w, GtkAllocation *al, gpointer data) +size_allocate_cb (GtkWidget * w, GtkAllocation * al, gpointer data) { gtk_widget_set_size_request (w, al->width, -1); } @@ -216,20 +213,20 @@ { GtkWidget *dlg; GtkWidget *box, *img, *lbl; - gchar *job_name = NULL; + gchar *uri, *job_name = NULL; GtkPrintCapabilities pcap; GtkPrintOperationAction act = GTK_PRINT_OPERATION_ACTION_PRINT; - gint ret = 0; + gint resp, ret = 0; GError *err = NULL; /* check if file is exists */ if (options.common_data.uri && options.common_data.uri0) { if (!g_file_test (options.common_data.uri, G_FILE_TEST_EXISTS)) - { - g_printerr (_("File %s not found.\n"), options.common_data.uri); - return 1; - } + { + g_printerr (_("File %s not found.\n"), options.common_data.uri); + return 1; + } } else { @@ -239,18 +236,26 @@ /* create print dialog */ dlg = gtk_print_unix_dialog_new (options.data.dialog_title, NULL); + gtk_window_set_type_hint (GTK_WINDOW (dlg), GDK_WINDOW_TYPE_HINT_NORMAL); gtk_print_unix_dialog_set_embed_page_setup (GTK_PRINT_UNIX_DIALOG (dlg), TRUE); pcap = GTK_PRINT_CAPABILITY_PAGE_SET | GTK_PRINT_CAPABILITY_COPIES | GTK_PRINT_CAPABILITY_COLLATE | GTK_PRINT_CAPABILITY_REVERSE | GTK_PRINT_CAPABILITY_NUMBER_UP | GTK_PRINT_CAPABILITY_NUMBER_UP_LAYOUT; - if (options.print_data.preview && options.print_data.type != YAD_PRINT_RAW) + if (options.common_data.preview && options.print_data.type != YAD_PRINT_RAW) pcap |= GTK_PRINT_CAPABILITY_PREVIEW; gtk_print_unix_dialog_set_manual_capabilities (GTK_PRINT_UNIX_DIALOG (dlg), pcap); - if (print_settings) - gtk_print_unix_dialog_set_settings (GTK_PRINT_UNIX_DIALOG (dlg), print_settings); - if (page_setup) - gtk_print_unix_dialog_set_page_setup (GTK_PRINT_UNIX_DIALOG (dlg), page_setup); + if (!settings.print_settings) + settings.print_settings = gtk_print_unix_dialog_get_settings (GTK_PRINT_UNIX_DIALOG (dlg)); + + uri = g_build_filename (g_get_current_dir (), "yad.pdf", NULL); + gtk_print_settings_set (settings.print_settings, "output-uri", g_filename_to_uri (uri, NULL, NULL)); + g_free (uri); + + gtk_print_unix_dialog_set_settings (GTK_PRINT_UNIX_DIALOG (dlg), settings.print_settings); + + if (settings.page_setup) + gtk_print_unix_dialog_set_page_setup (GTK_PRINT_UNIX_DIALOG (dlg), settings.page_setup); /* set window behavior */ gtk_widget_set_name (dlg, "yad-dialog-window"); @@ -265,8 +270,7 @@ /* set window size and position */ if (!options.data.geometry) { - gtk_window_set_default_size (GTK_WINDOW (dlg), - options.data.width, options.data.height); + gtk_window_set_default_size (GTK_WINDOW (dlg), options.data.width, options.data.height); if (options.data.center) gtk_window_set_position (GTK_WINDOW (dlg), GTK_WIN_POS_CENTER); else if (options.data.mouse) @@ -278,7 +282,7 @@ gtk_widget_realize (dlg); gtk_window_parse_geometry (GTK_WINDOW (dlg), options.data.geometry); } - + /* create yad's top box */ if (options.data.dialog_text || options.data.dialog_image) { @@ -289,131 +293,134 @@ #endif if (options.data.dialog_image) - { - GdkPixbuf *pb = NULL; + { + GdkPixbuf *pb = NULL; - pb = get_pixbuf (options.data.dialog_image, YAD_BIG_ICON); - img = gtk_image_new_from_pixbuf (pb); - if (pb) - g_object_unref (pb); + pb = get_pixbuf (options.data.dialog_image, YAD_BIG_ICON); + img = gtk_image_new_from_pixbuf (pb); + if (pb) + g_object_unref (pb); - gtk_widget_set_name (img, "yad-dialog-image"); - gtk_box_pack_start (GTK_BOX (box), img, FALSE, FALSE, 2); - } + gtk_widget_set_name (img, "yad-dialog-image"); + gtk_box_pack_start (GTK_BOX (box), img, FALSE, FALSE, 2); + } if (options.data.dialog_text) - { - gchar *buf = g_strcompress (options.data.dialog_text); - - lbl = gtk_label_new (NULL); - if (!options.data.no_markup) - gtk_label_set_markup (GTK_LABEL (lbl), buf); - else - gtk_label_set_text (GTK_LABEL (lbl), buf); - gtk_widget_set_name (lbl, "yad-dialog-label"); - gtk_label_set_selectable (GTK_LABEL (lbl), options.data.selectable_labels); - gtk_misc_set_alignment (GTK_MISC (lbl), options.data.text_align, 0.5); - if (options.data.geometry || options.data.width != -1) - gtk_label_set_line_wrap (GTK_LABEL (lbl), TRUE); - gtk_box_pack_start (GTK_BOX (box), lbl, TRUE, TRUE, 2); - g_signal_connect (G_OBJECT (lbl), "size-allocate", G_CALLBACK (size_allocate_cb), NULL); - g_free (buf); - } + { + gchar *buf = g_strcompress (options.data.dialog_text); + + lbl = gtk_label_new (NULL); + if (!options.data.no_markup) + gtk_label_set_markup (GTK_LABEL (lbl), buf); + else + gtk_label_set_text (GTK_LABEL (lbl), buf); + gtk_widget_set_name (lbl, "yad-dialog-label"); + gtk_label_set_selectable (GTK_LABEL (lbl), options.data.selectable_labels); + gtk_misc_set_alignment (GTK_MISC (lbl), options.data.text_align, 0.5); + if (options.data.geometry || options.data.width != -1) + gtk_label_set_line_wrap (GTK_LABEL (lbl), TRUE); + gtk_box_pack_start (GTK_BOX (box), lbl, TRUE, TRUE, 2); + g_signal_connect (G_OBJECT (lbl), "size-allocate", G_CALLBACK (size_allocate_cb), NULL); + g_free (buf); + } /* add tob box to dialog */ gtk_widget_show_all (box); - gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), - box, TRUE, TRUE, 5); - gtk_box_reorder_child (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), - box, 0); + gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), box, TRUE, TRUE, 5); + gtk_box_reorder_child (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), box, 0); } - gtk_widget_show (dlg); - switch (gtk_dialog_run (GTK_DIALOG (dlg))) + do { - case GTK_RESPONSE_APPLY: /* ask for preview */ - act = GTK_PRINT_OPERATION_ACTION_PREVIEW; - case GTK_RESPONSE_OK: /* run print */ - print_settings = gtk_print_unix_dialog_get_settings (GTK_PRINT_UNIX_DIALOG (dlg)); - page_setup = gtk_print_unix_dialog_get_page_setup (GTK_PRINT_UNIX_DIALOG (dlg)); - job_name = g_strdup_printf ("yad-%s-%d", g_path_get_basename (options.common_data.uri), getpid ()); - gtk_print_settings_to_file (print_settings, "print-settings", NULL); - if (options.print_data.type != YAD_PRINT_RAW) - { - /* print text or image */ - GtkPrintOperation *op = gtk_print_operation_new (); - gtk_print_operation_set_unit (op, GTK_UNIT_POINTS); - gtk_print_operation_set_print_settings (op, print_settings); - gtk_print_operation_set_default_page_setup (op, page_setup); - gtk_print_operation_set_job_name (op, job_name); - - switch (options.print_data.type) - { - case YAD_PRINT_TEXT: - g_signal_connect (G_OBJECT (op), "begin-print", G_CALLBACK (begin_print_text), NULL); - g_signal_connect (G_OBJECT (op), "draw-page", G_CALLBACK (draw_page_text), NULL); - break; - case YAD_PRINT_IMAGE: - gtk_print_operation_set_n_pages (op, 1); - g_signal_connect (G_OBJECT (op), "draw-page", G_CALLBACK (draw_page_image), NULL); - break; - } - - if (gtk_print_operation_run (op, act, NULL, &err) == GTK_PRINT_OPERATION_RESULT_ERROR) - { - g_printerr (_("Printing failed: %s\n"), err->message); - ret = 1; - } - } - else - { - /* print raw ps or pdf data */ - GtkPrinter *prnt; - GtkPrintJob *job; - - prnt = gtk_print_unix_dialog_get_selected_printer (GTK_PRINT_UNIX_DIALOG (dlg)); - - if (g_str_has_suffix (options.common_data.uri, ".ps")) - { - if (!gtk_printer_accepts_ps (prnt)) - { - g_printerr (_("Printer doesn't support ps format.\n")); - ret = 1; - } - } - else if (g_str_has_suffix (options.common_data.uri, ".pdf")) - { - if (!gtk_printer_accepts_pdf (prnt)) - { - g_printerr (_("Printer doesn't support pdf format.\n")); - ret = 1; - } - } - else - { - g_printerr (_("This file type is not supported for raw printing.\n")); - ret = 1; - } - if (ret == 1) - break; - - job = gtk_print_job_new (job_name, prnt, print_settings, page_setup); - if (gtk_print_job_set_source_file (job, options.common_data.uri, &err)) - { - gtk_print_job_send (job, (GtkPrintJobCompleteFunc) raw_print_done, &ret, NULL); - gtk_main (); - } - else - { - g_printerr (_("Load source file failed: %s\n"), err->message); - ret = 1; - } - } - break; - default: - ret = 1; - break; + resp = gtk_dialog_run (GTK_DIALOG (dlg)); + switch (resp) + { + case GTK_RESPONSE_APPLY: /* ask for preview */ + act = GTK_PRINT_OPERATION_ACTION_PREVIEW; + case GTK_RESPONSE_OK: /* run print */ + settings.print_settings = gtk_print_unix_dialog_get_settings (GTK_PRINT_UNIX_DIALOG (dlg)); + settings.page_setup = gtk_print_unix_dialog_get_page_setup (GTK_PRINT_UNIX_DIALOG (dlg)); + job_name = g_strdup_printf ("yad-%s-%d", g_path_get_basename (options.common_data.uri), getpid ()); + if (options.print_data.type != YAD_PRINT_RAW) + { + /* print text or image */ + GtkPrintOperation *op = gtk_print_operation_new (); + gtk_print_operation_set_unit (op, GTK_UNIT_POINTS); + gtk_print_operation_set_print_settings (op, settings.print_settings); + gtk_print_operation_set_default_page_setup (op, settings.page_setup); + gtk_print_operation_set_job_name (op, job_name); + + switch (options.print_data.type) + { + case YAD_PRINT_TEXT: + g_signal_connect (G_OBJECT (op), "begin-print", G_CALLBACK (begin_print_text), NULL); + g_signal_connect (G_OBJECT (op), "draw-page", G_CALLBACK (draw_page_text), NULL); + break; + case YAD_PRINT_IMAGE: + gtk_print_operation_set_n_pages (op, 1); + g_signal_connect (G_OBJECT (op), "draw-page", G_CALLBACK (draw_page_image), NULL); + break; + default:; + } + + if (gtk_print_operation_run (op, act, NULL, &err) == GTK_PRINT_OPERATION_RESULT_ERROR) + { + g_printerr (_("Printing failed: %s\n"), err->message); + ret = 1; + } + } + else + { + /* print raw ps or pdf data */ + GtkPrinter *prnt; + GtkPrintJob *job; + + prnt = gtk_print_unix_dialog_get_selected_printer (GTK_PRINT_UNIX_DIALOG (dlg)); + + if (g_str_has_suffix (options.common_data.uri, ".ps")) + { + if (!gtk_printer_accepts_ps (prnt)) + { + g_printerr (_("Printer doesn't support ps format.\n")); + ret = 1; + } + } + else if (g_str_has_suffix (options.common_data.uri, ".pdf")) + { + if (!gtk_printer_accepts_pdf (prnt)) + { + g_printerr (_("Printer doesn't support pdf format.\n")); + ret = 1; + } + } + else + { + g_printerr (_("This file type is not supported for raw printing.\n")); + ret = 1; + } + if (ret == 1) + break; + + job = gtk_print_job_new (job_name, prnt, settings.print_settings, settings.page_setup); + if (gtk_print_job_set_source_file (job, options.common_data.uri, &err)) + { + gtk_print_job_send (job, (GtkPrintJobCompleteFunc) raw_print_done, &ret, NULL); + gtk_main (); + } + else + { + g_printerr (_("Load source file failed: %s\n"), err->message); + ret = 1; + } + } + break; + default: + ret = 1; + break; + } } + while (resp == GTK_RESPONSE_APPLY); gtk_widget_destroy (dlg); + write_settings (); return ret; }
View file
yad-0.16.3.tar.bz2/src/progress.c -> yad-0.36.2.tar.xz/src/progress.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <stdio.h> @@ -27,6 +27,8 @@ #include "yad.h" static GtkWidget *progress_bar; +static GtkWidget *progress_log; +static GtkTextBuffer *log_buffer; static gboolean pulsate_progress_bar (gpointer user_data) @@ -54,7 +56,7 @@ pulsate_timeout = g_timeout_add (100, pulsate_progress_bar, NULL); } - while (channel->is_readable != TRUE) ; + while (channel->is_readable != TRUE); do { @@ -76,34 +78,52 @@ g_error_free (err); err = NULL; } - continue; + /* stop handling */ + g_io_channel_shutdown (channel, TRUE, NULL); + return FALSE; } if (string->str0 == '#') { gchar *match; - /* We have a comment, so let's try to change the label */ + /* We have a comment, so let's try to change the label or write it to the log */ match = g_strcompress (g_strstrip (string->str + 1)); - gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress_bar), match); + if (options.progress_data.log) + { + gchar *logline; + GtkTextIter end; + + logline = g_strdup_printf ("%s\n", match); /* add new line */ + gtk_text_buffer_get_end_iter (log_buffer, &end); + gtk_text_buffer_insert (log_buffer, &end, logline, -1); + g_free (logline); + + /* scroll to end */ + while (gtk_events_pending ()) + gtk_main_iteration (); + gtk_text_buffer_get_end_iter (log_buffer, &end); + gtk_text_view_scroll_to_iter (GTK_TEXT_VIEW (progress_log), &end, 0, FALSE, 0, 0); + } + else + gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress_bar), match); g_free (match); } else { - if (!g_ascii_isdigit (*(string->str))) - continue; - - /* Now try to convert the thing to a number */ - percentage = atoi (string->str); - if (percentage >= 100) + if (g_ascii_isdigit (*(string->str))) { - gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), 1.0); - if (options.progress_data.autoclose) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + /* Now try to convert the thing to a number */ + percentage = atoi (string->str); + if (percentage >= 100) + { + gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), 1.0); + if (options.progress_data.autoclose && options.plug == -1) + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + } + else + gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), percentage / 100.0); } - else - gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), - percentage / 100.0); } } @@ -121,7 +141,7 @@ pulsate_timeout = 0; } - if (options.progress_data.autoclose) + if (options.progress_data.autoclose && options.plug == -1) gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); g_io_channel_shutdown (channel, TRUE, NULL); @@ -136,26 +156,61 @@ GtkWidget *w; GIOChannel *channel; - w = progress_bar = gtk_progress_bar_new (); - gtk_widget_set_name (w, "yad-progress-widget"); + // fix it when vertical specified #if GTK_CHECK_VERSION(3,0,0) - gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR (w), TRUE); + w = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); +#else + w = gtk_vbox_new (FALSE, 0); #endif + progress_bar = gtk_progress_bar_new (); + gtk_widget_set_name (progress_bar, "yad-progress-widget"); + if (options.progress_data.log_on_top) + gtk_box_pack_end (GTK_BOX (w), progress_bar, FALSE, FALSE, 0); + else + gtk_box_pack_start (GTK_BOX (w), progress_bar, FALSE, FALSE, 0); + if (options.progress_data.percentage > 100) options.progress_data.percentage = 100; - gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (w), - options.progress_data.percentage / 100.0); + gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), options.progress_data.percentage / 100.0); if (options.progress_data.progress_text) - gtk_progress_bar_set_text (GTK_PROGRESS_BAR (w), - options.progress_data.progress_text); + gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress_bar), options.progress_data.progress_text); #if GTK_CHECK_VERSION(3,0,0) - gtk_progress_bar_set_inverted (GTK_PROGRESS_BAR (w), - options.progress_data.rtl); + gtk_progress_bar_set_inverted (GTK_PROGRESS_BAR (progress_bar), options.progress_data.rtl); #else if (options.progress_data.rtl) - gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (w), - GTK_PROGRESS_RIGHT_TO_LEFT); + gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (progress_bar), GTK_PROGRESS_RIGHT_TO_LEFT); +#endif + + if (options.progress_data.log) + { + GtkWidget *ex, *sw; + + ex = gtk_expander_new (options.progress_data.log); + gtk_expander_set_spacing (GTK_EXPANDER (ex), 2); + gtk_expander_set_expanded (GTK_EXPANDER (ex), options.progress_data.log_expanded); + gtk_box_pack_start (GTK_BOX (w), ex, TRUE, TRUE, 2); + + sw = gtk_scrolled_window_new (NULL, NULL); + gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_ETCHED_IN); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_container_add (GTK_CONTAINER (ex), sw); + + progress_log = gtk_text_view_new (); + gtk_widget_set_name (progress_log, "yad-text-widget"); + gtk_widget_set_size_request (progress_log, -1, options.progress_data.log_height); + gtk_container_add (GTK_CONTAINER (sw), progress_log); + + log_buffer = gtk_text_buffer_new (NULL); + gtk_text_view_set_buffer (GTK_TEXT_VIEW (progress_log), log_buffer); + gtk_text_view_set_left_margin (GTK_TEXT_VIEW (progress_log), 5); + gtk_text_view_set_right_margin (GTK_TEXT_VIEW (progress_log), 5); + gtk_text_view_set_editable (GTK_TEXT_VIEW (progress_log), FALSE); + gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (progress_log), FALSE); + } +#if GTK_CHECK_VERSION(3,0,0) + else + gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR (progress_bar), TRUE); #endif channel = g_io_channel_unix_new (0);
View file
yad-0.16.3.tar.bz2/src/scale.c -> yad-0.36.2.tar.xz/src/scale.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include "yad.h" @@ -22,13 +22,13 @@ static GtkWidget *scale; static void -value_changed_cb (GtkWidget *w, gpointer data) +value_changed_cb (GtkWidget * w, gpointer data) { g_print ("%.0f\n", gtk_range_get_value (GTK_RANGE (w))); } GtkWidget * -scale_create_widget (GtkWidget *dlg) +scale_create_widget (GtkWidget * dlg) { GtkWidget *w; GtkAdjustment *adj; @@ -44,15 +44,15 @@ if (options.scale_data.have_value) { if (options.scale_data.value < options.scale_data.min_value) - { - g_printerr (_("Initial value less than minimal.\n")); - options.scale_data.value = options.scale_data.min_value; - } + { + g_printerr (_("Initial value less than minimal.\n")); + options.scale_data.value = options.scale_data.min_value; + } else if (options.scale_data.value > options.scale_data.max_value) - { - g_printerr (_("Initial value greater than maximum.\n")); - options.scale_data.value = options.scale_data.max_value; - } + { + g_printerr (_("Initial value greater than maximum.\n")); + options.scale_data.value = options.scale_data.max_value; + } } else options.scale_data.value = options.scale_data.min_value; @@ -61,27 +61,32 @@ page = options.scale_data.page == -1 ? options.scale_data.step * 10 : options.scale_data.page; /* this type conversion needs only for gtk-2.0 */ adj = (GtkAdjustment *) gtk_adjustment_new ((double) options.scale_data.value, - (double) options.scale_data.min_value, - (double) options.scale_data.max_value, - (double) options.scale_data.step, - (double) page, 0.0); + (double) options.scale_data.min_value, + (double) options.scale_data.max_value, + (double) options.scale_data.step, (double) page, 0.0); if (options.common_data.vertical) { +#if GTK_CHECK_VERSION(3,0,0) + w = scale = gtk_scale_new (GTK_ORIENTATION_VERTICAL, GTK_ADJUSTMENT (adj)); +#else w = scale = gtk_vscale_new (GTK_ADJUSTMENT (adj)); - gtk_widget_set_name (w, "yad-vscale-widget"); +#endif gtk_range_set_inverted (GTK_RANGE (w), !options.scale_data.invert); } else { +#if GTK_CHECK_VERSION(3,0,0) + w = scale = gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, GTK_ADJUSTMENT (adj)); +#else w = scale = gtk_hscale_new (GTK_ADJUSTMENT (adj)); - gtk_widget_set_name (w, "yad-hscale-widget"); +#endif gtk_range_set_inverted (GTK_RANGE (w), options.scale_data.invert); } + gtk_widget_set_name (w, "yad-scale-widget"); gtk_scale_set_digits (GTK_SCALE (w), 0); if (options.scale_data.print_partial) - g_signal_connect (G_OBJECT (w), "value-changed", - G_CALLBACK (value_changed_cb), NULL); + g_signal_connect (G_OBJECT (w), "value-changed", G_CALLBACK (value_changed_cb), NULL); if (options.scale_data.hide_value) gtk_scale_set_draw_value (GTK_SCALE (w), FALSE); @@ -94,10 +99,10 @@ pos = options.common_data.vertical ? GTK_POS_LEFT : GTK_POS_BOTTOM; for (; m; m = m->next) - { - YadScaleMark *mark = (YadScaleMark *) m->data; - gtk_scale_add_mark (GTK_SCALE (w), mark->value, pos, mark->name); - } + { + YadScaleMark *mark = (YadScaleMark *) m->data; + gtk_scale_add_mark (GTK_SCALE (w), mark->value, pos, mark->name); + } } return w;
View file
yad-0.16.3.tar.bz2/src/text.c -> yad-0.36.2.tar.xz/src/text.c
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #include <errno.h> @@ -25,28 +25,170 @@ #include "yad.h" static GtkWidget *text_view; -static GtkTextBuffer *text_buffer; +static GObject *text_buffer; static GtkTextTag *tag; static GdkCursor *hand, *normal; +static gchar *pattern = NULL; +static gboolean new_search = TRUE; + +/* searching */ +static void +do_search (GtkWidget * e, GtkWidget * w) +{ + static gchar *text = NULL; + static guint offset; + static GRegex *regex = NULL; + GMatchInfo *match = NULL; + GtkTextIter begin, end; + + g_free (pattern); + pattern = g_strdup (gtk_entry_get_text (GTK_ENTRY (e))); + gtk_widget_destroy (w); + gtk_widget_queue_draw (text_view); + + if (new_search || gtk_text_buffer_get_modified (GTK_TEXT_BUFFER (text_buffer))) + { + /* get the text */ + g_free (text); + gtk_text_buffer_get_bounds (GTK_TEXT_BUFFER (text_buffer), &begin, &end); + text = gtk_text_buffer_get_text (GTK_TEXT_BUFFER (text_buffer), &begin, &end, FALSE); + offset = 0; + /* compile new regex */ + if (regex) + g_regex_unref (regex); + regex = g_regex_new (pattern, G_REGEX_EXTENDED | G_REGEX_OPTIMIZE, G_REGEX_MATCH_NOTEMPTY, NULL); + new_search = FALSE; + } + + /* search and select if found */ + if (g_regex_match (regex, text + offset, G_REGEX_MATCH_NOTEMPTY, &match)) + { + gint sp, ep, spos, epos; + + g_match_info_fetch_pos (match, 0, &sp, &ep); + + /* positions are in bytes, not character, so here we must normalize it */ + spos = g_utf8_pointer_to_offset (text, text + sp + offset); + epos = g_utf8_pointer_to_offset (text, text + ep + offset); + + gtk_text_buffer_get_iter_at_offset (GTK_TEXT_BUFFER (text_buffer), &begin, spos); + gtk_text_buffer_get_iter_at_offset (GTK_TEXT_BUFFER (text_buffer), &end, epos); + + gtk_text_buffer_select_range (GTK_TEXT_BUFFER (text_buffer), &begin, &end); + gtk_text_view_scroll_to_iter (GTK_TEXT_VIEW (text_view), &begin, 0, FALSE, 0, 0); + + offset += epos; + + g_match_info_free (match); + match = NULL; + } + else + new_search = TRUE; +} static gboolean -key_press_cb (GtkWidget *w, GdkEventKey *key, gpointer data) +search_key_cb (GtkWidget * w, GdkEventKey * key, GtkWidget * win) { -#if GTK_CHECK_VERSION(3,0,0) - if ((key->keyval == GDK_KEY_Return || key->keyval == GDK_KEY_KP_Enter) && - (key->state & GDK_CONTROL_MASK)) +#if GTK_CHECK_VERSION(2,24,0) + if (key->keyval == GDK_KEY_Escape) #else - if ((key->keyval == GDK_Return || key->keyval == GDK_KP_Enter) && - (key->state & GDK_CONTROL_MASK)) + if (key->keyval == GDK_Escape) #endif - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + { + gtk_widget_destroy (win); + return TRUE; + } + return FALSE; +} + +static void +search_changed (GtkWidget * w, gpointer d) +{ + new_search = TRUE; +} + +static void +show_search () +{ + GtkWidget *w, *f, *a, *e; + GdkEvent *fev; + + w = gtk_window_new (GTK_WINDOW_POPUP); + gtk_window_set_transient_for (GTK_WINDOW (w), GTK_WINDOW (gtk_widget_get_toplevel (text_view))); + gtk_window_set_position (GTK_WINDOW (w), GTK_WIN_POS_CENTER_ON_PARENT); + /* next two lines needs for get focus to search window */ + gtk_window_set_type_hint (GTK_WINDOW (w), GDK_WINDOW_TYPE_HINT_UTILITY); + gtk_window_set_modal (GTK_WINDOW (w), TRUE); + + g_signal_connect (G_OBJECT (w), "key-press-event", G_CALLBACK (search_key_cb), w); + + f = gtk_frame_new (NULL); + gtk_frame_set_shadow_type (GTK_FRAME (f), GTK_SHADOW_ETCHED_IN); + gtk_container_add (GTK_CONTAINER (w), f); + + a = gtk_alignment_new (0.5, 0.5, 1.0, 1.0); + gtk_alignment_set_padding (GTK_ALIGNMENT (a), 2, 2, 2, 2); + gtk_container_add (GTK_CONTAINER (f), a); + + e = gtk_entry_new (); + if (pattern) + gtk_entry_set_text (GTK_ENTRY (e), pattern); + gtk_container_add (GTK_CONTAINER (a), e); + + g_signal_connect (G_OBJECT (e), "activate", G_CALLBACK (do_search), w); + g_signal_connect (G_OBJECT (e), "changed", G_CALLBACK (search_changed), NULL); + g_signal_connect (G_OBJECT (e), "key-press-event", G_CALLBACK (search_key_cb), w); + + gtk_widget_show_all (w); + + /* send focus event to search entry (so complex due to popup window) */ + fev = gdk_event_new (GDK_FOCUS_CHANGE); + fev->focus_change.type = GDK_FOCUS_CHANGE; + fev->focus_change.in = TRUE; + fev->focus_change.window = gtk_widget_get_window (e); + if (fev->focus_change.window != NULL) + g_object_ref (fev->focus_change.window); +#if GTK_CHECK_VERSION(2,22,0) + gtk_widget_send_focus_change (e, fev); +#else + g_object_ref (e); + GTK_OBJECT_FLAGS (e) |= GTK_HAS_FOCUS; + gtk_widget_event (e, fev); + g_object_notify (G_OBJECT (e), "has-focus"); + g_object_unref (e); +#endif + gdk_event_free (fev); +} + +static gboolean +key_press_cb (GtkWidget * w, GdkEventKey * key, gpointer data) +{ +#if GTK_CHECK_VERSION(2,24,0) + if ((key->keyval == GDK_KEY_Return || key->keyval == GDK_KEY_KP_Enter) && (key->state & GDK_CONTROL_MASK)) +#else + if ((key->keyval == GDK_Return || key->keyval == GDK_KP_Enter) && (key->state & GDK_CONTROL_MASK)) +#endif + { + if (options.plug == -1) + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + return TRUE; + } + +#if GTK_CHECK_VERSION(2,24,0) + if ((key->state & GDK_CONTROL_MASK) && (key->keyval == GDK_KEY_S || key->keyval == GDK_KEY_s)) +#else + if ((key->state & GDK_CONTROL_MASK) && (key->keyval == GDK_S || key->keyval == GDK_s)) +#endif + { + show_search (); + return TRUE; + } return FALSE; } static gboolean -tag_event_cb (GtkTextTag *tag, GObject *obj, GdkEvent *ev, - GtkTextIter *iter, gpointer d) +tag_event_cb (GtkTextTag * tag, GObject * obj, GdkEvent * ev, GtkTextIter * iter, gpointer d) { GtkTextIter start = *iter; GtkTextIter end = *iter; @@ -62,13 +204,13 @@ gtk_text_iter_forward_to_tag_toggle (&end, tag); url = gtk_text_iter_get_text (&start, &end); - cmdline = g_strdup_printf ("xdg-open '%s'", url); + cmdline = g_strdup_printf (settings.open_cmd, url); g_free (url); g_spawn_command_line_async (cmdline, NULL); g_free (cmdline); - return TRUE; + return TRUE; } } @@ -78,20 +220,19 @@ static gboolean hovering_over_link = FALSE; static gboolean -motion_cb (GtkWidget *w, GdkEventMotion *ev, gpointer d) +motion_cb (GtkWidget * w, GdkEventMotion * ev, gpointer d) { gint x, y; GSList *tags = NULL, *tagp = NULL; GtkTextIter iter; gboolean hovering = FALSE; - gtk_text_view_window_to_buffer_coords (GTK_TEXT_VIEW (w), GTK_TEXT_WINDOW_WIDGET, - ev->x, ev->y, &x, &y); + gtk_text_view_window_to_buffer_coords (GTK_TEXT_VIEW (w), GTK_TEXT_WINDOW_WIDGET, ev->x, ev->y, &x, &y); gtk_text_view_get_iter_at_location (GTK_TEXT_VIEW (w), &iter, x, y); tags = gtk_text_iter_get_tags (&iter); - for (tagp = tags; tagp != NULL; tagp = tagp->next) + for (tagp = tags; tagp != NULL; tagp = tagp->next) { GtkTextTag *tag = tagp->data; gint link = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (tag), "is_link")); @@ -122,7 +263,7 @@ } static void -linkify_cb (GtkTextBuffer *buf, GRegex *regex) +linkify_cb (GtkTextBuffer * buf, GRegex * regex) { gchar *text; GtkTextIter start, end; @@ -136,30 +277,29 @@ if (g_regex_match (regex, text, G_REGEX_MATCH_NOTEMPTY, &match)) { do - { - gint sp, ep, spos, epos; + { + gint sp, ep, spos, epos; - g_match_info_fetch_pos (match, 0, &sp, &ep); + g_match_info_fetch_pos (match, 0, &sp, &ep); - /* positions are in bytes, not character, so here we must normalize it*/ - spos = g_utf8_pointer_to_offset (text, text + sp); - epos = g_utf8_pointer_to_offset (text, text + ep); + /* positions are in bytes, not character, so here we must normalize it */ + spos = g_utf8_pointer_to_offset (text, text + sp); + epos = g_utf8_pointer_to_offset (text, text + ep); - gtk_text_buffer_get_iter_at_offset (buf, &start, spos); - gtk_text_buffer_get_iter_at_offset (buf, &end, epos); + gtk_text_buffer_get_iter_at_offset (buf, &start, spos); + gtk_text_buffer_get_iter_at_offset (buf, &end, epos); - gtk_text_buffer_apply_tag (buf, tag, &start, &end); - } + gtk_text_buffer_apply_tag (buf, tag, &start, &end); + } while (g_match_info_next (match, NULL)); } g_match_info_free (match); - g_free(text); + g_free (text); } static gboolean -handle_stdin (GIOChannel * channel, - GIOCondition condition, gpointer data) +handle_stdin (GIOChannel * channel, GIOCondition condition, gpointer data) { if ((condition & G_IO_IN) || (condition & (G_IO_IN | G_IO_HUP))) { @@ -168,7 +308,7 @@ gint status; string = g_string_new (NULL); - while (channel->is_readable != TRUE) ; + while (channel->is_readable != TRUE); do { @@ -186,40 +326,57 @@ g_error_free (err); err = NULL; } + /* stop handling */ + g_io_channel_shutdown (channel, TRUE, NULL); return FALSE; } - if (string->len > 0) + if (string->str0 == '\014') + { + GtkTextIter start, end; + + /* clear text if ^L received */ + gtk_text_buffer_get_start_iter (GTK_TEXT_BUFFER (text_buffer), &start); + gtk_text_buffer_get_end_iter (GTK_TEXT_BUFFER (text_buffer), &end); + gtk_text_buffer_delete (GTK_TEXT_BUFFER (text_buffer), &start, &end); + } + else if (string->len > 0) { GtkTextIter end; - gchar *utftext; - gsize utflen; - gtk_text_buffer_get_end_iter (text_buffer, &end); + gtk_text_buffer_get_end_iter (GTK_TEXT_BUFFER (text_buffer), &end); if (!g_utf8_validate (string->str, string->len, NULL)) { - utftext = - g_convert_with_fallback (string->str, string->len, "UTF-8", "ISO-8859-1", - NULL, NULL, &utflen, NULL); - gtk_text_buffer_insert (text_buffer, &end, utftext, utflen); + gchar *utftext = + g_convert_with_fallback (string->str, string->len, "UTF-8", "ISO-8859-1", NULL, NULL, NULL, NULL); + gtk_text_buffer_insert (GTK_TEXT_BUFFER (text_buffer), &end, utftext, -1); g_free (utftext); } else - gtk_text_buffer_insert (text_buffer, &end, string->str, string->len); - - if (options.text_data.tail) - { - while (gtk_events_pending ()) - gtk_main_iteration (); - gtk_text_buffer_get_end_iter (text_buffer, &end); - gtk_text_view_scroll_to_iter (GTK_TEXT_VIEW (text_view), &end, 0, FALSE, 0, 0); - } + gtk_text_buffer_insert (GTK_TEXT_BUFFER (text_buffer), &end, string->str, string->len); + + if (options.text_data.tail) + { + while (gtk_events_pending ()) + gtk_main_iteration (); + gtk_text_buffer_get_end_iter (GTK_TEXT_BUFFER (text_buffer), &end); + gtk_text_view_scroll_to_iter (GTK_TEXT_VIEW (text_view), &end, 0, FALSE, 0, 0); + } } g_string_free (string, TRUE); } +#ifdef HAVE_SOURCEVIEW + if (options.source_data.lang) + { + GtkSourceLanguage *lang = gtk_source_language_manager_get_language (gtk_source_language_manager_get_default (), + options.source_data.lang); + gtk_source_buffer_set_language (GTK_SOURCE_BUFFER (text_buffer), lang); + } +#endif + return TRUE; } @@ -227,6 +384,9 @@ fill_buffer_from_file () { GtkTextIter iter, end; +#ifdef HAVE_SOURCEVIEW + GtkSourceLanguage *lang; +#endif FILE *f; gchar buf2048; gint remaining = 0; @@ -238,12 +398,11 @@ if (f == NULL) { - g_printerr (_("Cannot open file '%s': %s\n"), - options.common_data.uri, g_strerror (errno)); + g_printerr (_("Cannot open file '%s': %s\n"), options.common_data.uri, g_strerror (errno)); return; } - gtk_text_buffer_get_iter_at_offset (text_buffer, &iter, 0); + gtk_text_buffer_get_iter_at_offset (GTK_TEXT_BUFFER (text_buffer), &iter, 0); while (!feof (f)) { @@ -257,10 +416,10 @@ g_utf8_validate (buf, count + remaining, &leftover); g_assert (g_utf8_validate (buf, leftover - buf, NULL)); - gtk_text_buffer_insert (text_buffer, &iter, buf, leftover - buf); + gtk_text_buffer_insert (GTK_TEXT_BUFFER (text_buffer), &iter, buf, leftover - buf); remaining = (buf + remaining + count) - leftover; - g_memmove (buf, leftover, remaining); + memmove (buf, leftover, remaining); if (remaining > 6 || count < to_read) break; @@ -268,8 +427,7 @@ if (remaining) { - g_printerr (_("Invalid UTF-8 data encountered reading file %s\n"), - options.common_data.uri); + g_printerr (_("Invalid UTF-8 data encountered reading file %s\n"), options.common_data.uri); return; } @@ -277,17 +435,17 @@ * a newline, so we delete to the end of the buffer to clean up. */ - gtk_text_buffer_get_end_iter (text_buffer, &end); - gtk_text_buffer_delete (text_buffer, &iter, &end); - gtk_text_buffer_set_modified (text_buffer, FALSE); + gtk_text_buffer_get_end_iter (GTK_TEXT_BUFFER (text_buffer), &end); + gtk_text_buffer_delete (GTK_TEXT_BUFFER (text_buffer), &iter, &end); + gtk_text_buffer_set_modified (GTK_TEXT_BUFFER (text_buffer), FALSE); - if (options.text_data.tail) - { - while (gtk_events_pending ()) - gtk_main_iteration (); - gtk_text_buffer_get_end_iter (text_buffer, &end); - gtk_text_view_scroll_to_iter (GTK_TEXT_VIEW (text_view), &end, 0, FALSE, 0, 0); - } +#ifdef HAVE_SOURCEVIEW + if (options.source_data.lang) + lang = gtk_source_language_manager_get_language (gtk_source_language_manager_get_default (), options.source_data.lang); + else + lang = gtk_source_language_manager_guess_language (gtk_source_language_manager_get_default (), options.common_data.uri, NULL); + gtk_source_buffer_set_language (GTK_SOURCE_BUFFER (text_buffer), lang); +#endif } static void @@ -305,21 +463,26 @@ text_create_widget (GtkWidget * dlg) { GtkWidget *w; + PangoFontDescription *fd; w = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (w), GTK_SHADOW_ETCHED_IN); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), - GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); - text_view = gtk_text_view_new (); +#ifdef HAVE_SOURCEVIEW + printf ("got it\n"); + text_buffer = (GObject *) gtk_source_buffer_new (NULL); + text_view = gtk_source_view_new_with_buffer (GTK_SOURCE_BUFFER (text_buffer)); +#else + text_buffer = (GObject *) gtk_text_buffer_new (NULL); + text_view = gtk_text_view_new_with_buffer (GTK_TEXT_BUFFER (text_buffer)); +#endif gtk_widget_set_name (text_view, "yad-text-widget"); - text_buffer = gtk_text_buffer_new (NULL); - gtk_text_view_set_buffer (GTK_TEXT_VIEW (text_view), text_buffer); gtk_text_view_set_justification (GTK_TEXT_VIEW (text_view), options.text_data.justify); gtk_text_view_set_left_margin (GTK_TEXT_VIEW (text_view), options.text_data.margins); gtk_text_view_set_right_margin (GTK_TEXT_VIEW (text_view), options.text_data.margins); gtk_text_view_set_editable (GTK_TEXT_VIEW (text_view), options.common_data.editable); - if (!options.common_data.editable) + if (!options.common_data.editable && options.text_data.hide_cursor) gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (text_view), FALSE); if (options.text_data.wrap) @@ -330,11 +493,11 @@ #if GTK_CHECK_VERSION(3,0,0) GdkRGBA clr; if (gdk_rgba_parse (&clr, options.text_data.fore)) - gtk_widget_override_color (text_view, GTK_STATE_FLAG_NORMAL, &clr); + gtk_widget_override_color (text_view, GTK_STATE_FLAG_NORMAL, &clr); #else GdkColor clr; if (gdk_color_parse (options.text_data.fore, &clr)) - gtk_widget_modify_text (text_view, GTK_STATE_NORMAL, &clr); + gtk_widget_modify_text (text_view, GTK_STATE_NORMAL, &clr); #endif } @@ -342,30 +505,39 @@ { #if GTK_CHECK_VERSION(3,0,0) GdkRGBA clr; - if (gdk_rgba_parse (&clr, options.text_data.fore)) - gtk_widget_override_background_color (text_view, GTK_STATE_FLAG_NORMAL, &clr); + if (gdk_rgba_parse (&clr, options.text_data.back)) + gtk_widget_override_background_color (text_view, GTK_STATE_FLAG_NORMAL, &clr); #else GdkColor clr; if (gdk_color_parse (options.text_data.back, &clr)) - gtk_widget_modify_base (text_view, GTK_STATE_NORMAL, &clr); + gtk_widget_modify_base (text_view, GTK_STATE_NORMAL, &clr); #endif } + /* set font */ if (options.common_data.font) - { - PangoFontDescription *fd = - pango_font_description_from_string (options.common_data.font); + fd = pango_font_description_from_string (options.common_data.font); + else + fd = pango_font_description_from_string ("Monospace"); + #if GTK_CHECK_VERSION(3,0,0) - gtk_widget_override_font (text_view, fd); + gtk_widget_override_font (text_view, fd); #else - gtk_widget_modify_font (text_view, fd); + gtk_widget_modify_font (text_view, fd); #endif - pango_font_description_free (fd); + pango_font_description_free (fd); + +#ifdef HAVE_SPELL + if (options.common_data.enable_spell) + { + GtkSpellChecker *spell = gtk_spell_checker_new (); + gtk_spell_checker_set_language (spell, options.common_data.spell_lang, NULL); + gtk_spell_checker_attach (spell, GTK_TEXT_VIEW (text_view)); } +#endif /* Add submit on ctrl+enter */ - g_signal_connect (text_view, "key-press-event", - G_CALLBACK (key_press_cb), dlg); + g_signal_connect (text_view, "key-press-event", G_CALLBACK (key_press_cb), dlg); /* Initialize linkifying */ if (options.text_data.uri) @@ -373,13 +545,11 @@ GRegex *regex; regex = g_regex_new (YAD_URL_REGEX, - G_REGEX_CASELESS | G_REGEX_OPTIMIZE | G_REGEX_EXTENDED, - G_REGEX_MATCH_NOTEMPTY, - NULL); + G_REGEX_CASELESS | G_REGEX_OPTIMIZE | G_REGEX_EXTENDED, G_REGEX_MATCH_NOTEMPTY, NULL); /* Create text tag for URI */ - tag = gtk_text_buffer_create_tag (text_buffer, NULL, - "foreground", "blue", + tag = gtk_text_buffer_create_tag (GTK_TEXT_BUFFER (text_buffer), NULL, + "foreground", options.text_data.uri_color, "underline", PANGO_UNDERLINE_SINGLE, NULL); g_object_set_data (G_OBJECT (tag), "is_link", GINT_TO_POINTER (1)); @@ -387,9 +557,8 @@ /* Create cursors */ hand = gdk_cursor_new (GDK_HAND2); - normal= gdk_cursor_new (GDK_XTERM); - g_signal_connect (G_OBJECT (text_view), "motion-notify-event", - G_CALLBACK (motion_cb), NULL); + normal = gdk_cursor_new (GDK_XTERM); + g_signal_connect (G_OBJECT (text_view), "motion-notify-event", G_CALLBACK (motion_cb), NULL); g_signal_connect_after (G_OBJECT (text_buffer), "changed", G_CALLBACK (linkify_cb), regex); } @@ -398,8 +567,17 @@ if (options.common_data.uri) fill_buffer_from_file (); - else + + if (options.common_data.listen || options.common_data.uri == NULL) fill_buffer_from_stdin (); + else + { + /* place cursor at start of file */ + GtkTextIter iter; + + gtk_text_buffer_get_iter_at_line (GTK_TEXT_BUFFER (text_buffer), &iter, 0); + gtk_text_buffer_place_cursor (GTK_TEXT_BUFFER (text_buffer), &iter); + } return w; } @@ -413,8 +591,8 @@ if (!options.common_data.editable) return; - gtk_text_buffer_get_bounds (text_buffer, &start, &end); - text = gtk_text_buffer_get_text (text_buffer, &start, &end, 0); + gtk_text_buffer_get_bounds (GTK_TEXT_BUFFER (text_buffer), &start, &end); + text = gtk_text_buffer_get_text (GTK_TEXT_BUFFER (text_buffer), &start, &end, 0); g_print ("%s", text); g_free (text); }
View file
yad-0.16.3.tar.bz2/src/util.c -> yad-0.36.2.tar.xz/src/util.c
Changed
@@ -14,16 +14,21 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE 1 +#endif + #include <stdlib.h> #include <string.h> #include <errno.h> -#include "yad.h" +#include <sys/ipc.h> +#include <sys/shm.h> -#define SETTINGS_FILE "yad.conf" +#include "yad.h" YadSettings settings; @@ -38,51 +43,50 @@ settings.timeout = 0; settings.to_indicator = "none"; settings.show_remain = FALSE; - settings.rules_hint = TRUE; - settings.always_selected = FALSE; -#if !GTK_CHECK_VERSION(2,22,0) - settings.dlg_sep = FALSE; -#endif settings.combo_always_editable = FALSE; - settings.show_gtk_palette = FALSE; - settings.expand_palette = FALSE; - settings.term = "xterm -e %s"; + settings.term = "xterm -e '%s'"; + settings.open_cmd = "xdg-open '%s'"; + settings.date_format = "%x"; + settings.ignore_unknown = TRUE; + settings.max_tab = 100; + + settings.print_settings = NULL; + settings.page_setup = NULL; - filename = g_build_filename (g_get_user_config_dir (), SETTINGS_FILE, NULL); + filename = g_build_filename (g_get_user_config_dir (), YAD_SETTINGS_FILE, NULL); if (g_file_test (filename, G_FILE_TEST_EXISTS)) { kf = g_key_file_new (); if (g_key_file_load_from_file (kf, filename, G_KEY_FILE_NONE, NULL)) - { -#if !GTK_CHECK_VERSION(2,22,0) - if (g_key_file_has_key (kf, "General", "dialog_separator", NULL)) - settings.dlg_sep = g_key_file_get_boolean (kf, "General", "dialog_separator", NULL); -#endif - if (g_key_file_has_key (kf, "General", "width", NULL)) - settings.width = g_key_file_get_integer (kf, "General", "width", NULL); - if (g_key_file_has_key (kf, "General", "height", NULL)) - settings.height = g_key_file_get_integer (kf, "General", "height", NULL); - if (g_key_file_has_key (kf, "General", "timeout", NULL)) - settings.timeout = g_key_file_get_integer (kf, "General", "timeout", NULL); - if (g_key_file_has_key (kf, "General", "timeout_indicator", NULL)) - settings.to_indicator = g_key_file_get_string (kf, "General", "timeout_indicator", NULL); - if (g_key_file_has_key (kf, "General", "show_remain", NULL)) - settings.show_remain = g_key_file_get_boolean (kf, "General", "show_remain", NULL); - if (g_key_file_has_key (kf, "General", "rules_hint", NULL)) - settings.rules_hint = g_key_file_get_boolean (kf, "General", "rules_hint", NULL); - if (g_key_file_has_key (kf, "General", "always_selected", NULL)) - settings.always_selected = g_key_file_get_boolean (kf, "General", "always_selected", NULL); - if (g_key_file_has_key (kf, "General", "combo_always_editable", NULL)) - settings.combo_always_editable = g_key_file_get_boolean (kf, "General", "combo_always_editable", NULL); - if (g_key_file_has_key (kf, "General", "show_gtk_palette", NULL)) - settings.show_gtk_palette = g_key_file_get_boolean (kf, "General", "show_gtk_palette", NULL); - if (g_key_file_has_key (kf, "General", "expand_palette", NULL)) - settings.expand_palette = g_key_file_get_boolean (kf, "General", "expand_palette", NULL); - if (g_key_file_has_key (kf, "General", "terminal", NULL)) - settings.term = g_key_file_get_string (kf, "General", "terminal", NULL); - } + { + if (g_key_file_has_key (kf, "General", "width", NULL)) + settings.width = g_key_file_get_integer (kf, "General", "width", NULL); + if (g_key_file_has_key (kf, "General", "height", NULL)) + settings.height = g_key_file_get_integer (kf, "General", "height", NULL); + if (g_key_file_has_key (kf, "General", "timeout", NULL)) + settings.timeout = g_key_file_get_integer (kf, "General", "timeout", NULL); + if (g_key_file_has_key (kf, "General", "timeout_indicator", NULL)) + settings.to_indicator = g_key_file_get_string (kf, "General", "timeout_indicator", NULL); + if (g_key_file_has_key (kf, "General", "show_remain", NULL)) + settings.show_remain = g_key_file_get_boolean (kf, "General", "show_remain", NULL); + if (g_key_file_has_key (kf, "General", "combo_always_editable", NULL)) + settings.combo_always_editable = g_key_file_get_boolean (kf, "General", "combo_always_editable", NULL); + if (g_key_file_has_key (kf, "General", "terminal", NULL)) + settings.term = g_key_file_get_string (kf, "General", "terminal", NULL); + if (g_key_file_has_key (kf, "General", "open_command", NULL)) + settings.open_cmd = g_key_file_get_string (kf, "General", "open_command", NULL); + if (g_key_file_has_key (kf, "General", "date_format", NULL)) + settings.date_format = g_key_file_get_string (kf, "General", "date_format", NULL); + if (g_key_file_has_key (kf, "General", "ignore_unknown_options", NULL)) + settings.ignore_unknown = g_key_file_get_boolean (kf, "General", "ignore_unknown_options", NULL); + if (g_key_file_has_key (kf, "General", "max_tab", NULL)) + settings.max_tab = g_key_file_get_integer (kf, "General", "max_tab", NULL); + + settings.print_settings = gtk_print_settings_new_from_key_file (kf, NULL, NULL); + settings.page_setup = gtk_page_setup_new_from_key_file (kf, NULL, NULL); + } g_key_file_free (kf); } @@ -100,41 +104,42 @@ kf = g_key_file_new (); -#if !GTK_CHECK_VERSION(2,22,0) - g_key_file_set_boolean (kf, "General", "dialog_separator", settings.dlg_sep); - g_key_file_set_comment (kf, "General", "dialog_separator", "Enable separator between dialog and buttons", NULL); -#endif g_key_file_set_integer (kf, "General", "width", settings.width); - g_key_file_set_comment (kf, "General", "width", "Default dialog width", NULL); + g_key_file_set_comment (kf, "General", "width", " Default dialog width", NULL); g_key_file_set_integer (kf, "General", "height", settings.height); - g_key_file_set_comment (kf, "General", "height", "Default dialog height", NULL); + g_key_file_set_comment (kf, "General", "height", " Default dialog height", NULL); g_key_file_set_integer (kf, "General", "timeout", settings.timeout); - g_key_file_set_comment (kf, "General", "timeout", "Default timeout (0 for no timeout)", NULL); - g_key_file_set_integer (kf, "General", "timeout_indicator", settings.timeout); - g_key_file_set_comment (kf, "General", "timeout_indicator", - "Position of timeout indicator (top, bottom, left, right, none)", NULL); + g_key_file_set_comment (kf, "General", "timeout", " Default timeout (0 for no timeout)", NULL); + g_key_file_set_string (kf, "General", "timeout_indicator", settings.to_indicator); + g_key_file_set_comment (kf, "General", "timeout_indicator", + " Position of timeout indicator (top, bottom, left, right, none)", NULL); g_key_file_set_boolean (kf, "General", "show_remain", settings.show_remain); - g_key_file_set_comment (kf, "General", "show_remain", "Show remain seconds in timeout indicator", NULL); - g_key_file_set_boolean (kf, "General", "rules_hint", settings.rules_hint); - g_key_file_set_comment (kf, "General", "rules_hint", "Enable rules hints in list widget", NULL); - g_key_file_set_boolean (kf, "General", "always_selected", settings.always_selected); - g_key_file_set_comment (kf, "General", "always_selected", "List widget always have a selection", NULL); + g_key_file_set_comment (kf, "General", "show_remain", " Show remain seconds in timeout indicator", NULL); g_key_file_set_boolean (kf, "General", "combo_always_editable", settings.combo_always_editable); - g_key_file_set_comment (kf, "General", "combo_always_editable", "Combo-box in entry dialog is always editable", NULL); - g_key_file_set_boolean (kf, "General", "show_gtk_palette", settings.show_gtk_palette); - g_key_file_set_comment (kf, "General", "show_gtk_palette", "Show GtkColorSelection palette", NULL); - g_key_file_set_boolean (kf, "General", "expand_palette", settings.expand_palette); - g_key_file_set_comment (kf, "General", "expand_palette", "Expand list of predefined colors in color dialog", NULL); + g_key_file_set_comment (kf, "General", "combo_always_editable", " Combo-box in entry dialog is always editable", NULL); g_key_file_set_string (kf, "General", "terminal", settings.term); - g_key_file_set_comment (kf, "General", "terminal", "Default terminal command (use %s for command template)", NULL); + g_key_file_set_comment (kf, "General", "terminal", " Default terminal command (use %s for arguments placeholder)", NULL); + g_key_file_set_string (kf, "General", "open_command", settings.open_cmd); + g_key_file_set_comment (kf, "General", "open_command", " Default open command (use %s for arguments placeholder)", NULL); + g_key_file_set_string (kf, "General", "date_format", settings.date_format); + g_key_file_set_comment (kf, "General", "date_format", " Default date format (see strftime(3) for details)", NULL); + g_key_file_set_boolean (kf, "General", "ignore_unknown_options", settings.ignore_unknown); + g_key_file_set_comment (kf, "General", "ignore_unknown_options", " Ignore unknown command-line options", NULL); + g_key_file_set_integer (kf, "General", "max_tab", settings.max_tab); + g_key_file_set_comment (kf, "General", "max_tab", " Maximum number of tabs in notebook", NULL); + + if (settings.print_settings) + gtk_print_settings_to_key_file (settings.print_settings, kf, NULL); + if (settings.page_setup) + gtk_page_setup_to_key_file (settings.page_setup, kf, NULL); context = g_key_file_to_data (kf, NULL, NULL); g_key_file_free (kf); - if (g_mkdir_with_parents (g_get_user_config_dir (), 0644) != -1) + if (g_mkdir_with_parents (g_get_user_config_dir (), 0755) != -1) { - gchar *filename = g_build_filename (g_get_user_config_dir (), SETTINGS_FILE, NULL); + gchar *filename = g_build_filename (g_get_user_config_dir (), YAD_SETTINGS_FILE, NULL); g_file_set_contents (filename, context, -1, NULL); g_free (filename); } @@ -145,7 +150,7 @@ } GdkPixbuf * -get_pixbuf (gchar *name, YadIconSize size) +get_pixbuf (gchar * name, YadIconSize size) { gint w, h; GdkPixbuf *pb = NULL; @@ -155,51 +160,153 @@ { pb = gdk_pixbuf_new_from_file (name, &err); if (!pb) - { - g_printerr ("yad_get_pixbuf(): %s\n", err->message); - g_error_free (err); - } + { + g_printerr ("yad_get_pixbuf(): %s\n", err->message); + g_error_free (err); + } } else { if (size == YAD_BIG_ICON) - gtk_icon_size_lookup (GTK_ICON_SIZE_DIALOG, &w, &h); + gtk_icon_size_lookup (GTK_ICON_SIZE_DIALOG, &w, &h); else - gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &w, &h); + gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &w, &h); - pb = gtk_icon_theme_load_icon (settings.icon_theme, name, MIN (w, h), - GTK_ICON_LOOKUP_GENERIC_FALLBACK, NULL); + pb = gtk_icon_theme_load_icon (settings.icon_theme, name, MIN (w, h), GTK_ICON_LOOKUP_GENERIC_FALLBACK, NULL); } if (!pb) { if (size == YAD_BIG_ICON) - pb = settings.big_fallback_image; + pb = settings.big_fallback_image; else - pb = settings.small_fallback_image; + pb = settings.small_fallback_image; } return pb; } -inline void -strip_new_line (gchar *str) +gchar * +get_color (GdkColor *c, guint64 alpha) +{ + gchar *cs; + gchar *res = NULL; + + switch (options.color_data.mode) + { + case YAD_COLOR_HEX: + cs = gdk_color_to_string (c); + if (options.color_data.alpha) + { + if (options.color_data.extra) + res = g_strdup_printf ("#%s%hx", cs + 1, alpha); + else + res = g_strdup_printf ("#%c%c%c%c%c%c%hx", cs1, cs2, cs5, cs6, cs9, cs10, alpha / 256); + } + else + { + if (options.color_data.extra) + res = g_strdup_printf ("%s", cs); + else + res = g_strdup_printf ("#%c%c%c%c%c%c", cs1, cs2, cs5, cs6, cs9, cs10); + } + g_free (cs); + break; + case YAD_COLOR_RGB: + if (options.color_data.alpha) + res = g_strdup_printf ("rgba(%.1f, %.1f, %.1f, %.1f)", (double) c->red / 255.0, (double) c->green / 255.0, + (double) c->blue / 255.0, (double) alpha / 255 / 255); + else + res = g_strdup_printf ("rgb(%.1f, %.1f, %.1f)", (double) c->red / 255.0, (double) c->green / 255.0, + (double) c->blue / 255.0); + break; + } + + return res; +} + +void +update_preview (GtkFileChooser * chooser, GtkWidget *p) { - gint nl = strlen (str) - 1; + gchar *uri; + static gchar *normal_path = NULL; + static gchar *large_path = NULL; + + /* init thumbnails path */ + if (!normal_path) + normal_path = g_build_filename (g_get_user_cache_dir (), "thumbnails", "normal", NULL); + if (!large_path) + large_path = g_build_filename (g_get_user_cache_dir (), "thumbnails", "large", NULL); + + /* load preview */ + uri = gtk_file_chooser_get_preview_uri (chooser); + if (uri) + { + gchar *file; + GChecksum *chs; + GdkPixbuf *pb; + + chs = g_checksum_new (G_CHECKSUM_MD5); + g_checksum_update (chs, (const guchar *) uri, -1); + /* first try to get preview from large thumbnail */ + file = g_strdup_printf ("%s/%s.png", large_path, g_checksum_get_string (chs)); + if (g_file_test (file, G_FILE_TEST_EXISTS)) + pb = gdk_pixbuf_new_from_file (file, NULL); + else + { + /* try to get preview from normal thumbnail */ + g_free (file); + file = g_strdup_printf ("%s/%s.png", normal_path, g_checksum_get_string (chs)); + if (g_file_test (file, G_FILE_TEST_EXISTS)) + pb = gdk_pixbuf_new_from_file (file, NULL); + else + { + /* try to create it */ + g_free (file); + file = g_filename_from_uri (uri, NULL, NULL); + pb = gdk_pixbuf_new_from_file_at_size (file, 256, 256, NULL); + g_free (file); + if (pb) + { + /* save thumbnail */ + g_mkdir_with_parents (large_path, 0755); + file = g_strdup_printf ("%s/%s.png", large_path, g_checksum_get_string (chs)); + gdk_pixbuf_save (pb, file, "png", NULL, NULL); + } + } + } + g_checksum_free (chs); + + if (pb) + { + gtk_image_set_from_pixbuf (GTK_IMAGE (p), pb); + g_object_unref (pb); + gtk_file_chooser_set_preview_widget_active (chooser, TRUE); + } + else + gtk_file_chooser_set_preview_widget_active (chooser, FALSE); + + g_free (uri); + } + else + gtk_file_chooser_set_preview_widget_active (chooser, FALSE); +} - if (strnl == '\n') - strnl = '\0'; +void +filechooser_mapped (GtkWidget *w, gpointer data) +{ + gtk_file_chooser_set_show_hidden (GTK_FILE_CHOOSER (w), options.common_data.show_hidden); } gchar ** -split_arg (const gchar *str) +split_arg (const gchar * str) { gchar **res; gchar *p_col; - res = g_new0 (gchar*, 3); + res = g_new0 (gchar *, 3); - p_col = g_strrstr (str, ":"); + p_col = g_strrstr (str, ":"); if (p_col && p_col1) { res0 = g_strndup (str, p_col - str); @@ -211,51 +318,142 @@ return res; } -char * -escape_markup (char *str) +YadNTabs * +get_tabs (key_t key, gboolean create) +{ + YadNTabs *t = NULL; + int shmid, i; + + /* get shared memory */ + if (create) + { + if ((shmid = shmget (key, (settings.max_tab + 1) * sizeof (YadNTabs), IPC_CREAT | IPC_EXCL | 0644)) == -1) + { + g_printerr ("yad: cannot create shared memory for key %d: %s\n", key, strerror (errno)); + return NULL; + } + } + else + { + if ((shmid = shmget (key, (settings.max_tab + 1) * sizeof (YadNTabs), 0)) == -1) + { + if (errno != ENOENT) + g_printerr ("yad: cannot get shared memory for key %d: %s\n", key, strerror (errno)); + return NULL; + } + } + + /* attach shared memory */ + if ((t = shmat (shmid, NULL, 0)) == (YadNTabs *) - 1) + { + g_printerr ("yad: cannot attach shared memory for key %d: %s\n", key, strerror (errno)); + return NULL; + } + + /* initialize memory */ + if (create) + { + for (i = 0; i < settings.max_tab + 1; i++) + { + ti.pid = -1; + ti.xid = 0; + } + t0.pid = shmid; + } + + return t; +} + +GtkWidget * +get_label (gchar * str, guint border) +{ + GtkWidget *a, *t, *i, *l; + GtkStockItem it; + gchar **vals; + + if (!str || !*str) + return gtk_label_new (NULL); + + l = i = NULL; + + a = gtk_alignment_new (0.0, 0.5, 0, 0); + gtk_container_set_border_width (GTK_CONTAINER (a), border); + +#if !GTK_CHECK_VERSION(3,0,0) + t = gtk_hbox_new (FALSE, 0); +#else + t = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); +#endif + gtk_container_add (GTK_CONTAINER (a), t); + + vals = g_strsplit_set (str, options.common_data.item_separator, 3); + if (gtk_stock_lookup (vals0, &it)) + { + l = gtk_label_new_with_mnemonic (it.label); + gtk_misc_set_alignment (GTK_MISC (l), 0.0, 0.5); + + i = gtk_image_new_from_pixbuf (get_pixbuf (it.stock_id, YAD_SMALL_ICON)); + } + else + { + if (vals0 && *vals0) + { + l = gtk_label_new (NULL); + if (!options.data.no_markup) + gtk_label_set_markup_with_mnemonic (GTK_LABEL (l), vals0); + else + gtk_label_set_text_with_mnemonic (GTK_LABEL (l), vals0); + gtk_misc_set_alignment (GTK_MISC (l), 0.0, 0.5); + } + + if (vals1 && *vals1) + i = gtk_image_new_from_pixbuf (get_pixbuf (vals1, YAD_SMALL_ICON)); + } + + if (i) + gtk_box_pack_start (GTK_BOX (t), i, FALSE, FALSE, 1); + if (l) + gtk_box_pack_start (GTK_BOX (t), l, FALSE, FALSE, 1); + + /* !!! must check both 1 and 2 values for !NULL */ + if (vals1 && vals2 && *vals2) + { + if (!options.data.no_markup) + gtk_widget_set_tooltip_markup (t, vals2); + else + gtk_widget_set_tooltip_text (t, vals2); + } + + g_strfreev (vals); + + gtk_widget_show_all (a); + + return a; +} + +gchar * +escape_str (gchar *str) { - char *res, *buf = str; - unsigned i = 0, len; + gchar *res, *buf = str; + guint i = 0, len; if (!str) return NULL; len = strlen (str); - res = (char *) calloc (len + 1, sizeof (char)); + res = (gchar *) calloc (len * 2 + 1, sizeof (gchar)); while (*buf) { switch (*buf) { - case '&': - len += 4; - res = (char *) realloc (res, len + 1); - strcpy (res + i, "&"); - i += 5; - break; - case '<': - len += 3; - res = (char *) realloc (res, len + 1); - strcpy (res + i, "<"); - i += 4; + case '\n': + strcpy (res + i, "\\n"); + i += 2; break; - case '>': - len += 3; - res = (char *) realloc (res, len + 1); - strcpy (res + i, ">"); - i += 4; - break; - case '"': - len += 5; - res = (char *) realloc (res, len + 1); - strcpy (res + i, """); - i += 6; - break; - case '\'': - len += 5; - res = (char *) realloc (res, len + 1); - strcpy (res + i, "'"); - i += 6; + case '\t': + strcpy (res + i, "\\t"); + i += 2; break; default: *(res + i) = *buf; @@ -269,53 +467,92 @@ return res; } -char * -unescape_markup (char *str) +gchar * +escape_char (gchar *str, gchar ch) { - char *res, *buf = str; - int i = 0; + gchar *res, *buf = str; + guint i = 0, len; if (!str) return NULL; - res = calloc (strlen (str) + 1, sizeof (char)); + len = strlen (str); + res = (gchar *) calloc (len * 2 + 1, sizeof (gchar)); while (*buf) { - if (*buf == '&') + if (*buf == ch) { - buf++; - if (strncmp (buf, "lt;", 3) == 0) - { - resi = '<'; - buf += 3; - } - else if (strncmp (buf, "gt;", 3) == 0) - { - resi = '>'; - buf += 3; - } - else if (strncmp (buf, "amp;", 4) == 0) - { - resi = '&'; - buf += 4; - } - else if (strncmp (buf, "quot;", 5) == 0) + strcpy (res + i, "\\\""); + i += 2; + } + else + { + *(res + i) = *buf; + i++; + } + buf++; + } + resi = '\0'; + + return res; +} + +gboolean +check_complete (GtkEntryCompletion *c, const gchar *key, GtkTreeIter *iter, gpointer data) +{ + gchar *value = NULL; + GtkTreeModel *model = gtk_entry_completion_get_model (c); + gboolean found = FALSE; + + if (!model || !key || !key0) + return FALSE; + + gtk_tree_model_get (model, iter, 0, &value, -1); + + if (value) + { + gchar **words = NULL; + guint i = 0; + + switch (options.common_data.complete) + { + case YAD_COMPLETE_ANY: + words = g_strsplit_set (key, " \t", -1); + while (wordsi) { - resi = '"'; - buf += 5; + if (strcasestr (value, wordsi) != NULL) + { + /* found one of the words */ + found = TRUE; + break; + } + i++; } - else if (strncmp (buf, "apos;", 5) == 0) + break; + case YAD_COMPLETE_ALL: + words = g_strsplit_set (key, " \t", -1); + found = TRUE; + while (wordsi) { - resi = '\''; - buf += 5; + if (strcasestr (value, wordsi) == NULL) + { + /* not found one of the words */ + found = FALSE; + break; + } + i++; } + break; + case YAD_COMPLETE_REGEX: + found = g_regex_match_simple (key, value, G_REGEX_CASELESS | G_REGEX_OPTIMIZE, G_REGEX_MATCH_NOTEMPTY); + break; + default: ; } - else - resi = *buf++; - i++; + + if (words) + g_strfreev (words); } - resi = '\0'; - return res; + return found; }
View file
yad-0.16.3.tar.bz2/src/yad.h -> yad-0.36.2.tar.xz/src/yad.h
Changed
@@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see <http://www.gnu.org/licenses/>. * - * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> + * Copyright (C) 2008-2016, Victor Ananjevsky <ananasik@gmail.com> */ #ifndef _YAD_H_ @@ -22,15 +22,37 @@ #include <config.h> +#include <sys/types.h> +#include <sys/ipc.h> + +#include <gdk/gdkx.h> + #include <gtk/gtk.h> #include <glib/gi18n.h> +#if GTK_CHECK_VERSION(3,0,0) +#include <gtk/gtkx.h> +#endif + +#ifdef HAVE_SPELL +#include <gtkspell/gtkspell.h> +#endif + +#ifdef HAVE_SOURCEVIEW +#include <gtksourceview/gtksourceview.h> +#include <gtksourceview/gtksourcebuffer.h> +#include <gtksourceview/gtksourcelanguage.h> +#include <gtksourceview/gtksourcelanguagemanager.h> +#endif + G_BEGIN_DECLS +#define YAD_SETTINGS_FILE "yad.conf" + #define YAD_RESPONSE_OK 0 #define YAD_RESPONSE_CANCEL 1 #define YAD_RESPONSE_TIMEOUT 70 -#define YAD_RESPONSE_ESC -4 /* 252 */ +#define YAD_RESPONSE_ESC -4 /* 252 */ #define YAD_URL_REGEX "(http|https|ftp)://a-zA-Z0-9./_%#&-+" @@ -43,22 +65,34 @@ YAD_MODE_FILE, YAD_MODE_FONT, YAD_MODE_FORM, +#ifdef HAVE_HTML + YAD_MODE_HTML, +#endif YAD_MODE_ICONS, YAD_MODE_LIST, YAD_MODE_MULTI_PROGRESS, + YAD_MODE_NOTEBOOK, YAD_MODE_NOTIFICATION, + YAD_MODE_PANED, + YAD_MODE_PICTURE, YAD_MODE_PRINT, YAD_MODE_PROGRESS, YAD_MODE_SCALE, YAD_MODE_TEXTINFO, YAD_MODE_ABOUT, - YAD_MODE_VERSION, + YAD_MODE_VERSION } YadDialogMode; typedef enum { + YAD_COLOR_HEX, + YAD_COLOR_RGB +} YadColorMode; + +typedef enum { YAD_FIELD_SIMPLE = 0, YAD_FIELD_HIDDEN, YAD_FIELD_READ_ONLY, + YAD_FIELD_COMPLETE, YAD_FIELD_NUM, YAD_FIELD_CHECK, YAD_FIELD_COMBO, @@ -68,42 +102,61 @@ YAD_FIELD_MFILE, YAD_FIELD_DIR, YAD_FIELD_DIR_CREATE, + YAD_FIELD_MDIR, YAD_FIELD_FONT, YAD_FIELD_COLOR, YAD_FIELD_DATE, + YAD_FIELD_SCALE, YAD_FIELD_BUTTON, + YAD_FIELD_FULL_BUTTON, YAD_FIELD_LABEL, + YAD_FIELD_TEXT } YadFieldType; typedef enum { YAD_COLUMN_TEXT = 0, YAD_COLUMN_NUM, + YAD_COLUMN_SIZE, YAD_COLUMN_FLOAT, YAD_COLUMN_CHECK, + YAD_COLUMN_RADIO, + YAD_COLUMN_BAR, YAD_COLUMN_IMAGE, - YAD_COLUMN_TOOLTIP, + YAD_COLUMN_HIDDEN, YAD_COLUMN_ATTR_FORE, YAD_COLUMN_ATTR_BACK, - YAD_COLUMN_ATTR_FONT, + YAD_COLUMN_ATTR_FONT } YadColumnType; typedef enum { + YAD_PICTURE_FIT, + YAD_PICTURE_ORIG +} YadPictureType; + +typedef enum { YAD_PRINT_TEXT = 0, YAD_PRINT_IMAGE, - YAD_PRINT_RAW, + YAD_PRINT_RAW } YadPrintType; typedef enum { YAD_PROGRESS_NORMAL = 0, YAD_PROGRESS_RTL, - YAD_PROGRESS_PULSE, + YAD_PROGRESS_PULSE } YadProgressType; typedef enum { YAD_BIG_ICON = 0, - YAD_SMALL_ICON, + YAD_SMALL_ICON } YadIconSize; +typedef enum { + YAD_COMPLETE_SIMPLE = 0, + YAD_COMPLETE_ANY, + YAD_COMPLETE_ALL, + YAD_COMPLETE_REGEX +} YadCompletionType; + typedef struct { gchar *name; gchar *cmd; @@ -139,20 +192,19 @@ guint timeout; gchar *to_indicator; gchar *dialog_text; - gdouble text_align; + GtkJustification text_align; gchar *dialog_image; gboolean image_on_top; gchar *icon_theme; -#if !GTK_CHECK_VERSION(3,0,0) - gboolean dialog_sep; -#endif gchar *expander; gint borders; GSList *buttons; gboolean no_buttons; gboolean no_markup; + gboolean no_escape; gboolean always_print; gboolean selectable_labels; + GtkButtonBoxStyle buttons_layout; /* window settings */ gboolean sticky; gboolean fixed; @@ -161,6 +213,10 @@ gboolean mouse; gboolean undecorated; gboolean skip_taskbar; + gboolean maximized; + gboolean fullscreen; + gboolean splash; + gboolean focus; } YadData; typedef struct { @@ -172,9 +228,13 @@ typedef struct { gchar *init_color; + gboolean gtk_palette; gboolean use_palette; + gboolean expand_palette; gchar *palette; gboolean extra; + gboolean alpha; + YadColorMode mode; } YadColorData; typedef struct { @@ -198,57 +258,102 @@ gboolean save; gboolean confirm_overwrite; gchar *confirm_text; - gchar **filter; + gchar **file_filt; + gchar **mime_filt; + gchar *image_filt; } YadFileData; typedef struct { gchar *preview; + gboolean separate_output; } YadFontData; typedef struct { GSList *fields; - gdouble align; guint columns; + gboolean scroll; + gboolean output_by_row; + guint focus_field; + gboolean cycle_read; } YadFormData; +#ifdef HAVE_HTML +typedef struct { + gchar *uri; + gboolean browser; + gboolean print_uri; + gchar *mime; + gchar *encoding; +} YadHtmlData; +#endif + typedef struct { gchar *directory; gboolean compact; gboolean generic; gboolean descend; gboolean sort_by_name; - gboolean stdinput; + gboolean single_click; guint width; gchar *term; +#ifdef HAVE_GIO + gboolean monitor; +#endif } YadIconsData; typedef struct { GSList *columns; gboolean no_headers; gboolean checkbox; + gboolean radiobox; gboolean print_all; + gboolean rules_hint; gint print_column; gint hide_column; gint expand_column; gint search_column; + gint tooltip_column; + gint sep_column; + gchar *sep_value; guint limit; PangoEllipsizeMode ellipsize; gchar *dclick_action; + gchar *select_action; gboolean regex_search; + gboolean clickable; + gboolean no_selection; } YadListData; typedef struct { GSList *bars; + gint watch_bar; } YadMultiProgressData; typedef struct { - gboolean listen; + GSList *tabs; + guint borders; + GtkPositionType pos; +} YadNotebookData; + +typedef struct { + gboolean middle; + gboolean hidden; + gchar *menu; } YadNotificationData; typedef struct { + GtkOrientation orient; + gint splitter; +} YadPanedData; + +typedef struct { + YadPictureType size; + gint inc; +} YadPictureData; + +typedef struct { YadPrintType type; gboolean headers; - gboolean preview; } YadPrintData; typedef struct { @@ -260,6 +365,10 @@ #endif guint percentage; gboolean rtl; + gchar *log; + gboolean log_expanded; + gboolean log_on_top; + gint log_height; } YadProgressData; typedef struct { @@ -283,8 +392,16 @@ gint margins; gboolean tail; gboolean uri; + gboolean hide_cursor; + gchar *uri_color; } YadTextData; +#ifdef HAVE_SOURCEVIEW +typedef struct { + gchar *lang; +} YadSourceData; +#endif + typedef struct { gchar *uri; gchar *font; @@ -295,6 +412,20 @@ gboolean vertical; gchar *command; gchar *date_format; + guint float_precision; + gdouble align; + gboolean listen; + gboolean preview; + gboolean show_hidden; + gboolean quoted_output; + gboolean num_output; + YadCompletionType complete; + GList *filters; + key_t key; +#ifdef HAVE_SPELL + gboolean enable_spell; + gchar *spell_lang; +#endif } YadCommonData; typedef struct { @@ -310,19 +441,35 @@ YadFileData file_data; YadFontData font_data; YadFormData form_data; +#ifdef HAVE_HTML + YadHtmlData html_data; +#endif YadIconsData icons_data; YadListData list_data; YadMultiProgressData multi_progress_data; + YadNotebookData notebook_data; YadNotificationData notification_data; + YadPanedData paned_data; + YadPictureData picture_data; YadPrintData print_data; YadProgressData progress_data; YadScaleData scale_data; YadTextData text_data; +#ifdef HAVE_SOURCEVIEW + YadSourceData source_data; +#endif + + gchar *gtkrc_file; + gchar *rest_file; gchar **extra_data; + key_t plug; + guint tabnum; + #ifndef G_OS_WIN32 - gboolean kill_parent; + guint64 parent; + guint kill_parent; gboolean print_xid; #endif } YadOptions; @@ -335,40 +482,61 @@ guint timeout; gchar *to_indicator; gboolean show_remain; - gboolean rules_hint; - gboolean always_selected; -#if !GTK_CHECK_VERSION(3,0,0) - gboolean dlg_sep; -#endif gboolean combo_always_editable; - gboolean show_gtk_palette; - gboolean expand_palette; + gboolean ignore_unknown; GtkIconTheme *icon_theme; GdkPixbuf *big_fallback_image; GdkPixbuf *small_fallback_image; gchar *term; + gchar *open_cmd; + gchar *date_format; + guint max_tab; + + GtkPrintSettings *print_settings; + GtkPageSetup *page_setup; } YadSettings; extern YadSettings settings; +typedef struct { + pid_t pid; + Window xid; +} YadNTabs; + +/* pointer to shared memory for tabbed dialog */ +/* 0 item used for special info: */ +/* pid - memory id */ +/* xid - count of registered tabs (for sync) */ +extern YadNTabs *tabs; +extern gint t_sem; + void yad_options_init (void); -GOptionContext * yad_create_context (void); +GOptionContext *yad_create_context (void); void yad_set_mode (void); -GtkWidget * calendar_create_widget (GtkWidget *dlg); -GtkWidget * color_create_widget (GtkWidget *dlg); -GtkWidget * entry_create_widget (GtkWidget *dlg); -GtkWidget * file_create_widget (GtkWidget *dlg); -GtkWidget * font_create_widget (GtkWidget *dlg); -GtkWidget * form_create_widget (GtkWidget *dlg); -GtkWidget * icons_create_widget (GtkWidget *dlg); -GtkWidget * list_create_widget (GtkWidget *dlg); -GtkWidget * multi_progress_create_widget (GtkWidget *dlg); -GtkWidget * progress_create_widget (GtkWidget *dlg); -GtkWidget * scale_create_widget (GtkWidget *dlg); -GtkWidget * text_create_widget (GtkWidget *dlg); - -void confirm_overwrite_cb (GtkDialog *dlg, gint id, gpointer data); +GtkWidget *calendar_create_widget (GtkWidget *dlg); +GtkWidget *color_create_widget (GtkWidget *dlg); +GtkWidget *entry_create_widget (GtkWidget *dlg); +GtkWidget *file_create_widget (GtkWidget *dlg); +GtkWidget *font_create_widget (GtkWidget *dlg); +GtkWidget *form_create_widget (GtkWidget *dlg); +#ifdef HAVE_HTML +GtkWidget *html_create_widget (GtkWidget *dlg); +#endif +GtkWidget *icons_create_widget (GtkWidget *dlg); +GtkWidget *list_create_widget (GtkWidget *dlg); +GtkWidget *multi_progress_create_widget (GtkWidget *dlg); +GtkWidget *notebook_create_widget (GtkWidget *dlg); +GtkWidget *paned_create_widget (GtkWidget *dlg); +GtkWidget *picture_create_widget (GtkWidget *dlg); +GtkWidget *progress_create_widget (GtkWidget *dlg); +GtkWidget *scale_create_widget (GtkWidget *dlg); +GtkWidget *text_create_widget (GtkWidget *dlg); + +gboolean file_confirm_overwrite (GtkDialog *dlg); +void notebook_swallow_childs (void); +void paned_swallow_childs (void); +void picture_fit_to_window (void); void calendar_print_result (void); void color_print_result (void); @@ -377,6 +545,8 @@ void font_print_result (void); void form_print_result (void); void list_print_result (void); +void notebook_print_result (void); +void paned_print_result (void); void scale_print_result (void); void text_print_result (void); @@ -386,16 +556,39 @@ gint yad_print_run (void); gint yad_about (void); +gboolean yad_send_notify (gboolean); + +void notebook_close_childs (void); +void paned_close_childs (void); + void read_settings (void); void write_settings (void); -GdkPixbuf * get_pixbuf (gchar *name, YadIconSize size); +void update_preview (GtkFileChooser *chooser, GtkWidget *p); +void filechooser_mapped (GtkWidget *w, gpointer data); + +GdkPixbuf *get_pixbuf (gchar *name, YadIconSize size); +gchar *get_color (GdkColor *c, guint64 alpha); -inline void strip_new_line (gchar *str); gchar **split_arg (const gchar *str); -gchar *escape_markup (gchar *str); -gchar *unescape_markup (gchar *str); +YadNTabs *get_tabs (key_t key, gboolean create); + +GtkWidget *get_label (gchar *str, guint border); + +gchar *escape_str (gchar *str); +gchar *escape_char (gchar *str, gchar ch); + +gboolean check_complete (GtkEntryCompletion *c, const gchar *key, GtkTreeIter *iter, gpointer data); + +static inline void +strip_new_line (gchar * str) +{ + gint nl = strlen (str) - 1; + + if (strnl == '\n') + strnl = '\0'; +} G_END_DECLS
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.