gnome-color-chooser-0.2.5/0000777000175000017500000000000011162025261012400 500000000000000gnome-color-chooser-0.2.5/m4/0000777000175000017500000000000011162025261012720 500000000000000gnome-color-chooser-0.2.5/m4/lf_cxx.m40000644000175000017500000001231011005150565014360 00000000000000dnl Autoconf support for C++ dnl Copyright (C) 1988 Eleftherios Gkioulekas dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a configuration dnl script generated by Autoconf, you may include it under the same dnl distribution terms that you use for the rest of that program. dnl dnl Modified by Werner Pantke (2008) # ----------------------------------------------------------------- # This macro should be called to configure your C++ compiler. # When called, the macro does the following things: # 1. It finds an appropriate C++ compiler # If you passed the flag --with-cxx=foo, then it uses that # particular compiler # 2. Checks whether the compiler accepts the -g # ------------------------------------------------------------------ AC_DEFUN([LF_CONFIGURE_CXX],[ AC_PROG_CXX AC_PROG_CXXCPP LF_CPP_PORTABILITY ]) # ----------------------------------------------------------------------- # This macro tests the C++ compiler for various portability problem. # 1. Defines CXX_HAS_NO_BOOL if the compiler does not support the bool # data type # 2. Defines CXX_HAS_BUGGY_FOR_LOOPS if the compiler has buggy # scoping for the for-loop # 3. Defines USE_ASSERT if the user wants to use assertions # Seperately we provide some config.h.bot code to be added to acconfig.h # that implements work-arounds for these problems. # ----------------------------------------------------------------------- dnl ACCONFIG TEMPLATE dnl #undef CXX_HAS_BUGGY_FOR_LOOPS dnl #undef CXX_HAS_NO_BOOL dnl #undef NDEBUG dnl END ACCONFIG AC_DEFUN([LF_CPP_PORTABILITY],[ dnl dnl Check for common C++ portability problems dnl AC_LANG_SAVE AC_LANG_CPLUSPLUS dnl Check whether we have bool AC_MSG_CHECKING(whether C++ has bool) AC_TRY_RUN([main() { bool b1=true; bool b2=false; }], [ AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) AC_DEFINE(CXX_HAS_NO_BOOL,[],[CXX_HAS_NO_BOOL]) ], [ AC_MSG_WARN(Don't cross-compile)] ) dnl Test whether C++ has buggy for-loops AC_MSG_CHECKING(whether C++ has buggy scoping in for-loops) AC_TRY_COMPILE([#include ], [ for (int i=0;i<10;i++) { } for (int i=0;i<10;i++) { } ], [ AC_MSG_RESULT(no) ], [ AC_MSG_RESULT(yes) AC_DEFINE(CXX_HAS_BUGGY_FOR_LOOPS,[],[CXX_HAS_BUGGY_FOR_LOOPS]) ]) dnl Test whether the user wants to enable assertions AC_MSG_CHECKING(whether user wants assertions) AC_ARG_ENABLE(assert, [ --disable-assert don't use cpp.h assert], [ AC_DEFINE(NDEBUG,[],[NDEBUG]) AC_MSG_RESULT(no) ], [ AC_MSG_RESULT(yes) ], ) dnl Done with the portability checks AC_LANG_RESTORE ]) dnl ACCONFIG BOTTOM dnl dnl // This file defines portability work-arounds for various proprietory dnl // C++ compilers dnl dnl // Workaround for compilers with buggy for-loop scoping dnl // That's quite a few compilers actually including recent versions of dnl // Dec Alpha cxx, HP-UX CC and SGI CC. dnl // The trivial "if" statement provides the correct scoping to the dnl // for loop dnl dnl #ifdef CXX_HAS_BUGGY_FOR_LOOPS dnl #undef for dnl #define for if(1) for dnl #endif dnl dnl // dnl // Fortran-like integer looping macros dnl // these critters depend on the scoping work-around above dnl // dnl dnl #define loop(COUNTER,BEGIN,END) \ dnl for (int COUNTER = BEGIN ; COUNTER <= END ; COUNTER ## ++) dnl dnl #define inverse_loop(COUNTER,END,BEGIN) \ dnl for (int COUNTER = END; COUNTER >= BEGIN; COUNTER ## --) dnl dnl #define integer_loop(COUNTER,BEGIN,END,STEP) \ dnl for (int COUNTER = BEGIN; COUNTER <= END; COUNTER += STEP) dnl dnl // dnl // Class protection levels dnl // addictive syntactic sugar to make coding nicer dnl // dnl dnl #define pub public: dnl #define pro protected: dnl #define pri private: dnl dnl // dnl // Every mathematician would like to know pi dnl // so this is as good a place as any to throw it in. dnl // dnl dnl #define pi 3.14159265358979324 dnl dnl // dnl // If the C++ compiler we use doesn't have bool, then dnl // the following is a near-perfect work-around. dnl // You must make sure your code does not depend on "int" and "bool" dnl // being two different types, in overloading for instance. dnl // dnl dnl #ifdef CXX_HAS_NO_BOOL dnl #define bool int dnl #define true 1 dnl #define false 0 dnl #endif dnl dnl #include dnl dnl END ACCONFIG gnome-color-chooser-0.2.5/m4/lf_host_type.m40000644000175000017500000000346411005150565015606 00000000000000dnl Autoconf support for C++ dnl Copyright (C) 1988 Eleftherios Gkioulekas dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a configuration dnl script generated by Autoconf, you may include it under the same dnl distribution terms that you use for the rest of that program. dnl dnl Modified by Werner Pantke (2008) # ----------------------------------------------------------------------- # This macro determines hardware-vendor-os information and # sets the variable ``canonical_host_type'' to that information # ------------------------------------------------------------------------ dnl ACCONFIG TEMPLATE dnl #undef YOUR_OS dnl END ACCONFIG AC_DEFUN([LF_HOST_TYPE], [ AC_CANONICAL_HOST if test -z "$host" then host=unknown fi canonical_host_type=$host if test "$host" = unknown then AC_MSG_WARN(configuring for unknown system type) fi AC_SUBST(canonical_host_type) AC_DEFINE_UNQUOTED(YOUR_OS,"$canonical_host_type",[YOUR_OS]) ]) gnome-color-chooser-0.2.5/m4/lf_warnings.m40000644000175000017500000001020511005150565015407 00000000000000dnl Copyright (C) 1988 Eleftherios Gkioulekas dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a configuration dnl script generated by Autoconf, you may include it under the same dnl distribution terms that you use for the rest of that program. dnl dnl Modified by Werner Pantke (2008) # -------------------------------------------------------------------------- # Check whether the C++ compiler accepts a certain flag # If it does it adds the flag to CXXFLAGS # If it does not then it returns an error to lf_ok # Usage: # LF_CHECK_CXX_FLAG(-flag1 -flag2 -flag3 ...) # ------------------------------------------------------------------------- AC_DEFUN([LF_CHECK_CXX_FLAG],[ echo 'void f(){}' > conftest.cc for i in $1 do AC_MSG_CHECKING([whether $CXX accepts $i]) if test -z "`${CXX} $i -c conftest.cc 2>&1`" then CXXFLAGS="${CXXFLAGS} $i" AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) fi done rm -f conftest.cc conftest.o ]) # -------------------------------------------------------------------------- # Check whether the C compiler accepts a certain flag # If it does it adds the flag to CFLAGS # If it does not then it returns an error to lf_ok # Usage: # LF_CHECK_CC_FLAG(-flag1 -flag2 -flag3 ...) # ------------------------------------------------------------------------- AC_DEFUN([LF_CHECK_CC_FLAG],[ echo 'void f(){}' > conftest.c for i in $1 do AC_MSG_CHECKING([whether $CC accepts $i]) if test -z "`${CC} $i -c conftest.c 2>&1`" then CFLAGS="${CFLAGS} $i" AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) fi done rm -f conftest.c conftest.o ]) # -------------------------------------------------------------------------- # Check whether the Fortran compiler accepts a certain flag # If it does it adds the flag to FFLAGS # If it does not then it returns an error to lf_ok # Usage: # LF_CHECK_F77_FLAG(-flag1 -flag2 -flag3 ...) # ------------------------------------------------------------------------- AC_DEFUN([LF_CHECK_F77_FLAG],[ cat << EOF > conftest.f c....:++++++++++++++++++++++++ PROGRAM MAIN PRINT*,'Hello World!' END EOF for i in $1 do AC_MSG_CHECKING([whether $F77 accepts $i]) if test -z "`${F77} $i -c conftest.f 2>&1`" then FFLAGS="${FFLAGS} $i" AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) fi done rm -f conftest.f conftest.o ]) # ---------------------------------------------------------------------- # Provide the configure script with an --with-warnings option that # turns on warnings. Call this command AFTER you have configured ALL your # compilers. # ---------------------------------------------------------------------- AC_DEFUN([LF_SET_WARNINGS],[ dnl Check for --with-warnings AC_MSG_CHECKING([whether user wants warnings]) AC_ARG_WITH(warnings, [ --with-warnings Turn on warnings], [ lf_warnings=yes ], [ lf_warnings=no ]) AC_MSG_RESULT($lf_warnings) dnl Warnings for the two main compilers cc_warning_flags="-Wall" cxx_warning_flags="-Wall -Woverloaded-virtual -Wtemplate-debugging" if test $lf_warnings = yes then if test -n "${CC}" then LF_CHECK_CC_FLAG($cc_warning_flags) fi if test -n "${CXX}" then LF_CHECK_CXX_FLAG($cxx_warning_flags) fi fi ]) gnome-color-chooser-0.2.5/m4/link_as_needed.m40000644000175000017500000000457511061060136016033 00000000000000dnl ./configure support for linking with option --as-needed dnl Copyright (C) 2008 Werner Pantke dnl dnl This program is free software: you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation, either version 3 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program. If not, see . dnl # -------------------------------------------------------------------------- # Check whether the C++ compiler accepts a certain flag, # if it does, the flag is added to LDFLAGS. # Usage: # LF_CHECK_LD_FLAG([-flag1 -flag2 -flag3 ...]) # ------------------------------------------------------------------------- AC_DEFUN([LF_CHECK_LD_FLAG],[ echo 'int main(int argc, char **argv){return 0;}' > conftest.temp.cc for i in $1 do AC_MSG_CHECKING([whether $CXX accepts $i]) if test -z "`${CXX} -c conftest.temp.cc 2>&1`" \ && test -z "`${CXX} $i -o conftest.temp conftest.temp.o 2>&1`" then LDFLAGS="${LDFLAGS} $i" AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) fi done rm -f conftest.temp.cc conftest.temp.o conftest.temp ]) # ---------------------------------------------------------------------- # Provide the configure script with an --enable/disable-link-as-needed option # that turns the --as-needed linking flag on/off. Default is: enabled. # Call this command AFTER you have configured ALL your compilers. # ---------------------------------------------------------------------- AC_DEFUN([LINK_AS_NEEDED],[ dnl Check for --with-link-as-needed AC_MSG_CHECKING([whether user wants to link with --as-needed]) AC_ARG_ENABLE(link-as-needed, [AC_HELP_STRING([--disable-link-as-needed], [Turn off linker flag --as-needed]) ], [link_as_needed=$enableval], [link_as_needed=yes]) AC_MSG_RESULT($link_as_needed) if test $link_as_needed = yes then if test -n "${CXX}" then LF_CHECK_LD_FLAG([-Wl,--as-needed]) fi fi ]) gnome-color-chooser-0.2.5/m4/Makefile.am0000644000175000017500000000156411005150565014700 00000000000000# Copyright (C) 2006-2008 Werner Pantke # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Project email: # EXTRA_DIST = \ lf_cxx.m4 \ lf_host_type.m4 \ lf_warnings.m4 \ link_as_needed.m4 gnome-color-chooser-0.2.5/m4/Makefile.in0000644000175000017500000002371011162024741014706 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Copyright (C) 2006-2008 Werner Pantke # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Project email: # VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = m4 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/lf_cxx.m4 \ $(top_srcdir)/m4/lf_host_type.m4 \ $(top_srcdir)/m4/lf_warnings.m4 \ $(top_srcdir)/m4/link_as_needed.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DEPS_CFLAGS = @DEPS_CFLAGS@ DEPS_LIBS = @DEPS_LIBS@ DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ canonical_host_type = @canonical_host_type@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = \ lf_cxx.m4 \ lf_host_type.m4 \ lf_warnings.m4 \ link_as_needed.m4 all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu m4/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(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 mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am 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 installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .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-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 # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gnome-color-chooser-0.2.5/README0000644000175000017500000000037111005150566013200 00000000000000Welcome to gnome-color-chooser. gnome-color-chooser is free software. Please see the file COPYING for details. For documentation, please see the files in the doc subdirectory. For building and installation instructions please see the INSTALL file. gnome-color-chooser-0.2.5/configure.ac0000644000175000017500000000332011161772252014610 00000000000000# GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool # Copyright (C) 2006-2009 Werner Pantke # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Project email: # AC_INIT([GNOME Color Chooser], [0.2.5], [Werner Pantke \], [gnome-color-chooser]) #AC_CONFIG_AUX_DIR(config) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE([dist-bzip2]) PKG_CHECK_MODULES(DEPS, gtkmm-2.4 >= 2.8.0 libglademm-2.4 >= 2.6.0 libgnome-2.0 >= 2.16.0 libgnomeui-2.0 >= 2.14.0 libxml-2.0 >= 2.6.0 ) AC_SUBST(DEPS_CFLAGS) AC_SUBST(DEPS_LIBS) AM_MAINTAINER_MODE LF_CONFIGURE_CXX LF_HOST_TYPE LF_SET_WARNINGS LINK_AS_NEEDED GNOME_MAINTAINER_MODE_DEFINES AC_PROG_INSTALL AC_PROG_MAKE_SET dnl Initialize gettext and intltool GETTEXT_PACKAGE=$PACKAGE AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package]) AM_GLIB_GNU_GETTEXT AC_PROG_INTLTOOL([0.35.5]) AC_CONFIG_FILES([ Makefile doc/Makefile m4/Makefile src/Makefile po/Makefile.in profiles/Makefile ]) AC_OUTPUT gnome-color-chooser-0.2.5/aclocal.m40000644000175000017500000017573311162024737014203 00000000000000# generated automatically by aclocal 1.10.1 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(AC_AUTOCONF_VERSION, [2.63],, [m4_warning([this file was generated for autoconf 2.63. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # Copyright (C) 1995-2002 Free Software Foundation, Inc. # Copyright (C) 2001-2003,2004 Red Hat, Inc. # # This file is free software, distributed under the terms of the GNU # General Public License. As a special exception to the GNU General # Public License, this file may be distributed as part of a program # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # # Macro to add for using GNU gettext. # Ulrich Drepper , 1995, 1996 # # Modified to never use included libintl. # Owen Taylor , 12/15/1998 # # Major rework to remove unused code # Owen Taylor , 12/11/2002 # # Added better handling of ALL_LINGUAS from GNU gettext version # written by Bruno Haible, Owen Taylor 5/30/3002 # # Modified to require ngettext # Matthias Clasen 08/06/2004 # # We need this here as well, since someone might use autoconf-2.5x # to configure GLib then an older version to configure a package # using AM_GLIB_GNU_GETTEXT AC_PREREQ(2.53) dnl dnl We go to great lengths to make sure that aclocal won't dnl try to pull in the installed version of these macros dnl when running aclocal in the glib directory. dnl m4_copy([AC_DEFUN],[glib_DEFUN]) m4_copy([AC_REQUIRE],[glib_REQUIRE]) dnl dnl At the end, if we're not within glib, we'll define the public dnl definitions in terms of our private definitions. dnl # GLIB_LC_MESSAGES #-------------------- glib_DEFUN([GLIB_LC_MESSAGES], [AC_CHECK_HEADERS([locale.h]) if test $ac_cv_header_locale_h = yes; then AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) if test $am_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your file defines LC_MESSAGES.]) fi fi]) # GLIB_PATH_PROG_WITH_TEST #---------------------------- dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in /*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$]$1) else AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) # GLIB_WITH_NLS #----------------- glib_DEFUN([GLIB_WITH_NLS], dnl NLS is obligatory [USE_NLS=yes AC_SUBST(USE_NLS) gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= AC_CHECK_HEADER(libintl.h, [gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, [AC_TRY_LINK([ #include ], [return !ngettext ("","", 1)], gt_cv_func_ngettext_libc=yes, gt_cv_func_ngettext_libc=no) ]) if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, [AC_TRY_LINK([ #include ], [return !dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CHECK_FUNCS(bind_textdomain_codeset) fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then AC_CHECK_LIB(intl, bindtextdomain, [AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dgettext, gt_cv_func_dgettext_libintl=yes)])]) if test "$gt_cv_func_dgettext_libintl" != "yes" ; then AC_MSG_CHECKING([if -liconv is needed to use gettext]) AC_MSG_RESULT([]) AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dcgettext, [gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv], :,-liconv)], :,-liconv) fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset AC_CHECK_FUNCS(bind_textdomain_codeset) LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then AC_DEFINE(HAVE_GETTEXT,1, [Define if the GNU gettext() function is already present or preinstalled.]) GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" AC_CHECK_FUNCS(dcgettext) MSGFMT_OPTS= AC_MSG_CHECKING([if msgfmt accepts -c]) GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) AC_SUBST(MSGFMT_OPTS) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr], [CATOBJEXT=.gmo DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share and dnl and CATOBJEXT=.gmo in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [CATOBJEXT=.gmo DATADIRNAME=share], [CATOBJEXT=.mo DATADIRNAME=lib]) ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac]) LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi ]) if test "$gt_cv_have_gettext" = "yes" ; then AC_DEFINE(ENABLE_NLS, 1, [always defined to indicate that i18n is enabled]) fi dnl Test whether we really found GNU xgettext. if test "$XGETTEXT" != ":"; then dnl If it is not GNU xgettext we define it as : so that the dnl Makefiles still can work. if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else AC_MSG_RESULT( [found xgettext program is not GNU xgettext; ignore it]) XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po AC_OUTPUT_COMMANDS( [case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac]) dnl These rules are solely for the distribution goal. While doing this dnl we only have to keep exactly one list of the available catalogs dnl in configure.in. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done dnl Make all variables we use known to autoconf. AC_SUBST(CATALOGS) AC_SUBST(CATOBJEXT) AC_SUBST(DATADIRNAME) AC_SUBST(GMOFILES) AC_SUBST(INSTOBJEXT) AC_SUBST(INTLLIBS) AC_SUBST(PO_IN_DATADIR_TRUE) AC_SUBST(PO_IN_DATADIR_FALSE) AC_SUBST(POFILES) AC_SUBST(POSUB) ]) # AM_GLIB_GNU_GETTEXT # ------------------- # Do checks necessary for use of gettext. If a suitable implementation # of gettext is found in either in libintl or in the C library, # it will set INTLLIBS to the libraries needed for use of gettext # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() # on various variables needed by the Makefile.in.in installed by # glib-gettextize. dnl glib_DEFUN([GLIB_GNU_GETTEXT], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_HEADER_STDC])dnl GLIB_LC_MESSAGES GLIB_WITH_NLS if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else AC_MSG_CHECKING(for catalogs to be installed) NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS AC_MSG_RESULT($LINGUAS) fi dnl Construct list of names of catalog files to be constructed. if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but ($top_srcdir). dnl Try to locate is. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi AC_SUBST(MKINSTALLDIRS) dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ]) # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) # ------------------------------- # Define VARIABLE to the location where catalog files will # be installed by po/Makefile. glib_DEFUN([GLIB_DEFINE_LOCALEDIR], [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl glib_save_prefix="$prefix" glib_save_exec_prefix="$exec_prefix" glib_save_datarootdir="$datarootdir" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix datarootdir=`eval echo "${datarootdir}"` if test "x$CATOBJEXT" = "x.mo" ; then localedir=`eval echo "${libdir}/locale"` else localedir=`eval echo "${datadir}/locale"` fi prefix="$glib_save_prefix" exec_prefix="$glib_save_exec_prefix" datarootdir="$glib_save_datarootdir" AC_DEFINE_UNQUOTED($1, "$localedir", [Define the location where the catalogs will be installed]) ]) dnl dnl Now the definitions that aclocal will find dnl ifdef(glib_configure_in,[],[ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) ])dnl # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) # # Create a temporary file with TEST-FILE as its contents and pass the # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with # 0 and perform ACTION-IF-FAIL for any other exit status. AC_DEFUN([GLIB_RUN_PROG], [cat >conftest.foo <<_ACEOF $2 _ACEOF if AC_RUN_LOG([$1 conftest.foo]); then m4_ifval([$3], [$3], [:]) m4_ifvaln([$4], [else $4])dnl echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD fi]) # gnome-common.m4 # dnl GNOME_COMMON_INIT AC_DEFUN([GNOME_COMMON_INIT], [ dnl this macro should come after AC_CONFIG_MACRO_DIR AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0]) dnl ensure that when the Automake generated makefile calls aclocal, dnl it honours the $ACLOCAL_FLAGS environment variable ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}" if test -n "$ac_macro_dir"; then ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS" fi AC_SUBST([ACLOCAL_AMFLAGS]) ]) AC_DEFUN([GNOME_DEBUG_CHECK], [ AC_ARG_ENABLE([debug], AC_HELP_STRING([--enable-debug], [turn on debugging]),, [enable_debug=no]) if test x$enable_debug = xyes ; then AC_DEFINE(GNOME_ENABLE_DEBUG, 1, [Enable additional debugging at the expense of performance and size]) fi ]) dnl GNOME_MAINTAINER_MODE_DEFINES () dnl define DISABLE_DEPRECATED dnl AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES], [ AC_REQUIRE([AM_MAINTAINER_MODE]) if test $USE_MAINTAINER_MODE = yes; then DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED" else DISABLE_DEPRECATED="" fi AC_SUBST(DISABLE_DEPRECATED) ]) dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 40 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [ AC_PREREQ([2.50])dnl AC_REQUIRE([AM_NLS])dnl case "$am__api_version" in 1.[01234]) AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) ;; *) ;; esac 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.]) fi AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update]) AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge]) AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract]) if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) fi 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 /tmp $< [$]@' 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 $< [$]@' _IT_SUBST(INTLTOOL_DESKTOP_RULE) _IT_SUBST(INTLTOOL_DIRECTORY_RULE) _IT_SUBST(INTLTOOL_KEYS_RULE) _IT_SUBST(INTLTOOL_PROP_RULE) _IT_SUBST(INTLTOOL_OAF_RULE) _IT_SUBST(INTLTOOL_PONG_RULE) _IT_SUBST(INTLTOOL_SERVER_RULE) _IT_SUBST(INTLTOOL_SHEET_RULE) _IT_SUBST(INTLTOOL_SOUNDLIST_RULE) _IT_SUBST(INTLTOOL_UI_RULE) _IT_SUBST(INTLTOOL_XAM_RULE) _IT_SUBST(INTLTOOL_KBD_RULE) _IT_SUBST(INTLTOOL_XML_RULE) _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) _IT_SUBST(INTLTOOL_CAVES_RULE) _IT_SUBST(INTLTOOL_SCHEMAS_RULE) _IT_SUBST(INTLTOOL_THEME_RULE) _IT_SUBST(INTLTOOL_SERVICE_RULE) _IT_SUBST(INTLTOOL_POLICY_RULE) # Check the gettext tools to make sure they are GNU AC_PATH_PROG(XGETTEXT, xgettext) AC_PATH_PROG(MSGMERGE, msgmerge) AC_PATH_PROG(MSGFMT, msgfmt) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi AC_PATH_PROG(INTLTOOL_PERL, perl) if test -z "$INTLTOOL_PERL"; then AC_MSG_ERROR([perl not found]) fi AC_MSG_CHECKING([for perl >= 5.8.1]) $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then AC_MSG_ERROR([perl 5.8.1 is required for intltool]) else IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" AC_MSG_RESULT([$IT_PERL_VERSION]) fi if test "x$2" != "xno-xml"; then AC_MSG_CHECKING([for XML::Parser]) if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then AC_MSG_RESULT([ok]) else AC_MSG_ERROR([XML::Parser perl module is required for intltool]) fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile AC_SUBST(ALL_LINGUAS) # 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]) ]) # IT_PO_SUBDIR(DIRNAME) # --------------------- # All po subdirs have to be declared with this macro; the subdir "po" is # declared by IT_PROG_INTLTOOL. # AC_DEFUN([IT_PO_SUBDIR], [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. dnl dnl The following CONFIG_COMMANDS should be exetuted at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE([ AC_CONFIG_COMMANDS([$1/stamp-it], [ if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) fi rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" >"$1/stamp-it.tmp" [sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" ] [sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r $1/POTFILES } ' "$1/Makefile.in" >"$1/Makefile"] rm -f "$1/Makefile.tmp" mv "$1/stamp-it.tmp" "$1/stamp-it" ]) ])dnl ]) # _IT_SUBST(VARIABLE) # ------------------- # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST # AC_DEFUN([_IT_SUBST], [ AC_SUBST([$1]) m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) ] ) # deprecated macros AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) # A hint is needed for aclocal from Automake <= 1.9.4: # AC_DEFUN([AC_PROG_INTLTOOL], ...) # nls.m4 serial 3 (gettext-0.15) dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can 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 They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ(2.50) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE(nls, [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT($USE_NLS) AC_SUBST(USE_NLS) ]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # 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. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$PKG_CONFIG"; then if test -n "$$1"; then pkg_cv_[]$1="$$1" else PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) fi else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` else $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT ])], [AC_MSG_RESULT([no]) $4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10' 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.10.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [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` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 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. # serial 8 # 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_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 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. # serial 9 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl 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=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi 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 case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} 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 sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # 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 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do # 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 # 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. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # 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 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 # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. 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], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # 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 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008 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 13 # 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. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [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_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP 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_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], 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 AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 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], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # 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 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 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 3 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 # 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_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, 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 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= 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 ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 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 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # 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_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # 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 test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 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'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. 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. _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 # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([m4/lf_cxx.m4]) m4_include([m4/lf_host_type.m4]) m4_include([m4/lf_warnings.m4]) m4_include([m4/link_as_needed.m4]) gnome-color-chooser-0.2.5/Makefile.am0000644000175000017500000000204011005150566014347 00000000000000# GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool # Copyright (C) 2006-2008 Werner Pantke # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Project email: # EXTRA_DIST = \ autogen.sh \ configure \ intltool-extract.in \ intltool-merge.in \ intltool-update.in DISTCLEANFILES = \ intltool-extract \ intltool-merge \ intltool-update SUBDIRS = m4 po src profiles doc gnome-color-chooser-0.2.5/Makefile.in0000644000175000017500000005175511162024741014400 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool # Copyright (C) 2006-2008 Werner Pantke # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Project email: # VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ THANKS config.guess config.sub depcomp install-sh missing \ mkinstalldirs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/lf_cxx.m4 \ $(top_srcdir)/m4/lf_host_type.m4 \ $(top_srcdir)/m4/lf_warnings.m4 \ $(top_srcdir)/m4/link_as_needed.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = 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_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) 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); }; } DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DEPS_CFLAGS = @DEPS_CFLAGS@ DEPS_LIBS = @DEPS_LIBS@ DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ canonical_host_type = @canonical_host_type@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = \ autogen.sh \ configure \ intltool-extract.in \ intltool-merge.in \ intltool-update.in DISTCLEANFILES = \ intltool-extract \ intltool-merge \ intltool-update SUBDIRS = m4 po src profiles doc all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ cd $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -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): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @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; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done 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; nonemtpy = 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=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$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; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d $(distdir) || mkdir $(distdir) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__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: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(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 mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .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-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 # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gnome-color-chooser-0.2.5/config.h.in0000644000175000017500000000406711162024740014347 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* CXX_HAS_BUGGY_FOR_LOOPS */ #undef CXX_HAS_BUGGY_FOR_LOOPS /* CXX_HAS_NO_BOOL */ #undef CXX_HAS_NO_BOOL /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* Gettext package */ #undef GETTEXT_PACKAGE /* Define to 1 if you have the `bind_textdomain_codeset' function. */ #undef HAVE_BIND_TEXTDOMAIN_CODESET /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* NDEBUG */ #undef NDEBUG /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION /* YOUR_OS */ #undef YOUR_OS gnome-color-chooser-0.2.5/configure0000755000175000017500000102277611162024740014243 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.63 for GNOME Color Chooser 0.2.5. # # Report bugs to >. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell bug-autoconf@gnu.org about your system, echo including any error possibly output before this message. echo This can help us improve future autoconf versions. echo Configuration will now proceed without shell functions. } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p 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 # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='GNOME Color Chooser' PACKAGE_TARNAME='gnome-color-chooser' PACKAGE_VERSION='0.2.5' PACKAGE_STRING='GNOME Color Chooser 0.2.5' PACKAGE_BUGREPORT='Werner Pantke \' # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='LTLIBOBJS LIBOBJS ALL_LINGUAS INTLTOOL_PERL MSGMERGE INTLTOOL_POLICY_RULE INTLTOOL_SERVICE_RULE INTLTOOL_THEME_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_CAVES_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_XML_RULE INTLTOOL_KBD_RULE INTLTOOL_XAM_RULE INTLTOOL_UI_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_SHEET_RULE INTLTOOL_SERVER_RULE INTLTOOL_PONG_RULE INTLTOOL_OAF_RULE INTLTOOL_PROP_RULE INTLTOOL_KEYS_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_DESKTOP_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE MKINSTALLDIRS POSUB POFILES PO_IN_DATADIR_FALSE PO_IN_DATADIR_TRUE INTLLIBS INSTOBJEXT GMOFILES DATADIRNAME CATOBJEXT CATALOGS XGETTEXT GMSGFMT MSGFMT_OPTS MSGFMT USE_NLS EGREP GREP CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE ac_ct_CC CFLAGS CC GETTEXT_PACKAGE DISABLE_DEPRECATED canonical_host_type host_os host_vendor host_cpu host build_os build_vendor build_cpu build CXXCPP am__fastdepCXX_FALSE am__fastdepCXX_TRUE CXXDEPMODE AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CXX CPPFLAGS LDFLAGS CXXFLAGS CXX MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE DEPS_LIBS DEPS_CFLAGS PKG_CONFIG am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_maintainer_mode enable_dependency_tracking enable_assert with_warnings enable_link_as_needed enable_nls ' ac_precious_vars='build_alias host_alias target_alias PKG_CONFIG DEPS_CFLAGS DEPS_LIBS CXX CXXFLAGS LDFLAGS LIBS CPPFLAGS CCC CXXCPP CC CFLAGS CPP' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { $as_echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { $as_echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 { (exit 1); exit 1; }; } ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe $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 fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || { $as_echo "$as_me: error: working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures GNOME Color Chooser 0.2.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/gnome-color-chooser] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of GNOME Color Chooser 0.2.5:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --disable-assert don't use cpp.h assert --disable-link-as-needed Turn off linker flag --as-needed --disable-nls do not use Native Language Support Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-warnings Turn on warnings Some influential environment variables: PKG_CONFIG path to pkg-config utility DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config DEPS_LIBS linker flags for DEPS, overriding pkg-config CXX C++ compiler command CXXFLAGS C++ compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory CXXCPP C++ preprocessor CC C compiler command CFLAGS C compiler flags 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 >. _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF GNOME Color Chooser configure 0.2.5 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi 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 GNOME Color Chooser $as_me 0.2.5, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test -r "$ac_site_file"; then { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu #AC_CONFIG_AUX_DIR(config) ac_config_headers="$ac_config_headers config.h" am__api_version='1.10' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:$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 # 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_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 $as_echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if test "${ac_cv_path_mkdir+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. test -d ./--version && rmdir ./--version MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:$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. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AWK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:$LINENO: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='gnome-color-chooser' VERSION='0.2.5' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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_STRIP="strip" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { $as_echo "$as_me:$LINENO: checking for DEPS" >&5 $as_echo_n "checking for DEPS... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$DEPS_CFLAGS"; then pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS" else if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.8.0 libglademm-2.4 >= 2.6.0 libgnome-2.0 >= 2.16.0 libgnomeui-2.0 >= 2.14.0 libxml-2.0 >= 2.6.0 \"") >&5 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.8.0 libglademm-2.4 >= 2.6.0 libgnome-2.0 >= 2.16.0 libgnomeui-2.0 >= 2.14.0 libxml-2.0 >= 2.6.0 ") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.8.0 libglademm-2.4 >= 2.6.0 libgnome-2.0 >= 2.16.0 libgnomeui-2.0 >= 2.14.0 libxml-2.0 >= 2.6.0 " 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$DEPS_LIBS"; then pkg_cv_DEPS_LIBS="$DEPS_LIBS" else if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.8.0 libglademm-2.4 >= 2.6.0 libgnome-2.0 >= 2.16.0 libgnomeui-2.0 >= 2.14.0 libxml-2.0 >= 2.6.0 \"") >&5 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.8.0 libglademm-2.4 >= 2.6.0 libgnome-2.0 >= 2.16.0 libgnomeui-2.0 >= 2.14.0 libxml-2.0 >= 2.6.0 ") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.8.0 libglademm-2.4 >= 2.6.0 libgnome-2.0 >= 2.16.0 libgnomeui-2.0 >= 2.14.0 libxml-2.0 >= 2.6.0 " 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then 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 DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.8.0 libglademm-2.4 >= 2.6.0 libgnome-2.0 >= 2.16.0 libgnomeui-2.0 >= 2.14.0 libxml-2.0 >= 2.6.0 "` else DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.8.0 libglademm-2.4 >= 2.6.0 libgnome-2.0 >= 2.16.0 libgnomeui-2.0 >= 2.14.0 libxml-2.0 >= 2.6.0 "` fi # Put the nasty error message in config.log where it belongs echo "$DEPS_PKG_ERRORS" >&5 { { $as_echo "$as_me:$LINENO: error: Package requirements (gtkmm-2.4 >= 2.8.0 libglademm-2.4 >= 2.6.0 libgnome-2.0 >= 2.16.0 libgnomeui-2.0 >= 2.14.0 libxml-2.0 >= 2.6.0 ) were not met: $DEPS_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 DEPS_CFLAGS and DEPS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 $as_echo "$as_me: error: Package requirements (gtkmm-2.4 >= 2.8.0 libglademm-2.4 >= 2.6.0 libgnome-2.0 >= 2.16.0 libgnomeui-2.0 >= 2.14.0 libxml-2.0 >= 2.6.0 ) were not met: $DEPS_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 DEPS_CFLAGS and DEPS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables DEPS_CFLAGS and DEPS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables DEPS_CFLAGS and DEPS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } else DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS DEPS_LIBS=$pkg_cv_DEPS_LIBS { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } : fi { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 $as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:$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 # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi { $as_echo "$as_me:$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=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -z "$CXX"; then if test -n "$CCC"; then CXX=$CCC else if test -n "$ac_tool_prefix"; then for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 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:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CXX+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # 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_CXX="$ac_tool_prefix$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then { $as_echo "$as_me:$LINENO: result: $CXX" >&5 $as_echo "$CXX" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 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:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_CXX="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 $as_echo "$ac_ct_CXX" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CXX" && break done if test "x$ac_ct_CXX" = x; then CXX="g++" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$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 CXX=$ac_ct_CXX fi fi fi fi # Provide some information about the compiler. $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 set X $ac_compile ac_compiler=$2 { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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:$LINENO: checking for C++ compiler default output file name" >&5 $as_echo_n "checking for C++ compiler default output file name... " >&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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; 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 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } if test -z "$ac_file"; then $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables See \`config.log' for more details." >&5 $as_echo "$as_me: error: C++ compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 $as_echo_n "checking whether the C++ compiler works... " >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot run C++ compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi fi fi { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } { $as_echo "$as_me:$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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; 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:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi rm -f conftest$ac_cv_exeext { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if test "${ac_cv_objext+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; 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:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:$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 test "${ac_cv_cxx_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GXX=yes else GXX= fi ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } if test "${ac_cv_prog_cxx_g+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CXXFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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_cxx_werror_flag=$ac_save_cxx_werror_flag fi { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 $as_echo "$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi 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="$CXX" am_compiler_list= { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; 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_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi 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 case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} 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 sub/conftest.${OBJEXT-o} 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_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } if test -z "$CXXCPP"; then if test "${ac_cv_prog_CXXCPP+set}" = set; then $as_echo_n "(cached) " >&6 else # Double quotes because CXXCPP needs to be expanded for CXXCPP in "$CXX -E" "/lib/cpp" do ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.err }; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CXXCPP=$CXXCPP fi CXXCPP=$ac_cv_prog_CXXCPP else ac_cv_prog_CXXCPP=$CXXCPP fi { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 $as_echo "$CXXCPP" >&6; } ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.err }; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&5 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $as_echo "$as_me:$LINENO: checking whether C++ has bool" >&5 $as_echo_n "checking whether C++ has bool... " >&6; } if test "$cross_compiling" = yes; then { $as_echo "$as_me:$LINENO: WARNING: Don't cross-compile" >&5 $as_echo "$as_me: WARNING: Don't cross-compile" >&2;} else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ main() { bool b1=true; bool b2=false; } _ACEOF rm -f 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } 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 ( exit $ac_status ) { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } cat >>confdefs.h <<\_ACEOF #define CXX_HAS_NO_BOOL /**/ _ACEOF fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: checking whether C++ has buggy scoping in for-loops" >&5 $as_echo_n "checking whether C++ has buggy scoping in for-loops... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { for (int i=0;i<10;i++) { } for (int i=0;i<10;i++) { } ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } cat >>confdefs.h <<\_ACEOF #define CXX_HAS_BUGGY_FOR_LOOPS /**/ _ACEOF fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: checking whether user wants assertions" >&5 $as_echo_n "checking whether user wants assertions... " >&6; } # Check whether --enable-assert was given. if test "${enable_assert+set}" = set; then enableval=$enable_assert; cat >>confdefs.h <<\_ACEOF #define NDEBUG /**/ _ACEOF { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } else { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} { (exit 1); exit 1; }; } { $as_echo "$as_me:$LINENO: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if test "${ac_cv_build+set}" = set; then $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 $as_echo "$as_me: error: invalid value of canonical build" >&2;} { (exit 1); exit 1; }; };; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:$LINENO: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if test "${ac_cv_host+set}" = set; then $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 $as_echo "$as_me: error: invalid value of canonical host" >&2;} { (exit 1); exit 1; }; };; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac if test -z "$host" then host=unknown fi canonical_host_type=$host if test "$host" = unknown then { $as_echo "$as_me:$LINENO: WARNING: configuring for unknown system type" >&5 $as_echo "$as_me: WARNING: configuring for unknown system type" >&2;} fi cat >>confdefs.h <<_ACEOF #define YOUR_OS "$canonical_host_type" _ACEOF { $as_echo "$as_me:$LINENO: checking whether user wants warnings" >&5 $as_echo_n "checking whether user wants warnings... " >&6; } # Check whether --with-warnings was given. if test "${with_warnings+set}" = set; then withval=$with_warnings; lf_warnings=yes else lf_warnings=no fi { $as_echo "$as_me:$LINENO: result: $lf_warnings" >&5 $as_echo "$lf_warnings" >&6; } cc_warning_flags="-Wall" cxx_warning_flags="-Wall -Woverloaded-virtual -Wtemplate-debugging" if test $lf_warnings = yes then if test -n "${CC}" then echo 'void f(){}' > conftest.c for i in $cc_warning_flags do { $as_echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5 $as_echo_n "checking whether $CC accepts $i... " >&6; } if test -z "`${CC} $i -c conftest.c 2>&1`" then CFLAGS="${CFLAGS} $i" { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi done rm -f conftest.c conftest.o fi if test -n "${CXX}" then echo 'void f(){}' > conftest.cc for i in $cxx_warning_flags do { $as_echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5 $as_echo_n "checking whether $CXX accepts $i... " >&6; } if test -z "`${CXX} $i -c conftest.cc 2>&1`" then CXXFLAGS="${CXXFLAGS} $i" { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi done rm -f conftest.cc conftest.o fi fi { $as_echo "$as_me:$LINENO: checking whether user wants to link with --as-needed" >&5 $as_echo_n "checking whether user wants to link with --as-needed... " >&6; } # Check whether --enable-link-as-needed was given. if test "${enable_link_as_needed+set}" = set; then enableval=$enable_link_as_needed; link_as_needed=$enableval else link_as_needed=yes fi { $as_echo "$as_me:$LINENO: result: $link_as_needed" >&5 $as_echo "$link_as_needed" >&6; } if test $link_as_needed = yes then if test -n "${CXX}" then echo 'int main(int argc, char **argv){return 0;}' > conftest.temp.cc for i in -Wl,--as-needed do { $as_echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5 $as_echo_n "checking whether $CXX accepts $i... " >&6; } if test -z "`${CXX} -c conftest.temp.cc 2>&1`" \ && test -z "`${CXX} $i -o conftest.temp conftest.temp.o 2>&1`" then LDFLAGS="${LDFLAGS} $i" { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi done rm -f conftest.temp.cc conftest.temp.o conftest.temp fi fi if test $USE_MAINTAINER_MODE = yes; then DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED" else DISABLE_DEPRECATED="" fi # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi GETTEXT_PACKAGE=$PACKAGE cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF 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:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; 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:$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:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$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:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; 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:$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:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$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:$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:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; 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:$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:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$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:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; 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:$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:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$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:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; 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:$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:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$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:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; 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:$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:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$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:$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:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } # Provide some information about the compiler. $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { $as_echo "$as_me:$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 test "${ac_cv_c_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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:$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:$LINENO: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if test "${ac_cv_prog_cc_g+set}" = set; 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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:$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:$LINENO: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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:$LINENO: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:$LINENO: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; 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 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 case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} 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 sub/conftest.${OBJEXT-o} 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:$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 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:$LINENO: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:$LINENO: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if test "${ac_cv_path_GREP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:$LINENO: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if test "${ac_cv_path_EGREP+set}" = set; then $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if test "${ac_cv_header_stdc+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF rm -f 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : 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 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in locale.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------------------------------------ ## ## Report this to Werner Pantke \ ## ## ------------------------------------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test $ac_cv_header_locale_h = yes; then { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 $as_echo_n "checking for LC_MESSAGES... " >&6; } if test "${am_cv_val_LC_MESSAGES+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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 am_cv_val_LC_MESSAGES=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_val_LC_MESSAGES=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 $as_echo "$am_cv_val_LC_MESSAGES" >&6; } if test $am_cv_val_LC_MESSAGES = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LC_MESSAGES 1 _ACEOF fi fi USE_NLS=yes gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= if test "${ac_cv_header_libintl_h+set}" = set; then { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5 $as_echo_n "checking for libintl.h... " >&6; } if test "${ac_cv_header_libintl_h+set}" = set; then $as_echo_n "(cached) " >&6 fi { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 $as_echo "$ac_cv_header_libintl_h" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5 $as_echo_n "checking libintl.h usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5 $as_echo_n "checking libintl.h presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------------------------------------ ## ## Report this to Werner Pantke \ ## ## ------------------------------------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5 $as_echo_n "checking for libintl.h... " >&6; } if test "${ac_cv_header_libintl_h+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_header_libintl_h=$ac_header_preproc fi { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 $as_echo "$ac_cv_header_libintl_h" >&6; } fi if test "x$ac_cv_header_libintl_h" = x""yes; then gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5 $as_echo_n "checking for ngettext in libc... " >&6; } if test "${gt_cv_func_ngettext_libc+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return !ngettext ("","", 1) ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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 gt_cv_func_ngettext_libc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_ngettext_libc=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5 $as_echo "$gt_cv_func_ngettext_libc" >&6; } if test "$gt_cv_func_ngettext_libc" = "yes" ; then { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5 $as_echo_n "checking for dgettext in libc... " >&6; } if test "${gt_cv_func_dgettext_libc+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return !dgettext ("","") ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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 gt_cv_func_dgettext_libc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_dgettext_libc=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 $as_echo "$gt_cv_func_dgettext_libc" >&6; } fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then for ac_func in bind_textdomain_codeset do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* 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_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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 eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; } if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char bindtextdomain (); int main () { return bindtextdomain (); ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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_cv_lib_intl_bindtextdomain=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_bindtextdomain=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } if test "${ac_cv_lib_intl_ngettext+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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_cv_lib_intl_ngettext=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_ngettext=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } if test "x$ac_cv_lib_intl_ngettext" = x""yes; then { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 $as_echo_n "checking for dgettext in -lintl... " >&6; } if test "${ac_cv_lib_intl_dgettext+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dgettext (); int main () { return dgettext (); ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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_cv_lib_intl_dgettext=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dgettext=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } if test "x$ac_cv_lib_intl_dgettext" = x""yes; then gt_cv_func_dgettext_libintl=yes fi fi fi if test "$gt_cv_func_dgettext_libintl" != "yes" ; then { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; } { $as_echo "$as_me:$LINENO: result: " >&5 $as_echo "" >&6; } { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } if test "${ac_cv_lib_intl_ngettext+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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_cv_lib_intl_ngettext=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_ngettext=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } if test "x$ac_cv_lib_intl_ngettext" = x""yes; then { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 $as_echo_n "checking for dcgettext in -lintl... " >&6; } if test "${ac_cv_lib_intl_dcgettext+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dcgettext (); int main () { return dcgettext (); ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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_cv_lib_intl_dcgettext=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dcgettext=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; } if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv else : fi else : fi fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset for ac_func in bind_textdomain_codeset do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* 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_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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 eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then cat >>confdefs.h <<\_ACEOF #define HAVE_GETTEXT 1 _ACEOF # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_MSGFMT+set}" = set; then $as_echo_n "(cached) " >&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != "no"; then { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* 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_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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 eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done MSGFMT_OPTS= { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5 $as_echo_n "checking if msgfmt accepts -c... " >&6; } cat >conftest.foo <<_ACEOF msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" _ACEOF if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } echo "$as_me: failed input was:" >&5 sed 's/^/| /' conftest.foo >&5 fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_GMSGFMT+set}" = set; then $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_XGETTEXT+set}" = set; then $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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 CATOBJEXT=.gmo DATADIRNAME=share else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $host in *-*-solaris*) { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 $as_echo_n "checking for bind_textdomain_codeset... " >&6; } if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define bind_textdomain_codeset to an innocuous variant, in case declares bind_textdomain_codeset. For example, HP-UX 11i declares gettimeofday. */ #define bind_textdomain_codeset innocuous_bind_textdomain_codeset /* System header to define __stub macros and hopefully few prototypes, which can conflict with char bind_textdomain_codeset (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef bind_textdomain_codeset /* 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 bind_textdomain_codeset (); /* 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_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset choke me #endif int main () { return bind_textdomain_codeset (); ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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_cv_func_bind_textdomain_codeset=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_bind_textdomain_codeset=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; } if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then CATOBJEXT=.gmo DATADIRNAME=share else CATOBJEXT=.mo DATADIRNAME=lib fi ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi fi if test "$gt_cv_have_gettext" = "yes" ; then cat >>confdefs.h <<\_ACEOF #define ENABLE_NLS 1 _ACEOF fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po ac_config_commands="$ac_config_commands default-1" for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 $as_echo_n "checking for catalogs to be installed... " >&6; } NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5 $as_echo "$LINGUAS" >&6; } fi if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } case "$am__api_version" in 1.01234) { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5 $as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;} { (exit 1); exit 1; }; } ;; *) ;; esac if test -n "0.35.5"; then { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.5" >&5 $as_echo_n "checking for intltool >= 0.35.5... " >&6; } INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.5 | 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:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || { { $as_echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.35.5 or later." >&5 $as_echo "$as_me: error: Your intltool is too old. You need intltool 0.35.5 or later." >&2;} { (exit 1); exit 1; }; } fi # Extract the first word of "intltool-update", so it can be a program name with args. set dummy intltool-update; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then $as_echo_n "(cached) " >&6 else case $INTLTOOL_UPDATE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE if test -n "$INTLTOOL_UPDATE"; then { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5 $as_echo "$INTLTOOL_UPDATE" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-merge", so it can be a program name with args. set dummy intltool-merge; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then $as_echo_n "(cached) " >&6 else case $INTLTOOL_MERGE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE if test -n "$INTLTOOL_MERGE"; then { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5 $as_echo "$INTLTOOL_MERGE" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-extract", so it can be a program name with args. set dummy intltool-extract; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then $as_echo_n "(cached) " >&6 else case $INTLTOOL_EXTRACT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT if test -n "$INTLTOOL_EXTRACT"; then { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5 $as_echo "$INTLTOOL_EXTRACT" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5 $as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;} { (exit 1); exit 1; }; } 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 /tmp $< $@' 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 $< $@' # Check the gettext tools to make sure they are GNU # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_XGETTEXT+set}" = set; then $as_echo_n "(cached) " >&6 else case $XGETTEXT in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi XGETTEXT=$ac_cv_path_XGETTEXT if test -n "$XGETTEXT"; then { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_MSGMERGE+set}" = set; then $as_echo_n "(cached) " >&6 else case $MSGMERGE in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGMERGE=$ac_cv_path_MSGMERGE if test -n "$MSGMERGE"; then { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_MSGFMT+set}" = set; then $as_echo_n "(cached) " >&6 else case $MSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGFMT=$ac_cv_path_MSGFMT if test -n "$MSGFMT"; then { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_GMSGFMT+set}" = set; then $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;} { (exit 1); exit 1; }; } fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;} { (exit 1); exit 1; }; } fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then $as_echo_n "(cached) " >&6 else case $INTLTOOL_PERL in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL if test -n "$INTLTOOL_PERL"; then { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5 $as_echo "$INTLTOOL_PERL" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_PERL"; then { { $as_echo "$as_me:$LINENO: error: perl not found" >&5 $as_echo "$as_me: error: perl not found" >&2;} { (exit 1); exit 1; }; } fi { $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5 $as_echo_n "checking for perl >= 5.8.1... " >&6; } $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5 $as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;} { (exit 1); exit 1; }; } else IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5 $as_echo "$IT_PERL_VERSION" >&6; } fi if test "x" != "xno-xml"; then { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5 $as_echo_n "checking for XML::Parser... " >&6; } if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then { $as_echo "$as_me:$LINENO: result: ok" >&5 $as_echo "ok" >&6; } else { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 $as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} { (exit 1); exit 1; }; } fi fi # 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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 DATADIRNAME=share else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $host in *-*-solaris*) { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 $as_echo_n "checking for bind_textdomain_codeset... " >&6; } if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define bind_textdomain_codeset to an innocuous variant, in case declares bind_textdomain_codeset. For example, HP-UX 11i declares gettimeofday. */ #define bind_textdomain_codeset innocuous_bind_textdomain_codeset /* System header to define __stub macros and hopefully few prototypes, which can conflict with char bind_textdomain_codeset (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef bind_textdomain_codeset /* 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 bind_textdomain_codeset (); /* 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_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset choke me #endif int main () { return bind_textdomain_codeset (); ; return 0; } _ACEOF 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:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { 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_cv_func_bind_textdomain_codeset=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_bind_textdomain_codeset=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; } if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then DATADIRNAME=share else DATADIRNAME=lib fi ;; *) DATADIRNAME=lib ;; esac fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile po/Makefile.in profiles/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi ac_config_commands="$ac_config_commands po/stamp-it" : ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p 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 # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by GNOME Color Chooser $as_me 0.2.5, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTION]... [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ GNOME Color Chooser config.status 0.2.5 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2008 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header { $as_echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { $as_echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "profiles/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/Makefile" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { $as_echo "$as_me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=' ' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\).*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\).*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 $as_echo "$as_me: error: could not setup config files machinery" >&2;} { (exit 1); exit 1; }; } _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_t=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_t"; then break elif $ac_last_try; then { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} { (exit 1); exit 1; }; } fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ac_file_inputs="$ac_file_inputs '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" } >"$tmp/config.h" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$tmp/config.h" "$ac_file" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 $as_echo "$as_me: error: could not create -" >&2;} { (exit 1); exit 1; }; } fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # 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 # 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. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # 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 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 # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir=$dirpart/$fdir case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; "po/stamp-it":C) if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5 $as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;} { (exit 1); exit 1; }; } fi rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" >"po/stamp-it.tmp" sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r po/POTFILES } ' "po/Makefile.in" >"po/Makefile" rm -f "po/Makefile.tmp" mv "po/stamp-it.tmp" "po/stamp-it" ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi gnome-color-chooser-0.2.5/AUTHORS0000644000175000017500000000024311005150566013366 00000000000000Authors of gnome-color-chooser. See also the files THANKS and ChangeLog. Werner Pantke designed and implemented gnome-color-chooser. gnome-color-chooser-0.2.5/COPYING0000644000175000017500000010437411005150566013363 00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . gnome-color-chooser-0.2.5/ChangeLog0000644000175000017500000003031411161772522014077 000000000000002009-03-23 Werner Pantke * NEWS: * configure.ac: updated for 0.2.5 release * src/gnome-color-chooser.glade: * src/mainwindow.cc: updated year and translator notes * src/utils.cc: (minor debug string change) 2009-03-23 Werner Pantke * src/gnome-color-chooser.glade: marked a string ('Compiz') as not translatable * src/main.cc: moved handling of include statement in ~/.gtkrc-2.0 to utils.(h|cc) * src/mainwindow.cc: * src/mainwindow.h: the file ~/.gtkrc-2.0 is now modified on-the-fly and not at program start only; this means that it is adapted everytime you click on apply or revert. the revert button doesn't only reset all settings but also reverts all changes made to ~/.gtkrc-2.0 * src/utils.cc: * src/utils.h: added some gtkrc-syntax-awareness to check_include() ;-) added remove_include() to remove an include statement from a gtkrc file 2009-01-11 Werner Pantke * profiles/compact.xml.in: added prefix to make compact profile compatible to tooltip settings of clearlooks 2.16.x theme * src/gnome-color-chooser.xml.in: * src/gnome-color-chooser.glade: added settings to theme GNOME's start menue (GNOME 2.24+ needed), set all GtkAdjustments of spin buttons to zero (removes compile warnings with GTK+ 2.14+) 2009-01-05 Werner Pantke The HAPPY NEW YEAR commit: * src/main.cc: FIX: changed wrong string assignment that made gnome-color-chooser create an include in ~/.gtkrc-2.0-gnome-color-chooser instead of ~/.gtkrc-2.0 with the effect that gnome-color-chooser settings weren't applied on fresh installs anymore :( sorry, guys! ;-) more details: http://gnomecc.sourceforge.net/forum/index.php?topic=19.msg46#msg46 2008-09-08 Werner Pantke * NEWS: updated news for the upcoming 0.2.4 release * m4/link_as_needed.m4: updated linker test script for newer autotools/g++ versions * src/gnome-color-chooser.1: changed homepage URL to http://gnomecc.sourceforge.net * src/gnome-color-chooser.glade: updated homepage URL and translator list in aboutdialog * src/gnome-color-chooser.xml.in: changed panel matchings, changed some translator notes * src/mainwindow.cc: changed revert button that it doesn't apply its changes on its own 2008-09-03 Werner Pantke * src/gnome-color-chooser.glade: marked "gtk-revert-to-saved" button as not translatable 2008-09-01 Werner Pantke * src/gnome-color-chooser.glade: * src/mainwindow.cc: * src/mainwindow.h: added revert button that instantly resets all theme modifications 2008-09-01 Werner Pantke * src/validatorwindow.cc: made ValidatorWindow appear in taskbar if started with --validator-only, added line and coloumn numbers in error messages 2008-07-27 Werner Pantke * po/POTFILES.in: added src/validatorwindow.cc * po/de.po: 100% translated strings as usual ;-) * src/Makefile.am: added validatorwindow.(h|cc) * src/checkbutton.cc: made comparison of checkbutton value (true/false) case-insensitive * src/configloader.cc: first preparation of the schema loader for newer schema formats * src/exporter.cc: * src/exporter.h: (minor) moved an include from header to source file * src/gnome-color-chooser.1: added new command line options (filename and --validator-only) * src/gnome-color-chooser.glade: added validator window and its menu entry in the main window * src/main.cc: added custom command line options (filename of a GNOMECC theme to load and --validator-only that starts the Engine Schema Validator only instead of the full application) * src/mainwindow.cc: * src/mainwindow.h: made mainwindow able to be initialized with a GNOMECC theme instead of user settings, added menuentry Tools -> Engine Schema Validator * src/utils.cc: * src/utils.h: added Utils::Xml::get_language(node), Utils::String::to_lower(string) * src/validatorwindow.cc: * src/validatorwindow.h: initial commit 2008-05-27 Werner Pantke * src/gnome-color-chooser.xml.in: made combobox settings not affect the dropdown menu of comboboxes 2008-05-26 Werner Pantke * po/de.po: translated new strings * src/gnome-color-chooser.glade: * src/gnome-color-chooser.xml.in: * THANKS: added new tab with color options for buttons and comboboxes, thanks to nitrofurano for proposing this. 2008-05-19 Werner Pantke * NEWS: updated release notes for upcoming version 0.2.4 with listing of already implemented changes * po/POTFILES.in: added newly internationalized source files: - src/main.cc - src/ioexception.cc * po/de.po: the usual update to provide 100% translated strings ;-) * src/main.cc: now most error messages that prevent the app from starting are shown in an error dialog instead of terminal output, g_warning() is set to use those error dialogs, either. * src/ioexception.cc: * src/ioexception.h: * src/mainwindow.cc: * src/mainwindow.h: added new translatable strings * src/utils.cc: * src/utils.h: added subclass 'UI' that introduces support for error dialogs 2008-05-07 Werner Pantke * configure.ac: bumped program version to 0.2.4 (still in development phase though) * po/de.po: updated German translation * THANKS: * src/gnome-color-chooser.glade: * src/gnome-color-chooser.xml.in: added color settings for hyperlinks in GTK+ applications, thank you to norsen, who desperately searched for such an option. 2008-05-06 Werner Pantke * src/checkbutton.cc: * src/checkbutton.h: * src/colorbutton.cc: * src/colorbutton.h: * src/combobox.cc: * src/combobox.h: * src/configloader.cc: * src/configloader.h: * src/enginewindow.cc: * src/enginewindow.h: * src/exception.h: * src/exporter.cc: * src/exporter.h: * src/filechooserbutton.cc: * src/filechooserbutton.h: * src/fontbutton.cc: * src/fontbutton.h: * src/gtkrcexporter.cc: * src/gtkrcexporter.h: * src/gtpexporter.cc: * src/gtpexporter.h: * src/infowindow.cc: * src/infowindow.h: * src/ioexception.h: * src/main.cc: * src/mainwindow.cc: * src/mainwindow.h: * src/modwidget.cc: * src/modwidget.h: * src/slider.cc: * src/slider.h: * src/spinbutton.cc: * src/spinbutton.h: * src/treehandler.cc: * src/treehandler.h: * src/utils.cc: * src/utils.h: decreased compile time by ~20% (using a non-hyperthreaded single-core CPU) by using forward declarations in header files wherever possible and moving most includes from header to source files, removed usage of "using namespace std", replaced by 2008-04-30 Werner Pantke * src/configloader.cc: * src/configloader.h: * src/enginewindow.cc: * src/enginewindow.h: * src/modwidget.cc: * src/modwidget.h: * src/slider.cc: (only minor indent changes) * src/spinbutton.cc: (only minor indent changes) reals and integers of engine schemas are now changeable by a spinbutton additionally to a slider (both are synchronized with each other). 2008-04-29 Werner Pantke * po/POTFILES.in: * po/de.po: added new .xml.in and updated German translation * src/Makefile.am: * src/gnome-color-chooser.db: * src/gnome-color-chooser.xml.in: * src/main.cc: * src/treehandler.cc: renamed gnome-color-chooser.db to gnome-color-chooser.xml.in, which introduces localization support for category names 2008-04-29 Werner Pantke * src/configloader.cc: * src/configloader.h: first overall cleanup, introducing glib as direct dependency * src/treehandler.cc: * src/treehandler.h: minor cleanup * src/utils.cc: * src/utils.h: minor cleanup and localization rewrite: translations are now chosen by best_score principle 2008-04-27 Werner Pantke * configure.ac: replaced AC_PROG_INTLTOOL with IT_PROG_INTLTOOL macro, bumped needed intltool version to 0.35.5, IT_PROG_INTLTOOL is now called _after_ AM_GLIB_GNU_GETTEXT 2008-04-27 Werner Pantke * src/gnome-color-chooser.db: removed panel / notification area workaround that also affected evolution's email preferences dialog 2008-04-13 Werner Pantke * src/gnome-color-chooser.db: * src/gnome-color-chooser.glade: added possibility to remove Menubar and Toolbar shadows, changing of panel colors now also affect fast-user-switch-applet 2008-04-08 Werner Pantke * src/configloader.cc: * src/configloader.h: * src/exception.h: * src/exporter.cc: * src/exporter.h: * src/ioexception.cc: * src/mainwindow.cc: * src/mainwindow.h: * src/modwidget.cc: * src/modwidget.h: * src/treehandler.cc: * src/treehandler.h: * src/utils.cc: * src/utils.h: fixed compiler warnings (use ./configure --with-warnings to check) 2008-04-08 Werner Pantke * src/configloader.h: * src/gtkrcexporter.h: * src/treehandler.h: * src/utils.h: fixed FTBFS that occured when building with g++-4.3 2008-04-08 Werner Pantke * configure.ac: * src/Makefile.am: added AM_MAINTAINER_MODE and GNOME_MAINTAINER_MODE_DEFINES macros to get rid of deprecated library functions * src/configloader.h: * src/main.cc: * src/mainwindow.h: * src/treehandler.cc: * src/treehandler.h: removed usage of deprecated defines in , replaced with gettext macros defined in 2008-03-30 Werner Pantke * autogen.sh: * configure.ac: * m4/Makefile.am: * m4/link_as_needed.m4: add linking with --as-needed option where available to strip down (indirect) dependencies - if you encounter problems with this new default behavior (possible if you're using binutils < 2.17), just run ./configure or ./autogen.sh respectively with --disable-link-as-needed option. If your compiler/linker doesn't support linking with --as-needed, the configure script should detect and disable it anyway. 2008-03-12 Werner Pantke * Makefile.am: * autogen.sh: * configure.ac: * m4/Makefile.am: readded m4/ directory * m4/lf_cxx.m4: * m4/lf_host_type.m4: * m4/lf_warnings.m4: added some (slightly modified) macros from GNU Autotoolset as they don't seem to be very common - this should fix FTBFS for svn users 2008-02-10 Werner Pantke * AUTHORS: * COPYING: * INSTALL: * Makefile.am: * NEWS: * THANKS: * config.guess: * config.h.in: * config.sub: * configure.ac: * depcomp: * doc/Makefile.am: * doc/Makefile.in: * install-sh: * intltool-extract.in: * intltool-merge.in: * intltool-update.in: * m4/Makefile.am: * m4/Makefile.in: * missing: * po/Makefile.in.in: * profiles/Makefile.am: * profiles/Makefile.in: * src/Makefile.am: * src/Makefile.in: * src/checkbutton.cc: * src/checkbutton.h: * src/colorbutton.cc: * src/colorbutton.h: * src/combobox.cc: * src/combobox.h: * src/configloader.cc: * src/configloader.h: * src/enginewindow.cc: * src/enginewindow.h: * src/exception.h: * src/exporter.cc: * src/exporter.h: * src/filechooserbutton.cc: * src/filechooserbutton.h: * src/fontbutton.cc: * src/fontbutton.h: * src/gnome-color-chooser.1: * src/gtkrcexporter.cc: * src/gtkrcexporter.h: * src/gtpexporter.cc: * src/gtpexporter.h: * src/infowindow.cc: * src/infowindow.h: * src/ioexception.cc: * src/ioexception.h: * src/main.cc: * src/mainwindow.cc: * src/mainwindow.h: * src/modwidget.cc: * src/modwidget.h: * src/slider.cc: * src/slider.h: * src/spinbutton.cc: * src/spinbutton.h: * src/treehandler.cc: * src/treehandler.h: * src/utils.cc: * src/utils.h: changed licenses to GNU GPL3+, removed m4 subdirectory, removed some auto-generated files, removed version string from window title 2008-02-03 Werner Pantke * src/autogen.sh: replaced own checks with calling gnome-autogen.sh 2008-01-31 Werner Pantke * src/gnome-color-chooser.desktop.in: added startup notification 2008-01-11 Werner Pantke * src/mainwindow.cc: fixed typo ("appereance" -> "appearance") gnome-color-chooser-0.2.5/INSTALL0000644000175000017500000002245011162024741013352 00000000000000Installation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== Briefly, the shell commands `./configure; make; make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for instructions specific to this package. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. Running `configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. 6. Often, you can also type `make uninstall' to remove the installed files again. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. With a non-GNU `make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option `--exec-prefix=PREFIX' to `configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option `--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for `CONFIG_SHELL' due to an Autoconf bug. Until the bug is fixed you can use this workaround: CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of the options to `configure', and exit. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. gnome-color-chooser-0.2.5/NEWS0000644000175000017500000001370411161771336013032 00000000000000gnome-color-chooser -- History of visible changes. Copyright (C) 2006-2008, Werner Pantke See the end for copying conditions. Please send gnome-color-chooser bug reports to gnome-color-chooser@punk-ass-bitch.org . Version 0.2.5 * added possibility to customize GNOME's start menue (requires GNOME 2.24+) * made profile "compact" compatible with clearlooks 2.16.x * FIXed a bug that prevents GNOME Color Chooser from applying its settings, see: http://gnomecc.sourceforge.net/forum/index.php?topic=19.msg46#msg46 * unlike file->new, the revert button now also removes any changes made to ~/.gtkrc-2.0 * new languages: Arabic, English (Canada), Finnish, Norwegian Bokmal, and Dutch; there are also many other new translations. 100% complete are: de (German), en_CA (English Canada), es (Spanish), fr (French), he (Hebrew), it (Italian), and sv (Swedish). Thanks to all contributors, YOU ROCK! Version 0.2.4 * changed project license to GNU GPL3+ * changed project URL to http://gnomecc.sourceforge.net * new (direct) runtime dependency: glib * new compiletime dependencies: glib, gnome-common * newer intltool version required: 0.35.5 * added following features: - possibility to disable menubar and toolbar shadows - change colors of hyperlinks used in (GTK+) applications - also affect fast-user-switch-applet by panel settings - change colors of buttons and comboboxes separately from main colors - Engine Schema validator: GTK+ engine authors can now easily debug their schema files before publishing them (please note that schema_version 0.2, which has _not_ been released yet, is the first supported version; more news to come...) - revert button that resets all theme modifications - new command line options: FILENAME of a .gnomecc theme to load and --validator-only (see manual page for further information) * loads of new translations, introducing Hebrew, Occitan (post 1500), Polish, Portugese, Brazilian Portugese, Russian, and Thai; please help translating this application into your language! There are still many untranslated strings! (see http://gnomecc.sourceforge.net/article-1220391113.html for more info) * many "unimportant" changes like a decreased startup time by stripping down indirect dependencies by default and a decreased compile time (see ChangeLog for further details and problems that may occur using GNU binutils < 2.17 due to these changes) Version 0.2.3 * updated debian/ directory to (hopefully) fulfill debian policy * updated all language files (complete update is planned for 0.2.4) * added following languages: bg, es, id, it, pt, tr, zh_CN * made tooltip color changer compatible to GNOME 2.20 / GTK+ 2.12 * added option to set tooltip text color * removed possibility of changing panel icon size (as i couldn't ever see a difference) * added possibility to choose profiles * added first profile "compact" (looks best with Arial 8 @ 96dpi), which is highly inspired by the theme "clearlooks-compact". Thank you very much, dear theme author! * added GTK+ information window (help->information) * added information window to GTK+ engines * added manual page, see "man gnome-color-chooser" for more details Version 0.2.2 * added possibility to change scrollbar button size * added Czech localization (thank you very much, Lucas "Drom" Lommer) * added Swedish localization by Daniel Nylander * added Hungarian localization by Erno Horvath Version 0.2.1 * added French localization (a big thank you to zniavre!) * added debian/ directory to distribution package which allows easy creation of deb packages for debian based distros like ubuntu. Please share these packages with us and send them to gnome-color-chooser@punk-ass-bitch.org ! Thank you! Version 0.2.0 * integrated my new Nautilus settings (requires nautilus_colorize patch or Nautilus 2.17+) * added desktop icon colorization and desktop selection box settings * added script for automatic installation on Debian systems (requires package checkinstall), theroretically it should even work on slackware and rpm based distributions (but untested) ;-) * introduced my new Engine Schema file format that every gtk2 engine should soon be shipped with (all GNOME 2.18 gtk-engines already include these schemas!) * added possibility to set the engine of a category and to edit all of its engine parameters * introduced first version of an own simple Theme file format (*.gnomecc) * all old menu options are now activated (new/load/save theme) * added internationalization and german localization * introduced new dependencies: libgnome-2.0 >= 2.16, libgnomeuimm-2.6 >= 2.14.0 Version 0.1.3 * stabilized image preview (although no one reported a bug) * added some background image settings * added setting to disable (stock) icons in buttons * added start menue entry (in Settings) Version 0.1.2 * changed from config file to config directory (seamless upgrade) * added new filechooserbutton widget * added possibility to select images (image preview is EXPERIMENTAL, please report strange behavior!) * added panel background image setting (requested by Goamaus) Version 0.1.1 * added automatic configuration updater to codebase * added button padding settings * added possibility to change fonts to codebase * added panel font setting (requested by marooned) Version 0.1.0 * Announcement of very first testing version ------------------------------------------------------- Copying information: Copyright (C) 2006-2008, Werner Pantke Permission is granted to anyone to make or distribute verbatim copies of this document as received, in any medium, provided that the copyright notice and this permission notice are preserved, thus giving the recipient permission to redistribute in turn. Permission is granted to distribute modified versions of this document, or of portions of it, under the above conditions, provided also that they carry prominent notices stating who last changed them. gnome-color-chooser-0.2.5/THANKS0000644000175000017500000000241211016620211013220 00000000000000gnome-color-chooser THANKS file gnome-color-chooser has originally been written by Werner Pantke . THANK you very much, dear translators! All involved translators and the translation status can be found at https://translations.launchpad.net/gnome-color-chooser/trunk/+pots/gnome-color-chooser Many people have further contributed to gnome-color-chooser by reporting problems, suggesting various improvements, or submitting actual code. Here is a list of these people. Help me keep it complete and exempt of errors. 000000: the first tester of this.... useful... erm... tool! blame him for every single bug! e4gle: designed icon logo of 0.1.x series ;-) marooned: proposed panel font setting Goamaus: proposed panel background image setting (cause XFCE lacks an own GUI) profoX: proposed to add the ability of colorizing desktop icons to gnome and gnome-color-chooser http://vektor.ca/bugs/gtkinfo.c: for providing a good way of getting gtk stats Andreas Nilsson: designed the icon logo of 0.2.x and later in respect to GNOME/Tango guidelines felix1976: proposed ability to change scrollbar button size the author of clearlooks-compact for his great work! norsen: proposed link color settings nitrofurano: proposed button color settings gnome-color-chooser-0.2.5/config.guess0000755000175000017500000012753411162024740014651 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. timestamp='2008-01-23' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # 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 Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[456]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:[3456]*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; EM64T | authenticamd) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-gnu else echo ${UNAME_MACHINE}-unknown-linux-gnueabi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^LIBC/{ s: ::g p }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit } test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: gnome-color-chooser-0.2.5/config.sub0000755000175000017500000010115311162024740014301 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. timestamp='2008-01-16' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # 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. # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | mt \ | msp430 \ | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | score \ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; c90) basic_machine=c90-cray os=-unicos ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tile*) basic_machine=tile-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: gnome-color-chooser-0.2.5/depcomp0000755000175000017500000004271311162024741013702 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2007-03-29.01 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 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, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . 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 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 $1 != '--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 $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac 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. -*|$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 $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; 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-end: "$" # End: gnome-color-chooser-0.2.5/install-sh0000755000175000017500000003246411162024740014332 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-12-25.00 # 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. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) 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-end: "$" # End: gnome-color-chooser-0.2.5/missing0000755000175000017500000002557711162024740013734 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2006-05-10.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # 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] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # 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). 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 $1 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/^[ ]*A[CM]_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 1 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-end: "$" # End: gnome-color-chooser-0.2.5/mkinstalldirs0000755000175000017500000000664711162024741015141 00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2006-05-11.19 # Original author: Noah Friedman # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' IFS=" "" $nl" errstatus=0 dirmode= usage="\ Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... Create each directory DIR (with mode MODE, if specified), including all leading file name components. Report bugs to ." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" exit $? ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --version) echo "$0 $scriptversion" exit $? ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac # Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and # mkdir -p a/c at the same time, both will detect that a is missing, # one will create a, then the other will try to create a and die with # a "File exists" error. This is a problem when calling mkinstalldirs # from a parallel make. We use --version in the probe to restrict # ourselves to GNU mkdir, which is thread-safe. case $dirmode in '') if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. test -d ./-p && rmdir ./-p test -d ./--version && rmdir ./--version fi ;; *) if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" else # Clean up after NextStep and OpenStep mkdir. for d in ./-m ./-p ./--version "./$dirmode"; do test -d $d && rmdir $d done fi ;; esac for file do case $file in /*) pathcomp=/ ;; *) pathcomp= ;; esac oIFS=$IFS IFS=/ set fnord $file shift IFS=$oIFS for d do test "x$d" = x && continue pathcomp=$pathcomp$d case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr= chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp=$pathcomp/ done done exit $errstatus # 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-end: "$" # End: gnome-color-chooser-0.2.5/autogen.sh0000755000175000017500000000144611005150566014325 00000000000000#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="GNOME Color Chooser" ACLOCAL_FLAGS="-I m4" REQUIRED_AUTOMAKE_VERSION=1.9 REQUIRED_M4MACROS="lf_cxx.m4 lf_host_type.m4 lf_warnings.m4 link_as_needed.m4" # intltool.m4 and glib-gettext.m4 are already checked by gnome-autogen.sh (test -f $srcdir/configure.ac \ && test -f $srcdir/ChangeLog \ && test -d $srcdir/src) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" echo " top-level $PKG_NAME directory" exit 1 } if ! which gnome-autogen.sh ; then echo "You need to install gnome-common (e.g. from the GNOME CVS)" echo "and make sure the gnome-autogen.sh script is in your \$PATH." exit 1 fi USE_GNOME2_MACROS=1 . gnome-autogen.sh gnome-color-chooser-0.2.5/intltool-extract.in0000644000175000017500000005565011162024736016201 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Extractor # # Copyright (C) 2000-2001, 2003 Free Software Foundation. # # Intltool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # Intltool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # 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. # # Authors: Kenneth Christiansen # Darin Adler # ## Release information my $PROGRAM = "intltool-extract"; my $PACKAGE = "intltool"; my $VERSION = "0.37.1"; ## Loaded modules use strict; use File::Basename; use Getopt::Long; ## Scalars used by the option stuff my $TYPE_ARG = "0"; my $LOCAL_ARG = "0"; my $HELP_ARG = "0"; my $VERSION_ARG = "0"; my $UPDATE_ARG = "0"; my $QUIET_ARG = "0"; my $SRCDIR_ARG = "."; my $FILE; my $OUTFILE; my $gettext_type = ""; my $input; my %messages = (); my %loc = (); my %count = (); my %comments = (); my $strcount = 0; my $XMLCOMMENT = ""; ## Use this instead of \w for XML files to handle more possible characters. my $w = "[-A-Za-z0-9._:]"; ## Always print first $| = 1; ## Handle options GetOptions ( "type=s" => \$TYPE_ARG, "local|l" => \$LOCAL_ARG, "help|h" => \$HELP_ARG, "version|v" => \$VERSION_ARG, "update" => \$UPDATE_ARG, "quiet|q" => \$QUIET_ARG, "srcdir=s" => \$SRCDIR_ARG, ) or &error; &split_on_argument; ## Check for options. ## This section will check for the different options. sub split_on_argument { if ($VERSION_ARG) { &version; } elsif ($HELP_ARG) { &help; } elsif ($LOCAL_ARG) { &place_local; &extract; } elsif ($UPDATE_ARG) { &place_normal; &extract; } elsif (@ARGV > 0) { &place_normal; &message; &extract; } else { &help; } } sub place_normal { $FILE = $ARGV[0]; $OUTFILE = "$FILE.h"; my $dirname = dirname ($OUTFILE); if (! -d "$dirname" && $dirname ne "") { system ("mkdir -p $dirname"); } } sub place_local { $FILE = $ARGV[0]; $OUTFILE = fileparse($FILE, ()); if (!-e "tmp/") { system("mkdir tmp/"); } $OUTFILE = "./tmp/$OUTFILE.h" } sub determine_type { if ($TYPE_ARG =~ /^gettext\/(.*)/) { $gettext_type=$1 } } ## Sub for printing release information sub version{ print <<_EOF_; ${PROGRAM} (${PACKAGE}) $VERSION Copyright (C) 2000, 2003 Free Software Foundation, Inc. Written by Kenneth Christiansen, 2000. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _EOF_ exit; } ## Sub for printing usage information sub help { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... [FILENAME] Generates a header file from an XML source file. It grabs all strings between <_translatable_node> and its end tag in XML files. Read manpage (man ${PROGRAM}) for more info. --type=TYPE Specify the file type of FILENAME. Currently supports: "gettext/glade", "gettext/ini", "gettext/keys" "gettext/rfc822deb", "gettext/schemas", "gettext/scheme", "gettext/xml", "gettext/quoted", "gettext/quotedxml" -l, --local Writes output into current working directory (conflicts with --update) --update Writes output into the same directory the source file reside (conflicts with --local) --srcdir Root of the source tree -v, --version Output version information and exit -h, --help Display this help and exit -q, --quiet Quiet mode Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } ## Sub for printing error messages sub error{ print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit; } sub message { print "Generating C format header file for translation.\n" unless $QUIET_ARG; } sub extract { &determine_type; &convert; open OUT, ">$OUTFILE"; binmode (OUT) if $^O eq 'MSWin32'; &msg_write; close OUT; print "Wrote $OUTFILE\n" unless $QUIET_ARG; } sub convert { ## Reading the file { local (*IN); local $/; #slurp mode open (IN, "<$SRCDIR_ARG/$FILE") || die "can't open $SRCDIR_ARG/$FILE: $!"; $input = ; } &type_ini if $gettext_type eq "ini"; &type_keys if $gettext_type eq "keys"; &type_xml if $gettext_type eq "xml"; &type_glade if $gettext_type eq "glade"; &type_scheme if $gettext_type eq "scheme"; &type_schemas if $gettext_type eq "schemas"; &type_rfc822deb if $gettext_type eq "rfc822deb"; &type_quoted if $gettext_type eq "quoted"; &type_quotedxml if $gettext_type eq "quotedxml"; } sub entity_decode_minimal { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/&/&/g; return $_; } sub entity_decode { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/<//g; s/&/&/g; return $_; } sub escape_char { return '\"' if $_ eq '"'; return '\n' if $_ eq "\n"; return '\\\\' if $_ eq '\\'; return $_; } sub escape { my ($string) = @_; return join "", map &escape_char, split //, $string; } sub type_ini { ### For generic translatable desktop files ### while ($input =~ /^(#(.+)\n)?^_.*=(.*)$/mg) { if (defined($2)) { $comments{$3} = $2; } $messages{$3} = []; } } sub type_keys { ### For generic translatable mime/keys files ### while ($input =~ /^\s*_\w+=(.*)$/mg) { $messages{$1} = []; } } sub type_xml { ### For generic translatable XML files ### my $tree = readXml($input); parseTree(0, $tree); } sub print_var { my $var = shift; my $vartype = ref $var; if ($vartype =~ /ARRAY/) { my @arr = @{$var}; print "[ "; foreach my $el (@arr) { print_var($el); print ", "; } print "] "; } elsif ($vartype =~ /HASH/) { my %hash = %{$var}; print "{ "; foreach my $key (keys %hash) { print "$key => "; print_var($hash{$key}); print ", "; } print "} "; } else { print $var; } } # Same syntax as getAttributeString in intltool-merge.in.in, similar logic (look for ## differences comment) sub getAttributeString { my $sub = shift; my $do_translate = shift || 1; my $language = shift || ""; my $translate = shift; my $result = ""; foreach my $e (reverse(sort(keys %{ $sub }))) { my $key = $e; my $string = $sub->{$e}; my $quote = '"'; $string =~ s/^[\s]+//; $string =~ s/[\s]+$//; if ($string =~ /^'.*'$/) { $quote = "'"; } $string =~ s/^['"]//g; $string =~ s/['"]$//g; ## differences from intltool-merge.in.in if ($key =~ /^_/) { $comments{entity_decode($string)} = $XMLCOMMENT if $XMLCOMMENT; $messages{entity_decode($string)} = []; $$translate = 2; } ## differences end here from intltool-merge.in.in $result .= " $key=$quote$string$quote"; } return $result; } # Verbatim copy from intltool-merge.in.in sub getXMLstring { my $ref = shift; my $spacepreserve = shift || 0; my @list = @{ $ref }; my $result = ""; my $count = scalar(@list); my $attrs = $list[0]; my $index = 1; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); while ($index < $count) { my $type = $list[$index]; my $content = $list[$index+1]; if (! $type ) { # We've got CDATA if ($content) { # lets strip the whitespace here, and *ONLY* here $content =~ s/\s+/ /gs if (!$spacepreserve); $result .= $content; } } elsif ( "$type" ne "1" ) { # We've got another element $result .= "<$type"; $result .= getAttributeString(@{$content}[0], 0); # no nested translatable elements if ($content) { my $subresult = getXMLstring($content, $spacepreserve); if ($subresult) { $result .= ">".$subresult . ""; } else { $result .= "/>"; } } else { $result .= "/>"; } } $index += 2; } return $result; } # Verbatim copy from intltool-merge.in.in, except for MULTIPLE_OUTPUT handling removed # Translate list of nodes if necessary sub translate_subnodes { my $fh = shift; my $content = shift; my $language = shift || ""; my $singlelang = shift || 0; my $spacepreserve = shift || 0; my @nodes = @{ $content }; my $count = scalar(@nodes); my $index = 0; while ($index < $count) { my $type = $nodes[$index]; my $rest = $nodes[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } } # Based on traverse() in intltool-merge.in.in sub traverse { my $fh = shift; # unused, to allow us to sync code between -merge and -extract my $nodename = shift; my $content = shift; my $language = shift || ""; my $spacepreserve = shift || 0; if ($nodename && "$nodename" eq "1") { $XMLCOMMENT = $content; } elsif ($nodename) { # element my @all = @{ $content }; my $attrs = shift @all; my $translate = 0; my $outattr = getAttributeString($attrs, 1, $language, \$translate); if ($nodename =~ /^_/) { $translate = 1; $nodename =~ s/^_//; } my $lookup = ''; $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); if ($translate) { $lookup = getXMLstring($content, $spacepreserve); if (!$spacepreserve) { $lookup =~ s/^\s+//s; $lookup =~ s/\s+$//s; } if ($lookup && $translate != 2) { $comments{$lookup} = $XMLCOMMENT if $XMLCOMMENT; $messages{$lookup} = []; } elsif ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } } else { $XMLCOMMENT = ""; my $count = scalar(@all); if ($count > 0) { my $index = 0; while ($index < $count) { my $type = $all[$index]; my $rest = $all[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } } } $XMLCOMMENT = ""; } } # Verbatim copy from intltool-merge.in.in, $fh for compatibility sub parseTree { my $fh = shift; my $ref = shift; my $language = shift || ""; my $name = shift @{ $ref }; my $cont = shift @{ $ref }; while (!$name || "$name" eq "1") { $name = shift @{ $ref }; $cont = shift @{ $ref }; } my $spacepreserve = 0; my $attrs = @{$cont}[0]; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); traverse($fh, $name, $cont, $language, $spacepreserve); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_comment { my $expat = shift; my $data = $expat->original_string(); my $clist = $expat->{Curlist}; my $pos = $#$clist; $data =~ s/^$//s; push @$clist, 1 => $data; } # Verbatim copy from intltool-merge.in.in sub intltool_tree_cdatastart { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 0 => $expat->original_string(); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_cdataend { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; $clist->[$pos] .= $expat->original_string(); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_char { my $expat = shift; my $text = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; # Use original_string so that we retain escaped entities # in CDATA sections. # if ($pos > 0 and $clist->[$pos - 1] eq '0') { $clist->[$pos] .= $expat->original_string(); } else { push @$clist, 0 => $expat->original_string(); } } # Verbatim copy from intltool-merge.in.in sub intltool_tree_start { my $expat = shift; my $tag = shift; my @origlist = (); # Use original_string so that we retain escaped entities # in attribute values. We must convert the string to an # @origlist array to conform to the structure of the Tree # Style. # my @original_array = split /\x/, $expat->original_string(); my $source = $expat->original_string(); # Remove leading tag. # $source =~ s|^\s*<\s*(\S+)||s; # Grab attribute key/value pairs and push onto @origlist array. # while ($source) { if ($source =~ /^\s*([\w:-]+)\s*[=]\s*["]/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*["]([^"]*)["]||s; push @origlist, $1; push @origlist, '"' . $2 . '"'; } elsif ($source =~ /^\s*([\w:-]+)\s*[=]\s*[']/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*[']([^']*)[']||s; push @origlist, $1; push @origlist, "'" . $2 . "'"; } else { last; } } my $ol = [ { @origlist } ]; push @{ $expat->{Lists} }, $expat->{Curlist}; push @{ $expat->{Curlist} }, $tag => $ol; $expat->{Curlist} = $ol; } # Copied from intltool-merge.in.in and added comment handler. sub readXml { my $xmldoc = shift || return; my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $xp = new XML::Parser(Style => 'Tree'); $xp->setHandlers(Char => \&intltool_tree_char); $xp->setHandlers(Start => \&intltool_tree_start); $xp->setHandlers(CdataStart => \&intltool_tree_cdatastart); $xp->setHandlers(CdataEnd => \&intltool_tree_cdataend); ## differences from intltool-merge.in.in $xp->setHandlers(Comment => \&intltool_tree_comment); ## differences end here from intltool-merge.in.in my $tree = $xp->parse($xmldoc); #print_var($tree); # Hello thereHowdydo # would be: # [foo, [{}, 1, "comment", head, [{id => "a"}, 0, "Hello ", em, [{}, 0, "there"]], bar, # [{}, 0, "Howdy", ref, [{}]], 0, "do" ] ] return $tree; } sub type_schemas { ### For schemas XML files ### # FIXME: We should handle escaped < (less than) while ($input =~ / \s* (\s*(?:\s*)?(.*?)\s*<\/default>\s*)? (\s*(?:\s*)?(.*?)\s*<\/short>\s*)? (\s*(?:\s*)?(.*?)\s*<\/long>\s*)? <\/locale> /sgx) { my @totranslate = ($3,$6,$9); my @eachcomment = ($2,$5,$8); foreach (@totranslate) { my $currentcomment = shift @eachcomment; next if !$_; s/\s+/ /g; $messages{entity_decode_minimal($_)} = []; $comments{entity_decode_minimal($_)} = $currentcomment if (defined($currentcomment)); } } } sub type_rfc822deb { ### For rfc822-style Debian configuration files ### my $lineno = 1; my $type = ''; while ($input =~ /\G(.*?)(^|\n)(_+)([^:]+):[ \t]*(.*?)(?=\n\S|$)/sg) { my ($pre, $newline, $underscore, $tag, $text) = ($1, $2, $3, $4, $5); while ($pre =~ m/\n/g) { $lineno ++; } $lineno += length($newline); my @str_list = rfc822deb_split(length($underscore), $text); for my $str (@str_list) { $strcount++; $messages{$str} = []; $loc{$str} = $lineno; $count{$str} = $strcount; my $usercomment = ''; while($pre =~ s/(^|\n)#([^\n]*)$//s) { $usercomment = "\n" . $2 . $usercomment; } $comments{$str} = $tag . $usercomment; } $lineno += ($text =~ s/\n//g); } } sub rfc822deb_split { # Debian defines a special way to deal with rfc822-style files: # when a value contain newlines, it consists of # 1. a short form (first line) # 2. a long description, all lines begin with a space, # and paragraphs are separated by a single dot on a line # This routine returns an array of all paragraphs, and reformat # them. # When first argument is 2, the string is a comma separated list of # values. my $type = shift; my $text = shift; $text =~ s/^[ \t]//mg; return (split(/, */, $text, 0)) if $type ne 1; return ($text) if $text !~ /\n/; $text =~ s/([^\n]*)\n//; my @list = ($1); my $str = ''; for my $line (split (/\n/, $text)) { chomp $line; if ($line =~ /^\.\s*$/) { # New paragraph $str =~ s/\s*$//; push(@list, $str); $str = ''; } elsif ($line =~ /^\s/) { # Line which must not be reformatted $str .= "\n" if length ($str) && $str !~ /\n$/; $line =~ s/\s+$//; $str .= $line."\n"; } else { # Continuation line, remove newline $str .= " " if length ($str) && $str !~ /\n$/; $str .= $line; } } $str =~ s/\s*$//; push(@list, $str) if length ($str); return @list; } sub type_quoted { while ($input =~ /\"(([^\"]|\\\")*[^\\\"])\"/g) { my $message = $1; my $before = $`; $message =~ s/\\\"/\"/g; $before =~ s/[^\n]//g; $messages{$message} = []; $loc{$message} = length ($before) + 2; } } sub type_quotedxml { while ($input =~ /\"(([^\"]|\\\")*[^\\\"])\"/g) { my $message = $1; my $before = $`; $message =~ s/\\\"/\"/g; $message = entity_decode($message); $before =~ s/[^\n]//g; $messages{$message} = []; $loc{$message} = length ($before) + 2; } } sub type_glade { ### For translatable Glade XML files ### my $tags = "label|title|text|format|copyright|comments|preview_text|tooltip|message"; while ($input =~ /<($tags)>([^<]+)<\/($tags)>/sg) { # Glade sometimes uses tags that normally mark translatable things for # little bits of non-translatable content. We work around this by not # translating strings that only includes something like label4 or window1. $messages{entity_decode($2)} = [] unless $2 =~ /^(window|label|dialog)[0-9]+$/; } while ($input =~ /(..[^<]*)<\/items>/sg) { for my $item (split (/\n/, $1)) { $messages{entity_decode($item)} = []; } } ## handle new glade files while ($input =~ /<(property|atkproperty)\s+[^>]*translatable\s*=\s*"yes"(?:\s+[^>]*comments\s*=\s*"([^"]*)")?[^>]*>([^<]+)<\/\1>/sg) { $messages{entity_decode($3)} = [] unless $3 =~ /^(window|label)[0-9]+$/; if (defined($2) and !($3 =~ /^(window|label)[0-9]+$/)) { $comments{entity_decode($3)} = entity_decode($2) ; } } while ($input =~ /]*)"\s+description="([^>]+)"\/>/sg) { $messages{entity_decode_minimal($2)} = []; } } sub type_scheme { my ($line, $i, $state, $str, $trcomment, $char); for $line (split(/\n/, $input)) { $i = 0; $state = 0; # 0 - nothing, 1 - string, 2 - translatable string while ($i < length($line)) { if (substr($line,$i,1) eq "\"") { if ($state == 2) { $comments{$str} = $trcomment if ($trcomment); $messages{$str} = []; $str = ''; $state = 0; $trcomment = ""; } elsif ($state == 1) { $str = ''; $state = 0; $trcomment = ""; } else { $state = 1; $str = ''; if ($i>0 && substr($line,$i-1,1) eq '_') { $state = 2; } } } elsif (!$state) { if (substr($line,$i,1) eq ";") { $trcomment = substr($line,$i+1); $trcomment =~ s/^;*\s*//; $i = length($line); } elsif ($trcomment && substr($line,$i,1) !~ /\s|\(|\)|_/) { $trcomment = ""; } } else { if (substr($line,$i,1) eq "\\") { $char = substr($line,$i+1,1); if ($char ne "\"" && $char ne "\\") { $str = $str . "\\"; } $i++; } $str = $str . substr($line,$i,1); } $i++; } } } sub msg_write { my @msgids; if (%count) { @msgids = sort { $count{$a} <=> $count{$b} } keys %count; } else { @msgids = sort keys %messages; } for my $message (@msgids) { my $offsetlines = 1; $offsetlines++ if $message =~ /%/; if (defined ($comments{$message})) { while ($comments{$message} =~ m/\n/g) { $offsetlines++; } } print OUT "# ".($loc{$message} - $offsetlines). " \"$FILE\"\n" if defined $loc{$message}; print OUT "/* ".$comments{$message}." */\n" if defined $comments{$message}; print OUT "/* xgettext:no-c-format */\n" if $message =~ /%/; my @lines = split (/\n/, $message, -1); for (my $n = 0; $n < @lines; $n++) { if ($n == 0) { print OUT "char *s = N_(\""; } else { print OUT " \""; } print OUT escape($lines[$n]); if ($n < @lines - 1) { print OUT "\\n\"\n"; } else { print OUT "\");\n"; } } } } gnome-color-chooser-0.2.5/intltool-merge.in0000644000175000017500000011474611162024736015630 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Merger # # Copyright (C) 2000, 2003 Free Software Foundation. # Copyright (C) 2000, 2001 Eazel, Inc # # Intltool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 published by the Free Software Foundation. # # Intltool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # 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. # # Authors: Maciej Stachowiak # Kenneth Christiansen # Darin Adler # # Proper XML UTF-8'ification written by Cyrille Chepelov # ## Release information my $PROGRAM = "intltool-merge"; my $PACKAGE = "intltool"; my $VERSION = "0.37.1"; ## Loaded modules use strict; use Getopt::Long; use Text::Wrap; use File::Basename; my $must_end_tag = -1; my $last_depth = -1; my $translation_depth = -1; my @tag_stack = (); my @entered_tag = (); my @translation_strings = (); my $leading_space = ""; ## Scalars used by the option stuff my $HELP_ARG = 0; my $VERSION_ARG = 0; my $BA_STYLE_ARG = 0; my $XML_STYLE_ARG = 0; my $KEYS_STYLE_ARG = 0; my $DESKTOP_STYLE_ARG = 0; my $SCHEMAS_STYLE_ARG = 0; my $RFC822DEB_STYLE_ARG = 0; my $QUOTED_STYLE_ARG = 0; my $QUOTEDXML_STYLE_ARG = 0; my $QUIET_ARG = 0; my $PASS_THROUGH_ARG = 0; my $UTF8_ARG = 0; my $MULTIPLE_OUTPUT = 0; my $cache_file; ## Handle options GetOptions ( "help" => \$HELP_ARG, "version" => \$VERSION_ARG, "quiet|q" => \$QUIET_ARG, "oaf-style|o" => \$BA_STYLE_ARG, ## for compatibility "ba-style|b" => \$BA_STYLE_ARG, "xml-style|x" => \$XML_STYLE_ARG, "keys-style|k" => \$KEYS_STYLE_ARG, "desktop-style|d" => \$DESKTOP_STYLE_ARG, "schemas-style|s" => \$SCHEMAS_STYLE_ARG, "rfc822deb-style|r" => \$RFC822DEB_STYLE_ARG, "quoted-style" => \$QUOTED_STYLE_ARG, "quotedxml-style" => \$QUOTEDXML_STYLE_ARG, "pass-through|p" => \$PASS_THROUGH_ARG, "utf8|u" => \$UTF8_ARG, "multiple-output|m" => \$MULTIPLE_OUTPUT, "cache|c=s" => \$cache_file ) or &error; my $PO_DIR; my $FILE; my $OUTFILE; my %po_files_by_lang = (); my %translations = (); my $iconv = $ENV{"ICONV"} || "iconv"; my $devnull = ($^O eq 'MSWin32' ? 'NUL:' : '/dev/null'); sub isProgramInPath { my ($file) = @_; # If either a file exists, or when run it returns 0 exit status return 1 if ((-x $file) or (system("$file -l >$devnull") == 0)); return 0; } if (! isProgramInPath ("$iconv")) { print STDERR " *** iconv is not found on this system!\n". " *** Without it, intltool-merge can not convert encodings.\n"; exit; } # Use this instead of \w for XML files to handle more possible characters. my $w = "[-A-Za-z0-9._:]"; # XML quoted string contents my $q = "[^\\\"]*"; ## Check for options. if ($VERSION_ARG) { &print_version; } elsif ($HELP_ARG) { &print_help; } elsif ($BA_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &ba_merge_translations; &finalize; } elsif ($XML_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &xml_merge_output; &finalize; } elsif ($KEYS_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &keys_merge_translations; &finalize; } elsif ($DESKTOP_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &desktop_merge_translations; &finalize; } elsif ($SCHEMAS_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &schemas_merge_translations; &finalize; } elsif ($RFC822DEB_STYLE_ARG && @ARGV > 2) { &preparation; &print_message; &rfc822deb_merge_translations; &finalize; } elsif (($QUOTED_STYLE_ARG || $QUOTEDXML_STYLE_ARG) && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; "ed_merge_translations($QUOTEDXML_STYLE_ARG); &finalize; } else { &print_help; } exit; ## Sub for printing release information sub print_version { print <<_EOF_; ${PROGRAM} (${PACKAGE}) ${VERSION} Written by Maciej Stachowiak, Darin Adler and Kenneth Christiansen. Copyright (C) 2000-2003 Free Software Foundation, Inc. Copyright (C) 2000-2001 Eazel, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _EOF_ exit; } ## Sub for printing usage information sub print_help { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... PO_DIRECTORY FILENAME OUTPUT_FILE Generates an output file that includes some localized attributes from an untranslated source file. Mandatory options: (exactly one must be specified) -b, --ba-style includes translations in the bonobo-activation style -d, --desktop-style includes translations in the desktop style -k, --keys-style includes translations in the keys style -s, --schemas-style includes translations in the schemas style -r, --rfc822deb-style includes translations in the RFC822 style --quoted-style includes translations in the quoted string style --quotedxml-style includes translations in the quoted xml string style -x, --xml-style includes translations in the standard xml style Other options: -u, --utf8 convert all strings to UTF-8 before merging (default for everything except RFC822 style) -p, --pass-through deprecated, does nothing and issues a warning -m, --multiple-output output one localized file per locale, instead of a single file containing all localized elements -c, --cache=FILE specify cache file name (usually \$top_builddir/po/.intltool-merge-cache) -q, --quiet suppress most messages --help display this help and exit --version output version information and exit Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } ## Sub for printing error messages sub print_error { print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit; } sub print_message { print "Merging translations into $OUTFILE.\n" unless $QUIET_ARG; } sub preparation { $PO_DIR = $ARGV[0]; $FILE = $ARGV[1]; $OUTFILE = $ARGV[2]; &gather_po_files; &get_translation_database; } # General-purpose code for looking up translations in .po files sub po_file2lang { my ($tmp) = @_; $tmp =~ s/^.*\/(.*)\.po$/$1/; return $tmp; } sub gather_po_files { if (my $linguas = $ENV{"LINGUAS"}) { for my $lang (split / /, $linguas) { my $po_file = $PO_DIR . "/" . $lang . ".po"; if (-e $po_file) { $po_files_by_lang{$lang} = $po_file; } } } else { if (open LINGUAS_FILE, "$PO_DIR/LINGUAS") { while () { next if /^#/; for my $lang (split) { chomp ($lang); my $po_file = $PO_DIR . "/" . $lang . ".po"; if (-e $po_file) { $po_files_by_lang{$lang} = $po_file; } } } close LINGUAS_FILE; } else { for my $po_file (glob "$PO_DIR/*.po") { $po_files_by_lang{po_file2lang($po_file)} = $po_file; } } } } sub get_local_charset { my ($encoding) = @_; my $alias_file = $ENV{"G_CHARSET_ALIAS"} || "@INTLTOOL_LIBDIR@/charset.alias"; # seek character encoding aliases in charset.alias (glib) if (open CHARSET_ALIAS, $alias_file) { while () { next if /^\#/; return $1 if (/^\s*([-._a-zA-Z0-9]+)\s+$encoding\b/i) } close CHARSET_ALIAS; } # if not found, return input string return $encoding; } sub get_po_encoding { my ($in_po_file) = @_; my $encoding = ""; open IN_PO_FILE, $in_po_file or die; while () { ## example: "Content-Type: text/plain; charset=ISO-8859-1\n" if (/Content-Type\:.*charset=([-a-zA-Z0-9]+)\\n/) { $encoding = $1; last; } } close IN_PO_FILE; if (!$encoding) { print STDERR "Warning: no encoding found in $in_po_file. Assuming ISO-8859-1\n" unless $QUIET_ARG; $encoding = "ISO-8859-1"; } system ("$iconv -f $encoding -t UTF-8 <$devnull 2>$devnull"); if ($?) { $encoding = get_local_charset($encoding); } return $encoding } sub utf8_sanity_check { print STDERR "Warning: option --pass-through has been removed.\n" if $PASS_THROUGH_ARG; $UTF8_ARG = 1; } sub get_translation_database { if ($cache_file) { &get_cached_translation_database; } else { &create_translation_database; } } sub get_newest_po_age { my $newest_age; foreach my $file (values %po_files_by_lang) { my $file_age = -M $file; $newest_age = $file_age if !$newest_age || $file_age < $newest_age; } $newest_age = 0 if !$newest_age; return $newest_age; } sub create_cache { print "Generating and caching the translation database\n" unless $QUIET_ARG; &create_translation_database; open CACHE, ">$cache_file" || die; print CACHE join "\x01", %translations; close CACHE; } sub load_cache { print "Found cached translation database\n" unless $QUIET_ARG; my $contents; open CACHE, "<$cache_file" || die; { local $/; $contents = ; } close CACHE; %translations = split "\x01", $contents; } sub get_cached_translation_database { my $cache_file_age = -M $cache_file; if (defined $cache_file_age) { if ($cache_file_age <= &get_newest_po_age) { &load_cache; return; } print "Found too-old cached translation database\n" unless $QUIET_ARG; } &create_cache; } sub create_translation_database { for my $lang (keys %po_files_by_lang) { my $po_file = $po_files_by_lang{$lang}; if ($UTF8_ARG) { my $encoding = get_po_encoding ($po_file); if (lc $encoding eq "utf-8") { open PO_FILE, "<$po_file"; } else { print "NOTICE: $po_file is not in UTF-8 but $encoding, converting...\n" unless $QUIET_ARG;; open PO_FILE, "$iconv -f $encoding -t UTF-8 $po_file|"; } } else { open PO_FILE, "<$po_file"; } my $nextfuzzy = 0; my $inmsgid = 0; my $inmsgstr = 0; my $msgid = ""; my $msgstr = ""; while () { $nextfuzzy = 1 if /^#, fuzzy/; if (/^msgid "((\\.|[^\\]+)*)"/ ) { $translations{$lang, $msgid} = $msgstr if $inmsgstr && $msgid && $msgstr; $msgid = ""; $msgstr = ""; if ($nextfuzzy) { $inmsgid = 0; } else { $msgid = unescape_po_string($1); $inmsgid = 1; } $inmsgstr = 0; $nextfuzzy = 0; } if (/^msgstr "((\\.|[^\\]+)*)"/) { $msgstr = unescape_po_string($1); $inmsgstr = 1; $inmsgid = 0; } if (/^"((\\.|[^\\]+)*)"/) { $msgid .= unescape_po_string($1) if $inmsgid; $msgstr .= unescape_po_string($1) if $inmsgstr; } } $translations{$lang, $msgid} = $msgstr if $inmsgstr && $msgid && $msgstr; } } sub finalize { } sub unescape_one_sequence { my ($sequence) = @_; return "\\" if $sequence eq "\\\\"; return "\"" if $sequence eq "\\\""; return "\n" if $sequence eq "\\n"; return "\r" if $sequence eq "\\r"; return "\t" if $sequence eq "\\t"; return "\b" if $sequence eq "\\b"; return "\f" if $sequence eq "\\f"; return "\a" if $sequence eq "\\a"; return chr(11) if $sequence eq "\\v"; # vertical tab, see ascii(7) return chr(hex($1)) if ($sequence =~ /\\x([0-9a-fA-F]{2})/); return chr(oct($1)) if ($sequence =~ /\\([0-7]{3})/); # FIXME: Is \0 supported as well? Kenneth and Rodney don't want it, see bug #48489 return $sequence; } sub unescape_po_string { my ($string) = @_; $string =~ s/(\\x[0-9a-fA-F]{2}|\\[0-7]{3}|\\.)/unescape_one_sequence($1)/eg; return $string; } sub entity_decode { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/<//g; s/&/&/g; return $_; } # entity_encode: (string) # # Encode the given string to XML format (encode '<' etc). sub entity_encode { my ($pre_encoded) = @_; my @list_of_chars = unpack ('C*', $pre_encoded); # with UTF-8 we only encode minimalistic return join ('', map (&entity_encode_int_minimalist, @list_of_chars)); } sub entity_encode_int_minimalist { return """ if $_ == 34; return "&" if $_ == 38; return "'" if $_ == 39; return "<" if $_ == 60; return ">" if $_ == 62; return chr $_; } sub entity_encoded_translation { my ($lang, $string) = @_; my $translation = $translations{$lang, $string}; return $string if !$translation; return entity_encode ($translation); } ## XML (bonobo-activation specific) merge code sub ba_merge_translations { my $source; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">$OUTFILE" or die "can't open $OUTFILE: $!"; # Binmode so that selftest works ok if using a native Win32 Perl... binmode (OUTPUT) if $^O eq 'MSWin32'; while ($source =~ s|^(.*?)([ \t]*<\s*$w+\s+($w+\s*=\s*"$q"\s*)+/?>)([ \t]*\n)?||s) { print OUTPUT $1; my $node = $2 . "\n"; my @strings = (); $_ = $node; while (s/(\s)_($w+\s*=\s*"($q)")/$1$2/s) { push @strings, entity_decode($3); } print OUTPUT; my %langs; for my $string (@strings) { for my $lang (keys %po_files_by_lang) { $langs{$lang} = 1 if $translations{$lang, $string}; } } for my $lang (sort keys %langs) { $_ = $node; s/(\sname\s*=\s*)"($q)"/$1"$2-$lang"/s; s/(\s)_($w+\s*=\s*")($q)"/$1 . $2 . entity_encoded_translation($lang, $3) . '"'/seg; print OUTPUT; } } print OUTPUT $source; close OUTPUT; } ## XML (non-bonobo-activation) merge code # Process tag attributes # Only parameter is a HASH containing attributes -> values mapping sub getAttributeString { my $sub = shift; my $do_translate = shift || 0; my $language = shift || ""; my $result = ""; my $translate = shift; foreach my $e (reverse(sort(keys %{ $sub }))) { my $key = $e; my $string = $sub->{$e}; my $quote = '"'; $string =~ s/^[\s]+//; $string =~ s/[\s]+$//; if ($string =~ /^'.*'$/) { $quote = "'"; } $string =~ s/^['"]//g; $string =~ s/['"]$//g; if ($do_translate && $key =~ /^_/) { $key =~ s|^_||g; if ($language) { # Handle translation my $decode_string = entity_decode($string); my $translation = $translations{$language, $decode_string}; if ($translation) { $translation = entity_encode($translation); $string = $translation; } $$translate = 2; } else { $$translate = 2 if ($translate && (!$$translate)); # watch not to "overwrite" $translate } } $result .= " $key=$quote$string$quote"; } return $result; } # Returns a translatable string from XML node, it works on contents of every node in XML::Parser tree sub getXMLstring { my $ref = shift; my $spacepreserve = shift || 0; my @list = @{ $ref }; my $result = ""; my $count = scalar(@list); my $attrs = $list[0]; my $index = 1; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); while ($index < $count) { my $type = $list[$index]; my $content = $list[$index+1]; if (! $type ) { # We've got CDATA if ($content) { # lets strip the whitespace here, and *ONLY* here $content =~ s/\s+/ /gs if (!$spacepreserve); $result .= $content; } } elsif ( "$type" ne "1" ) { # We've got another element $result .= "<$type"; $result .= getAttributeString(@{$content}[0], 0); # no nested translatable elements if ($content) { my $subresult = getXMLstring($content, $spacepreserve); if ($subresult) { $result .= ">".$subresult . ""; } else { $result .= "/>"; } } else { $result .= "/>"; } } $index += 2; } return $result; } # Translate list of nodes if necessary sub translate_subnodes { my $fh = shift; my $content = shift; my $language = shift || ""; my $singlelang = shift || 0; my $spacepreserve = shift || 0; my @nodes = @{ $content }; my $count = scalar(@nodes); my $index = 0; while ($index < $count) { my $type = $nodes[$index]; my $rest = $nodes[$index+1]; if ($singlelang) { my $oldMO = $MULTIPLE_OUTPUT; $MULTIPLE_OUTPUT = 1; traverse($fh, $type, $rest, $language, $spacepreserve); $MULTIPLE_OUTPUT = $oldMO; } else { traverse($fh, $type, $rest, $language, $spacepreserve); } $index += 2; } } sub isWellFormedXmlFragment { my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $fragment = shift; return 0 if (!$fragment); $fragment = "$fragment"; my $xp = new XML::Parser(Style => 'Tree'); my $tree = 0; eval { $tree = $xp->parse($fragment); }; return $tree; } sub traverse { my $fh = shift; my $nodename = shift; my $content = shift; my $language = shift || ""; my $spacepreserve = shift || 0; if (!$nodename) { if ($content =~ /^[\s]*$/) { $leading_space .= $content; } print $fh $content; } else { # element my @all = @{ $content }; my $attrs = shift @all; my $translate = 0; my $outattr = getAttributeString($attrs, 1, $language, \$translate); if ($nodename =~ /^_/) { $translate = 1; $nodename =~ s/^_//; } my $lookup = ''; $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); print $fh "<$nodename", $outattr; if ($translate) { $lookup = getXMLstring($content, $spacepreserve); if (!$spacepreserve) { $lookup =~ s/^\s+//s; $lookup =~ s/\s+$//s; } if ($lookup || $translate == 2) { my $translation = $translations{$language, $lookup} if isWellFormedXmlFragment($translations{$language, $lookup}); if ($MULTIPLE_OUTPUT && ($translation || $translate == 2)) { $translation = $lookup if (!$translation); print $fh " xml:lang=\"", $language, "\"" if $language; print $fh ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } else { print $fh $translation; } print $fh ""; return; # this means there will be no same translation with xml:lang="$language"... # if we want them both, just remove this "return" } else { print $fh ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } else { print $fh $lookup; } print $fh ""; } } else { print $fh "/>"; } for my $lang (sort keys %po_files_by_lang) { if ($MULTIPLE_OUTPUT && $lang ne "$language") { next; } if ($lang) { # Handle translation # my $translate = 0; my $localattrs = getAttributeString($attrs, 1, $lang, \$translate); my $translation = $translations{$lang, $lookup} if isWellFormedXmlFragment($translations{$lang, $lookup}); if ($translate && !$translation) { $translation = $lookup; } if ($translation || $translate) { print $fh "\n"; $leading_space =~ s/.*\n//g; print $fh $leading_space; print $fh "<", $nodename, " xml:lang=\"", $lang, "\"", $localattrs, ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $lang, 1, $spacepreserve); } else { print $fh $translation; } print $fh ""; } } } } else { my $count = scalar(@all); if ($count > 0) { print $fh ">"; my $index = 0; while ($index < $count) { my $type = $all[$index]; my $rest = $all[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } print $fh ""; } else { print $fh "/>"; } } } } sub intltool_tree_comment { my $expat = shift; my $data = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 1 => $data; } sub intltool_tree_cdatastart { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 0 => $expat->original_string(); } sub intltool_tree_cdataend { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; $clist->[$pos] .= $expat->original_string(); } sub intltool_tree_char { my $expat = shift; my $text = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; # Use original_string so that we retain escaped entities # in CDATA sections. # if ($pos > 0 and $clist->[$pos - 1] eq '0') { $clist->[$pos] .= $expat->original_string(); } else { push @$clist, 0 => $expat->original_string(); } } sub intltool_tree_start { my $expat = shift; my $tag = shift; my @origlist = (); # Use original_string so that we retain escaped entities # in attribute values. We must convert the string to an # @origlist array to conform to the structure of the Tree # Style. # my @original_array = split /\x/, $expat->original_string(); my $source = $expat->original_string(); # Remove leading tag. # $source =~ s|^\s*<\s*(\S+)||s; # Grab attribute key/value pairs and push onto @origlist array. # while ($source) { if ($source =~ /^\s*([\w:-]+)\s*[=]\s*["]/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*["]([^"]*)["]||s; push @origlist, $1; push @origlist, '"' . $2 . '"'; } elsif ($source =~ /^\s*([\w:-]+)\s*[=]\s*[']/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*[']([^']*)[']||s; push @origlist, $1; push @origlist, "'" . $2 . "'"; } else { last; } } my $ol = [ { @origlist } ]; push @{ $expat->{Lists} }, $expat->{Curlist}; push @{ $expat->{Curlist} }, $tag => $ol; $expat->{Curlist} = $ol; } sub readXml { my $filename = shift || return; if(!-f $filename) { die "ERROR Cannot find filename: $filename\n"; } my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $xp = new XML::Parser(Style => 'Tree'); $xp->setHandlers(Char => \&intltool_tree_char); $xp->setHandlers(Start => \&intltool_tree_start); $xp->setHandlers(CdataStart => \&intltool_tree_cdatastart); $xp->setHandlers(CdataEnd => \&intltool_tree_cdataend); my $tree = $xp->parsefile($filename); # Hello thereHowdydo # would be: # [foo, [{}, head, [{id => "a"}, 0, "Hello ", em, [{}, 0, "there"]], bar, [{}, # 0, "Howdy", ref, [{}]], 0, "do" ] ] return $tree; } sub print_header { my $infile = shift; my $fh = shift; my $source; if(!-f $infile) { die "ERROR Cannot find filename: $infile\n"; } print $fh qq{\n}; { local $/; open DOCINPUT, "<${FILE}" or die; $source = ; close DOCINPUT; } if ($source =~ /()/s) { print $fh "$1\n"; } elsif ($source =~ /(]*>)/s) { print $fh "$1\n"; } } sub parseTree { my $fh = shift; my $ref = shift; my $language = shift || ""; my $name = shift @{ $ref }; my $cont = shift @{ $ref }; while (!$name || "$name" eq "1") { $name = shift @{ $ref }; $cont = shift @{ $ref }; } my $spacepreserve = 0; my $attrs = @{$cont}[0]; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); traverse($fh, $name, $cont, $language, $spacepreserve); } sub xml_merge_output { my $source; if ($MULTIPLE_OUTPUT) { for my $lang (sort keys %po_files_by_lang) { if ( ! -d $lang ) { mkdir $lang or -d $lang or die "Cannot create subdirectory $lang: $!\n"; } open OUTPUT, ">$lang/$OUTFILE" or die "Cannot open $lang/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; my $tree = readXml($FILE); print_header($FILE, \*OUTPUT); parseTree(\*OUTPUT, $tree, $lang); close OUTPUT; print "CREATED $lang/$OUTFILE\n" unless $QUIET_ARG; } if ( ! -d "C" ) { mkdir "C" or -d "C" or die "Cannot create subdirectory C: $!\n"; } open OUTPUT, ">C/$OUTFILE" or die "Cannot open C/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; my $tree = readXml($FILE); print_header($FILE, \*OUTPUT); parseTree(\*OUTPUT, $tree); close OUTPUT; print "CREATED C/$OUTFILE\n" unless $QUIET_ARG; } else { open OUTPUT, ">$OUTFILE" or die "Cannot open $OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; my $tree = readXml($FILE); print_header($FILE, \*OUTPUT); parseTree(\*OUTPUT, $tree); close OUTPUT; print "CREATED $OUTFILE\n" unless $QUIET_ARG; } } sub keys_merge_translation { my ($lang) = @_; if ( ! -d $lang && $MULTIPLE_OUTPUT) { mkdir $lang or -d $lang or die "Cannot create subdirectory $lang: $!\n"; } open INPUT, "<${FILE}" or die "Cannot open ${FILE}: $!\n"; open OUTPUT, ">$lang/$OUTFILE" or die "Cannot open $lang/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { if (s/^(\s*)_(\w+=(.*))/$1$2/) { my $string = $3; if (!$MULTIPLE_OUTPUT) { print OUTPUT; my $non_translated_line = $_; for my $lang (sort keys %po_files_by_lang) { my $translation = $translations{$lang, $string}; next if !$translation; $_ = $non_translated_line; s/(\w+)=.*/[$lang]$1=$translation/; print OUTPUT; } } else { my $non_translated_line = $_; my $translation = $translations{$lang, $string}; $translation = $string if !$translation; $_ = $non_translated_line; s/(\w+)=.*/$1=$translation/; print OUTPUT; } } else { print OUTPUT; } } close OUTPUT; close INPUT; print "CREATED $lang/$OUTFILE\n" unless $QUIET_ARG; } sub keys_merge_translations { if ($MULTIPLE_OUTPUT) { for my $lang (sort keys %po_files_by_lang) { keys_merge_translation ($lang); } keys_merge_translation ("C"); } else { keys_merge_translation ("."); } } sub desktop_merge_translations { open INPUT, "<${FILE}" or die; open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { if (s/^(\s*)_(\w+=(.*))/$1$2/) { my $string = $3; print OUTPUT; my $non_translated_line = $_; for my $lang (sort keys %po_files_by_lang) { my $translation = $translations{$lang, $string}; next if !$translation; $_ = $non_translated_line; s/(\w+)=.*/${1}[$lang]=$translation/; print OUTPUT; } } else { print OUTPUT; } } close OUTPUT; close INPUT; } sub schemas_merge_translations { my $source; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">$OUTFILE" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; # FIXME: support attribute translations # Empty nodes never need translation, so unmark all of them. # For example, <_foo/> is just replaced by . $source =~ s|<\s*_($w+)\s*/>|<$1/>|g; while ($source =~ s/ (.*?) (\s+)((\s*) (\s*(?:\s*)?(.*?)\s*<\/default>)?(\s*) (\s*(?:\s*)?(.*?)\s*<\/short>)?(\s*) (\s*(?:\s*)?(.*?)\s*<\/long>)?(\s*) <\/locale>) //sx) { print OUTPUT $1; my $locale_start_spaces = $2 ? $2 : ''; my $default_spaces = $4 ? $4 : ''; my $short_spaces = $7 ? $7 : ''; my $long_spaces = $10 ? $10 : ''; my $locale_end_spaces = $13 ? $13 : ''; my $c_default_block = $3 ? $3 : ''; my $default_string = $6 ? $6 : ''; my $short_string = $9 ? $9 : ''; my $long_string = $12 ? $12 : ''; print OUTPUT "$locale_start_spaces$c_default_block"; $default_string =~ s/\s+/ /g; $default_string = entity_decode($default_string); $short_string =~ s/\s+/ /g; $short_string = entity_decode($short_string); $long_string =~ s/\s+/ /g; $long_string = entity_decode($long_string); for my $lang (sort keys %po_files_by_lang) { my $default_translation = $translations{$lang, $default_string}; my $short_translation = $translations{$lang, $short_string}; my $long_translation = $translations{$lang, $long_string}; next if (!$default_translation && !$short_translation && !$long_translation); print OUTPUT "\n$locale_start_spaces"; print OUTPUT "$default_spaces"; if ($default_translation) { $default_translation = entity_encode($default_translation); print OUTPUT "$default_translation"; } print OUTPUT "$short_spaces"; if ($short_translation) { $short_translation = entity_encode($short_translation); print OUTPUT "$short_translation"; } print OUTPUT "$long_spaces"; if ($long_translation) { $long_translation = entity_encode($long_translation); print OUTPUT "$long_translation"; } print OUTPUT "$locale_end_spaces"; } } print OUTPUT $source; close OUTPUT; } sub rfc822deb_merge_translations { my %encodings = (); for my $lang (keys %po_files_by_lang) { $encodings{$lang} = ($UTF8_ARG ? 'UTF-8' : get_po_encoding($po_files_by_lang{$lang})); } my $source; $Text::Wrap::huge = 'overflow'; $Text::Wrap::break = qr/\n|\s(?=\S)/; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while ($source =~ /(^|\n+)(_*)([^:\s]+)(:[ \t]*)(.*?)(?=\n[\S\n]|$)/sg) { my $sep = $1; my $non_translated_line = $3.$4; my $string = $5; my $underscore = length($2); next if $underscore eq 0 && $non_translated_line =~ /^#/; # Remove [] dummy strings my $stripped = $string; $stripped =~ s/\[\s[^\[\]]*\],/,/g if $underscore eq 2; $stripped =~ s/\[\s[^\[\]]*\]$//; $non_translated_line .= $stripped; print OUTPUT $sep.$non_translated_line; if ($underscore) { my @str_list = rfc822deb_split($underscore, $string); for my $lang (sort keys %po_files_by_lang) { my $is_translated = 1; my $str_translated = ''; my $first = 1; for my $str (@str_list) { my $translation = $translations{$lang, $str}; if (!$translation) { $is_translated = 0; last; } # $translation may also contain [] dummy # strings, mostly to indicate an empty string $translation =~ s/\[\s[^\[\]]*\]$//; if ($first) { if ($underscore eq 2) { $str_translated .= $translation; } else { $str_translated .= Text::Tabs::expand($translation) . "\n"; } } else { if ($underscore eq 2) { $str_translated .= ', ' . $translation; } else { $str_translated .= Text::Tabs::expand( Text::Wrap::wrap(' ', ' ', $translation)) . "\n .\n"; } } $first = 0; # To fix some problems with Text::Wrap::wrap $str_translated =~ s/(\n )+\n/\n .\n/g; } next unless $is_translated; $str_translated =~ s/\n \.\n$//; $str_translated =~ s/\s+$//; $_ = $non_translated_line; s/^(\w+):\s*.*/$sep${1}-$lang.$encodings{$lang}: $str_translated/s; print OUTPUT; } } } print OUTPUT "\n"; close OUTPUT; close INPUT; } sub rfc822deb_split { # Debian defines a special way to deal with rfc822-style files: # when a value contain newlines, it consists of # 1. a short form (first line) # 2. a long description, all lines begin with a space, # and paragraphs are separated by a single dot on a line # This routine returns an array of all paragraphs, and reformat # them. # When first argument is 2, the string is a comma separated list of # values. my $type = shift; my $text = shift; $text =~ s/^[ \t]//mg; return (split(/, */, $text, 0)) if $type ne 1; return ($text) if $text !~ /\n/; $text =~ s/([^\n]*)\n//; my @list = ($1); my $str = ''; for my $line (split (/\n/, $text)) { chomp $line; if ($line =~ /^\.\s*$/) { # New paragraph $str =~ s/\s*$//; push(@list, $str); $str = ''; } elsif ($line =~ /^\s/) { # Line which must not be reformatted $str .= "\n" if length ($str) && $str !~ /\n$/; $line =~ s/\s+$//; $str .= $line."\n"; } else { # Continuation line, remove newline $str .= " " if length ($str) && $str !~ /\n$/; $str .= $line; } } $str =~ s/\s*$//; push(@list, $str) if length ($str); return @list; } sub quoted_translation { my ($xml_mode, $lang, $string) = @_; $string = entity_decode($string) if $xml_mode; $string =~ s/\\\"/\"/g; my $translation = $translations{$lang, $string}; $translation = $string if !$translation; $translation = entity_encode($translation) if $xml_mode; $translation =~ s/\"/\\\"/g; return $translation } sub quoted_merge_translations { my ($xml_mode) = @_; if (!$MULTIPLE_OUTPUT) { print "Quoted only supports Multiple Output.\n"; exit(1); } for my $lang (sort keys %po_files_by_lang) { if ( ! -d $lang ) { mkdir $lang or -d $lang or die "Cannot create subdirectory $lang: $!\n"; } open INPUT, "<${FILE}" or die; open OUTPUT, ">$lang/$OUTFILE" or die "Cannot open $lang/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { s/\"(([^\"]|\\\")*[^\\\"])\"/"\"" . "ed_translation($xml_mode, $lang, $1) . "\""/ge; print OUTPUT; } close OUTPUT; close INPUT; } } gnome-color-chooser-0.2.5/intltool-update.in0000644000175000017500000007442611162024736016013 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Updater # # Copyright (C) 2000-2003 Free Software Foundation. # # Intltool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 published by the Free Software Foundation. # # Intltool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # 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. # # Authors: Kenneth Christiansen # Maciej Stachowiak # Darin Adler ## Release information my $PROGRAM = "intltool-update"; my $VERSION = "0.37.1"; my $PACKAGE = "intltool"; ## Loaded modules use strict; use Getopt::Long; use Cwd; use File::Copy; use File::Find; ## Scalars used by the option stuff my $HELP_ARG = 0; my $VERSION_ARG = 0; my $DIST_ARG = 0; my $POT_ARG = 0; my $HEADERS_ARG = 0; my $MAINTAIN_ARG = 0; my $REPORT_ARG = 0; my $VERBOSE = 0; my $GETTEXT_PACKAGE = ""; my $OUTPUT_FILE = ""; my @languages; my %varhash = (); my %po_files_by_lang = (); # Regular expressions to categorize file types. # FIXME: Please check if the following is correct my $xml_support = "xml(?:\\.in)*|". # http://www.w3.org/XML/ (Note: .in is not required) "ui|". # Bonobo specific - User Interface desc. files "lang|". # ? "glade2?(?:\\.in)*|". # Glade specific - User Interface desc. files (Note: .in is not required) "scm(?:\\.in)*|". # ? (Note: .in is not required) "oaf(?:\\.in)+|". # DEPRECATED: Replaces by Bonobo .server files "etspec|". # ? "server(?:\\.in)+|". # Bonobo specific "sheet(?:\\.in)+|". # ? "schemas(?:\\.in)+|". # GConf specific "pong(?:\\.in)+|". # DEPRECATED: PONG is not used [by GNOME] any longer. "kbd(?:\\.in)+|". # GOK specific. "policy(?:\\.in)+"; # PolicyKit files my $ini_support = "icon(?:\\.in)+|". # http://www.freedesktop.org/Standards/icon-theme-spec "desktop(?:\\.in)+|". # http://www.freedesktop.org/Standards/menu-spec "caves(?:\\.in)+|". # GNOME Games specific "directory(?:\\.in)+|". # http://www.freedesktop.org/Standards/menu-spec "soundlist(?:\\.in)+|". # GNOME specific "keys(?:\\.in)+|". # GNOME Mime database specific "theme(?:\\.in)+|". # http://www.freedesktop.org/Standards/icon-theme-spec "service(?:\\.in)+"; # DBus specific my $buildin_gettext_support = "c|y|cs|cc|cpp|c\\+\\+|h|hh|gob|py"; ## Always flush buffer when printing $| = 1; ## Sometimes the source tree will be rooted somewhere else. my $SRCDIR = $ENV{"srcdir"} || "."; my $POTFILES_in; $POTFILES_in = "<$SRCDIR/POTFILES.in"; my $devnull = ($^O eq 'MSWin32' ? 'NUL:' : '/dev/null'); ## Handle options GetOptions ( "help" => \$HELP_ARG, "version" => \$VERSION_ARG, "dist|d" => \$DIST_ARG, "pot|p" => \$POT_ARG, "headers|s" => \$HEADERS_ARG, "maintain|m" => \$MAINTAIN_ARG, "report|r" => \$REPORT_ARG, "verbose|x" => \$VERBOSE, "gettext-package|g=s" => \$GETTEXT_PACKAGE, "output-file|o=s" => \$OUTPUT_FILE, ) or &Console_WriteError_InvalidOption; &Console_Write_IntltoolHelp if $HELP_ARG; &Console_Write_IntltoolVersion if $VERSION_ARG; my $arg_count = ($DIST_ARG > 0) + ($POT_ARG > 0) + ($HEADERS_ARG > 0) + ($MAINTAIN_ARG > 0) + ($REPORT_ARG > 0); &Console_Write_IntltoolHelp if $arg_count > 1; my $PKGNAME = FindPackageName (); # --version and --help don't require a module name my $MODULE = $GETTEXT_PACKAGE || $PKGNAME || "unknown"; if ($POT_ARG) { &GenerateHeaders; &GeneratePOTemplate; } elsif ($HEADERS_ARG) { &GenerateHeaders; } elsif ($MAINTAIN_ARG) { &FindLeftoutFiles; } elsif ($REPORT_ARG) { &GenerateHeaders; &GeneratePOTemplate; &Console_Write_CoverageReport; } elsif ((defined $ARGV[0]) && $ARGV[0] =~ /^[a-z]/) { my $lang = $ARGV[0]; ## Report error if the language file supplied ## to the command line is non-existent &Console_WriteError_NotExisting("$SRCDIR/$lang.po") if ! -s "$SRCDIR/$lang.po"; if (!$DIST_ARG) { print "Working, please wait..." if $VERBOSE; &GenerateHeaders; &GeneratePOTemplate; } &POFile_Update ($lang, $OUTPUT_FILE); &Console_Write_TranslationStatus ($lang, $OUTPUT_FILE); } else { &Console_Write_IntltoolHelp; } exit; ######### sub Console_Write_IntltoolVersion { print <<_EOF_; ${PROGRAM} (${PACKAGE}) $VERSION Written by Kenneth Christiansen, Maciej Stachowiak, and Darin Adler. Copyright (C) 2000-2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _EOF_ exit; } sub Console_Write_IntltoolHelp { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... LANGCODE Updates PO template files and merge them with the translations. Mode of operation (only one is allowed): -p, --pot generate the PO template only -s, --headers generate the header files in POTFILES.in -m, --maintain search for left out files from POTFILES.in -r, --report display a status report for the module -d, --dist merge LANGCODE.po with existing PO template Extra options: -g, --gettext-package=NAME override PO template name, useful with --pot -o, --output-file=FILE write merged translation to FILE -x, --verbose display lots of feedback --help display this help and exit --version output version information and exit Examples of use: ${PROGRAM} --pot just create a new PO template ${PROGRAM} xy create new PO template and merge xy.po with it Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } sub echo_n { my $str = shift; my $ret = `echo "$str"`; $ret =~ s/\n$//; # do we need the "s" flag? return $ret; } sub POFile_DetermineType ($) { my $type = $_; my $gettext_type; my $xml_regex = "(?:" . $xml_support . ")"; my $ini_regex = "(?:" . $ini_support . ")"; my $buildin_regex = "(?:" . $buildin_gettext_support . ")"; if ($type =~ /\[type: gettext\/([^\]].*)]/) { $gettext_type=$1; } elsif ($type =~ /schemas(\.in)+$/) { $gettext_type="schemas"; } elsif ($type =~ /glade2?(\.in)*$/) { $gettext_type="glade"; } elsif ($type =~ /scm(\.in)*$/) { $gettext_type="scheme"; } elsif ($type =~ /keys(\.in)+$/) { $gettext_type="keys"; } # bucket types elsif ($type =~ /$xml_regex$/) { $gettext_type="xml"; } elsif ($type =~ /$ini_regex$/) { $gettext_type="ini"; } elsif ($type =~ /$buildin_regex$/) { $gettext_type="buildin"; } else { $gettext_type="unknown"; } return "gettext\/$gettext_type"; } sub TextFile_DetermineEncoding ($) { my $gettext_code="ASCII"; # All files are ASCII by default my $filetype=`file $_ | cut -d ' ' -f 2`; if ($? eq "0") { if ($filetype =~ /^(ISO|UTF)/) { chomp ($gettext_code = $filetype); } elsif ($filetype =~ /^XML/) { $gettext_code="UTF-8"; # We asume that .glade and other .xml files are UTF-8 } } return $gettext_code; } sub isNotValidMissing { my ($file) = @_; return if $file =~ /^\{arch\}\/.*$/; return if $file =~ /^$varhash{"PACKAGE"}-$varhash{"VERSION"}\/.*$/; } sub FindLeftoutFiles { my (@buf_i18n_plain, @buf_i18n_xml, @buf_i18n_xml_unmarked, @buf_i18n_ini, @buf_potfiles, @buf_potfiles_ignore, @buf_allfiles, @buf_allfiles_sorted, @buf_potfiles_sorted, @buf_potfiles_ignore_sorted ); ## Search and find all translatable files find sub { push @buf_i18n_plain, "$File::Find::name" if /\.($buildin_gettext_support)$/; push @buf_i18n_xml, "$File::Find::name" if /\.($xml_support)$/; push @buf_i18n_ini, "$File::Find::name" if /\.($ini_support)$/; push @buf_i18n_xml_unmarked, "$File::Find::name" if /\.(schemas(\.in)+)$/; }, ".."; find sub { push @buf_i18n_plain, "$File::Find::name" if /\.($buildin_gettext_support)$/; push @buf_i18n_xml, "$File::Find::name" if /\.($xml_support)$/; push @buf_i18n_ini, "$File::Find::name" if /\.($ini_support)$/; push @buf_i18n_xml_unmarked, "$File::Find::name" if /\.(schemas(\.in)+)$/; }, "$SRCDIR/.." if "$SRCDIR" ne "."; open POTFILES, $POTFILES_in or die "$PROGRAM: there's no POTFILES.in!\n"; @buf_potfiles = grep !/^(#|\s*$)/, ; close POTFILES; foreach (@buf_potfiles) { s/^\[.*]\s*//; } print "Searching for missing translatable files...\n" if $VERBOSE; ## Check if we should ignore some found files, when ## comparing with POTFILES.in foreach my $ignore ("POTFILES.skip", "POTFILES.ignore") { (-s "$SRCDIR/$ignore") or next; if ("$ignore" eq "POTFILES.ignore") { print "The usage of POTFILES.ignore is deprecated. Please consider moving the\n". "content of this file to POTFILES.skip.\n"; } print "Found $ignore: Ignoring files...\n" if $VERBOSE; open FILE, "<$SRCDIR/$ignore" or die "ERROR: Failed to open $SRCDIR/$ignore!\n"; while () { push @buf_potfiles_ignore, $_ unless /^(#|\s*$)/; } close FILE; @buf_potfiles_ignore_sorted = sort (@buf_potfiles_ignore); } foreach my $file (@buf_i18n_plain) { my $in_comment = 0; my $in_macro = 0; open FILE, "<$file"; while () { # Handle continued multi-line comment. if ($in_comment) { next unless s-.*\*/--; $in_comment = 0; } # Handle continued macro. if ($in_macro) { $in_macro = 0 unless /\\$/; next; } # Handle start of macro (or any preprocessor directive). if (/^\s*\#/) { $in_macro = 1 if /^([^\\]|\\.)*\\$/; next; } # Handle comments and quoted text. while (m-(/\*|//|\'|\")-) # \' and \" keep emacs perl mode happy { my $match = $1; if ($match eq "/*") { if (!s-/\*.*?\*/--) { s-/\*.*--; $in_comment = 1; } } elsif ($match eq "//") { s-//.*--; } else # ' or " { if (!s-$match([^\\]|\\.)*?$match-QUOTEDTEXT-) { warn "mismatched quotes at line $. in $file\n"; s-$match.*--; } } } if (/\w\.GetString *\(QUOTEDTEXT/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { ## Remove the first 3 chars and add newline push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } ## C_ N_ Q_ and _ are the macros defined in gi8n.h if (/[CNQ]?_ *\(QUOTEDTEXT/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { ## Remove the first 3 chars and add newline push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_xml) { open FILE, "<$file"; while () { # FIXME: share the pattern matching code with intltool-extract if (/\s_[-A-Za-z0-9._:]+\s*=\s*\"([^"]+)\"/ || /<_[^>]+>/ || /translatable=\"yes\"/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_ini) { open FILE, "<$file"; while () { if (/_(.*)=/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_xml_unmarked) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } } @buf_allfiles_sorted = sort (@buf_allfiles); @buf_potfiles_sorted = sort (@buf_potfiles); my %in2; foreach (@buf_potfiles_sorted) { s#^$SRCDIR/../##; s#^$SRCDIR/##; $in2{$_} = 1; } foreach (@buf_potfiles_ignore_sorted) { s#^$SRCDIR/../##; s#^$SRCDIR/##; $in2{$_} = 1; } my @result; foreach (@buf_allfiles_sorted) { my $dummy = $_; my $srcdir = $SRCDIR; $srcdir =~ s#^../##; $dummy =~ s#^$srcdir/../##; $dummy =~ s#^$srcdir/##; $dummy =~ s#_build/##; if (!exists($in2{$dummy})) { push @result, $dummy } } my @buf_potfiles_notexist; foreach (@buf_potfiles_sorted) { chomp (my $dummy = $_); if ("$dummy" ne "" and !(-f "$SRCDIR/../$dummy" or -f "../$dummy")) { push @buf_potfiles_notexist, $_; } } ## Save file with information about the files missing ## if any, and give information about this procedure. if (@result + @buf_potfiles_notexist > 0) { if (@result) { print "\n" if $VERBOSE; unlink "missing"; open OUT, ">missing"; print OUT @result; close OUT; warn "\e[1mThe following files contain translations and are currently not in use. Please\e[0m\n". "\e[1mconsider adding these to the POTFILES.in file, located in the po/ directory.\e[0m\n\n"; print STDERR @result, "\n"; warn "If some of these files are left out on purpose then please add them to\n". "POTFILES.skip instead of POTFILES.in. A file \e[1m'missing'\e[0m containing this list\n". "of left out files has been written in the current directory.\n"; } if (@buf_potfiles_notexist) { unlink "notexist"; open OUT, ">notexist"; print OUT @buf_potfiles_notexist; close OUT; warn "\n" if ($VERBOSE or @result); warn "\e[1mThe following files do not exist anymore:\e[0m\n\n"; warn @buf_potfiles_notexist, "\n"; warn "Please remove them from POTFILES.in. A file \e[1m'notexist'\e[0m\n". "containing this list of absent files has been written in the current directory.\n"; } } ## If there is nothing to complain about, notify the user else { print "\nAll files containing translations are present in POTFILES.in.\n" if $VERBOSE; } } sub Console_WriteError_InvalidOption { ## Handle invalid arguments print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit 1; } sub isProgramInPath { my ($file) = @_; # If either a file exists, or when run it returns 0 exit status return 1 if ((-x $file) or (system("$file --version >$devnull") == 0)); return 0; } sub isGNUGettextTool { my ($file) = @_; # Check that we are using GNU gettext tools if (isProgramInPath ($file)) { my $version = `$file --version`; return 1 if ($version =~ m/.*\(GNU .*\).*/); } return 0; } sub GenerateHeaders { my $EXTRACT = $ENV{"INTLTOOL_EXTRACT"} || "intltool-extract"; ## Generate the .h header files, so we can allow glade and ## xml translation support if (! isProgramInPath ("$EXTRACT")) { print STDERR "\n *** The intltool-extract script wasn't found!" ."\n *** Without it, intltool-update can not generate files.\n"; exit; } else { open (FILE, $POTFILES_in) or die "$PROGRAM: POTFILES.in not found.\n"; while () { chomp; next if /^\[\s*encoding/; ## Find xml files in POTFILES.in and generate the ## files with help from the extract script my $gettext_type= &POFile_DetermineType ($1); if (/\.($xml_support|$ini_support)$/ || /^\[/) { s/^\[[^\[].*]\s*//; my $filename = "../$_"; if ($VERBOSE) { system ($EXTRACT, "--update", "--srcdir=$SRCDIR", "--type=$gettext_type", $filename); } else { system ($EXTRACT, "--update", "--type=$gettext_type", "--srcdir=$SRCDIR", "--quiet", $filename); } } } close FILE; } } # # Generate .pot file from POTFILES.in # sub GeneratePOTemplate { my $XGETTEXT = $ENV{"XGETTEXT"} || "xgettext"; my $XGETTEXT_ARGS = $ENV{"XGETTEXT_ARGS"} || ''; chomp $XGETTEXT; if (! isGNUGettextTool ("$XGETTEXT")) { print STDERR " *** GNU xgettext is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } print "Building $MODULE.pot...\n" if $VERBOSE; open INFILE, $POTFILES_in; unlink "POTFILES.in.temp"; open OUTFILE, ">POTFILES.in.temp" or die("Cannot open POTFILES.in.temp for writing"); my $gettext_support_nonascii = 0; # checks for GNU gettext >= 0.12 my $dummy = `$XGETTEXT --version --from-code=UTF-8 >$devnull 2>$devnull`; if ($? == 0) { $gettext_support_nonascii = 1; } else { # urge everybody to upgrade gettext print STDERR "WARNING: This version of gettext does not support extracting non-ASCII\n". " strings. That means you should install a version of gettext\n". " that supports non-ASCII strings (such as GNU gettext >= 0.12),\n". " or have to let non-ASCII strings untranslated. (If there is any)\n"; } my $encoding = "ASCII"; my $forced_gettext_code; my @temp_headers; my $encoding_problem_is_reported = 0; while () { next if (/^#/ or /^\s*$/); chomp; my $gettext_code; if (/^\[\s*encoding:\s*(.*)\s*\]/) { $forced_gettext_code=$1; } elsif (/\.($xml_support|$ini_support)$/ || /^\[/) { s/^\[.*]\s*//; print OUTFILE "../$_.h\n"; push @temp_headers, "../$_.h"; $gettext_code = &TextFile_DetermineEncoding ("../$_.h") if ($gettext_support_nonascii and not defined $forced_gettext_code); } else { print OUTFILE "$SRCDIR/../$_\n"; $gettext_code = &TextFile_DetermineEncoding ("$SRCDIR/../$_") if ($gettext_support_nonascii and not defined $forced_gettext_code); } next if (! $gettext_support_nonascii); if (defined $forced_gettext_code) { $encoding=$forced_gettext_code; } elsif (defined $gettext_code and "$encoding" ne "$gettext_code") { if ($encoding eq "ASCII") { $encoding=$gettext_code; } elsif ($gettext_code ne "ASCII") { # Only report once because the message is quite long if (! $encoding_problem_is_reported) { print STDERR "WARNING: You should use the same file encoding for all your project files,\n". " but $PROGRAM thinks that most of the source files are in\n". " $encoding encoding, while \"$_\" is (likely) in\n". " $gettext_code encoding. If you are sure that all translatable strings\n". " are in same encoding (say UTF-8), please \e[1m*prepend*\e[0m the following\n". " line to POTFILES.in:\n\n". " [encoding: UTF-8]\n\n". " and make sure that configure.in/ac checks for $PACKAGE >= 0.27 .\n". "(such warning message will only be reported once.)\n"; $encoding_problem_is_reported = 1; } } } } close OUTFILE; close INFILE; unlink "$MODULE.pot"; my @xgettext_argument=("$XGETTEXT", "--add-comments", "--directory\=.", "--default-domain\=$MODULE", "--flag\=g_strdup_printf:1:c-format", "--flag\=g_string_printf:2:c-format", "--flag\=g_string_append_printf:2:c-format", "--flag\=g_error_new:3:c-format", "--flag\=g_set_error:4:c-format", "--flag\=g_markup_printf_escaped:1:c-format", "--flag\=g_log:3:c-format", "--flag\=g_print:1:c-format", "--flag\=g_printerr:1:c-format", "--flag\=g_printf:1:c-format", "--flag\=g_fprintf:2:c-format", "--flag\=g_sprintf:2:c-format", "--flag\=g_snprintf:3:c-format", "--flag\=g_scanner_error:2:c-format", "--flag\=g_scanner_warn:2:c-format", "--output\=$MODULE\.pot", "--files-from\=\.\/POTFILES\.in\.temp"); my $XGETTEXT_KEYWORDS = &FindPOTKeywords; push @xgettext_argument, $XGETTEXT_KEYWORDS; my $MSGID_BUGS_ADDRESS = &FindMakevarsBugAddress; push @xgettext_argument, "--msgid-bugs-address\=\"$MSGID_BUGS_ADDRESS\"" if $MSGID_BUGS_ADDRESS; push @xgettext_argument, "--from-code\=$encoding" if ($gettext_support_nonascii); push @xgettext_argument, $XGETTEXT_ARGS if $XGETTEXT_ARGS; my $xgettext_command = join ' ', @xgettext_argument; # intercept xgettext error message print "Running $xgettext_command\n" if $VERBOSE; my $xgettext_error_msg = `$xgettext_command 2>\&1`; my $command_failed = $?; unlink "POTFILES.in.temp"; print "Removing generated header (.h) files..." if $VERBOSE; unlink foreach (@temp_headers); print "done.\n" if $VERBOSE; if (! $command_failed) { if (! -e "$MODULE.pot") { print "None of the files in POTFILES.in contain strings marked for translation.\n" if $VERBOSE; } else { print "Wrote $MODULE.pot\n" if $VERBOSE; } } else { if ($xgettext_error_msg =~ /--from-code/) { # replace non-ASCII error message with a more useful one. print STDERR "ERROR: xgettext failed to generate PO template file because there is non-ASCII\n". " string marked for translation. Please make sure that all strings marked\n". " for translation are in uniform encoding (say UTF-8), then \e[1m*prepend*\e[0m the\n". " following line to POTFILES.in and rerun $PROGRAM:\n\n". " [encoding: UTF-8]\n\n"; } else { print STDERR "$xgettext_error_msg"; if (-e "$MODULE.pot") { # is this possible? print STDERR "ERROR: xgettext failed but still managed to generate PO template file.\n". " Please consult error message above if there is any.\n"; } else { print STDERR "ERROR: xgettext failed to generate PO template file. Please consult\n". " error message above if there is any.\n"; } } exit (1); } } sub POFile_Update { -f "$MODULE.pot" or die "$PROGRAM: $MODULE.pot does not exist.\n"; my $MSGMERGE = $ENV{"MSGMERGE"} || "msgmerge"; my ($lang, $outfile) = @_; if (! isGNUGettextTool ("$MSGMERGE")) { print STDERR " *** GNU msgmerge is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } print "Merging $SRCDIR/$lang.po with $MODULE.pot..." if $VERBOSE; my $infile = "$SRCDIR/$lang.po"; $outfile = "$SRCDIR/$lang.po" if ($outfile eq ""); # I think msgmerge won't overwrite old file if merge is not successful system ("$MSGMERGE", "-o", $outfile, $infile, "$MODULE.pot"); } sub Console_WriteError_NotExisting { my ($file) = @_; ## Report error if supplied language file is non-existing print STDERR "$PROGRAM: $file does not exist!\n"; print STDERR "Try '$PROGRAM --help' for more information.\n"; exit; } sub GatherPOFiles { my @po_files = glob ("./*.po"); @languages = map (&POFile_GetLanguage, @po_files); foreach my $lang (@languages) { $po_files_by_lang{$lang} = shift (@po_files); } } sub POFile_GetLanguage ($) { s/^(.*\/)?(.+)\.po$/$2/; return $_; } sub Console_Write_TranslationStatus { my ($lang, $output_file) = @_; my $MSGFMT = $ENV{"MSGFMT"} || "msgfmt"; if (! isGNUGettextTool ("$MSGFMT")) { print STDERR " *** GNU msgfmt is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } $output_file = "$SRCDIR/$lang.po" if ($output_file eq ""); system ("$MSGFMT", "-o", "$devnull", "--verbose", $output_file); } sub Console_Write_CoverageReport { my $MSGFMT = $ENV{"MSGFMT"} || "msgfmt"; if (! isGNUGettextTool ("$MSGFMT")) { print STDERR " *** GNU msgfmt is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } &GatherPOFiles; foreach my $lang (@languages) { print STDERR "$lang: "; &POFile_Update ($lang, ""); } print STDERR "\n\n * Current translation support in $MODULE \n\n"; foreach my $lang (@languages) { print STDERR "$lang: "; system ("$MSGFMT", "-o", "$devnull", "--verbose", "$SRCDIR/$lang.po"); } } sub SubstituteVariable { my ($str) = @_; # always need to rewind file whenever it has been accessed seek (CONF, 0, 0); # cache each variable. varhash is global to we can add # variables elsewhere. while () { if (/^(\w+)=(.*)$/) { ($varhash{$1} = $2) =~ s/^["'](.*)["']$/$1/; } } if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/) { my $rest = $3; my $untouched = $1; my $sub = ""; # Ignore recursive definitions of variables $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\${?$2}?/; return SubstituteVariable ("$untouched$sub$rest"); } # We're using Perl backticks ` and "echo -n" here in order to # expand any shell escapes (such as backticks themselves) in every variable return echo_n ($str); } sub CONF_Handle_Open { my $base_dirname = getcwd(); $base_dirname =~ s@.*/@@; my ($conf_in, $src_dir); if ($base_dirname =~ /^po(-.+)?$/) { if (-f "Makevars") { my $makefile_source; local (*IN); open (IN, ") { if (/^top_builddir[ \t]*=/) { $src_dir = $_; $src_dir =~ s/^top_builddir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/; chomp $src_dir; if (-f "$src_dir" . "/configure.ac") { $conf_in = "$src_dir" . "/configure.ac" . "\n"; } else { $conf_in = "$src_dir" . "/configure.in" . "\n"; } last; } } close IN; $conf_in || die "Cannot find top_builddir in Makevars."; } elsif (-f "$SRCDIR/../configure.ac") { $conf_in = "$SRCDIR/../configure.ac"; } elsif (-f "$SRCDIR/../configure.in") { $conf_in = "$SRCDIR/../configure.in"; } else { my $makefile_source; local (*IN); open (IN, ") { if (/^top_srcdir[ \t]*=/) { $src_dir = $_; $src_dir =~ s/^top_srcdir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/; chomp $src_dir; $conf_in = "$src_dir" . "/configure.in" . "\n"; last; } } close IN; $conf_in || die "Cannot find top_srcdir in Makefile."; } open (CONF, "<$conf_in"); } else { print STDERR "$PROGRAM: Unable to proceed.\n" . "Make sure to run this script inside the po directory.\n"; exit; } } sub FindPackageName { my $version; my $domain = &FindMakevarsDomain; my $name = $domain || "untitled"; &CONF_Handle_Open; my $conf_source; { local (*IN); open (IN, "<&CONF") || return $name; seek (IN, 0, 0); local $/; # slurp mode $conf_source = ; close IN; } # priority for getting package name: # 1. GETTEXT_PACKAGE # 2. first argument of AC_INIT (with >= 2 arguments) # 3. first argument of AM_INIT_AUTOMAKE (with >= 2 argument) # /^AM_INIT_AUTOMAKE\([\s\[]*([^,\)\s\]]+)/m # the \s makes this not work, why? if ($conf_source =~ /^AM_INIT_AUTOMAKE\(([^,\)]+),([^,\)]+)/m) { ($name, $version) = ($1, $2); $name =~ s/[\[\]\s]//g; $version =~ s/[\[\]\s]//g; $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); } if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)/m) { ($name, $version) = ($1, $2); $name =~ s/[\[\]\s]//g; $version =~ s/[\[\]\s]//g; $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); } # \s makes this not work, why? $name = $1 if $conf_source =~ /^GETTEXT_PACKAGE=\[?([^\n\]]+)/m; # m4 macros AC_PACKAGE_NAME, AC_PACKAGE_VERSION etc. have same value # as corresponding $PACKAGE_NAME, $PACKAGE_VERSION etc. shell variables. $name =~ s/\bAC_PACKAGE_/\$PACKAGE_/g; $name = $domain if $domain; $name = SubstituteVariable ($name); $name =~ s/^["'](.*)["']$/$1/; return $name if $name; } sub FindPOTKeywords { my $keywords = "--keyword\=\_ --keyword\=N\_ --keyword\=U\_ --keyword\=Q\_"; my $varname = "XGETTEXT_OPTIONS"; my $make_source; { local (*IN); open (IN, "; close IN; } # unwrap lines split with a trailing \ $make_source =~ s/\\ $ \n/ /mxg; $keywords = $1 if $make_source =~ /^$varname[ ]*=\[?([^\n\]]+)/m; return $keywords; } sub FindMakevarsDomain { my $domain = ""; my $makevars_source; { local (*IN); open (IN, "; close IN; } $domain = $1 if $makevars_source =~ /^DOMAIN[ ]*=\[?([^\n\]\$]+)/m; $domain =~ s/^\s+//; $domain =~ s/\s+$//; return $domain; } sub FindMakevarsBugAddress { my $address = ""; my $makevars_source; { local (*IN); open (IN, "; close IN; } $address = $1 if $makevars_source =~ /^MSGID_BUGS_ADDRESS[ ]*=\[?([^\n\]\$]+)/m; $address =~ s/^\s+//; $address =~ s/\s+$//; return $address; } gnome-color-chooser-0.2.5/po/0000777000175000017500000000000011162025261013016 500000000000000gnome-color-chooser-0.2.5/po/Makefile.in.in0000644000175000017500000001536511162024736015424 00000000000000# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # Copyright (C) 2004-2008 Rodney Dawes # # This file may be copied and used freely without restrictions. It may # be used in projects which are not available under a GNU Public License, # but which still want to provide support for the GNU gettext functionality. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ # # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize # # - Modified by Rodney Dawes for use with intltool # # We have the following line for use by intltoolize: # INTLTOOL_MAKEFILE GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ datarootdir = @datarootdir@ libdir = @libdir@ DATADIRNAME = @DATADIRNAME@ itlocaledir = $(prefix)/$(DATADIRNAME)/locale subdir = po install_sh = @install_sh@ # Automake >= 1.8 provides @mkdir_p@. # Until it can be supposed, use the safe fallback: mkdir_p = $(install_sh) -d INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @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 ALL_LINGUAS = @ALL_LINGUAS@ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep '^$$lang$$' $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep '^$$lang$$'`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) DISTFILES = Makefile.in.in POTFILES.in $(POFILES) EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS POTFILES = \ # This comment gets stripped out CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(MSGFMT) -o $@ $< .po.gmo: file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && gencat $@ $*.msg all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: $(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) install: install-data install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $$dir; \ if test -r $$lang.gmo; then \ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $(srcdir)/$$lang.gmo as" \ "$$dir/$(GETTEXT_PACKAGE).mo"; \ fi; \ if test -r $$lang.gmo.m; then \ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ if test -r $(srcdir)/$$lang.gmo.m ; then \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $(srcdir)/$$lang.gmo.m as" \ "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ true; \ fi; \ fi; \ done # Empty stubs to satisfy archaic automake needs dvi info tags TAGS ID: # Define this as empty until I found a useful application. install-exec installcheck: uninstall: linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ done check: all $(GETTEXT_PACKAGE).pot rm -f missing notexist srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi mostlyclean: rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp rm -f .intltool-merge-cache clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES stamp-it rm -f *.mo *.msg *.cat *.cat.m *.gmo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f Makefile.in.in distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(DISTFILES) dists="$(DISTFILES)"; \ extra_dists="$(EXTRA_DISTFILES)"; \ for file in $$extra_dists; do \ test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ done; \ for file in $$dists; do \ test -f $$file || file="$(srcdir)/$$file"; \ ln $$file $(distdir) 2> /dev/null \ || cp -p $$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot tmpdir=`pwd`; \ linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ echo "$$lang:"; \ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ if $$result; then \ if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.gmo failed!"; \ rm -f $$tmpdir/$$lang.new.po; \ fi; \ done Makefile POTFILES: stamp-it @if test ! -f $@; then \ rm -f stamp-it; \ $(MAKE) stamp-it; \ fi stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gnome-color-chooser-0.2.5/po/POTFILES.in0000644000175000017500000000044111041125001014473 00000000000000[encoding: UTF-8] [type: gettext/xml] profiles/compact.xml.in [type: gettext/xml] src/gnome-color-chooser.xml.in src/gnome-color-chooser.glade src/gnome-color-chooser.desktop.in src/configloader.cc src/ioexception.cc src/main.cc src/mainwindow.cc src/treehandler.cc src/validatorwindow.cc gnome-color-chooser-0.2.5/po/ar.po0000644000175000017500000003041011161752714013703 00000000000000# Arabic translation for gnome-color-chooser # Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 # This file is distributed under the same license as the gnome-color-chooser package. # FIRST AUTHOR , 2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2008-12-24 13:20+0000\n" "Last-Translator: runrelease \n" "Language-Team: Arabic \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "مدمج" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "الأزرار" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "أيقونات سطح المكتب" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "شامل" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "لوحة" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "أشرطة التقدم" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "التلميحات" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "ملاحظة: الصور لم يتم تصديرها " "حاليا!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "الإعدادات الإفتراضية" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "سطح المكتب" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "محركات [للمستخدمين المتقدمين]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "حقول الدخول" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "أبعاد الأيقونة (x² pixels)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "أيقونات" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "وصلات" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "عادي" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "لوحة" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "أشرطة التقدم" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "النتيجة" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "أشرطة التمرير" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "تلميحات" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "الخلفية" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "زر" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "قياس الزرّ" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "اللون" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "سطح المكتب" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "ص_در ك" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "المحركات" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "الخط" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "الواجهة الأمامية" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "الأيقونات" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "شريط أدوات كبير" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "النص" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "العرض" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_ملف" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "م_ساعدة" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "أد_وات" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "نشيط" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "معطل" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "مُنتقى" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "" #: ../src/configloader.cc:1133 msgid "None" msgstr "لا شيء" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "خطأ في القراءة" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "خطأ في الكتابة" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "" #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "خطأ" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "" #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "" #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "" #: ../src/treehandler.cc:558 msgid "Version" msgstr "الإصدار" #: ../src/treehandler.cc:559 msgid "Website" msgstr "الموقع على الانترنت" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "المؤلف(ون)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "السطر" #~ msgid "Compiz" #~ msgstr "كومبيز" gnome-color-chooser-0.2.5/po/bg.po0000644000175000017500000004014611161752714013700 00000000000000# Bulgarian translation for gnome-color-chooser # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:12+0100\n" "Last-Translator: Svetoslav Stefanov \n" "Language-Team: Bulgarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Компактно" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Бутони" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "Падащи списъци" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Икони на работния плот" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Глобално" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Панел" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Лентови индикатори" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Плъзгачи" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Начално меню" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Подсказки" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Забележка: Засега изображенията " "не се изнасят!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Забележка: Тези настройки ще " "важат само за gtk2-теми, които не им задават свои стойности, иначе нищо няма " "да се промени ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Бутони" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "Падащи списъци" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Настройка по подразбиране" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Работен плот" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Системи [за напреднали потребители!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Полета за въвеждане" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Надписи на иконите" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Размери на иконите (x² точки)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Икони" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "Връзки" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (нормално)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Нормално" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Панел" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Лентови индикатори" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Резултат" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Плъзгачи" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Поле за отметка" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Начално меню" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Подсказки" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Рамки на прозорците" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Фон" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Прозрачност на фона" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Бутон" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Размер на бутоните" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Цвят" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Работен плот" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "И_знасяне като" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Системи" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Шрифт" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Преден план" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Общи цветове" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Икони" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Голяма лента с инструменти" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Мени (на приложение или контекстно)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "" "Режими: 0 - нормално, 1 - изсветляване, 2 - оцветяване, 3 - едноцветно " "оцветяване" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Непрозрачност" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Профил:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Специални настройки" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Начално меню (изисква презареждане на панела)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Текст" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "Този цвят се ползва само при режими на оцветяване 2 или 3" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "Тази настройка не се отразява на всички теми!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Заглавия/Бутони" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Потвърждаване" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Широчина" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "Отместване по Х" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "Отместване по Х\n" "(на обектите)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Отместване по Y" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Отместване по Y\n" "(на обектите)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Файл" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "Помо_щ" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Инсталиране в GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "_Инструменти" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "включване на ефекти за мишката" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "активен прозорец" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "" "красиви етикети на иконите (изисква се за настройка етикетите на иконите)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "яркост" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "натиснат бутон" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "оцветяване с" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "изключване (на стандартните) икони" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "изключено" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "изнасяне на коментарите (за лесно редактиране темата на ръка)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "изнасяне на изключените от темата елементи" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "преминаване отгоре" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "неактивен прозорец" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "осветяване" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "нормално" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "натиснати" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "режим на изобразяване" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "насищане" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "избрано" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "непосетени" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "използване на безсенчести ленти с менюта" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "използване на безсенчести ленти с инструменти" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "посетени" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Настройка работния плот на GNOME" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "По подразбиране за темата" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Настройка на %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Без" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Грешка при четене" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Грешка при запис" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "Файлът %s не може да бъде отворен или създаден." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Грешка" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "Файлът %s не може да се променя." #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "Файлът %s не може да бъде отворен." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[ИМЕ НА ФАЙЛ]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Запазване на темата" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Запазване на темата като" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Изнасяне на темата като" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "Инструмент за промяна на външния вид на работната среда GNOME" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "Изнасянето към файл %s се провали: %s." #: ../src/treehandler.cc:558 msgid "Version" msgstr "Версия" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Уеб-страница" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Автор(и)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "Не е посочен XML файл!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "Не е посочен XSD файл!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "Проверката е успешна!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "Проверката е неуспешна!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "Ред" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Засега не е възможно в GNOME" #~ msgid "gtk-apply" #~ msgstr "gtk-apply" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" #~ msgid "gtk-save" #~ msgstr "gtk-save" #~ msgid "GNOME Color Chooser" #~ msgstr "Избор на цветове за GNOME" #~ msgid "A tool for customizing the appereance of the GNOME desktop" #~ msgstr "Инструмент за настройка изгледа на работната площ на GNOME" gnome-color-chooser-0.2.5/po/cs.po0000644000175000017500000003632711161753710013720 00000000000000# Czech translations for gnome-color-chooser package. # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:14+0100\n" "Last-Translator: Lukáš Chmela \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Kompaktní" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Tlačítka" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Ikony na ploše" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Globální" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Panel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Indikátory průběhu" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Posuvníky" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Hlavní nabídka" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Tipy" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Poznámka: Obrázky nejsou aktuálně " "exportovány!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Poznámka: Tato nastavení pracují " "pouze s gtk2 tématy, která sama nespecifikují dané hodnoty, to jest, nic se " "jinak nezmění ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Tlačítka" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Výchozí nastavení" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Plocha" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Engines [pro pokročilé uživatele!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Vstupní pole" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Popisky ikon" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Velikost ikon (x² pixelů)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Ikony" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "Odkazy" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (výchozí)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Panel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Progress bar" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Výsledek" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Posuvníky" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Výběr myší" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Hlavní nabídka" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Bublinová nápověda" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Dekorace oken" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Pozadí" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Průhlednost pozadí" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Tlačítko" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Velikost tlačítka" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Barva" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Plocha" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_xportovat jako" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Engines" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Písmo" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Popředí" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Globální barvy" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Ikony" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Velká nástrojová lišta" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Nabídky (např. aplikační nebo kontextové)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "Mód: 0=normální, 1=vysvícený, 2=obarvený, 3=obarvený monochromatický" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Průhlednost" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Profil:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Specifické" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Hlavní nabídka (vyžaduje restart panelu!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Text" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" "Barva je použita pouze je-li vykreslovací mód 2 nebo 3 (obarvený, " "obarvenýmonochromatický" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "Tato volba neovlivní všechna témata!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Titulek/Tlačítka" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Ověřit" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "Ověřovací schéma (XSD)" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Šířka" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "Odsazení X" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "Odsazení X\n" "(widgety)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Odsazení Y" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Odsazení Y\n" "(widgety)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Soubor" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Nápověda" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Instalovat do GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "_Nástroje" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "Aktivovat hover efekt" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "aktivní" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "aktivní okno" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "Hezké popisky ikon (nutné pro další nastavení!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "jas" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "Stisknuté tlačítko" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "obarvit" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "Deaktivovat (stock) ikony" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "neaktivní" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "exportovat komentáře (pro snadnější editaci)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "exportovat neaktivní elementy tématu" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "Hover" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "neaktivní okno" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "zesvětlit" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "Normální" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "stisknuto" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "vykreslovací mód" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "sytost" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "zvolené" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "nenavštíveno" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "použít nabídky bez stínů" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "použít nástrojové lišty bez stínů" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "navštíveno" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Úprava vzhledu prostředí GNOME" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Výchozí pro téma" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Konfigurace %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Žádný" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Chyba při čtení" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Chyba při zápisu" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "Nemohu otevřít nebo vytvořit soubor %s." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Chyba" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "Nemohu upravit soubor %s." #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "Nemohu otevřít soubor %s." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[SOUBOR]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Uložit téma" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Uložit téma jako..." #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Exportovat téma jako" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "Nástroj k úpravě vzhledu pracovního prostředí GNOME." #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "Export do souboru %s selhal: %s." #: ../src/treehandler.cc:558 msgid "Version" msgstr "Verze" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Web" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Autoři" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "Nebyl uveden XML soubor!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "Nebyl uveden XSD soubor!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "Ověření proběhlo úspěšně!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "Ověření selhalo!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "Řádek" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Prozatím není v GNOME dostupné" #~ msgid "" #~ "ToDo:\n" #~ "-> use tooltips to explain what each config is being for\n" #~ "-> simplify GUI and add a preview area\n" #~ "-> find translators! (please mail) ;-)" #~ msgstr "" #~ "ToDo:\n" #~ "-> bublinová nápověda k vysvětlení voleb\n" #~ "-> zjednodušení rozhraní a náhledy\n" #~ "-> najít překladatele! (mailujte) ;-)" #~ msgid "Panel (does nothing with my clearlooks-theme)" #~ msgstr "Panel (nefunguje s clearlooks)" #~ msgid "alt. selected" #~ msgstr "alt. zvolené" #~ msgid "" #~ "cs: Lucas \"Drom\" Lommer \n" #~ "de: JackTheDipper \n" #~ "fr: zniavre mou \n" #~ "hu: Erno Horvath \n" #~ "sv: Daniel Nylander \n" #~ "\n" #~ "Any new translation will be very appreciated.\n" #~ "Please contact me!\n" #~ "" #~ msgstr "Lucas \"Drom\" Lommer " #~ msgid "gtk-apply" #~ msgstr "gtk-apply" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" #~ msgid "gtk-save" #~ msgstr "gtk-save" #~ msgid "GNOME Color Chooser" #~ msgstr "GNOME Color Chooser" #~ msgid "A tool for customizing the appereance of the GNOME desktop" #~ msgstr "Nástroj pro úpravu vzhledu prostředí GNOME" #~ msgid "[active]" #~ msgstr "[aktiv]" #~ msgid "[selected]" #~ msgstr "[selektiert]" gnome-color-chooser-0.2.5/po/de.po0000644000175000017500000003647211161753577013717 00000000000000# German translations for gnome-color-chooser package. # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2009. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 18:33+0100\n" "Last-Translator: Werner Pantke \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Kompakt" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Schaltflächen" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "Auswahlmenüknöpfe" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Desktop Icons" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Allgemein" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Panel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Fortschrittsbalken" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Scrollbalken" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Startmenü" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Tooltips" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Anmerkung: Bilder werden momentan " "nicht exportiert!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Anmerkung: Diese Einstellungen " "werden nur wirksam, wenn sie noch nicht im momentan benutzten GTK2 Thema " "gesetzt sind, andernfalls werden sie ignoriert ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Knöpfe" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "Auswahlmenüknöpfe" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Standardkonfiguration" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Desktop" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Engines [für Fortgeschrittene!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Eingabefelder" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Icon-Beschriftungen" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Icon-Größen (x² Pixel)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Icons" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "Links" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (normal)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Panel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Fortschrittsbalken" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Ergebnis" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Scrollbalken" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Auswahlbox" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Startmenü" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Tooltips" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Fensterdekoration" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Hintergrund" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Hintergrund-Deckkraft" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Knopf" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Knopfgröße" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Farbe" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Desktop" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_xportieren als" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "Engine Schema (XML)" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "Engine Schema Validator" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Engines" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Schrift" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Vordergrund" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Globale Farben" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Icons" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Große Werkzeugleiste" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Menü (z.B. Anwendungs- oder Kontextmenüs)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "Modi: 0=normal, 1=aufhellen, 2=einfärben, 3=monochrom einfärben" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Deckkraft" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Profil:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Spezifisch" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Startmenü (erfordert Panel-Neustart!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Text" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" "Diese Farbe wird nur benutzt, falls der Render-Modus auf 2 oder 3 gesetzt " "ist (einfärben)" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "Diese Option funktioniert nicht mit jedem Thema!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Titel/Knöpfe" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Validieren" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "Validator Schema (XSD)" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Breite" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "X-Polsterung" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "X-Polsterung\n" "(von Widgets)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Y-Polsterung" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Y-Polsterung\n" "(von Widgets)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Datei" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Hilfe" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Installieren in GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "Werkzeuge" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "Aktiviere Hover-Effekte" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "aktiv" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "Aktives Fenster" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "" "Verschönere Icon-Beschriftungen\n" "(wird für sämtliche Icon-Beschriftungseinstellungen benötigt!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "Helligkeit" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "Knopf gedrückt" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "einfärben mit" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "deaktiviere (Standard-) Icons" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "deaktiviert" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "exportiere Kommentare (für leichtes Selber-Editieren)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "exportiere deaktivierte Themenelemente" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "hervorgehoben" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "Inaktives Fenster" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "aufhellen" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normal" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "gedrückt" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "Render-Modus" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "Sättigung" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "selektiert" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "unbesucht" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "Verwende schattenlose Menüleisten" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "Verwende schattenlose Werkzeugleisten" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "besucht" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Den GNOME-Desktop farblich anpassen" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Themenstandard" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Konfiguration von %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Keins" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Lesefehler" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Schreibfehler" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "Konnte die Datei %s nicht öffnen oder anlegen." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Fehler" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "Kann die Datei %s nicht bearbeiten." #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "Konnte die Datei %s nicht öffnen." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "Starte ausschließlich den Engine Schema Validator" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[DATEINAME]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Thema speichern" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Thema speichern unter" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Thema exportieren als" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "Ein Werkzeug, um das Aussehen des GNOME Desktops anzupassen" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "Exportieren nach Datei %s schlug fehl: %s." #: ../src/treehandler.cc:558 msgid "Version" msgstr "Version" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Webseite" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Author(en)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "Keine XML-Datei ausgewählt!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "Keine XSD-Datei ausgewählt!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "Validierung erfolgreich!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "Validierung fehlgeschlagen!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "Zeile" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Noch nicht möglich mit GNOME" #~ msgid "Validate Engine Schema" #~ msgstr "Validiere Engine Schema" #~ msgid "alt. selected" #~ msgstr "alt. selektiert" #, fuzzy #~ msgid "gtk-info" #~ msgstr "gtk-ok" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" #~ msgid "Panel (does nothing with my clearlooks-theme)" #~ msgstr "Panel (Wirksamkeit unbekannt *G*)" #~ msgid "" #~ "ToDo:\n" #~ "-> use tooltips to explain what each config is being for\n" #~ "-> simplify GUI and add a preview area\n" #~ "-> find translators! (please mail) ;-)" #~ msgstr "" #~ "ToDo:\n" #~ "-> benutze Tooltips zur Erklärung der Konfigurationsmöglichkeiten\n" #~ "-> vereinfache GUI und füge Vorschau-Anzeige hinzu" #~ msgid "GNOME Color Chooser" #~ msgstr "GNOME Color Chooser" #~ msgid "gtk-apply" #~ msgstr "gtk-apply" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" #~ msgid "gtk-save" #~ msgstr "gtk-save" #~ msgid "" #~ "cs: Lucas \"Drom\" Lommer \n" #~ "de: JackTheDipper \n" #~ "fr: zniavre mou \n" #~ "hu: Erno Horvath \n" #~ "sv: Daniel Nylander \n" #~ "\n" #~ "Any new translation will be very appreciated.\n" #~ "Please contact me!\n" #~ "" #~ msgstr "JackTheDipper " #~ msgid "[selected]" #~ msgstr "[selektiert]" gnome-color-chooser-0.2.5/po/en_CA.po0000644000175000017500000003300111161752714014245 00000000000000# English (Canada) translation for gnome-color-chooser # Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 # This file is distributed under the same license as the gnome-color-chooser package. # FIRST AUTHOR , 2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:21+0100\n" "Last-Translator: JackTheDipper \n" "Language-Team: English (Canada) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Compact" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Buttons" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "Comboboxes" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Desktop Icons" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Global" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Panel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Progress Bars" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Scrollbars" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Start Menu" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Tooltips" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Note: Images are currently not " "exported!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Buttons" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "Comboboxes" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Default Configuration" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Desktop" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Engines [for advanced users!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Entry Fields" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Icon Labels" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Icon sizes (x² pixels)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Icons" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "Links" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (normal)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Panel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Progress Bars" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Result" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Scrollbars" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Selection Box" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Start Menu" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Tooltips" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Window Decoration" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Background" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Background Opacity" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Button" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Button Size" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Colour" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Desktop" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_xport as" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "Engine Schema (XML)" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "Engine Schema Validator" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Engines" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Font" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Foreground" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Global Colours" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Icons" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Large Toolbar" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Menu (e.g. application or context menus)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "Modes: 0=normal, 1=lighten, 2=colourize, 3=colourize monochromely" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Opacity" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Profile:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Specific" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Start menu (needs panel restart!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Text" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "This colour is only used if render mode is 2 or 3 (colourize)" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "This option does not affect all themes!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Title/Buttons" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Validate" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "Validator Schema (XSD)" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Width" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "X-Padding" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "X-Padding\n" "(of widgets)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Y-Padding" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Y-Padding\n" "(of widgets)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_File" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Help" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Install in GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "_Tools" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "activate hover effects" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "active" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "active window" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "beautify icon labels (needed for icon label settings!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "brightness" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "button pressed" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "colourize with" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "deactivate (stock) icons" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "disabled" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "export comments (for easy human theme editing)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "export disabled theme elements" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "hover" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "inactive window" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "lighten" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normal" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "pressed" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "render mode" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "saturation" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "selected" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "unvisited" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "use shadowless Menubars" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "use shadowless Toolbars" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "visited" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Customize your GNOME desktop" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Theme Default" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Configuration of %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "None" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Read Error" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Write Error" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "Could not open or create file %s." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Error" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "Unable to modify file %s." #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "Could not open file %s." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "Start Engine Schema validator only" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[FILENAME]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Save Theme" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Save Theme as" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Export Theme as" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "A tool for customizing the appearance of the GNOME desktop" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "Export to file %s failed: %s." #: ../src/treehandler.cc:558 msgid "Version" msgstr "Version" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Website" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Author(s)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "No XML file specified!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "No XSD file specified!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "Validation passed!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "Validation failed!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "Line" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Not yet possible with GNOME" gnome-color-chooser-0.2.5/po/es.po0000644000175000017500000003601611161752714013720 00000000000000# Spanish translation for gnome-color-chooser # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:21+0100\n" "Last-Translator: Feder Sáiz \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Compactar" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Botones" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "Listas Desplegables" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Iconos del escritorio" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Global" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Panel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Barras de Progreso" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Barras de desplazamiento" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Menu de inicio" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Consejos" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Nota: Las imágenes actualmente no " "están exportadas!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Nota: Estas opciones sólo " "funcionan com gtk2-themes que no especifican sus valores por si mismos, sino " "nada sucederá en un cambio ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Botones" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "Listas Desplegables" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Configuración por defecto" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Escritorio" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Motores [para usuarios avanzados!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Campos de entrada" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Etiquetas de iconos" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Tamaños de iconos (x² pixeles)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Iconos" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "Links" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Panel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Barras de progreso" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Resultado" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Barras de desplazamiento" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Cajas de selección" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Menu de inicio" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Tooltips" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Decoración de ventanas" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Color de fondo" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Transparencia del Fondos" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Botón" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Tamaño del botón" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Color" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Escritorio" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_xportar como" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "Motor de Esquema (XML)" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "Validador de Motor de Esquema" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Motores" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Fuente" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Primer Plano" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Colores Globales" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Iconos" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Toolbar Grande" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Menu (Ej. Aplicacion o menus de contexto)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "" "Modos: 0=normal, 1=brillante, 2=colorear, 3=colorear monocromaticamente" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Opacidad" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Perfil:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Específico" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Menu de Inicio (Necesita reiniciar el panel!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Texto" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" "Este color es solo utilizado si el modo de renderizado es 2 o 3 (colorear)" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "Esta opcion puede no afectar todos los temas!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Titulo/Botones" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Validar" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "Esquema validador (XSD)" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Ancho" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "Relleno en X" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "Relleno en X\n" "(de widgets)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Relleno en Y" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Relleno en Y\n" "(de widgets)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Archivo" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "Ay_uda" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Instalar en GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "_Herramientas" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "activar los efectos \"sobre\"" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "activo" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "Ventana Activa" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "" "mejorar las etiquetas de los iconos\n" "(necesario para las opciones de las etiquetas de iconos!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "Brillo" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "boton presionado" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "colorear con" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "desactivar (stock) iconos" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "descativado" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "exportar comentarios (para una edicion facil del tema human)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "exportar los elemenos deshabilitados del tema" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "sobre" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "ventana inactiva" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "brillantez" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normal" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "presionado" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "modo de renderizado" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "saturación" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "seleccionado" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "sin visitar" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "usar barras de menu con sombra" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "usar toolbars con sombra" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "visistado" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Personalize su escritorio GNOME" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Tema predeterminado" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Configuración de %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Ninguno" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Error de Lectura" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Error de Escritura" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "No se pudo abrir o crear el archivo %s." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Error" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "Incapaz de modificar el archivo %s." #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "No se pudo abrir el archivo %s." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "Iniciar sólo validador de Motor de Esquema" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[NOMBREDEARCHIVO]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Guardar tema" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Guardar tema como" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Exportar tema como" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "Una herramienta para personalizar la apariencia del escritorio GNOME" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "Exportación a archivo %s. fracasó: %s." #: ../src/treehandler.cc:558 msgid "Version" msgstr "Versión" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Sitio web" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Autor(es)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "¡Ningún archivo de XML especificado!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "¡Ningún archivo XSD especificado!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "¡La Validación ha pasado!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "¡La validación falló!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "Línea" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Todavía no posible con GNOME" #~ msgid "" #~ "ToDo:\n" #~ "-> use tooltips to explain what each config is being for\n" #~ "-> simplify GUI and add a preview area\n" #~ "-> find translators! (please mail) ;-)" #~ msgstr "" #~ "ToDo:\n" #~ "-> utilizar tooltips para explicar que configuración se esta realizando\n" #~ "-> Simplificar la GUI y agregar un area de previsualización\n" #~ "-> Buscar traductores! (Mandar mails) ;-)" #~ msgid "Panel (does nothing with my clearlooks-theme)" #~ msgstr "Panel (No hace nada con mi tema Clearlooks)" #~ msgid "alt. selected" #~ msgstr "alt. selected" #~ msgid "gtk-apply" #~ msgstr "gtk-apply" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" #~ msgid "gtk-save" #~ msgstr "gtk-save" #~ msgid "GNOME Color Chooser" #~ msgstr "GNOME Color Chooser" #~ msgid "A tool for customizing the appereance of the GNOME desktop" #~ msgstr "" #~ "Una herramienta para personalizar la apariencia del escritorio GNOME" gnome-color-chooser-0.2.5/po/fi.po0000644000175000017500000002710511161752714013706 00000000000000# Finnish translation for gnome-color-chooser # Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 # This file is distributed under the same license as the gnome-color-chooser package. # FIRST AUTHOR , 2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2008-11-26 16:47+0000\n" "Last-Translator: Timo Jyrinki \n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Kompakti" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Painikkeet" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Työpöydän kuvakkeet" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Yleiset" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Paneeli" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Vierityspalkit" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Painikkeet" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Työpöytä" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Kuvakkeet" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "Linkit" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normaali" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Paneeli" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Painike" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Väri" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Työpöytä" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Kirjasin" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Kuvakkeet" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Profiili:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Teksti" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "painettu" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "kylläisyys" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "vierailtu" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Teeman oletus" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "" #: ../src/configloader.cc:1133 msgid "None" msgstr "" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Virhe luettaessa" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Virhe kirjoituksessa" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "" #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Virhe" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "" #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "" #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[TIEDOSTONIMI]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Tallenna teema" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "" #: ../src/treehandler.cc:558 msgid "Version" msgstr "Versio" #: ../src/treehandler.cc:559 msgid "Website" msgstr "" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Tekijä(t)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "" gnome-color-chooser-0.2.5/po/fr.po0000644000175000017500000003741311161754175013725 00000000000000# French translations for gnome-color-chooser package. # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:21+0100\n" "Last-Translator: Michael Humblet \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Compact" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Boutons" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "Boîtes combos" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Icônes du bureau" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Global" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Tableau de bord" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Barres de progression" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Barres de défilement" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Menu démarrer" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Info-bulles" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Note: Les images n'ont pas eté " "exportées!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Note: Les paramètres ne " "fonctionneront que avec les thèmes-gtk2 qui ne spécifient pas leurs propres " "valeurs, autrement, les changements de Gnome-color-chooseur ne prendront " "pas effet." #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Boutons" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "Boîtes combos" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Configuration par défaut" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Bureau" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Moteurs de rendu [pour utilisateurs avancés!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Zones de saisies" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Icônes Labels" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Tailles d'icônes (x² Pixel)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Icônes" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "Liens" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (normal)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Tableau de bord" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Barres de progression" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Resultat" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Barres de défilement" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Zone de sélection" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Menu démarrer" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Info-bulles" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Décorateur de fenêtre" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Arrière-plan" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Arrière-plan opacité" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Bouton" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Taille des boutons" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Couleur" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Bureau" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_xporter sous" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "Schéma du Moteur (XML)" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "Validateur du Schéma du Moteur" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Moteurs de rendu" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Police" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Premier plan" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Couleur globale" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Icônes" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Grande barre d'outils" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Menu (ex: applications ou menus contextuel)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "Modes: 0=normal, 1=éclaircir, 2=coloriser, 3=coloriser monochrome" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Transparence" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Profil :" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Spécifique" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "" "Bouton du menu\n" "(a besoin d'un redémarrage du tableau de bord (panel)!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Texte" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" "Cette couleur ne sera utilisée que si le mode de rendu est sur position 2 ou " "3 (coloriser)" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "Cette option n'affecte pas tous les thèmes !" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Titre/Bouttons" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Valider" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "Validateur du Schéma (XSD)" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Largeur" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "Décalage sur l'axe x" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "Décalage sur l'axe x\n" "(des Widgets)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Décalage sur l'axe y" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Décalage sur l'axe y\n" "(des Widgets)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Fichier" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Aide" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Installation sous GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "_Outils" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "Activer les effets de surbrillance" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "actif" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "Fenêtre active" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "Embellir les icônes (indispensable pour l'édition des icônes!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "luminosité" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "Boutons pressés" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "coloriser avec" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "désactiver (Stock) Icônes" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "désactivé" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "exporter commentaires (Pour une edition facile du thème Human)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "exporter les élèments du thème desactivés" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "surbrillance" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "Fenêtre inactive" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "éclaircir" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normal" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "pressé" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "Mode de rendu" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "saturation" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "sélectionné" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "inactif" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "utiliser des barre de menu sans ombres" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "utiliser des boîte d'outils sans ombres" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "visité" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Customisez votre bureau GNOME" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Thème par défaut" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Configuration de %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Aucun" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Erreur de lecture" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Erreur d'écriture" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "impossible d'ouvrir ou de créer le fichier %s" #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Erreur" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "impossible de modifier le fichier %s" #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "ouverture du fichier %s impossible" #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "ne démarrer que le Validateur du Schéma du Moteur" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[NOM DU FICHIER]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Enregistrer le thème" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Enregistrer le thème sous" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Exporter un thème sous" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "Un outil pour personnaliser l'apparence du bureau GNOME" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "l'exporatation vers le fichier %s a échouée: %s" #: ../src/treehandler.cc:558 msgid "Version" msgstr "Version" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Site Internet" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Auteur(s)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "Aucun fichier XML spécifié!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "Aucun fichier XSD spécifié!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "Validation effectuée!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "Validation Echouée!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "Ligne" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Pas encore possible avec GNOME" #~ msgid "" #~ "ToDo:\n" #~ "-> use tooltips to explain what each config is being for\n" #~ "-> simplify GUI and add a preview area\n" #~ "-> find translators! (please mail) ;-)" #~ msgstr "" #~ "ToDo:\n" #~ "-> utiliser les infos-bulles pour une explication sommaire\n" #~ "-> Simplifie l'utilisation du GUI et ajoute une aire de pré-" #~ "visualisation\n" #~ "-> Trouvons des traducteurs! (please mail) ;-)" #~ msgid "Panel (does nothing with my clearlooks-theme)" #~ msgstr "Tableau de bord (ne change rien sur le thème-clearlooks)" #~ msgid "alt. selected" #~ msgstr "alt. sélectionné" #~ msgid "" #~ "cs: Lucas \"Drom\" Lommer \n" #~ "de: JackTheDipper \n" #~ "fr: zniavre mou \n" #~ "hu: Erno Horvath \n" #~ "sv: Daniel Nylander \n" #~ "\n" #~ "Any new translation will be very appreciated.\n" #~ "Please contact me!\n" #~ "" #~ msgstr "zniavre mou " #~ msgid "gtk-apply" #~ msgstr "gtk-apply" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" #~ msgid "gtk-save" #~ msgstr "gtk-save" #~ msgid "GNOME Color Chooser" #~ msgstr "GNOME Color Chooser" #~ msgid "A tool for customizing the appereance of the GNOME desktop" #~ msgstr "Un outils pour modifier l'apparence de votre bureau GNOME" #~ msgid "[active]" #~ msgstr "[aktiv]" #~ msgid "[selected]" #~ msgstr "[selektiert]" gnome-color-chooser-0.2.5/po/he.po0000644000175000017500000003527011161752714013706 00000000000000# Hebrew translations for gnome-color-chooser package. # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:21+0100\n" "Last-Translator: Yaron \n" "Language-Team: Hebrew \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "מרוכז" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "לחצנים" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "תיבות בחירה" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "סמלי שולחן העבודה" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "כללי" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "לוח" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "סרגלי התקדמות" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "סרגלי גלילה" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "תפריט התחלה" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "חלוניות עצה" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "הערה: התמונות אינן מיוצאות נכון " "לעכשיו!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "הערה:הגדרות אלה תעבודנה רק עם " "ערכות נושא של gtk2 שאינן מגדירות ערכים אלו בעצמן, אחרת לא יקרה דבר עם שינוי " "הערכים ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "לחצנים" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "תיבות בחירה" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "הגדרות ברירת מחדל" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "שולחן עבודה" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "מנועים [עבור משתמשים מתקדמים!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "שדות הזנה" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "תוויות סמל" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "גדלי הסמל (x² פיקסלים)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "סמלים" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "קישורים" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (רגיל)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "רגיל" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "חלונית" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "סרגלי התקדמות" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "תוצאה" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "סרגלי גלילה" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "תיבת בחירה" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "תפריט התחלה" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "תיאורי עזרה" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "קישוט החלון" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "רקע" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "אטימות הרקע" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "לחצן" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "גודל הלחצן" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "צבע" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "שולחן עבודה" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "יי_צא בתור" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "סכמת המנוע (XML)" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "מאמת מנוע הסכמה" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "מנועים" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "גופן" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "קדמה" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "צבעים כלליים" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "סמלים" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "סרגל כלים גדול" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "תפריט (לדוגמה: תפריט התוכנה או תפריט הקשר)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "מצבים: 0=רגיל, 1=מובהר, 2=צבוע, 3=צבע בגווני אפור" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "אטימות" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "פרופיל:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "מסויים" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "תפריט התחלה (דורש את איתחול הלוח!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "טקסט" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "השימוש בצבע זה ייעשה רק במידה וייבחרו מצבים 2 או 3 (צביעה)" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "אפשרות זו אינה משפיעה על כל ערכות הנושא!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "כותרת/לחצנים" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "אימות" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "סכמת מאמת (XSD)" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "רוחב" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "גבול-X" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "גבול-X\n" "(של הווידג'טים)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "גבול-Y" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "גבול-Y\n" "(של הווידג'טים)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_קובץ" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_עזרה" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "ה_תקן תחת GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "_כלים" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "הפעל אפקטים של ריחוף" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "פעיל" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "חלון פעיל" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "ייפה את תוויות הסמלים (דרוש עבור הגדרות תווית סמל!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "בהירות" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "לחצן נלחץ" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "צבע באמצעות" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "בטל את הפעלת (ערום) הסמלים" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "מנוטרל" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "ייצא הערות (לעריכה קלה של ערכת הנושא)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "ייצא את פריטי ערכת הנושא המנוטרלים" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "ריחוף" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "חלון לא פעיל" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "מובהר" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "רגיל" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "נלחץ" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "מצב עיבוד" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "רוויה" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "נבחר" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "ללא ביקורים" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "השתמש בסרגלי תפריטים ללא צל" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "השתמש בסרגלי כלים ללא שם" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "ביקור" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "התאם אישית את שולחן ה־GNOME שלך" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "ברירת מחדל של ערכת הנושא" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "הגדרת %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "ללא" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "שגיאת קריאה" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "שגיאת כתיבה" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "לא ניתן לפתוח או ליצור את הקובץ %s." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "שגיאה" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "לא ניתן לשנות את הקובץ %s." #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "לא ניתן לפתוח את הקובץ %s." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "הפעל את מנוע מאמת הסכמה בלבד" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[FILENAME]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "שמור ערכת נושא" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "שמור ערכת נושא בשם" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "ייצא ערכת נושא בשם" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "כלי להתאמת התצוגה של שולחן העבודה GNOME" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "הייצוא אל הקובץ %s נכשל: %s." #: ../src/treehandler.cc:558 msgid "Version" msgstr "גירסה" #: ../src/treehandler.cc:559 msgid "Website" msgstr "אתר" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "יוצר/ים" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "לא צויין קובץ XML!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "לא צויין קובץ XSD!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "האימות עבר בהצלחה!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "האימות נכשל!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "קו" #~ msgid "Compiz" #~ msgstr "קומפיז" #~ msgid "Not yet possible with GNOME" #~ msgstr "לא אפשרי עדיין עם GNOME" gnome-color-chooser-0.2.5/po/hu.po0000644000175000017500000003601111161753623013720 00000000000000# Hungarian translations for gnome-color-chooser package. # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnomec-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:19+0100\n" "Last-Translator: kaiju \n" "Language-Team: <>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-09-02 21:12+0000\n" "X-Generator: Launchpad (build Unknown)\n" "X-Poedit-Language: Hungarian\n" #: ../profiles/compact.xml.in.h:1 #, fuzzy msgid "Compact" msgstr "Tömör" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 #, fuzzy msgid "Buttons" msgstr "Gombok" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 #, fuzzy msgid "Desktop Icons" msgstr "Asztali ikonok" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 #, fuzzy msgid "Global" msgstr "Globális" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Panel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 #, fuzzy msgid "Scrollbars" msgstr "Görgetősávok" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Indítómenü" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Megjegyzés: Jelenleg a képek " "nincsenek exportálva!!" #: ../src/gnome-color-chooser.glade.h:2 #, fuzzy msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Megjegyzés: Ezek a beállítások " "csak azon gtk2-témáknál működnek, melyek maguk nem adják meg saját " "beállításaikat. Ellenkező esetben a változtatáskor nem fog történni semmi ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Gombok" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Alapértelmezett Beállítás" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Asztal" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Téma-motorok [haladó felhasználóknak!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Beviteli Mezők" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Ikon Nevek" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Ikon méretek (x² képpont)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Ikonok" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 #, fuzzy msgid "Links" msgstr "Hivatkozások" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (normál)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normál" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Panel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Folyamatjelzők" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Gördítősávok" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Jelölőnégyzet" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Indítómenü" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Gyorstippek" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Ablakdekoráció" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Háttér" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Háttér áttetszőség" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Gomb" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Gombméret" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Szín" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Asztal" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_xportál mint" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Téma-motorok" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Betűtípus" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Előtér" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Rendszer-színek" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Ikonok" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Nagyméretű Eszközsáv" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Menük (pl. alkalmazás vagy tartalom menük)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 #, fuzzy msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "Módok: 0=normál, 1=világosítás, 2=színezés, 3=monokróm színezés" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Áttetszőség" #: ../src/gnome-color-chooser.glade.h:50 #, fuzzy msgid "Profile:" msgstr "Profil:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Specális" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Indítómenü (panel újraindítást igényel!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Szöveg" #: ../src/gnome-color-chooser.glade.h:54 #, fuzzy msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" "Ez a szín csak akkor használható, ha a render mód 2 vagy 3 (színesítés)" #: ../src/gnome-color-chooser.glade.h:55 #, fuzzy msgid "This option does not affect all themes!" msgstr "Ez az opció nincs hatással minden témára!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Címsor/Gombok" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Szélesség" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "X-Nyújtás" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "X-Nyújtás\n" "(az elemeké)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Y-Nyújtás" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Y-Nyújtás\n" "(az elemeké)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Fájl" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Súgó" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Telepítés GNOME alatt" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "aktív fölötte effektus" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "aktív ablak" #: ../src/gnome-color-chooser.glade.h:75 #, fuzzy msgid "beautify icon labels (needed for icon label settings!)" msgstr "ikon feliratok szépítése (szükséges az ikon felirat beállításokhoz!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "fényesség" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "lenyomott gomb" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "színez" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "kikapcsolt (rendszer) ikonok" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "kikapcsolva" #: ../src/gnome-color-chooser.glade.h:81 #, fuzzy msgid "export comments (for easy human theme editing)" msgstr "megjegyzések exportálása (téma könnyű szerkesztéséhez)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "kikapcsolt téma elemek exportálása" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "fölötte" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "inaktív ablak" #: ../src/gnome-color-chooser.glade.h:85 #, fuzzy msgid "lighten" msgstr "világosít" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normál" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "renderelés" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "telítettség" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "kiválasztva" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "GNOME-asztal testreszabása" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 #, fuzzy msgid "Theme Default" msgstr "Téma alapértelmezett értékei" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "A %s beállítása" #: ../src/configloader.cc:1133 #, fuzzy msgid "None" msgstr "Nincs" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "" #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "" #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "" #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Téma Mentése" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Téma Mentése mint" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Téma Exportálása mint" #: ../src/mainwindow.cc:864 #, fuzzy msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "Eszköz a GNOME asztal színeinek testreszabásához" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "" #: ../src/treehandler.cc:558 msgid "Version" msgstr "Verzió" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Honlap" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Szerző(k)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "" #~ msgid "" #~ "ToDo:\n" #~ "-> use tooltips to explain what each config is being for\n" #~ "-> simplify GUI and add a preview area\n" #~ "-> find translators! (please mail) ;-)" #~ msgstr "" #~ "Teendők:\n" #~ "-> gyorstippek használata bővebb tájékoztatásra minden egyes " #~ "beállításhoz\n" #~ "-> GUI egyszerűsítése és előnézeti terület hozzáadása" #~ msgid "Panel (does nothing with my clearlooks-theme)" #~ msgstr "Panel (nem csinál semmit az én clearlooks-témámmal)" #~ msgid "alt. selected" #~ msgstr "más kiválasztott" #~ msgid "" #~ "cs: Lucas \"Drom\" Lommer \n" #~ "de: JackTheDipper \n" #~ "fr: zniavre mou \n" #~ "hu: Erno Horvath \n" #~ "sv: Daniel Nylander \n" #~ "\n" #~ "Any new translation will be very appreciated.\n" #~ "Please contact me!\n" #~ "" #~ msgstr "hu: Erno Horvath " #~ msgid "gtk-apply" #~ msgstr "gtk-apply" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" #~ msgid "gtk-save" #~ msgstr "gtk-save" #~ msgid "GNOME Color Chooser" #~ msgstr "GNOME Color Chooser" #~ msgid "A tool for customizing the appereance of the GNOME desktop" #~ msgstr "Eszköz a GNOME rendszerek megjelenésének testreszabásához." #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "GNOME alatt még nem lehetséges" gnome-color-chooser-0.2.5/po/id.po0000644000175000017500000003170311161752714013703 00000000000000# Indonesian translation for gnome-color-chooser # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:18+0100\n" "Last-Translator: karina dwityaning \n" "Language-Team: Indonesian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-09-02 21:12+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Padat" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Panel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Menu Start" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Catatan: Tampilan belum diekspor!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Catatan: Setting ini hanya " "berlaku untuk gtk-2-themes yang tidak memberikan value-nya sendiri, selain " "itu tidak ada yang berubah :-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Tombol" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Konfigurasi Asal" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Desktop" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Mesin [untuk pengguna mahir!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Tempat Masukan" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Label Ikon" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Ukuran Ikon (x² pixels)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Ikon" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (normal)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Panel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Bar Progres" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Scrollbar" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Kotak Seleksi" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Menu Start" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Tooltip" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Dekorasi Jendela" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Latar-Belakang" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Opacity Latar-Belakang" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Tombol" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Ukuran Tombol" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Warna" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Desktop" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_kspor Jadi" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Mesin" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Huruf" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Latar-Depan" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Warna Global" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Ikon" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Toolbar Besar" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Menu (e.g aplikasi atau menu konteks)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "Mode: 0=normal, 1=lebih muda, 2=warnai, 3=warnai secara monochrome" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Opasitas" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Profil:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Spesifik" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Menu Start (perlu restart panel)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Teks" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" "Warna ini hanya digunakan jika mode rendering adalah 2 atau 3 (colorize)" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Titel/Tombol" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Lebar" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "X-Padding" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "X-Padding\n" "(dari widget)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Y-Padding" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Y-Padding\n" "(dari widget)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Berkas" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Bantuan" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Instal di GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "activasi efek hover" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "jendela aktif" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "percantik label icon (diperlukan untuk seting label icon!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "tingkat-terang" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "tombol ditekan" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "warnai dengan" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "deaktivasi ikon (stok)" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "tak digunakan" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "ekspor komentar (untuk mengedit theme human)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "ekspor elemen theme yang tidak berfungsi" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "hover" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "jendela non-aktif" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "permuda" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normal" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "mode render" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "saturasi" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "dipilih" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Kostumisasikan desktop GNOME anda" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Tema Dasar" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Konfigurasi dari %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Tidak ada" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "" #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "" #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "" #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Simpan Tema" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Simpan Tema Jadi" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Ekspor Tema Jadi" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "" #: ../src/treehandler.cc:558 msgid "Version" msgstr "Versi" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Situs web" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Pengarang" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Belum dapat dilakukan di GNOME" gnome-color-chooser-0.2.5/po/it.po0000644000175000017500000003461111161752714013724 00000000000000# Italian translation for gnome-color-chooser # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:18+0100\n" "Last-Translator: Guybrush88 \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Compatto" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Pulsanti" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "Caselle combinate" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Icone della scrivania" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Globale" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Pannello" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Barre di avanzamento" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Barre di scorrimento" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Menu di avvio" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Suggerimenti" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Nota: Le immagini non vengono " "attualmente esportate!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Nota: Queste impostazioni " "funzionano solamente con temi gtk2 che non specificano questi valori su se " "stessi, altrimenti non succederà niente su un cambiamento ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Pulsanti" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "Caselle combinate" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Configurazione predefinita" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Scrivania" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Engine [per utenti esperti!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Campi di inserimento" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Etichette delle icone" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Dimensioni icone (x² pixel)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Icone" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "Collegamenti" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (normale)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normale" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Pannello" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Barre di avanzamento" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Risultato" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Barre di scorrimento" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Casella di selezione" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Menu di avvio" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Suggerimenti" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Decorazione finestre" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Sfondo" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Opacità sfondo" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Pulsante" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Dimensione pulsante" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Colore" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Scrivania" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_sporta come" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "Schema Motore (XML)" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "Validatore Schema Motore" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Engine" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Carattere" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Primo piano" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Colori globali" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Icone" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Barra degli strumenti grande" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Menù (es. menù delle applicazioni o contestuali)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "" "Modalità: 0=normale, 1=più chiaro, 2=colorato, 3=colorato monocromaticamente" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Opacità" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Profilo:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Specifica" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Menù di avvio (richiede il riavvio del pannello!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Testo" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" "Questo colore è usato solo se la modalità di rendering è 1 o 2 (colorize)" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "Questa opzione non ha effetto su tutti i temi!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Titolo/Pulsanti" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Convalida" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "Schema Motore (XSD)" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Larghezza" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "Riempimento-X" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "Riempimento orizz.\n" "(dei widget)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Riempimento vert." #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Riempimento vert.\n" "(dei widget)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_File" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "A_iuto" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Installa in GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "_Strumenti" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "Attivare gli effetti al passaggio (hover)" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "attivo" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "finestra attiva" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "" "Abbellire le etichette delle icone (necessario per impostazioni delle " "etichette delle icone!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "luminosità" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "pulsante premuto" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "colora con" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "Disattivare le icone (stock)" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "disabilitato" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "Esportare i commenti (per un semplice editing del tema)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "Esportare gli elementi del tema disabilitati" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "hover" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "finestra non attiva" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "schiarire" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normale" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "premuto" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "modalità render" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "saturazione" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "selezionato" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "non visitato" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "Usare barre dei menù senza ombre" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "Usare barre degli strumenti senza ombre" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "visitato" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Personalizza il proprio ambiente grafico GNOME" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Predefinito del tema" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Configurazione di %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Nessuno" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Errore di lettura" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Errore di scrittura" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "Impossibile aprire o creare il file %s." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Errore" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "Impossibile modificare il file %s." #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "Impossibile aprire il file %s." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "Avvia solamente il validatore dello Schema Motore" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[FILENAME]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Salva tema" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Salva tema come" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Esporta tema come" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "Uno strumento per personalizzare l'aspetto dell'ambiente grafico GNOME" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "Esporta come %s fallito: %s." #: ../src/treehandler.cc:558 msgid "Version" msgstr "Versione" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Sito web" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Autore/i" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "Nessun file XML specificato!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "Nessun file XSD specificato!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "Convalida riuscita!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "Convalida fallita!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "Linea" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Non ancora possibile con GNOME" #~ msgid "Panel (does nothing with my clearlooks-theme)" #~ msgstr "Pannello (non lavora con il mio tema-clearlooks)" #~ msgid "alt. selected" #~ msgstr "alt. selezionato" #~ msgid "gtk-apply" #~ msgstr "applica-gtk" #~ msgid "gtk-cancel" #~ msgstr "annulla-gtk" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" #~ msgid "gtk-save" #~ msgstr "salva-gtk" gnome-color-chooser-0.2.5/po/nb.po0000644000175000017500000002740111161752714013706 00000000000000# Norwegian Bokmal translation for gnome-color-chooser # Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 # This file is distributed under the same license as the gnome-color-chooser package. # FIRST AUTHOR , 2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:18+0100\n" "Last-Translator: joki \n" "Language-Team: Norwegian Bokmal \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Kompakt" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Knapper" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Global" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Panel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Rullefelt" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Startmeny" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Verktøytips" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Knapper" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Panel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Resultat" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Startmeny" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Bakgrunn" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Bakgrunnens gjennomsiktighet" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Knapp" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Knappestørrelse" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Farge" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Skrivebord" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Motorer" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Skrifttype" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Forgrunn" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Ikoner" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Stor verktøylinje" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Gjennomsiktighet" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Profil:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Spesifikk" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Tekst" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Valider" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Bredde" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Fil" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Hjelp" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "_Verktøy" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "aktiv" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "aktivt vindu" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "deaktivert" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "" #: ../src/configloader.cc:1133 msgid "None" msgstr "" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Lesefeil" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Skrivefeil" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "Kunne ikke åpne eller opprette filen %s." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Feil" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "Kunne ikke modifisere filen %s." #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "Kunne ikke åpne filen %s." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Lagre tema" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Lagre tema som" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Eksportere tema som" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "" #: ../src/treehandler.cc:558 msgid "Version" msgstr "Versjon" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Nettside" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Forfatter(e)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "" gnome-color-chooser-0.2.5/po/nl.po0000644000175000017500000003163611161752714013725 00000000000000# Dutch translation for gnome-color-chooser # Copyright (C) 2007 THE gnome-color-chooser'S COPYRIGHT HOLDER # This file is distributed under the same license as the gnome-color-chooser package. # FIRST AUTHOR , 2007. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:18+0100\n" "Last-Translator: dvdmeer \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Vooruitgangsbalken" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Startmenu" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Let op: De afbeeldingen zijn nog " "niet geëxporteerd!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Let op: Deze instellingen werken " "alleen met gtk2-themes die deze kleurwaarden niet zelf gedefinieerd hebben, " "want dan zou niets veranderen ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Toetsen" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Standaard Instellingen" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Bureaublad" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Engines [voor geavanceerde gebruikers!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Invoervelden" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Icoonlabels" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Icoonafmetingen (x² pixels)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Iconen" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (normaal)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normaal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Paneel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Voortgangsindicatie" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Resultaat" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Scrollbalken" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Startmenu" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Venster opmaak" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Achtergrond" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Ondoorzichtigheid van Achtergrond" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Kleur" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Bureaublad" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_xporteer als" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Lettertype" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Pictogrammen" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Grote werkbalk" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Menu (bv. toepassings- of contextmenus)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Ondoorzichtigheid" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Start menu (paneel moet opnieuw worden opgestart!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "Deze optie heeft geen invloed op alle thema's!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Titel/Knoppen" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Validatie" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Bestand" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Help" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "GNOME _installeren" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "actief" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "actief venster" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "helderheid" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "knop ingedrukt" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "Deactiveer (voorraad) iconen" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "uitgeschakeld" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "exporteer commentaren (voor gemakkelijk bewerken van human thema)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "exporteer uitgeschakelde thema-elementen" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "inactief venster" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normaal" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "ingedrukt" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "verzadiging" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "geselecteerd" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "onbezocht" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "gebruik schaduwloze menubalken" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "bezocht" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Themastandaard" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Configuratie van %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Geen" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Leesfout" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Schrijffout" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "Kan bestand %s niet openen of aanmaken." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Foutmelding" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "Onmogelijk om bestand %s aan te passen." #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "Kan bestand %s niet openen." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[BESTANDSNAAM]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "Een hulpmiddel om het uiterlijk van de GNOME desktop aan te passen." #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "Exporteren naar bestand %s is mislukt: %s." #: ../src/treehandler.cc:558 msgid "Version" msgstr "Versie" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Website" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Auteur(s)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "Geen XML bestand gespecifieerd!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "Geen XSD bestand gespecifieerd!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "Validatie gelukt!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "Validatie mislukt!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "Regel" #~ msgid "Compiz" #~ msgstr "Compiz" gnome-color-chooser-0.2.5/po/oc.po0000644000175000017500000003252611161752714013714 00000000000000# Occitan (post 1500) translation for gnome-color-chooser # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:18+0100\n" "Last-Translator: Cédric VALMARY \n" "Language-Team: Occitan (post 1500) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-09-02 21:12+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Compact" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Tablèu de bòrd" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Menut amodar" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Nòta: Los imatges son pas estats " "exportats!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Note: Los paramètres foncionaràn " "pas qu'amb los tèmas-gtk2 qu'especifican pas lors pròprias valors, " "autrament, los cambiaments de Gnome-color-chooseur prendràn pas efièch." #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Botons" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Configuracion per defaut" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Burèu" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Motors de rendut [per utilizaires avançats!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Zònas de picadas" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Icònas Labèls" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Talhas d'icònas (x² Pixel)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Icònas" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (normal)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Tablèu de bòrd" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Barra de progression" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Barra de desfilament" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Zòna de seleccion" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Menut amodar" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Infobullas" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Decorator de fenèstra" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Rèire plan" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Rèire plan opacificat" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Boton" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Talha dels botons" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Color" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Burèu" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_xportar jos" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Motor de rendut" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Poliça" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Primièr plan" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Colors globalas" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Icònas" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Barra d'espleches granda" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Menut (ex: aplicacions o menuts contextual)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "Mòdes: 0=normal, 1=esclarzir, 2=acolorir, 3=acolorir monocròm" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Opacitat" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Perfil :" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Especific" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "" "Boton del menut\n" "(necessita de tornar amodar lo tablèu de bòrd (panel)!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Tèxt" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" "Aquesta color serà pas utilizada que se lo mòde de rendut es en posicion 2 o " "3 (acolorir)" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Títol/Botons" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Largor" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "Escart sus l'ais x" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "Escart sus l'ais x\n" "(dels Widgets)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Escart sus l'ais y" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Escart sus l'ais y\n" "(dels Widgets)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Fichièr" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Ajuda" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Installacion jos GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "Activar los efièches de susbrilhança" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "Fenèstra activa" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "Abelir las icònas (indispensable per l'edicion de las icònas!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "Luminositat" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "boton quichat" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "acolorir amb" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "desactivar (Stock) las icònas" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "desactivat" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "exportar de comentaris (Per una edicion aisida del tèma Human)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "exportar los elements del tèma desactivats" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "susbrilhança" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "Fenèstra inactiva" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "esclarzir" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normal" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "mòde de rendut" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "saturacion" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "seleccionat" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Customizatz vòstre burèu GNOME" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Tèma per defaut" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Configuracion de %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Pas cap" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "" #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "" #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "" #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Salvagardar lo tèma" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Salvagardar lo tèma jos" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Exportar un tèma jos" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "" #: ../src/treehandler.cc:558 msgid "Version" msgstr "Version" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Sit web" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Autor(s)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Pas encara possible amb GNOME" gnome-color-chooser-0.2.5/po/pl.po0000644000175000017500000003343111161752714013722 00000000000000# Polish translation for gnome-color-chooser # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:18+0100\n" "Last-Translator: Wiatrak \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Zwarty" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Przyciski" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "Pola kombi" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Ikony pulpitu" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Globalne" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Panel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Paski postępu" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Paski przewijania" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Menu start" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Podpowiedzi" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Uwaga: Obrazy nie zostały " "wyeksportowane!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Uwaga: Te ustawienia działają " "tylko z motywami gkt2, dlatego zmiany tych wartości należy przeprowadzić z " "pełną świadomością tego faktu, w przeciwnym wypadku nic się nie stanie ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Przyciski" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "Pola kombi" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Konfiguracja podstawowa" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Pulpit" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Silniki [dla użytkowników zaawansowanych!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Pole wprowadzania danych" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Podpisy ikon" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Wielkość ikon (x² pikseli)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Ikony" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "Linki" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (zwykłe)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normalny" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Panel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Paski postępu" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Wynik" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Paski przewijania" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Pole wyboru" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Menu start" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Opisy pomocnicze" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Dekoracje okien" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Tło" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Nieprzezroczystość tła" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Przycisk" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Rozmiar przycisku" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Kolor" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Pulpit" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "_Eksportuj" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "Schemat (XML) Silnika" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Silniki" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Czcionka" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Kolor tekstu" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Kolory globalne" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Ikony" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Pasek narzędziowy" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Menu (np. aplikacji albo kontekstowe)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "" "Tryby działania: 0=normalny, 1=rozjaśniony, 2=kolorowany, 3=kolorowany " "monochromatycznie" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Nieprzezroczystość" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Profil:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Określony" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Menu start (wymaga restartu panelu)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Tekst" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "Ten kolor używany jest tylko w trybie 2 lub 3 (kolorowanym)" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "Ta opcja nie ma wpływu na wszystkie motywy!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Tytuł/Przyciski" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Zweryfikuj" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Szerokość" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "odstęp w osi X" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "odstęp w osi X\n" "(dla widgetów)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "odstęp w osi Y" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "odstęp w osi Y\n" "(dla widgetów)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Plik" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "Pomo_c" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "Za_instaluj w GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "_Narzędzia" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "uruchomienie efektów \"najechania\"" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "aktywny" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "aktywne okno" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "piękne podpisy ikon (niezbędne do konfiguracji podpisów)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "intensywność" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "naciśnięty przycisk" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "dodaj kolor" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "wyłącz ikony (osadzone)" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "wyłączone" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "zapisz objaśnienie (dla ułatwienia korzystania z motywu)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "zapisz wyłączone elementy motywu" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "najechanie" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "nieaktywne okno" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "rozjaśnienie" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "zwykły" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "wciśnięty" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "tryb renderingu" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "nasycenie" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "zaznaczony" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "nieodwiedzony" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "użyj pasków menu bez cieni" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "użyj pasków narzędzi bez cieni" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "odwiedzony" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Indywializuje pulpit GNOME" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Motyw domyślny" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Konfiguracja %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Żaden" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Błąd odczytu" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Błąd zapisu" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "Nie można otworzyć lub stworzyć pliku %s." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Błąd" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "Nie można modyfikować pliku %s." #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "Nie można otworzyć pliku %s." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Zapisz motyw" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Zapisz motyw jako" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Eksportuj motyw jako" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "Narzędzie do zmiany wyglądu pulpitu GNOME" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "Eksport do pliku %s nie powiódł się: %s." #: ../src/treehandler.cc:558 msgid "Version" msgstr "Wersja" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Strona internetowa" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Autorzy" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "Brak podanego pliku XML!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "Brak podanego pliku XSD!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "Udana walidacja!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "Nieudana walidacja!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "Wiersz" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Niedostępne w GNOME" gnome-color-chooser-0.2.5/po/pt.po0000644000175000017500000003413011161752714013727 00000000000000# Portuguese translation for gnome-color-chooser # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:17+0100\n" "Last-Translator: JackTheDipper \n" "Language-Team: Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Compacto" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Botões" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "Caixas de Selecção" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Ícones da Área de Trabalho" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Global" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Painel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Barras de Progresso" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Barras de deslocamento" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Menu de Início" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Dicas" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Aviso: As imagens não estão " "exportadas neste momento!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Nota: Estas configurações apenas " "são aplicáveis a temas gtk2 que não especificam estes valores por si mesmos, " "caso contrário não irá acontecer nada ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Botões" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "Caixas de SelecçãoDefault Configuration" msgstr "Configuração por Defeito" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Ambiente de Trabalho" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Motores [somente para utilizadores avançados!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Campos de Entrada" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Etiquetas de Ícones" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Tamanho dos Ícones (x² pixels)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Ícones" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "Ligações" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (normal)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Painel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Barras de Progresso" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Resultado" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Barras de Scroll" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Caixas de selecção" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Menu de Início" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Dicas das Ferramentas" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Decoração da Janela" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Plano de Fundo" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Opacidade do Plano de Fundo" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Botão" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Tamanho do Botão" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Cor" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Área de Trabalho" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_xportar como" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "Validador de Esquema de Motor" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Motores" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Fonte" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Primeiro Plano" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Cores Globais" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Ícones" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Barra de Ferramentas Grande" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Menue (e.g. aplicações ou menus de contexto)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "Modos: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Opacidade" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Perfil:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Específico" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Menu de início (necessita reiniciar o painel!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Texto" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" "Esta côr é somente utilizada se o modo de renderizição for o 2 ou o 3 " "(colorize)" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Título/Botoẽs" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Validate" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "Validador de Esquema (XSD)" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Largura" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "X-Padding" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "X-Padding\n" "(das widgets)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Y-Padding" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Y-Padding\n" "(de widgets)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Ficheiro" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Ajuda" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Instalar no GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "Ferramen_tas" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "activar efeitos de suspensão" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "activo" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "janela activa" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "" "Lindas etiquetas de ícones (necessárias para as configurações das etiquetas " "dos ícones!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "brilho" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "botão pressionado" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "colorize com" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "desactivar os ícones por defeito" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "desactivado" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "exportar comentários (para tornar mais simples a edição de temas)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "exportar elementos de tema desactivados" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "Pairar" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "Janela Inactiva" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "Leve" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normal" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "premido" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "Modo de renderização" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "saturação" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "seleccionado" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "por visitar" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "usar Barras de Menu sem sombra" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "usar Barras de Ferramentas sem sombra" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "visitado" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Personalizar o ambiente de trabalho GNOME" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Tema Por Omissão" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Configuração de %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Nenhum" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Erro de Leitura" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Erro de Escrita" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "Não foi possível abrir ou criar o ficheiro %s." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Erro" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "Não foi possível modificar o ficheiro %s." #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "Não foi possível abrir o ficheiro %s." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "Iniciar apenas o Validador de Esquema do Motor" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[NOME DE FICHEIRO]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Gravar o Tema" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Guardar Tema como" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Exportar Tema como" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "Uma ferramenta para personalizar o aspecto do GNOME Desktop" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "A exportação para o ficheiro %s falhou: %s." #: ../src/treehandler.cc:558 msgid "Version" msgstr "Versão" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Sítio Web" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Autor(es)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "Ficheiro XML não-especificado!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "Ficheiro XSD não-especificado!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "Validação com sucesso!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "Validação falhada!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "Linha" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Não é ainda possível com o GNOME" gnome-color-chooser-0.2.5/po/pt_BR.po0000644000175000017500000003216211161752714014315 00000000000000# Brazilian Portuguese translation for gnome-color-chooser # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:17+0100\n" "Last-Translator: Gustavo Dutra \n" "Language-Team: Brazilian Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Compactar" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Botões" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "Caixas de Seleção" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Ícones da Área de Trabalho" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Global" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Painel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Barras de Progresso" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Barras de rolagem" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Menu Inicial" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Dicas de ferramentas" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Nota: As imagens não estão " "exportadas atualmente!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Nota: Estas opções somente " "funcionarão com gtk2-themes que não especificam estes valores por si " "próprios, caso contrário nada acontecerá em uma mudança ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Botões" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Configuração Padrão" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Área de Trabalho" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Motores [Para usuários avançados!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Campos de Entrada" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Rótulos de Ícones" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Tamanhos de Ícones (x² pixels)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Ícones" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (normal)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Painel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Barras de Progresso" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Barras de Rolamento" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Caixa de Seleção" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Menu Inicial" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Dicas de Ferramenta" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Decoração da Janela" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Plano de Fundo" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Opacidade do Plano de Fundo" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Botão" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Tamanho do botão" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Cor" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Área de Trabalho" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_xportar como" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Motores" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Fonte" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Primeiro Plano" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Cores Globais" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Ícones" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Barra de Ferramenta Largas" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Opacidade" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Perfil:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Específico" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Menue Start (Necessita do reinício do painel!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Texto" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "Esta opção não afeta todos os temas!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Título/Botões" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Validar" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Largura" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Arquivo" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Ajuda" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Instala no GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "Ferramen_tas" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "ativo" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "janela ativa" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "" "Rótulos de icone de embelezamento (necessário para configurações de rótulo " "de ícone!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "brilho" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "botão pressionado" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "colorir com" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "desativar ícones (de estoque)" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "desabilitado" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "comentários de exportação (para fácil edição de tema humano)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "exportar elementos de tema desabilitados" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "janela inativa" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "iluminar" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normal" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "saturação" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "selecionado" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Customizar sua área de trabalho do GNOME" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Configuração do%s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Nenhum" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "" #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "" #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "" #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Salvar Tema" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Salvar Tema como" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Exportar Tema como" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "" #: ../src/treehandler.cc:558 msgid "Version" msgstr "Versão" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Página da Web" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Autor(es)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Ainda não é possível com GNOME" gnome-color-chooser-0.2.5/po/ru.po0000644000175000017500000003722711161754160013741 00000000000000# Russian translation for gnome-color-chooser # Copyright (C) 2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2008. # Sergei Zivukov , 2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:17+0100\n" "Last-Translator: spo1ler \n" "Language-Team: <>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Компактный" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Кнопки" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "Выпадающие списки" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Значки на рабочем столе" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Глобальные" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Панель задач" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Индикатор прогресса" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Полосы прокрутки" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Стартовое меню" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Всплывающие подсказки" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Внимание: Текущие изображения не " "экспортированы!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Внимание: Эти настройки работают " "только с gtk2-темами, которые сейчас не указаны, никаких изменений не " "произойдет ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Кнопки" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "Выпадающие списки" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Конфигурация по умолчанию" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Рабочий стол" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Машины [дял продвинутых пользователей!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Поля ввода" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Ярлыки иконки" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Размеры иконки (x² пикселей)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Иконки" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "Ссылки" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (обычный)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Обычный" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Панель" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Индикаторы прогресса" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Результат" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Полосы прокрутки" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Стартовое меню" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Подсказки" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Декорация окна" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Фон" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Прозрачность фона" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Кнопка" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Размер кнопки" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Цвет" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Рабочий стол" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "Э_кспортировать как" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "Схема движка (XML)" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "Проверка схемы движка" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Движки" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Шрифт" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Передний план" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Глобальные цвета" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Иконки" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Большая панель инструментов" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Меню (например приложение или контекстные меню)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "Режимы: 0=обычный, 1=подсветить, 2=раскрасить, 3=раскрасить монохронно" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Прозрачность" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Профиль:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Особые:" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Стартовое меню (необходим перезапуск панели!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Текст" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "Эти цвета возможны только если выбран режим 2 или 3 (раскрасить)" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "Эта опция не влияет на все темы!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Заголовок/Кнопки" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Проверить" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "Проверка схемы (XSD)" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Ширина" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "X-Заполнение" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "X-Заполнение\n" "(виджетов)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Y-Заполнение" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Y-Заполнение\n" "(виджетов)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Файл" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Помощь" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Установить для GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "Инструменты" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "активировать парящие эффекты" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "активно" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "активное окно" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "украсить ярлыки иконок (доступны для установок ярлыков иконки!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "яркость" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "кнопка нажата" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "раскрасить с" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "отключено" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "" "экспортировать комментарии (для простого человеческого редактирования темы)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "экспортировать отключенный элементы темы" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "парить" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "неактивное окно" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "подсветка" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "обычный" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "нажато" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "режим отрисовки" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "насыщенность" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "выбранные" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "не посещенная" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "использовать строку меню без теней" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "использовать Панель инструментов без теней" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "посещенная" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Настроить Ваш рабочий стол GNOME" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Тема по умолчанию" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Конфигурация %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Никакой" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Ошибка чтения" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Ошибка записи" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "Не могу открыть или создать файл %s." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Ошибка" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "Невозможно изменить файл %s" #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "Невозможно открыть файл «%s»." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "Стартовать только проверку схемы движка" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[ИМЯ ФАЙЛА]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Сохранить тему" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Сохранить тему как" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Экспортировать тему как" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "Инструмент для настройки производительности рабочего стола GNOME" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "Не удалось экспортировать в файл %s: %s" #: ../src/treehandler.cc:558 msgid "Version" msgstr "Версия" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Web-сайт" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Автор(ы)" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "Файл XML не выбран!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "Файл XSD не выбран!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "Проверка пройдена!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "Проверка не пройдена!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "линии" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Еще не возможно с GNOME" gnome-color-chooser-0.2.5/po/sv.po0000644000175000017500000003640211161752714013740 00000000000000# Swedish translation for gnome-color-chooser # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:17+0100\n" "Last-Translator: K \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "Kompakt" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Knappar" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "Kombinationsrutor" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Skrivbordsikoner" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Allmän" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Panel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "Förloppsmätare" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Rullningslister" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Startmeny" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "Verktygstips" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "Observera: Bilder blir för " "närvarande inte exporterade!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "Observera: Dessa inställningar " "kommer endast att fungera gtk2-teman som inte anger dessa värden på egen " "hand, annars kommer ingenting att hända vid en ändring ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Knappar" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "Kombinationsrutor" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Standardkonfiguration" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Skrivbord" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Motorer [för erfarna användare!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Inmatningsfält" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Ikonetiketter" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "Ikonstorlekar (x² bildpunkter)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Ikoner" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "Länkar" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (normal)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Panel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "Förloppsmätare" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "Resultat" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Rullningslister" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Väljarrutor" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Startmeny" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Verktygstips" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Fönsterdekoration" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Bakgrund" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Opakhet för bakgrund" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Knapp" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Knappstorlek" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Färg" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Skrivbord" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "E_xportera som" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "Motorschema (XML)" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "Validator för motorschema" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Motorer" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Typsnitt" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Förgrund" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Allmänna färger" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "Ikoner" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Stor verktygsrad" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Meny (t.ex. program- eller sammanhangsmenyer)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "Lägen: 0=normal, 1=ljus, 2=färglagd, 3=färglagd svartvitt" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Opakhet" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "Profil:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Specifik" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Startmeny (behöver omstart av panelen!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Text" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" "Den här färgen används endast om renderingsläget är 2 eller 3 (färglagd)" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "Detta alternativ påverkar inte alla teman!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Titel/Knappar" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "Validera" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "Validatorschema (XSD)" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Bredd" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "X-fyllning" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "X-fyllning\n" "(för widgetar)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Y-fyllning" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Y-fyllning\n" "(för widgetar)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Arkiv" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Hjälp" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "_Installera i GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "_Verktyg" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "aktivera svävningseffekter" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "aktiv" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "aktivt fönster" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "försköna ikonetiketter (behövs för ikonetikettinställningar!)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "ljusstyrka" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "knapp intryckt" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "färglägg med" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "inaktivera (standard)ikoner" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "inaktiverad" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "export kommentarer (för enklare mänsklig temaredigering)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "exportera inaktiverade temaelement" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "sväva" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "inaktivt fönster" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "ljus" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normal" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "nedtryckt" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "renderingsläge" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "mättnad" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "vald" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "obesökt" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "använd skugglösa menyrader" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "använd skugglösa verktygsrader" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "besökt" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "Anpassa ditt GNOME-skrivbord" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "Temats standard" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "Konfiguration för %s" #: ../src/configloader.cc:1133 msgid "None" msgstr "Ingen" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "Läsfel" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "Skrivfel" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "Kunde inte öppna eller skapa filen %s." #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "Fel" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "Kunde inte ändra filen %s." #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "Kunde inte öppna filen %s." #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "Starta endast validatorn för motorschema" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[FILNAMN]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Spara tema" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Spara tema som" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Exportera tema som" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "Ett verktyg för att anpassa utseende för GNOME-skrivbordet" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "Export till filen %s misslyckades: %s." #: ../src/treehandler.cc:558 msgid "Version" msgstr "Version" #: ../src/treehandler.cc:559 msgid "Website" msgstr "Webbsida" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "Upphovsmän" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "Ingen XML-fil angiven!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "Ingen XSD-fil angiven!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "Validering lyckades!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "Validering misslyckades!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "Rad" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Ännu inte möjligt med GNOME" #~ msgid "" #~ "ToDo:\n" #~ "-> use tooltips to explain what each config is being for\n" #~ "-> simplify GUI and add a preview area\n" #~ "-> find translators! (please mail) ;-)" #~ msgstr "" #~ "Att göra:\n" #~ "-> använda verktygstips för att förklara vad varje konfiguration används " #~ "till\n" #~ "-> förenkla grafiska gränssnittet och lägga till en förhandsvisningsruta\n" #~ "-> hitta översättare! (skicka e-post) ;-)" #~ msgid "Panel (does nothing with my clearlooks-theme)" #~ msgstr "Panel (gör ingenting med mitt clearlooks-tema)" #~ msgid "alt. selected" #~ msgstr "alt. vald" #~ msgid "" #~ "cs: Lucas \"Drom\" Lommer \n" #~ "de: JackTheDipper \n" #~ "fr: zniavre mou \n" #~ "hu: Erno Horvath \n" #~ "sv: Daniel Nylander \n" #~ "\n" #~ "Any new translation will be very appreciated.\n" #~ "Please contact me!\n" #~ "" #~ msgstr "Daniel Nylander " #~ msgid "gtk-apply" #~ msgstr "gtk-apply" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" #~ msgid "gtk-save" #~ msgstr "gtk-save" #~ msgid "GNOME Color Chooser" #~ msgstr "Färgväljare för GNOME" #~ msgid "A tool for customizing the appereance of the GNOME desktop" #~ msgstr "Ett verktyg för att anpassa utseendet på GNOME-skrivbordet" gnome-color-chooser-0.2.5/po/th.po0000644000175000017500000003341311161752714013722 00000000000000# Thai translation for gnome-color-chooser # Copyright (C) 2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:17+0100\n" "Last-Translator: Tharawut Paripaiboon \n" "Language-Team: Thai \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-09-02 21:12+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "ปุ่ม" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "ไอคอนเดสท็อป" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "ทั่วไป" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "พาเนล" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "แถบความคืบหน้า" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "แถบเลื่อน" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "เมนูเริ่ม" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "ทูลทิป" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "ปุ่ม" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "เดสท็อป" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Engines [for advanced users!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "ป้ายชื่อไอคอน" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "ขนาดของไอคอน (x² pixels)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "ไอคอน" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "ลิงก์" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (ปกติ)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "ปกติ" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "พาเนล" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "แถบความคืบหน้า" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "แถบเลื่อน" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "เมนูเริ่ม" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "ทูลทิป" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "พื้นหลัง" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "ปุ่ม" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "ขนาดของปุ่ม" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "สี" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "เดสท็อป" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Engines" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "แบบอักษร" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "สีพื้นหน้า" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "สีโดยรวม" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "ไอคอน" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "แถบเครื่องมือขนาดใหญ่" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "ความโปร่งแสง" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "โปรไฟล์:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "เจาะจง" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "ข้อความ" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "ความกว้าง" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "ระยะห่างแนวนอน" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "ระยะห่างแนวนอน\n" "(ของ widgets)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "ระยะห่างแนวตั้ง" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "ระยะห่างแนวตั้ง\n" "(ของ widgets)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "แฟ้ม" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "วิธีใช้" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "ติดตั้งภายใน GNOME" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "กำลังใช้งาน" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "หน้าต่างที่กำลังใช้งาน" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "ความสว่าง" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "ปุ่มที่ถูกกด" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "ปิดการใช้งาน" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "หน้าต่างที่ไม่ได้ทำงาน" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "ปกติ" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "ถูกกด" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "เลือกอยู่" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "ปรับแต่งเดสท็อป GNOME ของคุณ" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "ธีมปริยาย" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "" #: ../src/configloader.cc:1133 msgid "None" msgstr "ไม่มี" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "เกิดข้อผิดพลาดในการอ่าน" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "เกิดข้อผิดพลาดในการเขียน" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "ไม่สามารถเปิดหรือสร้างแฟ้ม %s" #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "ผิดพลาด" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "ไม่สามารถแก้ไขแฟ้ม %s" #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "ไม่สามารถเปิดแฟ้ม %s" #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "บันทึกธีม" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "บันทึกธีมเป็น" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "เครื่องมือสำหรับปรับแต่งหน้าตาของเดสท็อป GNOME" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "" #: ../src/treehandler.cc:558 msgid "Version" msgstr "เวอร์ชัน" #: ../src/treehandler.cc:559 msgid "Website" msgstr "เว็บไซต์" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "ผู้เขียน" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "ยังเป็นไปไม่ได้กับ GNOME ในตอนนี้" gnome-color-chooser-0.2.5/po/tr.po0000644000175000017500000003377411161752714013746 00000000000000# Turkish translation for gnome-color-chooser # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:16+0100\n" "Last-Translator: maytekir \n" "Language-Team: Turkish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "Düğmeler" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "Masaüstü Simgeleri" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "Küresel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "Panel" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "İlerleme Çubukları" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "Kaydırma çubukları" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "Başlangıç Menüsü" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "İpuçları" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "Düğmeler" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "Varsayılan Ayarlar" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "Masaüstü" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "Tema Motorları [gelişmiş kullanıcılar içindir!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "Giriş Alanları" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "Simge Etiketleri" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "Simgeler" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "Normal" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "Panel" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "İlerleme Çubukları" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "Kaydırma Çubukları" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "Seçim Kutusu" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "Başlangıç Menüsü" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "Araç İpuçları" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "Pencere Dekorasyonu" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "Arka Plan" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "Arka Plan Geçirgenliği" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "Buton" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "Buton Boyutu" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "Renk" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "Masaüstü" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "_Farklı Biçimde Dışa Aktar" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "Motorlar" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "Yazı Tipi" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "Ön Plan" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "Evrensel Renkler" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "İkonlar" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "Geniş Araç Kutusu" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "Menü (örn. uygulama ya da sağ tık menüleri)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "Modlar: 0=normal, 1=ışıklandır, 2=renklendir, 3=siyah beyaz renklendir" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "Geçirgenlik" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "Belirlenmiş" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "Başlangıç Menüsü (panel yeniden başlatılmalı!)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "Yazı" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "Bu renk sadece render modu 2 ya da 3 (renklendirme) ise kullanılır" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "Başlık/Butonlar" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "Genişlik" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "X-Koordinatı" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "X-Koordinatı\n" "(widgetlerin)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Y-Koordinatı" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Y-Koordinatı\n" "(widgetlerin)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "_Dosya" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "_Yardım" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "GNOME'un _içinde kur" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "belirginleştirme efektlerini kullan" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "aktif pencere" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "ikon etiketlerini güzelleştir (ikon etiketleri ayarları için gerekli)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "parlaklık" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "basılmış buton" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "ile renklendir" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "Devre Dışı" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "yorumları dışa aktar (human teması düzenlemeyi kolaylaştırmak için)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "devre dışı olan tema elementlerini dışa aktar" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "Belirginleştirme" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "aktif olmayan pencere" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "ışıklandır" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "normal" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "render modu" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "renk doygunluğu" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "seçilmiş" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "GNOME masaüstünüzü özelleştirin" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "%s in ayarlaması" #: ../src/configloader.cc:1133 msgid "None" msgstr "" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "" #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "" #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "" #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "Temayı Kaydet" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "Temayı Farklı Kaydet" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "Temayı Farklı Dışa Aktar" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "" #: ../src/treehandler.cc:558 msgid "Version" msgstr "" #: ../src/treehandler.cc:559 msgid "Website" msgstr "" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "Şu an GNOME ile mümkün değil" #~ msgid "" #~ "ToDo:\n" #~ "-> use tooltips to explain what each config is being for\n" #~ "-> simplify GUI and add a preview area\n" #~ "-> find translators! (please mail) ;-)" #~ msgstr "" #~ "Yapılacaklar:\n" #~ "-> her ayarın ne işe yaradığını anlatmak için araç ipuçları kullan\n" #~ "-> Arayüzü basitleştir ve bir önizleme alanı ekle\n" #~ "-> çevirmenler bul! (lütfen mail atın) ;-)" #~ msgid "Panel (does nothing with my clearlooks-theme)" #~ msgstr "Panel (benim clearlooks-theme ile hiçbirşey gerçekleşmedi)" #~ msgid "alt. selected" #~ msgstr "alternatif seçili" #~ msgid "gtk-apply" #~ msgstr "gtk-apply" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" #~ msgid "gtk-save" #~ msgstr "gtk-save" #~ msgid "GNOME Color Chooser" #~ msgstr "GNOME Color Chooser" #~ msgid "A tool for customizing the appereance of the GNOME desktop" #~ msgstr "GNOME masaüstünün görünümünü özelleştirmek için bir araç" gnome-color-chooser-0.2.5/po/zh_CN.po0000644000175000017500000003445411161752714014316 00000000000000# Simplified Chinese translation for gnome-color-chooser # Copyright (C) 2007-2008 Werner Pantke # This file is distributed under the same license as the gnome-color-chooser package. # Werner Pantke , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: gnome-color-chooser\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-23 19:32+0100\n" "PO-Revision-Date: 2009-03-23 19:16+0100\n" "Last-Translator: Aron \n" "Language-Team: Simplified Chinese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2009-03-23 14:24+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../profiles/compact.xml.in.h:1 msgid "Compact" msgstr "紧凑" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:2 ../src/gnome-color-chooser.glade.h:30 msgid "Buttons" msgstr "按钮" #. translator node: this is a category name (tab label); comboboxes are button widgets with a dropdown list #: ../src/gnome-color-chooser.xml.in.h:4 msgid "Comboboxes" msgstr "组合框" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:6 msgid "Desktop Icons" msgstr "桌面图标" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:8 msgid "Global" msgstr "全局" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:10 #: ../src/gnome-color-chooser.glade.h:49 msgid "Panel" msgstr "面板" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:12 msgid "Progress Bars" msgstr "进度条" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:14 msgid "Scrollbars" msgstr "滚动条" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:16 msgid "Start Menue" msgstr "开始菜单" #. translator node: this is a category name (tab label) #: ../src/gnome-color-chooser.xml.in.h:18 msgid "Tooltips" msgstr "工具提示" #: ../src/gnome-color-chooser.glade.h:1 msgid "" "Note: Images are currently not " "exported!!" msgstr "" "注意: 图片目前并未被导出!!" #: ../src/gnome-color-chooser.glade.h:2 msgid "" "Note: These settings only work " "with gtk2-themes that don't specify these values on their own, otherwise " "nothing will happen on a change ;-)" msgstr "" "注意: 这些设置只有当 gtk2-themes " "没有指定相应设置时才会生效,否则改变设置不会有任何变化发生 ;-)" #: ../src/gnome-color-chooser.glade.h:3 msgid "Buttons" msgstr "按钮" #. Comboboxes are button widgets with a dropdown list, translations may be longer than the english word #: ../src/gnome-color-chooser.glade.h:5 msgid "Comboboxes" msgstr "组合框" #: ../src/gnome-color-chooser.glade.h:6 msgid "Default Configuration" msgstr "默认设置" #: ../src/gnome-color-chooser.glade.h:7 msgid "Desktop" msgstr "桌面" #: ../src/gnome-color-chooser.glade.h:8 msgid "Engines [for advanced users!]" msgstr "引擎 [高级用户使用!]" #: ../src/gnome-color-chooser.glade.h:9 msgid "Entry Fields" msgstr "输入域" #: ../src/gnome-color-chooser.glade.h:10 msgid "Icon Labels" msgstr "图标标签" #: ../src/gnome-color-chooser.glade.h:11 msgid "Icon sizes (x² pixels)" msgstr "图标大小 (x² 像素)" #: ../src/gnome-color-chooser.glade.h:12 msgid "Icons" msgstr "图标" #. Abbreviation for Hyperlinks #: ../src/gnome-color-chooser.glade.h:14 msgid "Links" msgstr "链接" #: ../src/gnome-color-chooser.glade.h:15 msgid "Metacity (normal)" msgstr "Metacity (常规)" #: ../src/gnome-color-chooser.glade.h:16 msgid "Normal" msgstr "常规" #: ../src/gnome-color-chooser.glade.h:17 msgid "Panel" msgstr "面板" #: ../src/gnome-color-chooser.glade.h:18 msgid "Progress Bars" msgstr "进度条" #. Label of the frame that shows the result of the Schema Validation process #: ../src/gnome-color-chooser.glade.h:20 msgid "Result" msgstr "结果" #: ../src/gnome-color-chooser.glade.h:21 msgid "Scrollbars" msgstr "滚动条" #: ../src/gnome-color-chooser.glade.h:22 msgid "Selection Box" msgstr "选择框" #: ../src/gnome-color-chooser.glade.h:23 msgid "Start Menu" msgstr "开始菜单" #: ../src/gnome-color-chooser.glade.h:24 msgid "Tooltips" msgstr "小提示" #: ../src/gnome-color-chooser.glade.h:25 msgid "Window Decoration" msgstr "窗体装饰" #: ../src/gnome-color-chooser.glade.h:26 msgid "Background" msgstr "背景" #: ../src/gnome-color-chooser.glade.h:27 msgid "Background Opacity" msgstr "背景不透明度" #: ../src/gnome-color-chooser.glade.h:28 msgid "Button" msgstr "按钮" #: ../src/gnome-color-chooser.glade.h:29 msgid "Button Size" msgstr "按钮大小" #: ../src/gnome-color-chooser.glade.h:31 msgid "Color" msgstr "颜色" #: ../src/gnome-color-chooser.glade.h:32 msgid "Desktop" msgstr "桌面" #. Verb (to export) #: ../src/gnome-color-chooser.glade.h:34 msgid "E_xport as" msgstr "导出为(_x)" #. Label for the filechooserbutton that selects an Engine Schema XML file #: ../src/gnome-color-chooser.glade.h:36 msgid "Engine Schema (XML)" msgstr "引擎 Schema (XML)" #. Menubar entry #. translator note: window title #: ../src/gnome-color-chooser.glade.h:38 ../src/validatorwindow.cc:51 msgid "Engine Schema Validator" msgstr "" #: ../src/gnome-color-chooser.glade.h:39 msgid "Engines" msgstr "引擎" #: ../src/gnome-color-chooser.glade.h:40 msgid "Font" msgstr "字体" #: ../src/gnome-color-chooser.glade.h:41 msgid "Foreground" msgstr "前景" #: ../src/gnome-color-chooser.glade.h:42 msgid "Global Colors" msgstr "全局色" #: ../src/gnome-color-chooser.glade.h:43 msgid "Icons" msgstr "图标" #: ../src/gnome-color-chooser.glade.h:44 msgid "Large Toolbar" msgstr "大工具栏" #: ../src/gnome-color-chooser.glade.h:45 msgid "Menue (e.g. application or context menues)" msgstr "菜单(例如应用程序或文章的菜单)" #. visible in tooltip of render modes #: ../src/gnome-color-chooser.glade.h:47 msgid "Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely" msgstr "模式: 0=正常, 1=照明, 2=彩色, 3=单色调" #: ../src/gnome-color-chooser.glade.h:48 msgid "Opacity" msgstr "不透明度" #: ../src/gnome-color-chooser.glade.h:50 msgid "Profile:" msgstr "配置文件:" #: ../src/gnome-color-chooser.glade.h:51 msgid "Specific" msgstr "特定的" #: ../src/gnome-color-chooser.glade.h:52 msgid "Start menue (needs panel restart!)" msgstr "开始菜单 (需要重启面板)" #: ../src/gnome-color-chooser.glade.h:53 msgid "Text" msgstr "文字" #: ../src/gnome-color-chooser.glade.h:54 msgid "This color is only used if render mode is 2 or 3 (colorize)" msgstr "只有在渲染模式为2或者3的时候这种颜色会被使用" #: ../src/gnome-color-chooser.glade.h:55 msgid "This option does not affect all themes!" msgstr "这个选项不影响所有主题!" #: ../src/gnome-color-chooser.glade.h:56 msgid "Title/Buttons" msgstr "标题/按键" #. Button Label of the Schema Validator #: ../src/gnome-color-chooser.glade.h:58 msgid "Validate" msgstr "验证" #. Label for the filechooserbutton that selects a Validator Schema XSD file #: ../src/gnome-color-chooser.glade.h:60 msgid "Validator Schema (XSD)" msgstr "验证 Schema (XSD)" #: ../src/gnome-color-chooser.glade.h:61 msgid "Width" msgstr "宽" #: ../src/gnome-color-chooser.glade.h:62 msgid "X-Padding" msgstr "X-填充" #: ../src/gnome-color-chooser.glade.h:63 msgid "" "X-Padding\n" "(of widgets)" msgstr "" "X-填充\n" "(控件)" #: ../src/gnome-color-chooser.glade.h:65 msgid "Y-Padding" msgstr "Y-填充" #: ../src/gnome-color-chooser.glade.h:66 msgid "" "Y-Padding\n" "(of widgets)" msgstr "" "Y-填充\n" "(用于 widgets)" #: ../src/gnome-color-chooser.glade.h:68 msgid "_File" msgstr "文件 (_F)" #: ../src/gnome-color-chooser.glade.h:69 msgid "_Help" msgstr "帮助 (_H)" #: ../src/gnome-color-chooser.glade.h:70 msgid "_Install in GNOME" msgstr "在GNOME下安装 (_I)" #: ../src/gnome-color-chooser.glade.h:71 msgid "_Tools" msgstr "工具(_T)" #: ../src/gnome-color-chooser.glade.h:72 msgid "activate hover effects" msgstr "激活旋转效果" #: ../src/gnome-color-chooser.glade.h:73 msgid "active" msgstr "活动" #: ../src/gnome-color-chooser.glade.h:74 msgid "active window" msgstr "活动窗口" #: ../src/gnome-color-chooser.glade.h:75 msgid "beautify icon labels (needed for icon label settings!)" msgstr "美化图标标签 (图标标签设置中需要)" #: ../src/gnome-color-chooser.glade.h:76 msgid "brightness" msgstr "亮度" #: ../src/gnome-color-chooser.glade.h:77 msgid "button pressed" msgstr "按键被按下" #: ../src/gnome-color-chooser.glade.h:78 msgid "colorize with" msgstr "着色" #: ../src/gnome-color-chooser.glade.h:79 msgid "deactivate (stock) icons" msgstr "" #: ../src/gnome-color-chooser.glade.h:80 msgid "disabled" msgstr "禁用" #: ../src/gnome-color-chooser.glade.h:81 msgid "export comments (for easy human theme editing)" msgstr "导出评论(以方便human主题的编辑)" #: ../src/gnome-color-chooser.glade.h:82 msgid "export disabled theme elements" msgstr "导出被禁用的主题" #: ../src/gnome-color-chooser.glade.h:83 msgid "hover" msgstr "旋转" #: ../src/gnome-color-chooser.glade.h:84 msgid "inactive window" msgstr "非活动窗口" #: ../src/gnome-color-chooser.glade.h:85 msgid "lighten" msgstr "照明" #: ../src/gnome-color-chooser.glade.h:86 msgid "normal" msgstr "普通" #: ../src/gnome-color-chooser.glade.h:87 msgid "pressed" msgstr "被按下" #: ../src/gnome-color-chooser.glade.h:88 msgid "render mode" msgstr "渲染模式" #: ../src/gnome-color-chooser.glade.h:89 msgid "saturation" msgstr "饱和" #: ../src/gnome-color-chooser.glade.h:90 msgid "selected" msgstr "已选" #. as in unvisited link #: ../src/gnome-color-chooser.glade.h:92 msgid "unvisited" msgstr "未访问的" #: ../src/gnome-color-chooser.glade.h:93 msgid "use shadowless Menubars" msgstr "使用无阴影的菜单栏" #: ../src/gnome-color-chooser.glade.h:94 msgid "use shadowless Toolbars" msgstr "使用无阴影的工具栏" #. as in (already) visited link #: ../src/gnome-color-chooser.glade.h:96 msgid "visited" msgstr "已访问的" #: ../src/gnome-color-chooser.desktop.in.h:1 msgid "Customize your GNOME desktop" msgstr "自定义您的 GNOME 桌面" #: ../src/configloader.cc:129 ../src/configloader.cc:1134 msgid "Theme Default" msgstr "默认主题" #: ../src/configloader.cc:758 #, c-format msgid "Configuration of %s" msgstr "%s 的设置" #: ../src/configloader.cc:1133 msgid "None" msgstr "无" #: ../src/ioexception.cc:43 msgid "Read Error" msgstr "读取错误" #: ../src/ioexception.cc:46 msgid "Write Error" msgstr "写错误" #: ../src/main.cc:75 ../src/mainwindow.cc:557 #, c-format msgid "Could not open or create file %s." msgstr "无法读取或创建文件:%s" #. "Error" is the caption of an error message #: ../src/main.cc:76 ../src/main.cc:87 ../src/main.cc:97 ../src/main.cc:113 #: ../src/main.cc:198 msgid "Error" msgstr "错误" #: ../src/main.cc:86 ../src/mainwindow.cc:567 ../src/mainwindow.cc:595 #, c-format msgid "Unable to modify file %s." msgstr "无法更改文件%s" #: ../src/main.cc:96 #, c-format msgid "Could not open file %s." msgstr "无法打开文件%s" #. translator note: used in --help message, describes the CLI command --validator-only #: ../src/main.cc:129 msgid "Start Engine Schema validator only" msgstr "仅以默认引擎 Schema 启动" #. translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! #: ../src/main.cc:131 msgid "[FILENAME]" msgstr "[文件名]" #. dialog title #: ../src/mainwindow.cc:669 msgid "Save Theme" msgstr "保存主题" #. dialog title #: ../src/mainwindow.cc:696 msgid "Save Theme as" msgstr "主题另存为" #. dialog title #: ../src/mainwindow.cc:722 msgid "Export Theme as" msgstr "主题导出至" #: ../src/mainwindow.cc:864 msgid "A tool for customizing the appearance of the GNOME desktop" msgstr "设置 GNOME 桌面的全部自定义工具" #: ../src/mainwindow.cc:911 #, c-format msgid "Export to file %s failed: %s." msgstr "输出到文件 %s 失败:%s" #: ../src/treehandler.cc:558 msgid "Version" msgstr "版本" #: ../src/treehandler.cc:559 msgid "Website" msgstr "网站" #: ../src/treehandler.cc:563 msgid "Author(s)" msgstr "作者" #: ../src/validatorwindow.cc:109 msgid "No XML file specified!" msgstr "未指明任何 XML 文件!" #: ../src/validatorwindow.cc:111 msgid "No XSD file specified!" msgstr "未指明任何 XSD 文件!" #. translator note: message that appears if a validation has been successful #: ../src/validatorwindow.cc:116 msgid "Validation passed!" msgstr "确认通过!" #: ../src/validatorwindow.cc:119 msgid "Validation failed!" msgstr "确认失败!" #. translator note: as in "error found on line x" #: ../src/validatorwindow.cc:211 msgid "Line" msgstr "行" #~ msgid "Compiz" #~ msgstr "Compiz" #~ msgid "Not yet possible with GNOME" #~ msgstr "GNOME 目前仍做不到" #~ msgid "" #~ "ToDo:\n" #~ "-> use tooltips to explain what each config is being for\n" #~ "-> simplify GUI and add a preview area\n" #~ "-> find translators! (please mail) ;-)" #~ msgstr "" #~ "ToDo:\n" #~ "-> 利用小提示解释各项设置选项的功能\n" #~ "-> 简化用户界面, 添加一个预览区域\n" #~ "-> 寻找翻译!(邮件联系) ;-)" #~ msgid "Panel (does nothing with my clearlooks-theme)" #~ msgstr "面板 (与我的 clearlooks-theme 无关)" #~ msgid "gtk-apply" #~ msgstr "gtk-apply" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" #~ msgid "gtk-save" #~ msgstr "gtk-save" #~ msgid "GNOME Color Chooser" #~ msgstr "GNOME Color Chooser" #~ msgid "A tool for customizing the appereance of the GNOME desktop" #~ msgstr "个性化您的 GNOME 桌面的工具" gnome-color-chooser-0.2.5/po/ChangeLog0000644000175000017500000000224111161752504014511 000000000000002009-03-23 Werner Pantke * LINGUAS: * bg.po: * cs.po: * de.po: * es.po: * fr.po: * he.po: * hu.po: * id.po: * it.po: * oc.po: * pl.po: * pt.po: * pt_BR.po: * ru.po: * sv.po: * th.po: * tr.po: * zh_CN.po: new languages: Arabic, English (Canada), Finnish, Norwegian Bokmal, and Dutch; there are also many other new translations. 100% complete are: de (German), en_CA (English Canada), es (Spanish), fr (French), he (Hebrew), it (Italian), and sv (Swedish). Thanks to all contributors, YOU ROCK! 2008-09-03 Werner Pantke * es.po: * oc.po: removed invalid escape sequence 2008-09-03 Werner Pantke * de.po: update for 100% completeness 2008-09-03 Werner Pantke * LINGUAS: added new translations: Hebrew, Occitan (post 1500), Polish, Brazilian Portugese, Russian, Thai updated all other translations the following translation files are affected: * bg.po: * cs.po: * es.po: * fr.po: * he.po: * hu.po: * id.po: * it.po: * oc.po: * pl.po: * pt.po: * pt_BR.po: * ru.po: * sv.po: * th.po: * tr.po: * zh_CN.po: gnome-color-chooser-0.2.5/po/LINGUAS0000644000175000017500000000020011161752653013762 00000000000000# please keep this list alphabetically sorted ;-) ar bg cs de en_CA es fi fr he hu id it nb nl oc pl pt pt_BR ru sv th tr zh_CN gnome-color-chooser-0.2.5/src/0000777000175000017500000000000011162025261013167 500000000000000gnome-color-chooser-0.2.5/src/Makefile.am0000644000175000017500000000477011031010021015126 00000000000000# GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool # Copyright (C) 2006-2008 Werner Pantke # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Project email: # bin_PROGRAMS = gnome-color-chooser gnome_color_chooser_SOURCES = main.cc \ utils.cc \ configloader.cc \ ioexception.cc \ exporter.cc \ gtpexporter.cc \ gtkrcexporter.cc \ mainwindow.cc \ enginewindow.cc \ infowindow.cc \ validatorwindow.cc \ modwidget.cc \ treehandler.cc \ checkbutton.cc \ colorbutton.cc \ spinbutton.cc \ fontbutton.cc \ filechooserbutton.cc \ slider.cc \ combobox.cc \ \ utils.h \ configloader.h \ exception.h \ ioexception.h \ exporter.h \ gtpexporter.h \ gtkrcexporter.h \ mainwindow.h \ enginewindow.h \ infowindow.h \ validatorwindow.h \ modwidget.h \ treehandler.h \ checkbutton.h \ colorbutton.h \ spinbutton.h \ fontbutton.h \ filechooserbutton.h \ slider.h \ combobox.h man_MANS = gnome-color-chooser.1 gladedir = $(pkgdatadir)/glade glade_DATA = gnome-color-chooser.glade xmldir = $(pkgdatadir) xml_DATA = gnome-color-chooser.xml xml_in_files = gnome-color-chooser.xml.in @INTLTOOL_XML_RULE@ icondir = $(datadir)/pixmaps icon_DATA = gnome-color-chooser.svg desktopdir = $(datadir)/applications desktop_in_files = gnome-color-chooser.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ EXTRA_DIST = $(glade_DATA) \ $(xml_in_files) \ $(icon_DATA) \ $(desktop_in_files) \ $(man_MANS) CLEANFILES = $(desktop_DATA) $(xml_DATA) INCLUDES = $(DEPS_CFLAGS) \ -DDATADIR=\""$(datadir)"\" \ -DLOCALEDIR=\""$(datadir)/locale"\" \ -DGLADEDIR=\""$(gladedir)"\" \ -DDBDIR=\""$(xmldir)"\" \ -DICONDIR=\""$(icondir)"\" \ $(DISABLE_DEPRECATED) LDADD = $(DEPS_LIBS) gnome-color-chooser-0.2.5/src/Makefile.in0000644000175000017500000005631511162024741015164 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool # Copyright (C) 2006-2008 Werner Pantke # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Project email: # VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = gnome-color-chooser$(EXEEXT) subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/lf_cxx.m4 \ $(top_srcdir)/m4/lf_host_type.m4 \ $(top_srcdir)/m4/lf_warnings.m4 \ $(top_srcdir)/m4/link_as_needed.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \ "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(gladedir)" \ "$(DESTDIR)$(icondir)" "$(DESTDIR)$(xmldir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am_gnome_color_chooser_OBJECTS = main.$(OBJEXT) utils.$(OBJEXT) \ configloader.$(OBJEXT) ioexception.$(OBJEXT) \ exporter.$(OBJEXT) gtpexporter.$(OBJEXT) \ gtkrcexporter.$(OBJEXT) mainwindow.$(OBJEXT) \ enginewindow.$(OBJEXT) infowindow.$(OBJEXT) \ validatorwindow.$(OBJEXT) modwidget.$(OBJEXT) \ treehandler.$(OBJEXT) checkbutton.$(OBJEXT) \ colorbutton.$(OBJEXT) spinbutton.$(OBJEXT) \ fontbutton.$(OBJEXT) filechooserbutton.$(OBJEXT) \ slider.$(OBJEXT) combobox.$(OBJEXT) gnome_color_chooser_OBJECTS = $(am_gnome_color_chooser_OBJECTS) gnome_color_chooser_LDADD = $(LDADD) am__DEPENDENCIES_1 = gnome_color_chooser_DEPENDENCIES = $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(gnome_color_chooser_SOURCES) DIST_SOURCES = $(gnome_color_chooser_SOURCES) man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; desktopDATA_INSTALL = $(INSTALL_DATA) gladeDATA_INSTALL = $(INSTALL_DATA) iconDATA_INSTALL = $(INSTALL_DATA) xmlDATA_INSTALL = $(INSTALL_DATA) DATA = $(desktop_DATA) $(glade_DATA) $(icon_DATA) $(xml_DATA) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DEPS_CFLAGS = @DEPS_CFLAGS@ DEPS_LIBS = @DEPS_LIBS@ DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ canonical_host_type = @canonical_host_type@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ gnome_color_chooser_SOURCES = main.cc \ utils.cc \ configloader.cc \ ioexception.cc \ exporter.cc \ gtpexporter.cc \ gtkrcexporter.cc \ mainwindow.cc \ enginewindow.cc \ infowindow.cc \ validatorwindow.cc \ modwidget.cc \ treehandler.cc \ checkbutton.cc \ colorbutton.cc \ spinbutton.cc \ fontbutton.cc \ filechooserbutton.cc \ slider.cc \ combobox.cc \ \ utils.h \ configloader.h \ exception.h \ ioexception.h \ exporter.h \ gtpexporter.h \ gtkrcexporter.h \ mainwindow.h \ enginewindow.h \ infowindow.h \ validatorwindow.h \ modwidget.h \ treehandler.h \ checkbutton.h \ colorbutton.h \ spinbutton.h \ fontbutton.h \ filechooserbutton.h \ slider.h \ combobox.h man_MANS = gnome-color-chooser.1 gladedir = $(pkgdatadir)/glade glade_DATA = gnome-color-chooser.glade xmldir = $(pkgdatadir) xml_DATA = gnome-color-chooser.xml xml_in_files = gnome-color-chooser.xml.in icondir = $(datadir)/pixmaps icon_DATA = gnome-color-chooser.svg desktopdir = $(datadir)/applications desktop_in_files = gnome-color-chooser.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) EXTRA_DIST = $(glade_DATA) \ $(xml_in_files) \ $(icon_DATA) \ $(desktop_in_files) \ $(man_MANS) CLEANFILES = $(desktop_DATA) $(xml_DATA) INCLUDES = $(DEPS_CFLAGS) \ -DDATADIR=\""$(datadir)"\" \ -DLOCALEDIR=\""$(datadir)/locale"\" \ -DGLADEDIR=\""$(gladedir)"\" \ -DDBDIR=\""$(xmldir)"\" \ -DICONDIR=\""$(icondir)"\" \ $(DISABLE_DEPRECATED) LDADD = $(DEPS_LIBS) all: all-am .SUFFIXES: .SUFFIXES: .cc .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) gnome-color-chooser$(EXEEXT): $(gnome_color_chooser_OBJECTS) $(gnome_color_chooser_DEPENDENCIES) @rm -f gnome-color-chooser$(EXEEXT) $(CXXLINK) $(gnome_color_chooser_OBJECTS) $(gnome_color_chooser_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/checkbutton.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/colorbutton.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/combobox.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/configloader.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enginewindow.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exporter.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filechooserbutton.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fontbutton.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gtkrcexporter.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gtpexporter.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/infowindow.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioexception.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mainwindow.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/modwidget.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/slider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spinbutton.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/treehandler.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utils.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/validatorwindow.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) test -z "$(desktopdir)" || $(MKDIR_P) "$(DESTDIR)$(desktopdir)" @list='$(desktop_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(desktopDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(desktopdir)/$$f'"; \ $(desktopDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(desktopdir)/$$f"; \ done uninstall-desktopDATA: @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(desktopdir)/$$f'"; \ rm -f "$(DESTDIR)$(desktopdir)/$$f"; \ done install-gladeDATA: $(glade_DATA) @$(NORMAL_INSTALL) test -z "$(gladedir)" || $(MKDIR_P) "$(DESTDIR)$(gladedir)" @list='$(glade_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(gladeDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gladedir)/$$f'"; \ $(gladeDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gladedir)/$$f"; \ done uninstall-gladeDATA: @$(NORMAL_UNINSTALL) @list='$(glade_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(gladedir)/$$f'"; \ rm -f "$(DESTDIR)$(gladedir)/$$f"; \ done install-iconDATA: $(icon_DATA) @$(NORMAL_INSTALL) test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" @list='$(icon_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(iconDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(icondir)/$$f'"; \ $(iconDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(icondir)/$$f"; \ done uninstall-iconDATA: @$(NORMAL_UNINSTALL) @list='$(icon_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(icondir)/$$f'"; \ rm -f "$(DESTDIR)$(icondir)/$$f"; \ done install-xmlDATA: $(xml_DATA) @$(NORMAL_INSTALL) test -z "$(xmldir)" || $(MKDIR_P) "$(DESTDIR)$(xmldir)" @list='$(xml_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(xmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(xmldir)/$$f'"; \ $(xmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(xmldir)/$$f"; \ done uninstall-xmlDATA: @$(NORMAL_UNINSTALL) @list='$(xml_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(xmldir)/$$f'"; \ rm -f "$(DESTDIR)$(xmldir)/$$f"; \ done 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; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(gladedir)" "$(DESTDIR)$(icondir)" "$(DESTDIR)$(xmldir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(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 mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-desktopDATA install-gladeDATA \ install-iconDATA install-man install-xmlDATA install-dvi: install-dvi-am install-exec-am: install-binPROGRAMS install-html: install-html-am install-info: install-info-am install-man: install-man1 install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-desktopDATA \ uninstall-gladeDATA uninstall-iconDATA uninstall-man \ uninstall-xmlDATA uninstall-man: uninstall-man1 .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-desktopDATA install-dvi \ install-dvi-am install-exec install-exec-am install-gladeDATA \ install-html install-html-am install-iconDATA install-info \ install-info-am install-man install-man1 install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ install-xmlDATA 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 \ uninstall-desktopDATA uninstall-gladeDATA uninstall-iconDATA \ uninstall-man uninstall-man1 uninstall-xmlDATA @INTLTOOL_XML_RULE@ @INTLTOOL_DESKTOP_RULE@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gnome-color-chooser-0.2.5/src/main.cc0000644000175000017500000001577611155267334014371 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2009 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifdef HAVE_CONFIG_H #include #endif #include "utils.h" #include "treehandler.h" #include "configloader.h" #include "exporter.h" #include "mainwindow.h" #include "validatorwindow.h" #include "gtpexporter.h" #include #include #include #include #include #include #include #include #include #include #include #include using std::string; using std::cout; using std::flush; using std::endl; using namespace GnomeCC; #ifdef LIBXML_TREE_ENABLED struct OptionState { gboolean validator_only; gchar **filenames; }; OptionState optionstate; bool config_ok( string configfile, string dbfile, string customgtkrcfile) { GString *error; if(!Utils::Io::check_file(customgtkrcfile, true) && !Utils::Io::create_file(customgtkrcfile)) { error = g_string_new(""); g_string_printf(error, _("Could not open or create file %s."), customgtkrcfile.c_str() ); Utils::Ui::print_error(_("Error"), error->str, 1); g_string_free(error, true); return false; } if(Utils::Io::check_file(configfile) && !Utils::Io::check_file(configfile, true)) { error = g_string_new(""); g_string_printf(error, _("Unable to modify file %s."), configfile.c_str()); Utils::Ui::print_error(_("Error"), error->str, 1); g_string_free(error, true); return false; } if(!Utils::Io::check_file(dbfile)) { error = g_string_new(""); g_string_printf(error, _("Could not open file %s."), dbfile.c_str()); Utils::Ui::print_error(_("Error"), error->str, 1); g_string_free(error, true); return false; } return true; } void warning_log_handler ( const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer unused_data) { Utils::Ui::print_error(_("Error"), message); } int main (int argc, char *argv[]) { #ifdef ENABLE_NLS setlocale(LC_ALL,""); bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); textdomain(GETTEXT_PACKAGE); #endif const GOptionEntry options[] = { //translator note: used in --help message, describes the CLI command --validator-only {"validator-only", '\0', 0, G_OPTION_ARG_NONE, &optionstate.validator_only, N_("Start Engine Schema validator only"), NULL}, //translator note: used in --help message, name of optional parameter (brackets!), please use uppercase letters only! {G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY, &optionstate.filenames, NULL, N_("[FILENAME]")}, {NULL} /* end the list */ }; GOptionContext *context = g_option_context_new(""); g_option_context_add_main_entries(context, options, GETTEXT_PACKAGE); GnomeProgram *program; program = gnome_program_init( PACKAGE, VERSION, LIBGNOMEUI_MODULE, argc, argv, GNOME_PARAM_GOPTION_CONTEXT, context, GNOME_PARAM_APP_DATADIR, DATADIR, GNOME_PARAM_NONE); Gtk::Main kit(argc, argv); string configpath = getenv("HOME") + string("/.gnome-color-chooser/"); string configfile = configpath + "config.xml"; string configpath_images = configpath + "images/"; string globalpath_engines = DATADIR + string("/gtk-engines/"); string globalpath_profiles = DBDIR + string("/profiles/"); string dbfile = DBDIR + string("/gnome-color-chooser.xml"); string gtkrcfile = getenv("HOME") + string("/.gtkrc-2.0"); string customgtkrcfile = gtkrcfile + "-gnome-color-chooser"; cout << "Welcome to " << PACKAGE << " version " << VERSION << " for " << YOUR_OS << endl << endl; if(mkdir(configpath.c_str(), (mode_t)00700) != -1) { if(mkdir(configpath_images.c_str(), (mode_t)00755) == -1) { perror(configpath_images.c_str()); return 1; } } if(!config_ok(configfile, dbfile, customgtkrcfile)) { kit.run(); // run mainloop to make error messages appear on screen return 1; } // config has to be loaded before the glade file TreeHandler* pConfig = new TreeHandler((char*)dbfile.c_str()); Exporter::init(pConfig); // load Glade file and instantiate its widgets Glib::RefPtr refXml; try { cout << "Loading GUI with libglade.. " << flush; refXml = Gnome::Glade::Xml::create(string(GLADEDIR) + string("/gnome-color-chooser.glade")); } catch(const Gnome::Glade::XmlError& ex) { // "Error" is the caption of an error message Utils::Ui::print_error(_("Error"), ex.what(), 1); kit.run(); // run mainloop to make error messages appear on screen return 1; } cout << "done" << endl; cout << "Initializing and starting " << PACKAGE << ".. " << flush; if(optionstate.validator_only) { //Get the Glade-instantiated window: ValidatorWindow* pWindow = 0; refXml->get_widget_derived("validatorwindow", pWindow); if(pWindow) { cout << "done (validator only)" << endl; pWindow->init(); kit.run(*pWindow); } delete pWindow; delete pConfig; return 0; } //Get the Glade-instantiated window: MainWindow* pWindow = 0; refXml->get_widget_derived("window1", pWindow); if(pWindow) { string filename; Utils::Ui::set_dialog_parent_window(pWindow); g_log_set_handler (NULL, G_LOG_LEVEL_WARNING, warning_log_handler, NULL); if(optionstate.filenames != NULL && optionstate.filenames[0] != NULL) filename = optionstate.filenames[0]; else filename = configfile; pWindow->init(pConfig, configfile, filename, gtkrcfile, customgtkrcfile, VERSION, string(ICONDIR) + string("/gnome-color-chooser.svg"), configpath_images, globalpath_engines, globalpath_profiles); cout << "done" << endl; kit.run(*pWindow); } delete pWindow; delete pConfig; return 0; } #else int main(void) { std::cerr << "Tree support of libxml2 not compiled in\n"; exit(1); } #endif gnome-color-chooser-0.2.5/src/utils.cc0000644000175000017500000006274111161771624014576 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2009 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifdef HAVE_CONFIG_H #include #endif #include "utils.h" #include #include #include #include // unlink() #include // rename() // Utils::Io #include #include #include // not platform independent :( // Utils::UI #include #include #include #include using std::fstream; using std::ofstream; using std::ifstream; using std::ios; using std::ios_base; using namespace GnomeCC; bool Utils::check_include(string filename, string include, string searchpattern) { if(!Utils::Io::check_file(filename)) return 0; fstream fi(filename.c_str(), ios_base::in); if(!fi) return 0; //scan string line; size_t p_include; size_t p_pattern; size_t p_comment; while ( getline ( fi, line ) ) { p_include = string::npos; p_pattern = string::npos; p_comment = string::npos; if ( line == include \ || (searchpattern != "" \ && ( p_pattern = line.find(searchpattern, 0) ) != string::npos \ && ( p_include = line.find("include", 0) ) != string::npos \ && p_include < p_pattern \ && ( ( p_comment = line.find('#',0) ) == string::npos \ || p_comment > p_pattern) ) ) { fi.close(); return 1; } } fi.close(); return 0; } bool Utils::create_include(string filename, string include, string searchpattern) { if(!Utils::Io::check_file(filename, true)) return 0; if(!Utils::check_include(filename, include, searchpattern)) { ofstream gtkrc(filename.c_str(), ios_base::app); if(!gtkrc) return 0; gtkrc << include << "\n"; gtkrc.close(); return 1; } return 0; } // returns true if there is no matching include statement in the end, // no matter if there was one at all bool Utils::remove_include(string filename, string include, string searchpattern) { if(!Utils::check_include(filename, include, searchpattern)) return 1; string filename_tmp = filename + ".tmp"; fstream fi(filename.c_str(), ios_base::in); fstream fo(filename_tmp.c_str(), ios_base::out | ios_base::trunc); if(!fi || !fo) return 0; //scan string line; size_t p_include; size_t p_pattern; size_t p_comment; while ( getline ( fi, line ) ) { p_include = string::npos; p_pattern = string::npos; p_comment = string::npos; if ( line == include \ || (searchpattern != "" \ && ( p_pattern = line.find(searchpattern, 0) ) != string::npos \ && ( p_include = line.find("include", 0) ) != string::npos \ && p_include < p_pattern \ && ( ( p_comment = line.find('#',0) ) == string::npos \ || p_comment > p_pattern) ) ) { // do nothing => remove this line } else fo << line << "\n"; } fi.close(); fo.close(); if(unlink(filename.c_str())) { g_debug("Could not delete file %s.", filename.c_str()); return 0; } if(rename(filename_tmp.c_str(), filename.c_str())) { g_debug("Could not rename file %s to %s.", filename_tmp.c_str(), filename.c_str()); return 0; } return 1; } string Utils::int2string(int input) { char output[11]; snprintf(output, 10, "%i", input); return output; } string Utils::double2string(double input, int fractionalDigits) { if(fractionalDigits < 0 || fractionalDigits > 15) fractionalDigits = 2; char output[21]; snprintf(output, 20, ("%." + int2string(fractionalDigits) + "f").c_str(), input); return output; } // Utils::Xml const string Utils::Xml::get_property(xmlNode* node, string property) { if(node) { xmlChar* value = xmlGetProp(node, (xmlChar*)property.c_str()); if(value != NULL && strcmp((char*)value, "")) { string temp = string((char*)value); xmlFree(value); return temp; } xmlFree(value); } return ""; } // returns the most proper translation of a child content // (using all locales a user has set). const string Utils::Xml::get_content(xmlNode* parent, string content) { if(parent == NULL || content == "") return ""; int lang_score = INT_MAX; xmlNode *node = NULL; xmlNode *node_best = NULL; bool use_translation = Utils::Xml::needs_translation(content); char const * const *langs = g_get_language_names (); for(node = get_node(parent->children, content); node != NULL; node = get_node(node->next, content)) { string lang = lang2string(node); if(!use_translation && lang == "") return content2string(node); if(use_translation && lang != "") { for (int i = 0; langs[i] != NULL && i < lang_score; i++) { if(lang == string(langs[i])) { node_best = node; lang_score = i; } } } else if(lang == "" && node_best == NULL) node_best = node; if(lang_score == 0) return content2string(node_best); } return content2string(node_best); } const string Utils::Xml::content2string(xmlNode *node) { if(node) { xmlChar* content = xmlNodeGetContent(node); if(content != NULL && strcmp((char*)content, "")) { const string temp = string((char*)content); xmlFree(content); return temp; } xmlFree(content); } return ""; } const string Utils::Xml::lang2string(xmlNode *node) { if(node) { xmlChar *lang = xmlNodeGetLang(node); if(lang) { const string temp = string((char*)lang); xmlFree(lang); return temp; } xmlFree(lang); // super cleanex 2.0 } return ""; } /* const string Utils::Xml::get_lang(xmlNode* node, string content, const char* locale, bool acceptSpace) { xmlNode *child = node; xmlChar *lang = NULL; while(child != NULL && content != "") { lang = xmlNodeGetLang(child); if((acceptSpace && !lang) || (lang && !strcmp((char*)lang, locale))) { //if(!acceptSpace)cout << "got content with " << locale << " for " << child->name << endl; //else cout << "got default content for " << child->name << endl; xmlChar* value = xmlNodeGetContent(child); if(value != NULL && strcmp((char*)value, "")) { const string temp = string((char*)value); xmlFree(value); xmlFree(lang); return temp; } xmlFree(value); } //else cout << "got no content with " << locale << " for " << child->name << endl; xmlFree(lang); child = get_node(child->next, content); } return ""; } */ xmlNode* Utils::Xml::get_node(xmlNode* pNode, string name) { if(pNode) { xmlNode* node = pNode; while(node != NULL && !(node->type == XML_ELEMENT_NODE && !strcmp((char*)node->name, name.c_str()))) node = node->next; if(node != NULL && node->type == XML_ELEMENT_NODE && !strcmp((char*)node->name, name.c_str())) return node; } return NULL; } const string Utils::Xml::get_language(xmlNode *node) { return lang2string(node); } // Utils::Xml privates const bool Utils::Xml::needs_translation(string content) { if( content == "long_name" \ || content == "description" \ || content == "comment" \ || content == "label") return true; return false; } // Utils::Io bool Utils::Io::check_file(string filename, bool write_check) { if(filename == "") return 0; struct stat config_stat; if(!stat( filename.c_str(), &config_stat) && config_stat.st_mode & S_IFREG) // if a regular file (no directory, etc) { fstream config( filename.c_str() , ios_base::in); if(config) { config.close(); if(write_check) { config.open(filename.c_str(), ios_base::out | ios_base::app); // reopen for write if(!config) return 0; config.close(); } return 1; } } return 0; } bool Utils::Io::check_directory(string directory) { struct stat config_stat; if(directory != "" \ && !stat( directory.c_str(), &config_stat) \ && (config_stat.st_mode & S_IFDIR)) return 1; return 0; } bool Utils::Io::create_file(string filename) { // errno = 0; struct stat config_stat; if(filename != "" && !stat( filename.c_str(), &config_stat)) // if a file/directory or whatever with this filename exists return 0; ofstream config( filename.c_str() ); if(config) { config.close(); return 1; } return 0; } bool Utils::Io::create_directory(string directory) { // errno = 0; struct stat config_stat; if(directory != "" && !stat( directory.c_str(), &config_stat)) // if a file/directory or whatever with this filename exists return 0; if(mkdir(directory.c_str(), (mode_t)00755) < 0) return 0; return 1; } bool Utils::Io::remove_directory(string directory) { struct stat config_stat; struct dirent *entry; if(Utils::Io::check_directory(directory)) { if(directory.substr(directory.length()-1,1) != "/") directory += "/"; DIR *dir = opendir(directory.c_str()); if(!dir) return 0; else { while( (entry = readdir(dir)) ) { string name = string(entry->d_name); if(name != "." && name != "..") { if(Utils::Io::check_directory(directory + name)) { if(!Utils::Io::remove_directory(directory + name)) { closedir(dir); return 0; } } else if(!stat( (directory + name).c_str(), &config_stat)) { if(!Utils::Io::remove_node(directory + name)) { closedir(dir); return 0; } } } } } closedir(dir); if(!Utils::Io::remove_node(directory)) return 0; return 1; } else return 0; } bool Utils::Io::remove_node(string path) { struct stat config_stat; // if(!stat( path.c_str(), &config_stat) && !unlink(path.c_str())) // removes files/links only if(!stat( path.c_str(), &config_stat) && !remove(path.c_str())) // removes files/links and directories return 1; else return 0; } bool Utils::Io::copy_directory(string src, string dst) { struct stat config_stat; struct dirent *entry; if(src.substr(src.length()-1,1) != "/") src += "/"; if(dst.substr(dst.length()-1,1) != "/") dst += "/"; if(!Utils::Io::create_directory(dst)) return 0; if(Utils::Io::check_directory(src)) { DIR *dir = opendir(src.c_str()); if(!dir) return 0; else { while( (entry = readdir(dir)) ) { string name = string(entry->d_name); if(name != "." && name != "..") { if(Utils::Io::check_directory(src + name)) { if(!Utils::Io::copy_directory(src + name, dst + name)) { closedir(dir); return 0; } } else if(!stat( (src + name).c_str(), &config_stat)) { if(!Utils::Io::copy_file(src + name, dst + name)) { closedir(dir); return 0; } } } } } closedir(dir); return 1; } else return 0; } bool Utils::Io::copy_file(string src, string dst) { if(!Utils::Io::check_file(src)) return 0; if(! (Utils::Io::check_file(dst, true) || Utils::Io::create_file(dst)) ) return 0; ifstream input(src.c_str()); if(!input) return 0; fstream output(dst.c_str(), ios::out|ios::binary); if(!output) return 0; output << input.rdbuf(); input.close(); output.close(); return 1; } // Utils::String string Utils::String::to_lower(string str) { for (unsigned int i=0;i= 0x41 && str[i] <= 0x5A) str[i] = str[i] + 0x20; return str; } // Utils::Ui int Utils::Ui::m_quit_message_count = 0; Gtk::Window *Utils::Ui::m_dialog_parent = NULL; void Utils::Ui::set_dialog_parent_window(Gtk::Window *parent) { m_dialog_parent = parent; } void Utils::Ui::print_error( string message1, string message2, bool quit_mainloop) { g_return_if_fail(message1 != ""); Gtk::MessageDialog *dialog = new Gtk::MessageDialog(message1, false, Gtk::MESSAGE_ERROR); dialog->set_modal(true); dialog->set_title(PACKAGE_NAME); if(message2 != "") dialog->set_secondary_text(message2); if(m_dialog_parent) dialog->set_transient_for(*m_dialog_parent); dialog->signal_response().connect( sigc::bind( sigc::bind( sigc::ptr_fun(&Utils::Ui::close_dialog), quit_mainloop), (Gtk::Dialog*)dialog) ); if(quit_mainloop) m_quit_message_count++; dialog->show(); } void Utils::Ui::close_dialog( int response_id, Gtk::Dialog *dialog, bool quit_mainloop) { g_return_if_fail(dialog != NULL); delete dialog; if(quit_mainloop) { m_quit_message_count--; if(m_quit_message_count <= 0) Gtk::Main::quit(); } } /////////////////// // the following method has been copied from http://vektor.ca/bugs/gtkinfo.c // and adopted to use an output string instead of stdout #include #include #include #include string Utils::gtkinfo() { string gtkinfo = ""; GtkWidget *window; GtkWidget *vbox; GtkWidget *button; GtkWidget *area; GtkWidget *label; PangoContext *context; PangoLanguage *lang; PangoFontMetrics *metrics; PangoFontDescription *font; gint focus_width, focus_pad; GtkBorder *default_border; GtkBorder *default_outside_border; GtkStyle *style; gtkinfo.append("Version information:\n"); gtkinfo.append(string(" Compiled on GTK+ version ") + int2string(GTK_MAJOR_VERSION) + "." + int2string(GTK_MINOR_VERSION) + "." + int2string(GTK_MICRO_VERSION) + "\n"); gtkinfo.append(string(" Running on GTK+ version ") + int2string(gtk_major_version) + "." + int2string(gtk_minor_version) + "." + int2string(gtk_micro_version) + "\n\n"); // gtk paths const gchar *module_path_env; const gchar *exe_prefix; const gchar *im_module_file; const gchar *data_prefix; const gchar *rc_files; module_path_env = g_getenv ("GTK_PATH"); exe_prefix = g_getenv ("GTK_EXE_PREFIX"); im_module_file = g_getenv ("GTK_IM_MODULE_FILE"); data_prefix = g_getenv ("GTK_DATA_PREFIX"); rc_files = g_getenv ("GTK2_RC_FILES"); gtkinfo.append("Environment variables:\n"); if (module_path_env) gtkinfo.append(string(" GTK_PATH is set to ") + module_path_env + ".\n"); else gtkinfo.append(" GTK_PATH is not set.\n"); if (exe_prefix) { gtkinfo.append(string(" GTK_EXE_PREFIX is set to ") + exe_prefix + ".\n"); gtkinfo.append(string(" GTK+ will search: ") + exe_prefix + "/lib/gtk-2.0/...\n"); } else { gtkinfo.append(" GTK_EXE_PREFIX is not set.\n"); gtkinfo.append(" GTK+ will search: $libdir/lib/gtk-2.0/...\n"); } if (data_prefix) { gtkinfo.append(string(" GTK_DATA_PREFIX is set to ") + data_prefix + ".\n"); gtkinfo.append(string(" GTK+ will search: ") + data_prefix + "/share/themes\n"); } else { gtkinfo.append(" GTK_DATA_PREFIX is not set.\n"); gtkinfo.append(" GTK+ will search: $prefix/share/themes\n"); } if (rc_files) { gtkinfo.append(string(" GTK2_RC_FILES is set to ") + rc_files + ".\n"); gtkinfo.append(string(" These files will override ") + "$sysconfdir/gtk-2.0/gtkrc and ~/.gtkrc-2.0\n"); } else { gtkinfo.append(" GTK2_RC_FILES is not set.\n"); gtkinfo.append(" GTK+ will read: " "$sysconfdir/gtk-2.0/gtkrc and ~/.gtkrc-2.0\n"); } gtkinfo.append("\n"); // gtk settings gchar *gtk_font_name = 0; gchar *gtk_icon_sizes = 0; gchar *gtk_icon_theme_name = 0; gchar *gtk_key_theme_name = 0; gchar *gtk_theme_name = 0; gint gtk_xft_antialias; gint gtk_xft_dpi; GtkSettings *settings; gtkinfo.append("General settings:\n"); if(pango_language_to_string (gtk_get_default_language ())) gtkinfo.append(string(" Language is ") + pango_language_to_string (gtk_get_default_language ()) + ".\n"); settings = gtk_settings_get_default (); g_object_get (settings, "gtk-font-name", >k_font_name, "gtk-icon-sizes", >k_icon_sizes, "gtk-key-theme-name", >k_key_theme_name, "gtk-theme-name", >k_theme_name, "gtk-xft-antialias", >k_xft_antialias, "gtk-xft-dpi", >k_xft_dpi, NULL); if (gtk_theme_name) gtkinfo.append(string(" Theme is ") + gtk_theme_name + ".\n"); if (gtk_font_name) gtkinfo.append(string(" Default font is ") + gtk_font_name + ".\n"); if (g_object_class_find_property (G_OBJECT_GET_CLASS (settings), "gtk-icon-theme-name")) { g_object_get (settings, "gtk-icon-theme-name", >k_icon_theme_name, NULL); if (gtk_icon_theme_name) { gtkinfo.append(string(" Icon theme is ") + gtk_icon_theme_name + ".\n"); g_free (gtk_icon_theme_name); } } if (gtk_key_theme_name) gtkinfo.append(string(" Key theme is ") + gtk_key_theme_name + ".\n"); gtkinfo.append(string(" Xft antialiasing is turned ") + (gtk_xft_antialias ? "on" : "off") + ".\n"); if (gtk_xft_dpi > -1 ) gtkinfo.append(string(" Xft is set to ") + double2string( (( (double) gtk_xft_dpi) / 1024.0) ) + " DPI.\n"); gchar** default_files = gtk_rc_get_default_files(); gtkinfo.append(string(" gtk_rc_get_default_files(): ") + (*default_files ? *default_files : "") + "\n"); gtkinfo.append("\n"); if (gtk_font_name) g_free (gtk_font_name); if (gtk_icon_sizes) g_free (gtk_icon_sizes); if (gtk_key_theme_name) g_free (gtk_key_theme_name); if (gtk_theme_name) g_free (gtk_theme_name); // gdk screen info const gchar *displayname = NULL; gint nscreens = 0; GdkDisplay *display; gint i; display = gdk_display_get_default (); nscreens = gdk_display_get_n_screens (display); displayname = gdk_display_get_name (display); if(display) gtkinfo.append(string("Display name is ") + displayname + " and has " + int2string(nscreens) + " screens.\n"); for (i = 0; i < nscreens; i++) { GdkScreen *screen = gdk_display_get_screen (display, i); gint nmonitors = gdk_screen_get_n_monitors (screen); int j; if(screen) { gtkinfo.append(string(" Screen ") + int2string(i) + ": " + int2string(gdk_screen_get_width(screen)) + "x" + int2string(gdk_screen_get_height(screen)) + " on " + int2string(nmonitors) + " monitors.\n"); gtkinfo.append(string(" Window manager is ") + gdk_x11_screen_get_window_manager_name (screen) + ".\n"); } for (j = 0; j < nmonitors; j++) { GdkRectangle geom; gdk_screen_get_monitor_geometry (screen, j, &geom); gtkinfo.append(string(" Monitor ") + int2string(j) + ": " + int2string(geom.x) + "," + int2string(geom.y) + " " + int2string(geom.width) + "x" + int2string(geom.height) + "\n"); } } gtkinfo.append("\n"); // window = gtk_window_new (GTK_WINDOW_TOPLEVEL); g_signal_connect (G_OBJECT (window), "destroy", G_CALLBACK (gtk_main_quit), NULL); vbox = gtk_vbox_new (FALSE, 0); area = gtk_drawing_area_new (); gtk_widget_set_size_request (area, 100, 100); gtk_container_add (GTK_CONTAINER (vbox), area); button = gtk_button_new_with_label ("Hello"); gtk_container_add (GTK_CONTAINER (vbox), button); gtk_container_add (GTK_CONTAINER (window), vbox); gtk_widget_realize (button); GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT); gtk_widget_style_get (GTK_WIDGET (button), "focus-line-width", &focus_width, "focus-padding", &focus_pad, "default-border", &default_border, "default-outside-border", &default_outside_border, NULL); gtkinfo.append("Style information from a button:\n"); gtkinfo.append(string(" Focus width ") + int2string(focus_width) + ", focus pad " + int2string(focus_pad) + ".\n"); if (default_border) { gtkinfo.append(string(" Default border (") + int2string(default_border->left) + "," + int2string(default_border->right) + "," + int2string(default_border->top) + "," + int2string(default_border->bottom) + ")\n"); } if (default_outside_border) { gtkinfo.append(string(" Outside border (") + int2string(default_outside_border->left) + "," + int2string(default_outside_border->right) + "," + int2string(default_outside_border->top) + "," + int2string(default_outside_border->bottom) + ")\n"); } style = gtk_widget_get_style (GTK_WIDGET (button)); gtkinfo.append(string(" Normal foreground (") + int2string(style->fg[ GTK_STATE_NORMAL ].red) + "," + int2string(style->fg[ GTK_STATE_NORMAL ].green) + "," + int2string(style->fg[ GTK_STATE_NORMAL ].blue) + "), background (" + int2string(style->bg[ GTK_STATE_NORMAL ].red) + "," + int2string(style->bg[ GTK_STATE_NORMAL ].green) + "," + int2string(style->bg[ GTK_STATE_NORMAL ].blue) + ").\n\n"); label = gtk_label_new ("hi there"); context = gtk_widget_get_pango_context (label); lang = pango_context_get_language (context); font = pango_font_description_copy (gtk_widget_get_style (window)->font_desc); metrics = pango_context_get_metrics (context, font, lang); gtkinfo.append("Font information from a default label:\n"); gtkinfo.append(string(" Font: ") + pango_font_description_get_family (font) + "\n"); gtkinfo.append(string(" Size: ") + int2string(pango_font_description_get_size(font)) + " (" + int2string(PANGO_PIXELS(pango_font_description_get_size(font))) + " pixels)\n"); gtkinfo.append(string(" Approximate char width: ") + int2string(pango_font_metrics_get_approximate_char_width(metrics)) + " (" + int2string(PANGO_PIXELS(pango_font_metrics_get_approximate_char_width(metrics))) + " pixels)\n"); gtkinfo.append(string(" Approximate digit width: ") + int2string(pango_font_metrics_get_approximate_digit_width(metrics)) + " (" + int2string(PANGO_PIXELS(pango_font_metrics_get_approximate_digit_width (metrics))) + " pixels)\n"); gtkinfo.append("\n"); // pango information GtkWidget *widget = (GtkWidget*)label; PangoFontFamily **families; int nfam; int totalfaces = 0; gtkinfo.append("Global font information:\n"); pango_context_list_families (gtk_widget_get_pango_context (widget), &families, &nfam); gtkinfo.append(string(" There are ") + int2string(nfam) + " font families.\n"); for (i = 0; i < nfam; i++) { PangoFontFace **faces; int nfaces; pango_font_family_list_faces (families[i], &faces, &nfaces); totalfaces += nfaces; g_free (faces); } gtkinfo.append(string(" There are a total of ") + int2string(totalfaces) + " faces in all families.\n"); g_free (families); return gtkinfo; } //////////////////// gnome-color-chooser-0.2.5/src/configloader.cc0000644000175000017500000007603311036457152016067 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifdef HAVE_CONFIG_H #include #endif #include "configloader.h" #include "treehandler.h" #include "mainwindow.h" #include "enginewindow.h" #include "validatorwindow.h" #include "modwidget.h" #include "combobox.h" #include "utils.h" #include "colorbutton.h" #include "checkbutton.h" #include "spinbutton.h" #include "slider.h" #include "combobox.h" #include "fontbutton.h" #include #include #include #include #include #include #include // not platform independent :( #include #include #include #include #include using std::cerr; using std::cout; using std::flush; using std::endl; using std::ofstream; using namespace GnomeCC; ConfigLoader::Engine *ConfigLoader::engines = NULL; ConfigLoader::Param *ConfigLoader::params = NULL; ConfigLoader::Profile *ConfigLoader::profiles = NULL; ConfigLoader::PTheme *ConfigLoader::profile_theme = NULL; bool ConfigLoader::load_config( string filename, TreeHandler* pConfig, const Glib::RefPtr& refGlade, MainWindow* pWindow) { //todo: check use of strtol() ! if(!Utils::Io::check_file(filename)) // if file does not exists (or is no regular file) return 0; /*parse the file and get the DOM */ xmlDoc* doc = xmlReadFile(filename.c_str(), NULL, 0); if(doc == NULL) return 0; if(strcmp((char*)xmlDocGetRootElement(doc)->name, "theme")) { cout << "Sorry, this file doesn't describe a real theme but a \"" << xmlDocGetRootElement(doc)->name << "\"!" << endl; return 0; } xmlNode* element = xmlDocGetRootElement(doc)->children; while( element != NULL ) { if(element->type == XML_ELEMENT_NODE && (char*)element->name) { if(!strcmp((char*)element->name, "element")) load_theme_element(pConfig, refGlade, pWindow, element); else if(!strcmp((char*)element->name, "engine")) load_theme_engine(pConfig, pWindow, element); else if(!strcmp((char*)element->name, "profile")) load_theme_profile(pConfig, element); } element = element->next; } return 1; } void ConfigLoader::load_theme_profile( TreeHandler *pConfig, xmlNode *element) { if(strcmp((char*)element->name, "profile")) return; if(Utils::Xml::get_property(element, "name") != "" \ && Utils::Xml::get_content(element, "content") != "") { pConfig->setProfile(element); if(profile_theme) delete profile_theme; profile_theme = new PTheme(); profile_theme->lname = _("Theme Default"); profile_theme->node = element; } } void ConfigLoader::load_theme_element( TreeHandler *pConfig, const Glib::RefPtr& refGlade, MainWindow *pWindow, xmlNode *element) { if(!strcmp((char*)element->name, "element")) { string id = Utils::Xml::get_property(element, "id"); string value = Utils::Xml::get_property(element, "value"); string disabled = Utils::Xml::get_property(element, "disabled"); if(id != "" && value != "") { if(disabled == "true") pConfig->setOverride(strtol(id.c_str(), NULL, 10), false); else pConfig->setOverride(strtol(id.c_str(), NULL, 10), true); ConfigLoader::fill_config( pConfig, refGlade, pWindow, atoi(id.c_str()), value.c_str()); } } } void ConfigLoader::load_theme_engine( TreeHandler *pConfig, MainWindow *pWindow, xmlNode *element) { if(!strcmp((char*)element->name, "engine")) { string name = Utils::Xml::get_property(element, "name"); string category = Utils::Xml::get_property(element, "category"); string disabled = Utils::Xml::get_property(element, "disabled"); if(name != "" && category != "") { // cout << "found engine " << name << " for category " << category << endl; // debugging ;-) if(disabled != "" && !strcasecmp(disabled.c_str(), "true")) ConfigLoader::attach_engine(name, category, pConfig, false); // pConfig->setEngineOverride(category, false); else ConfigLoader::attach_engine(name, category, pConfig, true); // pConfig->setEngineOverride(category, true); reload_enginetable_row(category, pWindow); select_engine(category, name, pWindow); ConfigLoader::load_theme_engine_options(pConfig, category, element); } } } void ConfigLoader::load_theme_engine_options( TreeHandler *pConfig, string category, xmlNode *engine) { xmlNode *element = Utils::Xml::get_node(engine->children, "element"); while( element != NULL ) { string name = Utils::Xml::get_property(element, "name"); string value = Utils::Xml::get_property(element, "value"); string disabled = Utils::Xml::get_property(element, "disabled"); if(name != "" && value != "") { //cout << "-> found engine option " << name << endl; // debugging ;-) //todo: set value only if 100% valid ;-) // (normally it should be corrected automatically by the widgets themself) pConfig->setValue(category, name, value.c_str()); if(disabled != "" && !strcasecmp(disabled.c_str(), "true")) pConfig->setOverride(category, name, false); else pConfig->setOverride(category, name, true); } element = Utils::Xml::get_node(element->next, "element"); } } void ConfigLoader::fill_config( TreeHandler* pConfig, const Glib::RefPtr& refGlade, MainWindow* pWindow, int id, const char* value) { //todo: safer implementation (atoi) ModWidget* widget = NULL; ModWidget* cbox = NULL; string id_string = Utils::int2string(id); pConfig->gotoElementById(id); const string type = pConfig->getElementType(); if(type == "") { cerr << "Cannot load element " << id << " (not in database!)" << endl; return; } // cout << "found a " << type << endl; // debug ;-) bool valid_widget = true; //let the widgets itself and MainWindow correct wrong values and then save them if(type == "spin" || type == "iconsize") { if(atoi(value) >= pConfig->getElementMin() \ && atoi(value) <= pConfig->getElementMax()) // not necessarily needed { char temp[11]; snprintf (temp, 10, "%i", atoi(value)); pConfig->setElementValue((char*)temp); refGlade->get_widget(string("spinbutton_").append(id_string), widget); widget->reload(); if(type == "spin") pWindow->on_changed_spinbutton(id, (SpinButton*)widget); else pWindow->on_changed_spinbutton_iconsize(id, (SpinButton*)widget); } } else if(type == "check_alone") { //todo: remove check_alone in favour of check and check_group } else if(type == "color") { pConfig->setElementValue(value); refGlade->get_widget(string("colorbutton_").append(id_string), widget); widget->reload(); pWindow->on_changed_colorbutton(id, (ColorButton*)widget); } else if(type == "font") { pConfig->setElementValue(value); refGlade->get_widget(string("fontbutton_").append(id_string), widget); widget->reload(); pWindow->on_changed_fontbutton(id, (FontButton*)widget); } else if(type == "image") { //todo: detect correct absolute path! and convert it or set an icon path! pConfig->setElementValue(value); refGlade->get_widget(string("filechooserbutton_").append(id_string), widget); widget->reload(); pWindow->on_changed_filechooserbutton(id, (FileChooserButton*)widget, id_string); } else { cerr << "ID " << id << " has unknown type \"" << type << "\"!" << endl; valid_widget = false; } if(valid_widget) { cbox = refGlade->get_widget(string("checkbutton_").append(id_string), widget); cbox->reload(); } } void ConfigLoader::reload_enginetable_row( string category, MainWindow *pWindow) { int i = 0; if(!pWindow) return; while(pWindow->engine_name[i] != "") { if(pWindow->engine_name[i] == category) { pWindow->engine_cbox[i].reload(); break; } i++; } } void ConfigLoader::select_engine( string category, string engine, MainWindow *pWindow) { int i = 0; if(!pWindow) return; while(pWindow->engine_name[i] != "") { if(pWindow->engine_name[i] == category) { pWindow->engine_combo[i].set_active_text(engine); break; } i++; } } string ConfigLoader::xml_encode(string input) { xmlChar *temp = xmlEncodeSpecialChars(NULL, (xmlChar*)input.c_str()); string copy = string((char*)temp); xmlFree(temp); return copy; } //todo: create GnomeCC-exporter bool ConfigLoader::export_config( TreeHandler* pConfig, string filename, bool export_disabled_elements, bool export_comments) { if(! (Utils::Io::check_file(filename, true) || Utils::Io::create_file(filename)) ) { cerr << "cannot write to " << filename << " !" << endl; return 0; } // if a writable _file_ with that name exists or could be created ofstream* gtkrc = new ofstream( filename.c_str() ); *gtkrc << "\n\n\n"; if(pConfig->hasProfile()) { pConfig->getProfile(); *gtkrc << " \n" << " getProfileName()) << "\">\n" << " " << ConfigLoader::xml_encode(pConfig->getProfile()) << "" << endl << " " << endl << endl; } pConfig->gotoFirstCategory(); for(int i = 0; i < pConfig->getCategoryCount(); i++) { if(export_disabled_elements || pConfig->getCategoryOverride()) { if(export_comments) *gtkrc << " \n"; pConfig->gotoCategoriesFirstElement(); for(int j = 0; j < pConfig->getCategoryElementsCount(); j++) { if(export_disabled_elements || pConfig->getElementOverride()) { if(export_comments) *gtkrc << " \n"; *gtkrc << " getElementIdString()) << "\"" << " value=\"" << ConfigLoader::xml_encode(pConfig->getElementValue()) << "\"" << ((!pConfig->getElementOverride()) ? " disabled=\"true\"" : "") << "/>\n"; } pConfig->gotoCategoriesNextElement(); } *gtkrc << "\n"; } pConfig->gotoCategoriesEngine(); const string engine = pConfig->getEngineName(); if(engine != "" && (export_disabled_elements || pConfig->getEngineOverride()) ) { //todo: check for more detailed comments (long names, blah blah) if(export_comments) *gtkrc << " \n"; *gtkrc << " getCategoryName()) << "\"" << ((!pConfig->getEngineOverride()) ? " disabled=\"true\"" : "") << ">\n"; pConfig->gotoCategoryEnginesFirstParam(); for(int j = 0; j < pConfig->getCategoryEnginePropertiesCount(); j++) { if(export_disabled_elements || pConfig->getParamOverride()) { if(export_comments) *gtkrc << " \n"; *gtkrc << " getParamName()) << "\"" << " value=\"" << ConfigLoader::xml_encode(pConfig->getParamValue()) << "\"" << ((!pConfig->getParamOverride()) ? " disabled=\"true\"" : "") << "/>\n"; } pConfig->gotoCategoryEnginesNextParam(); } *gtkrc << " \n\n\n"; } pConfig->gotoNextCategory(); } *gtkrc << "" << endl; delete gtkrc; return 1; } // returns true if at least one engine could be loaded! bool ConfigLoader::load_engine_schemas(string directory) { bool loaded_engine = false; struct dirent *entry; DIR *dir = opendir(directory.c_str()); if(!dir) perror((string("Error in accessing ") + directory).c_str()); else { while( (entry = readdir(dir)) ) { string name = string(entry->d_name); if(name.length() > 4) { if(name.substr(name.length()-4) == ".xml") { if(load_engine_schema(directory + name)) loaded_engine = true; else cout << "Couldn't load engine schema " << directory + name << endl; } } } closedir(dir); } return loaded_engine; } bool ConfigLoader::load_engine_schema(string filename) { g_return_val_if_fail(filename != "", 0); if(!Utils::Io::check_file(filename)) // if file does not exist (or is no regular file) return 0; /*parse the file and get the DOM */ xmlDoc* doc = xmlReadFile(filename.c_str(), NULL, 0); if(doc == NULL) return 0; xmlNode* root = xmlDocGetRootElement(doc); if(root == NULL || strcmp((char*)root->name, "engine")) { xmlFreeDoc(doc); return 0; } string name = Utils::Xml::get_property(root, "module_name"); if(name == "") { xmlFreeDoc(doc); return 0; } string schema_version = Utils::Xml::get_property(root, "schema_version"); string long_name = ""; if(schema_version == "0.1") { long_name = Utils::Xml::get_property(root, "long_name"); // check if engine options have name, type, and default value defined, // otherwise remove them from the tree! xmlNode* element = Utils::Xml::get_node(root->children, "option"); xmlNode* element_next = NULL; while( element != NULL ) { // find/save next element now, because the current element could get deleted element_next = Utils::Xml::get_node(element->next, "option"); if(Utils::Xml::get_property(element, "name") == "" \ || Utils::Xml::get_property(element, "type") == "" \ || Utils::Xml::get_property(element, "default") == "") { xmlUnlinkNode(element); xmlFreeNode(element); } element = element_next; } } /* else if(schema_version == "0.2") { //todo: set real xsd path! if(ValidatorWindow::is_valid(filename.c_str(), (string(getenv("PWD")) + "/schema_0_2.xsd").c_str() ) <= 0) { g_debug("Engine Schema %s (schema_version %s) is invalid!", filename.c_str(), schema_version.c_str() ); xmlFreeDoc(doc); return 0; } long_name = Utils::Xml::get_content(root, "long_name"); } */ else { g_debug("Engine Schema %s (schema_version %s) is not supported!", filename.c_str(), schema_version != "" ? schema_version.c_str() : 0); xmlFreeDoc(doc); return 0; } // save engine for later use if engine name is unique Engine *engine; if(engines == NULL) { engines = new Engine; engine = engines; } else { engine = engines; while(engine->next != NULL) { if(engine->name == name) { xmlFreeDoc(doc); return 0; } engine = engine->next; } if(engine->name == name) return 0; engine->next = new Engine; engine = engine->next; } engine->name = name; engine->doc = doc; engine->next = NULL; engine->lname = long_name; return 1; } void ConfigLoader::unload_engines() // deletes all engine objects, but, of course, doesn't delete insertions into the db xml tree! ;-) { Engine *engine = engines; Engine *engine_next = NULL; while(engine != NULL) { engine_next = engine->next; xmlFreeDoc(engine->doc); delete engine; engine = engine_next; } engines = NULL; } void ConfigLoader::attach_engine( string engine_name, string category, TreeHandler* config, bool override) { //cout << "!! attach engine " << engine_name << " to " << category << endl; // debugging, heh ;-) Engine *engine = engines; while(engine != NULL) { if(engine->name == engine_name) { config->attachEngine(xmlDocGetRootElement(engine->doc), (char*)category.c_str()); if(override) config->setEngineOverride(category, true); break; } engine = engine->next; } } void ConfigLoader::load_engine_params( EngineWindow* window, string engine_name, string category, TreeHandler* config) { g_return_if_fail(engines != NULL); g_return_if_fail(engine_name != ""); g_return_if_fail(category != ""); Engine *engine = engines; while(engine != NULL) { if(engine_name == engine->name) break; engine = engine->next; } if(engine == NULL || engine_name != engine->name) return; xmlNode *root = xmlDocGetRootElement(engine->doc); xmlNode *element = Utils::Xml::get_node(root->children, "option"); Param *param = NULL; int y = 0; while(element != NULL) { string w_name = Utils::Xml::get_property(element, "name"), w_value = Utils::Xml::get_property(element, "value"), w_default = Utils::Xml::get_property(element, "default"), w_type = Utils::Xml::get_property(element, "type"), w_lname = Utils::Xml::get_content (element, "long_name"), w_sdesc = Utils::Xml::get_content (element, "description"), w_ldesc = Utils::Xml::get_content (element, "comment"); // create new Parameter (for saving widgets in order to be able to delete them later) if( !(param = ConfigLoader::create_unique_param(w_name)) ) { element = Utils::Xml::get_node(element->next, "option"); continue; // goto next engine parameter } // create widget(s) of that new Parameter and attach them to the output table if(ConfigLoader::create_engine_option_widget( window, param, config, element, category, w_name, w_type, w_ldesc)) { char* config_label = NULL; param->box = new Gtk::HBox(); param->label = new Gtk::EventBox(); param->label->add_label(w_lname != "" ? w_lname : param->name); param->desc = new Gtk::EventBox(); param->desc->add_label( w_sdesc != "" ? w_sdesc : config_label = g_strdup_printf(_("Configuration of %s"), (w_lname != "" ? w_lname.c_str() : param->name.c_str() )), 0.0, 0.0); if(config_label) free(config_label); ((Gtk::Label*)(param->desc->get_child()))->set_line_wrap(true); param->line = new Gtk::HSeparator(); param->line->set_size_request(-1, 20); param->cbox = new CheckButton(); param->cbox->init(category, w_name, config, false); if(param->widget1 && param->widget2) { param->cbox->signal_toggled().connect( sigc::bind( sigc::bind( sigc::bind( sigc::bind( sigc::mem_fun( *window, &EngineWindow::on_checkbox_toggled), param->widget2), param->widget1), param->cbox), w_name) ); } else{ // use param->widget instead param->cbox->signal_toggled().connect( sigc::bind( sigc::bind( sigc::bind( sigc::bind( sigc::mem_fun( *window, &EngineWindow::on_checkbox_toggled), param->widget), param->widget), param->cbox), w_name) ); } if(w_ldesc != "") { window->tooltips.set_tip(*param->label, w_ldesc); window->tooltips.set_tip(*param->desc, w_ldesc); if(param->widget_ebox) window->tooltips.set_tip(*param->widget_ebox, w_ldesc); else window->tooltips.set_tip(*param->widget, w_ldesc); } window->table.resize(y+2, 2); // rows, coloumns window->table.attach( *param->desc, 0, 2, y, y+1, Gtk::FILL | Gtk::EXPAND, ~Gtk::FILL & ~Gtk::EXPAND); window->table.attach( *param->label, 0, 1, y+1, y+2, ~Gtk::FILL & ~Gtk::EXPAND, ~Gtk::FILL & ~Gtk::EXPAND); window->table.attach( *param->box, 1, 2, y+1, y+2, Gtk::FILL | Gtk::EXPAND, ~Gtk::FILL & ~Gtk::EXPAND); window->table.attach(*param->line, 0, 2, y+2, y+3, Gtk::FILL | Gtk::EXPAND, ~Gtk::FILL & ~Gtk::EXPAND); param->box->pack_start(*param->cbox, Gtk::PACK_SHRINK); if(param->widget_ebox) param->box->pack_start(*param->widget_ebox, Gtk::PACK_EXPAND_WIDGET); else param->box->pack_start(*param->widget, Gtk::PACK_EXPAND_WIDGET); } y = y+3; element = Utils::Xml::get_node(element->next, "option"); } } ConfigLoader::Param* ConfigLoader::create_unique_param(string name) { Param *param = NULL; if(params == NULL) { params = new Param(); param = params; } else { param = params; while(param->next != NULL) { if(param->name == name) return NULL; param = param->next; } if(param->name == name) return NULL; param->next = new Param(); param = param->next; } param->name = name; param->next = NULL; return param; } bool ConfigLoader::create_engine_option_widget( EngineWindow *window, Param *param, TreeHandler *config, xmlNode *element, string category, string w_name, string w_type, string w_ldesc) { if(w_type == "color") { ColorButton *widget = new ColorButton(); widget->init(category, w_name, config); param->widget = (Gtk::Widget*)widget; widget->signal_color_set().connect( sigc::bind( sigc::bind( sigc::mem_fun( *window, &EngineWindow::on_changed_colorbutton), widget) , w_name) ); return 1; } if(w_type == "boolean") { CheckButton *widget = new CheckButton(); widget->init(category, w_name, config); param->widget = (Gtk::Widget*)widget; widget->signal_toggled().connect( sigc::bind( sigc::bind( sigc::mem_fun( *window, &EngineWindow::on_changed_checkbutton), widget) , w_name) ); return 1; } if(w_type == "integer" || w_type == "real") { // create synchronized slider and spinbutton Slider *widget1 = new Slider(); widget1->init(category, w_name, config); param->widget1 = (Gtk::Widget*)widget1; widget1->signal_value_changed().connect( sigc::bind( sigc::bind( sigc::mem_fun( *window, &EngineWindow::on_changed_slider), widget1) , w_name) ); SpinButton *widget2 = new SpinButton(); widget2->init(category, w_name, config); param->widget2 = (Gtk::Widget*)widget2; widget2->signal_value_changed().connect( sigc::bind( sigc::bind( sigc::mem_fun( *window, &EngineWindow::on_changed_spinbutton), widget2) , w_name) ); widget1->link_with_widget(widget2); widget2->link_with_widget(widget1); Gtk::HBox *hbox = new Gtk::HBox(); hbox->pack_start(*widget1, Gtk::PACK_EXPAND_WIDGET); hbox->pack_start(*widget2, Gtk::PACK_SHRINK); param->widget = (Gtk::Widget*)hbox; return 1; } if(w_type == "enumeration") { ComboBox *widget = new ComboBox(); if(w_ldesc != "") { param->widget_ebox = new Gtk::EventBox(); param->widget_ebox->add(*widget); } for(xmlNode *option = Utils::Xml::get_node(element->children, "enumeration"); \ option != NULL; \ option = Utils::Xml::get_node(option->next, "enumeration")) { string option_value = Utils::Xml::get_property(option, "value"), option_name = Utils::Xml::get_content (option, "label"); if(option_value != "" && option_name != "") widget->append_text((char*)option_value.c_str(), (char*)option_name.c_str()); } widget->init(category, w_name, config); param->widget = (Gtk::Widget*)widget; widget->signal_changed().connect( sigc::bind( sigc::bind( sigc::mem_fun( *window, &EngineWindow::on_changed_combobox), widget) , w_name) ); return 1; } return 0; } void ConfigLoader::fill_with_engines( string category, ComboBox* box, TreeHandler* p_refConfig) { if(box != NULL) { //box->append_text(""); if(engines != NULL) { bool first_entry = 1; Engine *engine = engines; while(engine != NULL) { box->append_text( engine->name, (engine->lname != "") ? engine->lname : engine->name); if(first_entry) { box->set_active_text(engine->name); first_entry = false; } engine = engine->next; } if(box->get_active_text() != "") ConfigLoader::attach_engine( box->get_active_text(), category, p_refConfig, false); } } } // returns true if at least one engine could be loaded! bool ConfigLoader::load_profiles(string directory) { bool loaded_profile = false; struct dirent *entry; DIR *dir = opendir(directory.c_str()); if(!dir) perror((string("Error in accessing ") + directory).c_str()); else { while( (entry = readdir(dir)) ) { string name = string(entry->d_name); if(name.length() > 4) { if(name.substr(name.length()-4) == ".xml") { if(load_profile(directory + name)) loaded_profile = true; else cout << "Couldn't load profile " << directory + name << endl; } } } closedir(dir); } return loaded_profile; } bool ConfigLoader::load_profile(string filename) { if(!Utils::Io::check_file(filename)) // if file does not exists (or is no regular file) return 0; /*parse the file and get the DOM */ xmlDoc* doc = xmlReadFile(filename.c_str(), NULL, 0); if(doc == NULL) return 0; xmlNode* root = xmlDocGetRootElement(doc); if(root == NULL || strcmp((char*)root->name, "profile")) { xmlFreeDoc(doc); return 0; } std::string name = Utils::Xml::get_property(root, "name"); if(name == "") { xmlFreeDoc(doc); return 0; } if(Utils::Xml::get_content(root, "content") == "") { xmlFreeDoc(doc); return 0; } // save profile for later use Profile *profile; if(profiles == NULL) { profiles = new Profile; profile = profiles; } else { profile = profiles; while(profile->next != NULL) { if(profile->name == name) { xmlFreeDoc(doc); return 0; } profile = profile->next; } if(profile->name == name) return 0; profile->next = new Profile; profile = profile->next; } profile->name = name; profile->doc = doc; profile->next = NULL; profile->lname = Utils::Xml::get_content(root, "long_name"); return 1; } void ConfigLoader::unload_profiles() // deletes all profile objects, but, of course, doesn't delete insertions into the db xml tree! ;-) { Profile *profile = profiles; Profile *profile_next = NULL; while(profile != NULL) { profile_next = profile->next; xmlFreeDoc(profile->doc); delete profile; profile = profile_next; } profiles = NULL; if(profile_theme) delete profile_theme; } void ConfigLoader::fill_with_profiles(ComboBox* box) { if(box != NULL) { box->append_text("none", _("None")); box->append_text("theme", _("Theme Default")); if(profiles != NULL) { Profile *profile = profiles; while(profile != NULL) { box->append_text( profile->name, (profile->lname != "") ? profile->lname : profile->name); profile = profile->next; } } } } void ConfigLoader::change_profile(string profile_name, TreeHandler *pConfig) { if(profile_name == "none" || profile_name == "") { pConfig->unsetProfile(); } else if(profile_name == "theme") { if(profile_theme) pConfig->setProfile(profile_theme->node); else pConfig->unsetProfile(); } else { Profile *profile = profiles; while(profile != NULL ) { if(profile->name == profile_name) { pConfig->setProfile(xmlDocGetRootElement(profile->doc)); break; } profile = profile->next; } } } void ConfigLoader::unload_engine_params() { Param *param = params; Param *param_next; while(param != NULL) { param_next = param->next; delete param; param = param_next; } params = NULL; // cout << "unloaded engine" << endl; // debugging ;-) } ConfigLoader::Param::Param() { this->box = NULL; this->label = NULL; this->desc = NULL; this->line = NULL; this->cbox = NULL; this->widget = NULL; this->widget1 = NULL; this->widget2 = NULL; this->widget_ebox = NULL; this->next = NULL; } ConfigLoader::Param::~Param() { if(box) delete box; if(label) delete label; if(desc) delete desc; if(line) delete line; if(cbox) delete cbox; if(widget) delete widget; if(widget1) delete widget1; if(widget2) delete widget2; if(widget_ebox) delete widget_ebox; } gnome-color-chooser-0.2.5/src/ioexception.cc0000644000175000017500000000233011014303516015734 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "ioexception.h" #include #include IoException::IoException(ExceptionType t) { this->m_type = t; } IoException::~IoException() { } string IoException::get_string() { switch(m_type) { case ReadError: return _("Read Error"); break; case WriteError: return _("Write Error"); break; } return ""; } gnome-color-chooser-0.2.5/src/exporter.cc0000644000175000017500000000271311034433551015270 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "exporter.h" #include "treehandler.h" #include "gtkrcexporter.h" #include "gtpexporter.h" TreeHandler *Exporter::exporter_pConfig = NULL; /*** static factory methods ***/ void Exporter::init(TreeHandler* config) { exporter_pConfig = config; } /* init has to be called before any exporter creation! */ Exporter* Exporter::create_exporter(ExporterType t) { if (exporter_pConfig) { switch(t) { case Gtkrc: return new GtkrcExporter(exporter_pConfig); break; case Gtp: return new GtpExporter(exporter_pConfig); break; } } return NULL; } gnome-color-chooser-0.2.5/src/gtpexporter.cc0000644000175000017500000001166711007700233016005 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifdef HAVE_CONFIG_H #include #endif #include "gtpexporter.h" #include "treehandler.h" #include "configloader.h" #include "utils.h" #include "ioexception.h" #include #include using namespace GnomeCC; GtpExporter::GtpExporter(TreeHandler* config) { m_pConfig = config; } GtpExporter::~GtpExporter() { } /*** interface methods ***/ void GtpExporter::export_to(string filename, string image_path) { // move the old theme gtkrc to gtkrc-real and add your own which includes that one // better: edit the original theme gtkrc and add an include on top of it _if it is not already there_ // create the include file or append to it // add our styles in there and do magic with priorities... ?... !! // it works in the .gtkrc-2.0 because it has the rc priority // JackTheDipper: http://live.gnome.org/GnomeArt/Tutorials/GtkThemes#head-ce0e81cf1c2f50f83887d8957adcb0ef70749900 if(! (Utils::Io::check_file(filename, true) || Utils::Io::create_file(filename)) ) throw IoException(IoException::WriteError); string username = getenv("USERNAME"); string tmpdir = string("/tmp/") + PACKAGE + "_" + username; string themedir = get_theme_dir(); GtkSettings *settings; const gchar *gtk_theme_name; if(username == "") username = getenv("USER"); if(Utils::Io::check_directory(tmpdir) && !Utils::Io::remove_directory(tmpdir)) throw IoException(IoException::WriteError); if(!Utils::Io::create_directory(tmpdir)) throw IoException(IoException::WriteError); settings = gtk_settings_get_default (); g_object_get (settings, "gtk-theme-name", >k_theme_name, NULL); //todo: remove hardcoding themedir = "/usr/share/themes/"; if(Utils::Io::check_directory(string(getenv("HOME")) + "/.themes/" + gtk_theme_name)) themedir = string(getenv("HOME")) + "/.themes/" + gtk_theme_name; else if(Utils::Io::check_directory(themedir + gtk_theme_name)) themedir += gtk_theme_name; else themedir = ""; if(themedir == "") { std::cerr << "Couldn't find theme " << gtk_theme_name << std::endl; //todo: return value or exception ! return; } themedir += "/gtk-2.0/"; tmpdir += "/gtk-2.0/"; if(!Utils::Io::copy_directory(themedir, tmpdir)) throw IoException(IoException::WriteError); //todo: remove hardcoding if(Utils::create_include( tmpdir + "gtkrc", "include \"gtkrc-gnome-color-chooser\"", "\"gtkrc-gnome-color-chooser\"") ) { Exporter *exporter = Exporter::create_exporter(Exporter::Gtkrc); try { //todo: remove hardcoding string imagepath_rel = "images_gnome-color-chooser_"; string imagepath_abs = tmpdir + imagepath_rel; int i = 0; char number[11]; snprintf (number, 10, "%i", i); while(Utils::Io::check_directory(imagepath_abs + number)) { i++; snprintf (number, 10, "%i", i); } //todo: remove hardcoding //todo: copy only images indeed used in that gnomecc theme! Utils::Io::copy_directory(string(getenv("HOME")).append("/.gnome-color-chooser/images/"), imagepath_abs + number); exporter->export_to( tmpdir + "gtkrc-gnome-color-chooser", imagepath_rel + number); } catch(Exception &e) { //todo: throw Exception(e.get_type); instead of cerroring std::cerr << "Export to " << filename << " failed: " << e.get_string() << std::endl; throw IoException(IoException::WriteError); } delete exporter; //todo: pack the shit and create the GTP file } else { //todo: remove hardcoding if(!Utils::check_include( tmpdir + "gtkrc", "include \"gtkrc-gnome-color-chooser\"", "\"gtkrc-gnome-color-chooser\"") ) { throw IoException(IoException::WriteError); } else { //todo: our include was already there.. so.. what to do now? } } } /*** private methods ***/ string GtpExporter::get_theme_dir() { string dir = ""; const gchar* gdir = gtk_rc_get_theme_dir(); if(gdir) { dir = gdir; if(dir.substr(dir.length()-1,1) != "/") dir += "/"; } return dir; } gnome-color-chooser-0.2.5/src/gtkrcexporter.cc0000644000175000017500000001340611007702740016323 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "gtkrcexporter.h" #include "treehandler.h" #include "configloader.h" #include "ioexception.h" #include "utils.h" #include using std::ofstream; using std::endl; using namespace GnomeCC; GtkrcExporter::GtkrcExporter(TreeHandler* config) { m_pConfig = config; } GtkrcExporter::~GtkrcExporter() { } /*** interface methods ***/ void GtkrcExporter::export_to(string filename, string image_path) { if(! (Utils::Io::check_file(filename, true) || Utils::Io::create_file(filename)) ) { //cerr << "cannot write to " << filename << " !" << endl; throw IoException(IoException::WriteError); } // string image_path = filename.substr(0, filename.rfind("/") - 1).append("images/"); string icons; ofstream* gtkrc = new ofstream(filename.c_str()); *gtkrc << "pixmap_path \"" << image_path << "\"" << endl << endl; if(m_pConfig->hasProfile()) *gtkrc << m_pConfig->getProfile() << endl << endl; m_pConfig->gotoFirstCategory(); for(int i = 0; i < m_pConfig->getCategoryCount(); i++) { if(m_pConfig->getCategoryOverride()) { // if(!strcmp(m_pConfig->getCategoryName(), "default")) // default-style // *gtkrc << "style \"gnome-color-chooser-default\"\n{\n"; // else if(strcmp(m_pConfig->getCategoryName(), "_TOPLEVEL_")) // and if not a toplevel command // *gtkrc << "style \"gnome-color-chooser-" << m_pConfig->getCategoryName() << "\" = \"gnome-color-chooser-default\"\n{\n"; if(m_pConfig->getCategoryName() != "_TOPLEVEL_") // if not a toplevel command *gtkrc << "style \"gnome-color-chooser-" << m_pConfig->getCategoryName() << "\"" // << ( m_pConfig->hasProfile() ? " = \"" + m_pConfig->getProfileName() + "\"" : "" ) << "\n{\n"; icons = ""; m_pConfig->gotoCategoriesEngine(); if(m_pConfig->getEngineName() != "" && m_pConfig->getEngineOverride()) { *gtkrc << " engine \"" << m_pConfig->getEngineName() << "\"\n {\n"; m_pConfig->gotoCategoryEnginesFirstParam(); if(m_pConfig->getParamName() != "") { while(m_pConfig->getParamName() != "") { if(m_pConfig->getParamOverride()) { *gtkrc << " " << m_pConfig->getParamName() << " = " << (use_quotes(m_pConfig->getParamType()) ? "\"" : "") << m_pConfig->getParamValue() << (use_quotes(m_pConfig->getParamType()) ? "\"" : "") << "\n"; } m_pConfig->gotoCategoryEnginesNextParam(); } } *gtkrc << " }\n\n"; } m_pConfig->gotoCategoriesFirstElement(); for(int j = 0; j < m_pConfig->getCategoryElementsCount(); j++) { if(m_pConfig->getElementOverride()) { if(m_pConfig->getElementType() == "iconsize") { if(icons == "") icons = "gtk-icon-sizes = \""; icons.append((string)m_pConfig->getElementName() + "=" + (string)m_pConfig->getElementValue() + ":"); } else { *gtkrc << (m_pConfig->getCategoryName() != "_TOPLEVEL_" ? " " : "") << m_pConfig->getElementName() << " = " << (use_quotes(m_pConfig->getElementType()) ? "\"" : "") << m_pConfig->getElementValue() << (use_quotes(m_pConfig->getElementType()) ? "\"" : "") << "\n"; } } m_pConfig->gotoCategoriesNextElement(); } *gtkrc << (icons != "" ? icons.append("\"") : "") << (m_pConfig->getCategoryName() == "_TOPLEVEL_" ? "\n" : "}\n"); if(m_pConfig->getCategoryName() != "_TOPLEVEL_") { m_pConfig->gotoCategoriesFirstClass(); for(int j = 0; j < m_pConfig->getCategoryClassesCount(); j++) { *gtkrc << m_pConfig->getClassType() << " \"" << m_pConfig->getClassName() << "\" style \"gnome-color-chooser-" << m_pConfig->getCategoryName() << "\"\n"; m_pConfig->gotoCategoriesNextClass(); } } *gtkrc << "\n"; } m_pConfig->gotoNextCategory(); } delete gtkrc; } /*** private methods ***/ bool GtkrcExporter::use_quotes(string type) { //todo: add engine param option: quote !!! which overrides this setting for most types! if(type == "color") return true; else if(type == "spin") return false; else if(type == "font") return true; else if(type == "iconsize") return false; // is externally quoted else if(type == "check") return false; else if(type == "slider") return false; else if(type == "select") return false; else if(type == "check_alone") return false; // additional engine option types else if(type == "boolean") return false; else if(type == "enumeration") return false; else if(type == "integer") return false; else if(type == "real") return false; return true; } gnome-color-chooser-0.2.5/src/mainwindow.cc0000644000175000017500000007037511161771520015607 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2009 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifdef HAVE_CONFIG_H #include #endif #include "mainwindow.h" #include "treehandler.h" #include "configloader.h" #include "enginewindow.h" #include "infowindow.h" #include "validatorwindow.h" #include "gtkrcexporter.h" #include "utils.h" #include "exception.h" #include "colorbutton.h" #include "checkbutton.h" #include "spinbutton.h" #include "fontbutton.h" #include "filechooserbutton.h" #include "combobox.h" #include #include #include #include using std::cerr; using std::cout; using std::endl; using std::fstream; using std::ifstream; using std::ios; using namespace GnomeCC; MainWindow::MainWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : Gtk::Window(cobject), m_refGlade(refGlade) { set_decorated(true); // title bar, resize controls, etc. //set_default_size(400,400); set_resizable(false); //set_default_icon_from_file("gnomecc.png"); //set_skip_pager_hint(false); //set_skip_taskbar_hint(false); //set_urgency_hint(true); //set_keep_above(true); // Always On Top //set_border_width(10); // Sets the border width of the window. //stick(); // Window appears on all user desktops m_refGlade->connect_clicked("main_revert", sigc::mem_fun(*this, &MainWindow::on_main_revert)); m_refGlade->connect_clicked("main_cancel", sigc::mem_fun(*this, &MainWindow::on_main_cancel)); m_refGlade->connect_clicked("main_apply", sigc::mem_fun(*this, &MainWindow::on_main_apply)); m_refGlade->connect_clicked("file_exit", sigc::mem_fun(*this, &MainWindow::on_file_exit)); m_refGlade->connect_clicked("file_new", sigc::mem_fun(*this, &MainWindow::on_file_new)); m_refGlade->connect_clicked("file_open", sigc::mem_fun(*this, &MainWindow::on_file_open)); m_refGlade->connect_clicked("file_save", sigc::mem_fun(*this, &MainWindow::on_file_save)); m_refGlade->connect_clicked("file_save_as", sigc::mem_fun(*this, &MainWindow::on_file_save_as)); //m_refGlade->connect_clicked("file_export_as_caption", sigc::mem_fun(*this, &MainWindow::on_file_export)); m_refGlade->connect_clicked("file_export_as_gtp", sigc::mem_fun(*this, &MainWindow::on_file_export_as_gtp)); m_refGlade->connect_clicked("file_install", sigc::mem_fun(*this, &MainWindow::on_file_install)); m_refGlade->connect_clicked("tools_validate", sigc::mem_fun(*this, &MainWindow::on_tools_validate)); m_refGlade->connect_clicked("help_gtkinfo", sigc::mem_fun(*this, &MainWindow::on_help_gtkinfo)); m_refGlade->connect_clicked("help_info", sigc::mem_fun(*this, &MainWindow::on_help_info)); engine_window = NULL; engine_categories = 0; Gtk::FileFilter filter_gnomecc; filter_gnomecc.set_name("Themes ( *.gnomecc )"); filter_gnomecc.add_pattern("*.gnomecc"); Gtk::FileChooserDialog* fdialog = NULL; m_refGlade->get_widget("dialog_open", fdialog); if(fdialog) { fdialog->set_transient_for(*this); // set window on top of parent window fdialog->set_modal(true); // prevent interaction with other gnomecc windows fdialog->set_decorated(true); // title bar, resize controls, etc. //dialog->set_default_size(350,400); fdialog->set_resizable(true); //dialog->set_default_icon_from_file("gnomecc.png"); //dialog->set_skip_pager_hint(false); fdialog->set_skip_taskbar_hint(true); //dialog->set_urgency_hint(true); //dialog->set_keep_above(true); // Always On Top //dialog->set_border_width(10); // Sets the border width of the window. //dialog->stick(); // Window appears on all user desktops //dialog->set_default_icon_from_file(icon.c_str()); fdialog->set_title("Open Theme"); fdialog->set_has_separator(true); fdialog->set_default_response(1); fdialog->signal_response().connect( sigc::mem_fun(*this, &MainWindow::on_dialog_open) ); fdialog->add_filter(filter_gnomecc); } m_refGlade->get_widget("dialog_save", fdialog); if(fdialog) { fdialog->set_transient_for(*this); // set window on top of parent window fdialog->set_modal(true); // prevent interaction with other gnomecc windows fdialog->set_decorated(true); // title bar, resize controls, etc. //dialog->set_default_size(350,400); fdialog->set_resizable(true); //dialog->set_default_icon_from_file("gnomecc.png"); //dialog->set_skip_pager_hint(false); fdialog->set_skip_taskbar_hint(true); //dialog->set_urgency_hint(true); //dialog->set_keep_above(true); // Always On Top //dialog->set_border_width(10); // Sets the border width of the window. //dialog->stick(); // Window appears on all user desktops //dialog->set_default_icon_from_file(icon.c_str()); fdialog->set_title("Save Theme"); fdialog->set_has_separator(true); fdialog->set_default_response(1); fdialog->signal_response().connect( sigc::mem_fun(*this, &MainWindow::on_dialog_save) ); fdialog->add_filter(filter_gnomecc); } Gtk::AboutDialog* adialog = 0; m_refGlade->get_widget("aboutdialog1", adialog); if(adialog) { adialog->signal_response().connect( sigc::mem_fun(*this, &MainWindow::on_dialog_about) ); } } MainWindow::~MainWindow() { ConfigLoader::unload_engines(); ConfigLoader::unload_profiles(); if(engine_window) delete engine_window; //todo: how to unref m_refIcon? } void MainWindow::close() { hide(); } // connect and initialize all found widgets void MainWindow::init(TreeHandler* config, string configfile, string filename, string gtkrcfile, string customgtkrcfile, string version, string icon, string image_path, string engine_dir, string profile_dir) { this->setConfig(config); this->setVersion(version); this->image_path = image_path; this->m_configfile = configfile; this->m_filename = filename; this->m_gtkrcfile = gtkrcfile; this->m_customgtkrcfile = customgtkrcfile; set_title(PACKAGE_NAME); if(Utils::Io::check_file(icon)) { this->m_refIcon = Gdk::Pixbuf::create_from_file(icon, 48, 48, true); set_default_icon_from_file(icon.c_str()); } string type = ""; string id_string = ""; int id = 0; ColorButton* cbutton = 0; CheckButton* cbox = 0; ComboBox* combobox = 0; SpinButton* sbutton = 0; FontButton* fbutton = 0; FileChooserButton* fcbutton = 0; Gtk::FileFilter filter_images; filter_images.set_name("Images");// ( png, jpeg, gif )"); // filter_images.add_mime_type("image/png"); // filter_images.add_mime_type("image/jpeg"); // filter_images.add_mime_type("image/gif"); filter_images.add_pixbuf_formats(); // since gtk 2.6 int count = m_pConfig->getElementCount(); m_pConfig->gotoFirstElement(); for(int i=0; i < count; i++) { type = m_pConfig->getElementType(); id_string = m_pConfig->getElementIdString(); id = atoi(id_string.c_str()); if(type == "color") { m_refGlade->get_widget_derived(string("colorbutton_").append(id_string), cbutton); m_refGlade->get_widget_derived(string("checkbutton_").append(id_string), cbox); if(cbutton) { cbutton->init(id, m_pConfig); cbutton->signal_color_set().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_changed_colorbutton), cbutton) , id) ); } if(cbox) { cbox->init(id, m_pConfig, string("colorbutton_").append(id_string).c_str()); cbox->signal_toggled().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_checkbox_toggled), cbox), id) ); } } else if(type == "spin" || type == "iconsize") { m_refGlade->get_widget_derived(string("spinbutton_").append(id_string), sbutton); m_refGlade->get_widget_derived(string("checkbutton_").append(id_string), cbox); if(sbutton) { sbutton->init(id, m_pConfig); if(type == "spin") sbutton->signal_value_changed().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_changed_spinbutton), sbutton) , id) ); else sbutton->signal_value_changed().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_changed_spinbutton_iconsize), sbutton) , id) ); } if(cbox) { cbox->init(id, m_pConfig, string("spinbutton_").append(id_string).c_str()); cbox->signal_toggled().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_checkbox_toggled), cbox), id) ); } } else if(type == "font") { m_refGlade->get_widget_derived(string("fontbutton_").append(id_string), fbutton); m_refGlade->get_widget_derived(string("checkbutton_").append(id_string), cbox); if(fbutton) { fbutton->init(id, m_pConfig); fbutton->signal_font_set().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_changed_fontbutton), fbutton) , id) ); } if(cbox) { cbox->init(id, m_pConfig, string("fontbutton_").append(id_string).c_str()); cbox->signal_toggled().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_checkbox_toggled), cbox), id) ); } } else if(type == "image") { m_refGlade->get_widget_derived(string("filechooserbutton_").append(id_string), fcbutton); m_refGlade->get_widget_derived(string("checkbutton_").append(id_string), cbox); if(fcbutton) { fcbutton->add_filter(filter_images); fcbutton->init(id, m_pConfig, image_path); /*if(fcbutton->get_filename() == "") // .. perhaps in a later release ;-) { m_pConfig->setValue(id, (char*)""); m_pConfig->setOverride(id, false); }*/ fcbutton->signal_current_folder_changed().connect( sigc::bind( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_changed_filechooserbutton), id_string), fcbutton) , id) ); //fcbutton->signal_update_preview().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_changed_filechooserbutton_preview), fcbutton), id_string) ); } if(cbox) { cbox->init(id, m_pConfig, string("filechooserbutton_").append(id_string).c_str()); cbox->signal_toggled().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_checkbox_toggled), cbox), id) ); } } else if(type == "check_alone") { m_refGlade->get_widget_derived(string("checkbutton_").append(id_string), cbox); if(cbox) { cbox->init(id, m_pConfig); cbox->signal_toggled().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_checkbox_toggled), cbox), id) ); } } m_pConfig->gotoNextElement(); } if(!ConfigLoader::load_engine_schemas(engine_dir)) cout << "Couldn't find any engine schema!" << endl; this->create_engines_table(); if(!ConfigLoader::load_profiles(profile_dir)) cout << "Couldn't find any gnomecc profile!" << endl; if(!ConfigLoader::load_config(m_filename, m_pConfig, m_refGlade, this)) cout << "Couldn't load gnomecc theme '" << m_filename << "'!" << endl; m_refGlade->get_widget_derived("profilebox", combobox); if(combobox) { ConfigLoader::fill_with_profiles(combobox); combobox->signal_changed().connect( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_profile_changed), combobox) ); combobox->init(m_pConfig); } } void MainWindow::create_engines_table() { Gtk::Table* table = 0; m_refGlade->get_widget("engines_table", table); if(table) { int y = 0; int categories = m_pConfig->getCategoryCount() > MAX_ENGINE_CATEGORIES ? MAX_ENGINE_CATEGORIES : m_pConfig->getCategoryCount(); m_pConfig->gotoFirstCategory(); for(int i=0; i < categories; i++) { //todo: set a category property if it should be able to get an own engine assigned or not! if(m_pConfig->getCategoryName() != "_TOPLEVEL_" && m_pConfig->getCategoryName().substr(0,17) != "window-decoration") { table->resize(y+1, 2); // rows, coloumns engine_label[y].set_text(m_pConfig->getCategoryLongName() != "" ? m_pConfig->getCategoryLongName() : m_pConfig->getCategoryName()); engine_label[y].set_alignment(0.0, 0.5); table->attach(engine_label[y], 0, 1, y, y+1, Gtk::FILL & ~Gtk::EXPAND); table->attach(engine_hbox[y], 1, 2, y, y+1, Gtk::FILL | Gtk::EXPAND, Gtk::FILL | Gtk::EXPAND); ConfigLoader::fill_with_engines(m_pConfig->getCategoryName(), &engine_combo[y], m_pConfig); engine_button[y].set_use_stock(true); engine_button[y].set_label((Gtk::Stock::PREFERENCES).id); engine_hbox[y].pack_start(engine_cbox[y], Gtk::PACK_SHRINK); engine_hbox[y].pack_start(engine_combo[y], Gtk::PACK_EXPAND_WIDGET); engine_hbox[y].pack_end(engine_button[y], Gtk::PACK_SHRINK); engine_cbox[y].init(m_pConfig->getCategoryName(), m_pConfig); engine_combo[y].init(m_pConfig->getCategoryName(), m_pConfig); engine_combo[y].signal_changed().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::load_engine_params), y), string(m_pConfig->getCategoryName())) ); engine_button[y].signal_clicked().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::open_engine_window), y), string(m_pConfig->getCategoryName())) ); engine_cbox[y].signal_toggled().connect( sigc::bind( sigc::bind( sigc::mem_fun(*this, &MainWindow::on_engine_checkbox_toggled), y), string (m_pConfig->getCategoryName())) ); engine_combo[y].set_sensitive(false); engine_button[y].set_sensitive(false); engine_name[y] = m_pConfig->getCategoryName(); y++; this->engine_categories++; } m_pConfig->gotoNextCategory(); } show_all_children(); } // Syntax: void attach (Widget& child, guint left_attach, guint right_attach, guint top_attach, guint bottom_attach, AttachOptions xoptions=FILL|EXPAND, AttachOptions yoptions=FILL|EXPAND, guint xpadding=0, guint ypadding=0) } void MainWindow::open_engine_window(string category, int y) { string engine = engine_combo[y].get_active_text(); if(engine != "") { // cout << "loading config of " << engine << endl; // debugging ;-) engine_window = new EngineWindow((Gtk::Window*)this, engine, category, m_pConfig, m_refGlade); engine_window->signal_delete_event().connect( sigc::mem_fun(*this, &MainWindow::close_engine_window) ); //engine_window->set_transient_for(*this); // doesn't work :( engine_window->show(); } } bool MainWindow::close_engine_window(const GdkEventAny* event) { if(engine_window) { engine_window->hide(); delete engine_window; engine_window = NULL; } return true; } void MainWindow::on_engine_checkbox_toggled(string category, int y) { bool active = engine_cbox[y].get_active(); engine_combo[y].set_sensitive(active); engine_button[y].set_sensitive(active); //cout << "set engine override of cat " << category << " to " << active << endl; if(m_pConfig->getEngineName(category) == "" && engine_combo[y].get_active_text() != "") ConfigLoader::attach_engine(engine_combo[y].get_active_text(), category, m_pConfig); m_pConfig->setEngineOverride(category, active); } void MainWindow::load_engine_params(string category, int y) { string engine = engine_combo[y].get_active_text(); // cout << "selected engine " << engine << " for category " << category << endl; // debugging ;-) ConfigLoader::attach_engine(engine, category, m_pConfig, engine_cbox[y].get_active()); } void MainWindow::setVersion(string version) { this->version = version; } void MainWindow::setConfig(TreeHandler* config) { this->m_pConfig = config; } void MainWindow::on_checkbox_toggled(int id, CheckButton* cbox) { m_pConfig->setOverride(id, cbox->get_active() ? true : false); //!m_pConfig->getOverride(id)); if(cbox->getName() != NULL) { ModWidget* widget = NULL; // getting the widget corresponding to the checkbox and reload it m_refGlade->get_widget(cbox->getName(), widget); // cout << "toggled: " << cbox->getName() << " " << widget << endl; if(widget) { ((ModWidget*)widget)->reload(); } } } void MainWindow::on_changed_colorbutton(int id, ColorButton* cbutton) { string hex = "#"; long n = ((cbutton->get_color().get_red()>>8)<<16) \ + ((cbutton->get_color().get_green()>>8)<<8) \ + (cbutton->get_color().get_blue()>>8); for (int i=5; i>=0; i--) hex += "0123456789ABCDEF"[((n >> i*4) & 0xF)]; m_pConfig->setValue(id, (char*)hex.c_str()); } void MainWindow::on_changed_spinbutton(int id, SpinButton* sbutton) { char temp[11]; snprintf (temp, 10, "%i", (int)sbutton->get_value()); m_pConfig->setValue(id, (char*)temp); } void MainWindow::on_changed_spinbutton_iconsize(int id, SpinButton* sbutton) { char temp[11]; snprintf (temp, 10, "%i,%i", (int)sbutton->get_value(), (int)sbutton->get_value()); m_pConfig->setValue(id, (char*)temp); } void MainWindow::on_changed_fontbutton(int id, FontButton* fbutton) { m_pConfig->setValue(id, (char*)fbutton->get_font_name().c_str()); } void MainWindow::on_changed_filechooserbutton(int id, FileChooserButton* fcbutton, string id_string) { if(fcbutton->get_filename() != "") { if(Glib::filename_to_utf8(fcbutton->get_filename()) != image_path + id_string) // else do nothing and keep file ;-) { ifstream input(Glib::filename_to_utf8(fcbutton->get_filename()).c_str()); if(input) // if input file exists, copy { //string file_ext = Glib::filename_to_utf8(fcbutton->get_filename()).substr(fcbutton->get_filename().rfind(".")); fstream output( (image_path + id_string).c_str(), ios::out|ios::binary); output << input.rdbuf(); input.close(); output.close(); m_pConfig->setValue(id, (char*)(id_string).c_str()); //m_pConfig->setPath(id, (char*)image_path.c_str()); } } } else { // if(m_pConfig->getOverride(id)) // otherwise it's very probably an evil callback-loop ;-) m_pConfig->setValue(id, (char*)""); } } void MainWindow::on_main_cancel() { this->close(); } void MainWindow::on_main_apply() { if(m_configfile != "") { // check/create include statement in ~/.gtkrc-2.0 if(!Utils::check_include( m_gtkrcfile, "include \".gtkrc-2.0-gnome-color-chooser\"", ".gtkrc-2.0-gnome-color-chooser")) { if(! (Utils::Io::check_file(m_gtkrcfile, true) || Utils::Io::create_file(m_gtkrcfile)) ) { g_warning(_("Could not open or create file %s."), m_gtkrcfile.c_str()); return; } if(!Utils::create_include( m_gtkrcfile, "include \".gtkrc-2.0-gnome-color-chooser\"", ".gtkrc-2.0-gnome-color-chooser")) { g_warning(_("Unable to modify file %s."), m_gtkrcfile.c_str()); return; } } // save settings ConfigLoader::export_config(m_pConfig, m_configfile, true, true); // let all gtk apps redraw (save changes and let the apps re-read them) this->write_gtkrc(m_customgtkrcfile); this->redraw_all_gtk_apps(); } } void MainWindow::on_main_revert() { m_pConfig->reset_to_defaults(); //todo: create a (ConfigLoader::)reset_engine_combos(); ModWidget::reload_all_widgets(); // remove_include statement in ~/.gtkrc-2.0 if(!Utils::remove_include( m_gtkrcfile, "include \".gtkrc-2.0-gnome-color-chooser\"", ".gtkrc-2.0-gnome-color-chooser")) { g_warning(_("Unable to modify file %s."), m_gtkrcfile.c_str()); } // save settings ConfigLoader::export_config(m_pConfig, m_configfile, true, true); // let all gtk apps redraw (save changes and let the apps re-read them) this->write_gtkrc(m_customgtkrcfile); this->redraw_all_gtk_apps(); } void MainWindow::on_file_exit() { this->close(); } void MainWindow::on_file_new() { m_pConfig->reset_to_defaults(); //todo: create a (ConfigLoader::)reset_engine_combos(); ModWidget::reload_all_widgets(); m_filename = ""; } void MainWindow::on_file_open() { Gtk::FileChooserDialog* dialog = NULL; m_refGlade->get_widget("dialog_open", dialog); if(dialog) { dialog->run(); } } void MainWindow::on_file_save() { if(m_filename != "") { ConfigLoader::export_config(m_pConfig, m_filename, true, true); } else { //display save as dialog (and set m_filename after!) Gtk::FileChooserDialog* dialog = NULL; Gtk::CheckButton* export_disableds = NULL; Gtk::CheckButton* export_comments = NULL; Gtk::Label* export_note = NULL; m_refGlade->get_widget("dialog_save", dialog); m_refGlade->get_widget("dialog_save_export_disableds", export_disableds); m_refGlade->get_widget("dialog_save_export_comments", export_comments); m_refGlade->get_widget("dialog_save_export_note", export_note); if(export_note) export_note->hide(); if(dialog) { if(export_disableds) { export_disableds->set_active(true); export_disableds->set_sensitive(false); } if(export_comments) { export_comments->set_active(true); export_comments->set_sensitive(false); } // dialog title dialog->set_title(_("Save Theme")); dialog->run(); } } } void MainWindow::on_file_save_as() { Gtk::FileChooserDialog* dialog = NULL; Gtk::CheckButton* export_disableds = NULL; Gtk::CheckButton* export_comments = NULL; Gtk::Label* export_note = NULL; m_refGlade->get_widget("dialog_save", dialog); m_refGlade->get_widget("dialog_save_export_disableds", export_disableds); m_refGlade->get_widget("dialog_save_export_comments", export_comments); m_refGlade->get_widget("dialog_save_export_note", export_note); if(export_note) export_note->hide(); if(dialog && export_disableds && export_comments) { export_disableds->set_sensitive(false); export_comments->set_sensitive(false); // dialog title dialog->set_title(_("Save Theme as")); dialog->run(); } } void MainWindow::on_file_export_as_gtp() { Gtk::FileChooserDialog* dialog = NULL; Gtk::CheckButton* export_disableds = NULL; Gtk::CheckButton* export_comments = NULL; Gtk::Label* export_note = NULL; m_refGlade->get_widget("dialog_save", dialog); m_refGlade->get_widget("dialog_save_export_disableds", export_disableds); m_refGlade->get_widget("dialog_save_export_comments", export_comments); m_refGlade->get_widget("dialog_save_export_note", export_note); if(export_note) export_note->show(); if(dialog && export_disableds && export_comments) { export_disableds->set_sensitive(true); export_comments->set_sensitive(true); // dialog title dialog->set_title(_("Export Theme as") + Glib::ustring(" GTP")); dialog->run(); } } void MainWindow::on_dialog_open(int response_id) { Gtk::FileChooserDialog* dialog = NULL; m_refGlade->get_widget("dialog_open", dialog); if(dialog) { if(response_id == 1) // if ok button has been pressed { Glib::ustring file = Glib::filename_to_utf8(dialog->get_filename()); if(Utils::Io::check_directory(file)) { dialog->set_current_folder(file); } else if(file != "" && Utils::Io::check_file(file)) { dialog->hide(); m_pConfig->reset_to_defaults(); if(ConfigLoader::load_config(file, m_pConfig, m_refGlade, this)) { ModWidget::reload_all_widgets(); m_filename = file; } else cout << "Couldn't load gnomecc theme!" << endl; } } else dialog->hide(); } } void MainWindow::on_dialog_save(int response_id) { Gtk::FileChooserDialog* dialog = NULL; m_refGlade->get_widget("dialog_save", dialog); if(dialog) { if(response_id == 1) // if ok button has been pressed { Glib::ustring file = Glib::filename_to_utf8(dialog->get_filename()); //todo: implement this, but only with overwrite confirmation dialog!! /* if(file.substr(file.length()-8, file.length()) != ".gnomecc") file.append(".gnomecc"); cout << file << endl; */ // if a directory has been chosen if(Utils::Io::check_directory(file)) { dialog->set_current_folder(file); } else if(file != "") { Gtk::CheckButton* export_disableds = NULL; m_refGlade->get_widget("dialog_save_export_disableds", export_disableds); Gtk::CheckButton* export_comments = NULL; m_refGlade->get_widget("dialog_save_export_comments", export_comments); // if dialog is export dialog if(export_disableds && export_comments && export_disableds->is_sensitive() ) { ConfigLoader::export_config(m_pConfig, file, export_disableds->get_active(), export_comments->get_active()); dialog->hide(); } // if dialog is save (as) dialog else { if(ConfigLoader::export_config(m_pConfig, file, true, true)) m_filename = file; dialog->hide(); } } } else dialog->hide(); } } void MainWindow::on_file_install() { //todo: implement ;-) } void MainWindow::on_tools_validate() { ValidatorWindow *pWindow = 0; m_refGlade->get_widget_derived("validatorwindow", pWindow); if(pWindow) { pWindow->init(this); pWindow->show(); } } void MainWindow::on_help_gtkinfo() { InfoWindow* pWindow = 0; m_refGlade->get_widget_derived("infowindow", pWindow); if(pWindow) { string info = Utils::gtkinfo(); pWindow->init(this, "GTK+ Info", info.c_str()); pWindow->resize(250,350); pWindow->show(); } } //todo: save pointer to dialogs for better reusing void MainWindow::on_help_info() { Gtk::AboutDialog* pDialog = 0; m_refGlade->get_widget("aboutdialog1", pDialog); if(pDialog) { pDialog->set_transient_for(*this); pDialog->set_name(PACKAGE_NAME); pDialog->set_copyright("Copyright (C) 2006-2009 Werner Pantke"); pDialog->set_version(version.c_str()); pDialog->set_comments(_("A tool for customizing the appearance of the GNOME desktop")); pDialog->set_logo(m_refIcon); pDialog->show(); } } void MainWindow::on_dialog_about(int response_id) { Gtk::AboutDialog* pDialog = 0; m_refGlade->get_widget("aboutdialog1", pDialog); if(pDialog) { pDialog->hide(); } } void MainWindow::on_profile_changed(ComboBox *cbox) { ConfigLoader::change_profile(cbox->get_active_text(), m_pConfig); } void MainWindow::redraw_all_gtk_apps() { GdkEventClient rcevent; rcevent.type = GDK_CLIENT_EVENT; rcevent.window = (GdkWindow*)this; rcevent.send_event = TRUE; rcevent.message_type = gdk_atom_intern("_GTK_READ_RCFILES", FALSE); rcevent.data_format = 8; gdk_event_send_clientmessage_toall((GdkEvent *)&rcevent); } void MainWindow::write_gtkrc(string filename) { g_return_if_fail(filename != ""); Exporter* exporter = Exporter::create_exporter(Exporter::Gtkrc); try { exporter->export_to( filename, this->image_path ); } catch(Exception &e) { g_warning( _("Export to file %s failed: %s."), filename.c_str(), e.get_string().c_str() ); } delete exporter; } //#include "exporterassistant.h" void MainWindow::on_file_export() { /* ExporterAssistant* ea = NULL; m_refGlade->get_widget_derived("assistant1", ea); ea->show(); */ } gnome-color-chooser-0.2.5/src/enginewindow.cc0000644000175000017500000001476611007666656016146 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "enginewindow.h" #include "infowindow.h" #include "configloader.h" #include "treehandler.h" #include "colorbutton.h" #include "checkbutton.h" #include "spinbutton.h" #include "slider.h" #include "combobox.h" #include #include #include EngineWindow::EngineWindow(Gtk::Window* parent, string engine, string category, TreeHandler* config, const Glib::RefPtr& refGlade) { set_transient_for(*parent); // set window on top of parent window set_modal(true); // prevent interaction with other gnomecc windows set_decorated(true); // title bar, resize controls, etc. set_default_size(350,400); set_resizable(true); //set_default_icon_from_file("gnomecc.png"); //set_skip_pager_hint(false); set_skip_taskbar_hint(true); //set_urgency_hint(true); //set_keep_above(true); // Always On Top //set_border_width(10); // Sets the border width of the window. //stick(); // Window appears on all user desktops //set_default_icon_from_file(icon.c_str()); set_title("Engine Settings"); this->m_refGlade = refGlade; this->add(vbox); vbox.pack_start(scrolled_window, Gtk::PACK_EXPAND_WIDGET); scrolled_window.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); // hscrollbar, vscrollbar scrolled_window.add(table); table.set_border_width(10); // space surrounding the table table.set_col_spacings(5); // space between coloums vbox.pack_start(button_hbox, Gtk::PACK_SHRINK, 5); button_hbox.pack_end(okbutton, Gtk::PACK_SHRINK, 5); okbutton.set_use_stock(true); okbutton.set_label((Gtk::Stock::OK).id); //okbutton.set_size_request(60, -1); okbutton.signal_clicked().connect( sigc::mem_fun(*this, &EngineWindow::close) ); button_hbox.pack_end(infobutton, Gtk::PACK_SHRINK, 5); infobutton.set_use_stock(true); infobutton.set_label((Gtk::Stock::INFO).id); //infobutton.set_size_request(60, -1); infobutton.signal_clicked().connect( sigc::mem_fun(*this, &EngineWindow::on_info) ); show_all_children(); this->engine = engine; this->category = category; this->m_pConfig = config; // let configloader initialize, config, and manage(incl deleting) all widgets.. ConfigLoader::load_engine_params(this, this->engine, this->category, m_pConfig); m_params = true; set_focus(okbutton); show_all_children(); } EngineWindow::~EngineWindow() { if(m_params) ConfigLoader::unload_engine_params(); } void EngineWindow::on_info() { InfoWindow* pWindow = 0; m_refGlade->get_widget_derived("infowindow", pWindow); if(pWindow) { string info = m_pConfig->getEngineMetaInfo(this->category); pWindow->init(this, "Engine Info", info.c_str()); pWindow->show(); } } void EngineWindow::close() { if(m_params) ConfigLoader::unload_engine_params(); m_params = false; this->hide(); } void EngineWindow::on_checkbox_toggled( string id, CheckButton* cbox, Gtk::Widget* widget1, Gtk::Widget* widget2) { g_return_if_fail(cbox != NULL); g_return_if_fail(widget1 != NULL); if(cbox->get_active()) { m_pConfig->setOverride(this->category, id, true); // widget->reload(); widget1->set_sensitive(true); if(widget2) widget2->set_sensitive(true); } else { m_pConfig->setOverride(this->category, id, false); // widget->reload(); widget1->set_sensitive(false); if(widget2) widget2->set_sensitive(false); } } void EngineWindow::on_changed_checkbutton(string id, CheckButton* cbox) { if(cbox->get_active()) { m_pConfig->setValue(this->category, id, m_pConfig->getChecked(this->category, id).c_str()); } else { m_pConfig->setValue(this->category, id, m_pConfig->getUnchecked(this->category, id).c_str()); } } void EngineWindow::on_changed_colorbutton(string id, ColorButton* cbutton) { string hex = "#"; long n = ((cbutton->get_color().get_red()>>8)<<16) + ((cbutton->get_color().get_green()>>8)<<8) + (cbutton->get_color().get_blue()>>8); for (int i=5; i>=0; i--) hex += "0123456789ABCDEF"[((n >> i*4) & 0xF)]; m_pConfig->setValue(this->category, id, (char*)hex.c_str()); } void EngineWindow::on_changed_spinbutton(string id, SpinButton* sbutton) { char temp[11]; int s; if((s = m_pConfig->getFractionalDigits(this->category, id)) > 0) {// would work for fractional digits == 0, too ;-) char digits[3]; snprintf (digits, sizeof(digits), "%i", s); string locale = setlocale(LC_NUMERIC, NULL); setlocale(LC_NUMERIC, "C"); snprintf (temp, 10, (string("%.") + digits + "f").c_str(), sbutton->get_value()); setlocale(LC_NUMERIC, locale.c_str()); } else snprintf (temp, 10, "%i", sbutton->get_value_as_int()); m_pConfig->setValue(this->category, id, temp); sbutton->reload_linked_widget(); } void EngineWindow::on_changed_slider(string id, Slider* slider) { char temp[11]; int s; if((s = m_pConfig->getFractionalDigits(this->category, id)) > 0) {// would work for fractional digits == 0, too ;-) char digits[3]; snprintf (digits, sizeof(digits), "%i", s); string locale = setlocale(LC_NUMERIC, NULL); setlocale(LC_NUMERIC, "C"); snprintf (temp, 10, (string("%.") + digits + "f").c_str(), slider->get_value()); setlocale(LC_NUMERIC, locale.c_str()); } else snprintf (temp, 10, "%i", (int)slider->get_value()); m_pConfig->setValue(this->category, id, temp); slider->reload_linked_widget(); } void EngineWindow::on_changed_combobox(string id, ComboBox* combobox) { m_pConfig->setValue(this->category, id, (char*)combobox->get_active_text().c_str()); } gnome-color-chooser-0.2.5/src/infowindow.cc0000644000175000017500000000373111007672517015613 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "infowindow.h" #include #include InfoWindow::InfoWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : Gtk::Window(cobject), m_refGlade(refGlade) { this->set_modal(true); // prevent interaction with other gnomecc windows this->set_decorated(true); // title bar, resize controls, etc. this->set_resizable(true); this->set_default_size(250,200); this->set_skip_taskbar_hint(true); m_refGlade->connect_clicked("infowindow_ok", sigc::mem_fun(*this, &InfoWindow::close)); m_pButton = 0; m_refGlade->get_widget("infowindow_ok", m_pButton); if(m_pButton) m_pButton->set_size_request(60, -1); m_pLabel = 0; m_refGlade->get_widget("infowindow_text", m_pLabel); if(m_pLabel) m_pLabel->set_text(""); } void InfoWindow::init(Gtk::Window* parent, string title, string text) { this->set_transient_for(*parent); this->set_title(title); if(m_pLabel) m_pLabel->set_text(text.c_str()); if(m_pButton) this->set_focus(*m_pButton); this->resize(250, 200); } void InfoWindow::close() { m_pLabel->set_text(""); this->hide(); } gnome-color-chooser-0.2.5/src/validatorwindow.cc0000644000175000017500000001450211056765637016655 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "validatorwindow.h" #include "utils.h" #include #include #include #include #include #include #include #include using namespace GnomeCC; using std::string; Gtk::TextView* ValidatorWindow::m_text = NULL; ValidatorWindow::ValidatorWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : Gtk::Window(cobject), m_refGlade(refGlade) { this->set_modal(true); // prevent interaction with other gnomecc windows this->set_decorated(true); // title bar, resize controls, etc. this->set_resizable(true); this->set_default_size(625,400); this->set_skip_taskbar_hint(true); //translator note: window title this->set_title(_("Engine Schema Validator")); this->signal_delete_event().connect( sigc::mem_fun(*this, &ValidatorWindow::close) ); m_refGlade->connect_clicked("validator_ok", sigc::mem_fun(*this, &ValidatorWindow::validate)); m_text = NULL; m_xml = NULL; m_xsd = NULL; m_refGlade->get_widget("validator_text", m_text); m_refGlade->get_widget("validator_xml", m_xml); m_refGlade->get_widget("validator_xsd", m_xsd); /* //todo: introduce DEBUG switch if(m_xsd) m_xsd->set_filename( (string(getenv("PWD")) + "/schema_0_2.xsd").c_str() ); if(m_xml) m_xml->set_filename( (string(getenv("HOME")) + "/Desktop/clearlooks.xml").c_str() ); */ } void ValidatorWindow::init(Gtk::Window* parent) { g_return_if_fail(m_text != NULL); if(parent) this->set_transient_for(*parent); else this->set_skip_taskbar_hint(false); xmlSetGenericErrorFunc(NULL, (xmlGenericErrorFunc)&ValidatorWindow::xml_error_handler); m_text->get_buffer()->set_text(""); } bool ValidatorWindow::close(GdkEventAny *event) { initGenericErrorDefaultFunc(NULL); // reset error handler on exit return false; //make original signal handler execute (-> hide this window) } void ValidatorWindow::validate() { g_return_if_fail(m_text != NULL && m_xml != NULL && m_xsd != NULL); // use (scrollable) Gtk::TextView if writing to buffer forces textview to redraw // use http://www.xmlsoft.org/examples/tree1.c to iterate over tree // delete all incompatible xml:lang nodes (recursively) // validate remaining doc m_text->get_buffer()->set_text(""); if(m_xml->get_filename() == "") m_text->get_buffer()->insert_at_cursor(_("No XML file specified!")); else if(m_xsd->get_filename() == "") m_text->get_buffer()->insert_at_cursor(_("No XSD file specified!")); else if(is_valid( Glib::filename_to_utf8(m_xml->get_filename()).c_str(), Glib::filename_to_utf8(m_xsd->get_filename()).c_str()) > 0) //translator note: message that appears if a validation has been successful m_text->get_buffer()->insert_at_cursor(_("Validation passed!")); else m_text->get_buffer()->insert_at_cursor( (string("\n") + _("Validation failed!") + string("\n")).c_str() ); } // method mainly copied from: // http://wiki.njh.eu/XML-Schema_validation_with_libxml2 int ValidatorWindow::is_valid(const char *xml_filename, const char *xsd_filename) { xmlDocPtr schema_doc = xmlReadFile(xsd_filename, NULL, XML_PARSE_NONET); // if the schema cannot be loaded or is not well-formed if (schema_doc == NULL) return -1; xmlSchemaParserCtxtPtr parser_ctxt = xmlSchemaNewDocParserCtxt(schema_doc); if (parser_ctxt == NULL) { // unable to create a parser context for the schema xmlFreeDoc(schema_doc); return -2; } xmlSchemaPtr schema = xmlSchemaParse(parser_ctxt); if (schema == NULL) { // the schema itself is not valid xmlSchemaFreeParserCtxt(parser_ctxt); xmlFreeDoc(schema_doc); return -3; } xmlSchemaValidCtxtPtr valid_ctxt = xmlSchemaNewValidCtxt(schema); if (valid_ctxt == NULL) { // unable to create a validation context for the schema xmlSchemaFree(schema); xmlSchemaFreeParserCtxt(parser_ctxt); xmlFreeDoc(schema_doc); return -4; } xmlDoc *xml_doc = xmlReadFile(xml_filename, NULL, 0); if(xml_doc == NULL) return -4; clear_nodes(xmlDocGetRootElement(xml_doc)); int is_valid = (xmlSchemaValidateDoc(valid_ctxt, xml_doc) == 0); xmlSchemaFreeValidCtxt(valid_ctxt); xmlSchemaFree(schema); xmlSchemaFreeParserCtxt(parser_ctxt); xmlFreeDoc(schema_doc); //todo: check if all translatable elements have an unlocalized version, too // force the return value to be non-negative on success return is_valid ? 1 : 0; } void ValidatorWindow::clear_nodes(xmlNode *node) { // delete all nodes that are not XML compliant // but used to be generated by intltool-merge xmlNode *next_node = NULL; for (xmlNode *cur_node = node; cur_node; cur_node = next_node) { next_node = cur_node->next; clear_nodes(cur_node->children); if (cur_node->type == XML_ELEMENT_NODE && cur_node->name != NULL && Utils::Xml::get_language(cur_node).length() > 2) { xmlUnlinkNode(cur_node); xmlFreeNode(cur_node); } } } void ValidatorWindow::xml_error_handler(void *ctx, const char *msg, ...) { va_list args; GString *error = g_string_new(""); xmlErrorPtr err = xmlGetLastError(); if(err) //translator note: as in "error found on line x" g_string_printf(error, "[%s %i,%i] ", _("Line"), err->line, err->int2); va_start(args, msg); g_string_append_vprintf(error, msg, args); va_end(args); m_text->get_buffer()->insert_at_cursor(error->str); g_string_free(error, true); } gnome-color-chooser-0.2.5/src/modwidget.cc0000644000175000017500000000611711010026322015371 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "modwidget.h" void ModWidget::init(int id, TreeHandler* config) { this->m_linked_widget = NULL; this->isEngineWidget = false; this->isParamWidget = false; this->isProfileWidget = false; this->id = id; this->setConfig(config); ModWidget::register_widget(this); this->reload(); } void ModWidget::init(string category, string id, TreeHandler* config) { this->m_linked_widget = NULL; this->isEngineWidget = false; this->isParamWidget = true; this->isProfileWidget = false; this->id_string = id; this->category = category; this->setConfig(config); // ModWidget::register_widget(this); // Don't register param widgets!! this->reload(); } void ModWidget::init(string category, TreeHandler* config) // as engine widget { this->m_linked_widget = NULL; this->isEngineWidget = true; this->isParamWidget = false; this->isProfileWidget = false; this->category = category; this->setConfig(config); ModWidget::register_widget(this); this->reload(); } void ModWidget::init(TreeHandler* config) // as profile widget { this->m_linked_widget = NULL; this->isEngineWidget = false; this->isParamWidget = false; this->isProfileWidget = true; this->setConfig(config); ModWidget::register_widget(this); this->reload(); } void ModWidget::setConfig(TreeHandler* config) { this->m_pConfig = config; } GType ModWidget::get_base_type() { return gtk_widget_get_type(); } void ModWidget::link_with_widget(ModWidget *widget) { this->m_linked_widget = widget; } void ModWidget::reload_linked_widget() { if(this->m_linked_widget) this->m_linked_widget->reload(); } ModWidget::Widget::Widget() { p = NULL; next = NULL; } /* statics */ ModWidget::Widget *ModWidget::widgets = NULL; void ModWidget::register_widget(ModWidget* new_widget) { if(widgets == NULL) { widgets = new Widget(); widgets->p = new_widget; } else { Widget *widget = widgets; while(widget->next != NULL) widget = widget->next; widget->next = new Widget(); if(widget->next) widget->next->p = new_widget; } } void ModWidget::reload_all_widgets() { Widget *widget = widgets; while(widget != NULL) { if(widget->p) widget->p->reload(); widget = widget->next; } } gnome-color-chooser-0.2.5/src/treehandler.cc0000644000175000017500000005414711032730616015725 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "treehandler.h" #include "utils.h" #include #include #include using namespace GnomeCC; TreeHandler::TreeHandler(char* file) { this->filename = file; doc = NULL; root_node = NULL; cat_cur = NULL; el_cur = NULL; class_cur = NULL; param_cur = NULL; eng_cur = NULL; /* * this initialize the libxml2 library and check potential ABI mismatches * between the version it was compiled for and the actual shared * library used. */ LIBXML_TEST_VERSION /*parse the file and get the DOM */ doc = xmlReadFile(filename, NULL, 0); if (doc == NULL) exit(1); //std::cerr << "error: could not parse file " << file << std::endl; /*Get the root element node */ root_node = xmlDocGetRootElement(doc); // xmlSaveFormatFileEnc("-", doc, "UTF-8", 1); /* this->version = 0; xmlChar* name = (xmlChar*)"version"; xmlChar* xmlchar_version = xmlGetProp(doc->children, name); if(xmlchar_version != NULL) this->version = atoi((char*)xmlchar_version); xmlFree(xmlchar_version); */ } TreeHandler::~TreeHandler() { /*free the document */ xmlFreeDoc(doc); /* *Free the global variables that may *have been allocated by the parser. */ xmlCleanupParser(); } void TreeHandler::reset_to_defaults() { // doc = NULL; root_node = NULL; cat_cur = NULL; el_cur = NULL; class_cur = NULL; param_cur = NULL; eng_cur = NULL; xmlDoc* new_doc = NULL; /*parse the file and get the DOM */ new_doc = xmlReadFile(filename, NULL, 0); if (new_doc == NULL) std::cerr << "error: could not parse file " << filename << std::endl; else { doc = new_doc; /*Get the root element node */ root_node = xmlDocGetRootElement(doc); /* this->version = 0; xmlChar* name = (xmlChar*)"version"; xmlChar* xmlchar_version = xmlGetProp(doc->children, name); if(xmlchar_version != NULL) this->version = atoi((char*)xmlchar_version); xmlFree(xmlchar_version); */ } } /* int TreeHandler::getConfigVersion() { return this->version; } void TreeHandler::setConfigVersion(int version) { this->version = version; char temp[11]; xmlChar* name = (xmlChar*)"version"; snprintf (temp, 10, "%i", version); xmlSetProp(doc->children, name, (xmlChar*)temp); //xmlSaveFormatFileEnc("-", doc, "UTF-8", 1); // debugging ;-) } */ void TreeHandler::addCategory(xmlNode* category) { if(category != NULL) { category = xmlDocCopyNode(category, doc, 1); // 1 means recursively (with all children) xmlAddChild(root_node, category); //xmlSaveFormatFileEnc("-", doc, "UTF-8", 1); // debugging ;-) cat_cur = category; } } void TreeHandler::addElement(xmlNode* element) { if(cat_cur != NULL && element != NULL) { element = xmlDocCopyNode(element, doc, 2); // 2 means with all properties and namespaces, without children xmlAddChild(cat_cur, element); //xmlSaveFormatFileEnc("-", doc, "UTF-8", 1); // debugging ;-) el_cur = element; } } void TreeHandler::addClass(xmlNode* cl) { if(cat_cur != NULL && cl != NULL) { cl = xmlDocCopyNode(cl, doc, 2); xmlAddChild(cat_cur, cl); //xmlSaveFormatFileEnc("-", doc, "UTF-8", 1); // debugging ;-) class_cur = cl; } } void TreeHandler::attachEngine(xmlNode* engine, char* cat_name) { if(engine != NULL && cat_name != NULL) { xmlNode *eng_prev = get_engine(cat_name); if(eng_prev) this->unattachEngine(cat_name); xmlNode* category = get_category(cat_name); if(category != NULL) { engine = xmlDocCopyNode(engine, doc, 1); //1 means recursively (with all children) xmlAddChild(category, engine); // el_cur = engine; // xmlSetProp(el_cur, (xmlChar*)"category", (xmlChar*)cat_name); // xmlSaveFormatFileEnc("-", doc, "UTF-8", 1); // debugging ;-) } } } void TreeHandler::unattachEngine(string category) { if(category != "") { xmlNode* engine = get_engine(category); if(engine) { xmlUnlinkNode(engine); xmlFreeNode(engine); eng_cur = NULL; // just for being safe } } } void TreeHandler::setProfile(xmlNode *profile) { this->unsetProfile(); if(profile != NULL) { /* xmlNodePtr node; node = xmlNewNode(NULL, (xmlChar*)"profile"); node = xmlDocCopyNode(node, doc, 1); xmlAddChild(doc->children, node); xmlNodeSetContent(node, (xmlChar*)get_content(profile)); cout << "profile " << ( get_content(profile) ? get_content(profile) : "" ) << " added" << endl; */ profile = xmlDocCopyNode(profile, doc, 1); //1 means recursively (with all children) xmlAddChild(doc->children, profile); //cout << "profile " << getProfileName() << " added" << endl; } } void TreeHandler::unsetProfile() { xmlNode* profile; // if someone has manually added multiple profiles, remove all of them while( (profile = get_profile()) ) { //cout << "profile " << getProfileName() << " removed" << endl; xmlUnlinkNode(profile); xmlFreeNode(profile); } } const string TreeHandler::getProfile() { xmlNode* profile; if( (profile = get_profile()) ) return Utils::Xml::get_content(profile, "content"); return ""; } const string TreeHandler::getProfileName() { xmlNode* profile; if( (profile = get_profile()) ) return Utils::Xml::get_property(profile, "name"); return ""; } bool TreeHandler::hasProfile() { if(get_profile()) return true; else return false; } xmlNode* TreeHandler::getCategoryNode() { return cat_cur; } xmlNode* TreeHandler::getElementNode() { return el_cur; } xmlNode* TreeHandler::getClassNode() { return class_cur; } int TreeHandler::getCategoryCount() { int i = 0; for(xmlNode* category = get_first_category(); // count all categories (first category and its siblings) category != NULL; category = get_next_category(category)) { i++; } return i; } void TreeHandler::gotoFirstCategory() { cat_cur = get_first_category(); } void TreeHandler::gotoNextCategory() //goto next sibling (node on same level) { cat_cur = get_next_category(cat_cur); } bool TreeHandler::getCategoryOverride() { for(xmlNode* element = cat_cur->children; element != NULL; element = element->next) { if(element->type == XML_ELEMENT_NODE && (!strcmp((char*)element->name,"element") || !strcmp((char*)element->name, "engine"))) { if(Utils::Xml::get_property(element, "override") == "yes") return true; } } return false; } const string TreeHandler::getCategoryName() { return Utils::Xml::get_property(cat_cur, "name"); } const string TreeHandler::getCategoryShortDescription() { return Utils::Xml::get_property(cat_cur, "short_description"); } const string TreeHandler::getCategoryLongName() { return Utils::Xml::get_content(cat_cur, "long_name"); } int TreeHandler::getCategoryElementsCount() { int i = 0; for(xmlNode* element = cat_cur->children; element != NULL; element = element->next) { if(element->type == XML_ELEMENT_NODE && !strcmp((char*)element->name,"element")) i++; } return i; } int TreeHandler::getCategoryClassesCount() { int i = 0; for(xmlNode* element = cat_cur->children; element != NULL; element = element->next) { if(element->type == XML_ELEMENT_NODE && !strcmp((char*)element->name,"class")) i++; } return i; } // void TreeHandler::gotoCategoriesFirstElement() { el_cur = NULL; xmlNode* element = cat_cur->children; while(element != NULL) { if(element->type == XML_ELEMENT_NODE && !strcmp((char*)element->name,"element")) { el_cur = element; break; } element = element->next; } } void TreeHandler::gotoCategoriesNextElement() { if(el_cur != NULL) { xmlNode* el = NULL; el = el_cur->next; while(el != NULL && !(el->type == XML_ELEMENT_NODE && !strcmp((char*)el->name,"element"))) el = el->next; if(el != NULL && el->type == XML_ELEMENT_NODE && !strcmp((char*)el->name,"element")) el_cur = el; else el_cur = NULL; } } void TreeHandler::gotoCategoriesEngine() { eng_cur = get_engine(cat_cur); } void TreeHandler::gotoCategoryEnginesParamByName(char* name) { param_cur = get_param(get_engine(cat_cur), name); } void TreeHandler::gotoCategoriesEngine(string category) { eng_cur = get_engine(category); } const string TreeHandler::getEngineName() { return Utils::Xml::get_property(eng_cur, "module_name"); } const string TreeHandler::getEngineName(string category) { return Utils::Xml::get_property(get_engine(category), "module_name"); } void TreeHandler::gotoCategoryEnginesFirstParam() { param_cur = get_first_param(get_engine(cat_cur)); } void TreeHandler::gotoCategoryEnginesNextParam() { param_cur = get_next_param(param_cur); } int TreeHandler::getCategoryEnginePropertiesCount() { int i = 0; if(eng_cur != NULL) { for(xmlNode* element = eng_cur->children; element != NULL; element = element->next) { if(element->type == XML_ELEMENT_NODE && !strcmp((char*)element->name,"option")) i++; } } return i; } const string TreeHandler::getParamName() { return Utils::Xml::get_property(param_cur, "name"); } const string TreeHandler::getParamValue() { string value; if((value = Utils::Xml::get_property(param_cur, "value")) != "") return value; else return Utils::Xml::get_property(param_cur, "default"); } const string TreeHandler::getParamLongName() { return Utils::Xml::get_content(param_cur, "long_name"); } const string TreeHandler::getParamShortDescription() { return Utils::Xml::get_content(param_cur, "description"); } bool TreeHandler::getParamOverride() { return Utils::Xml::get_property(param_cur, "override") == "yes" ? true : false; } const string TreeHandler::getParamType() { return Utils::Xml::get_property(param_cur, "type"); } /* void TreeHandler::setParamOverride(string category, string id, bool override) { this->setOverride(get_param(get_engine(category), id), override); } */ bool TreeHandler::getEngineOverride() { return Utils::Xml::get_property(eng_cur, "override") == "yes" ? true : false; } bool TreeHandler::getEngineOverride(string category) { return Utils::Xml::get_property(get_engine(category), "override") == "yes" ? true : false; } void TreeHandler::setEngineOverride(string category, bool override) { //cout << "set engine override for category " << category << " to " << override << endl; // debugging ;-) this->setOverride(get_engine(category), override); //xmlSaveFormatFileEnc("-", doc, "UTF-8", 1); // debugging ;-) } string TreeHandler::getEngineMetaInfo(string category) { string output = ""; xmlNode *engine = get_engine(category); xmlNode *meta = Utils::Xml::get_node(engine->children, "metainfo"); xmlNode *author = NULL; if(Utils::Xml::get_property(engine, "long_name") != "") output.append(Utils::Xml::get_property(engine, "long_name") + "\n"); else output.append(Utils::Xml::get_property(engine, "module_name") + "\n"); output.append(_("Version") + string(": ") + Utils::Xml::get_content(meta, "version") + "\n"); output.append(_("Website") + string(": ") + Utils::Xml::get_content(meta, "website") + "\n\n"); author = Utils::Xml::get_node(meta->children, "author"); if(author) output.append(_("Author(s)") + string(":\n")); while(author) { if(Utils::Xml::get_content(author, "name") != "") { output.append(" " + Utils::Xml::get_content(author, "name")); if(Utils::Xml::get_content(author, "email") != "") output.append(" <" + Utils::Xml::get_content(author, "email") + " >"); output.append("\n"); } //find additional authors author = Utils::Xml::get_node(author->next, "author"); } return output; //return Utils::Xml::get_content(get_engine(category), "metainfo"); } void TreeHandler::gotoFirstElement() { this->gotoFirstCategory(); while(cat_cur != NULL) { this->gotoCategoriesFirstElement(); if(el_cur != NULL) { break; } this->gotoNextCategory(); } } void TreeHandler::gotoNextElement() { this->gotoCategoriesNextElement(); while(cat_cur != NULL) { if(el_cur != NULL) break; this->gotoNextCategory(); if(cat_cur != NULL) this->gotoCategoriesFirstElement(); } } void TreeHandler::gotoElementById(int id) { el_cur = getElementById(id); } int TreeHandler::getElementCount() // overwrites current category and current element !! { this->gotoFirstElement(); int i = 0; while(el_cur != NULL) { this->gotoNextElement(); i++; } return i; } bool TreeHandler::getElementOverride() { return Utils::Xml::get_property(el_cur, "override") == "yes" ? true : false; } const string TreeHandler::getElementIdString() { return Utils::Xml::get_property(el_cur, "id"); } const string TreeHandler::getElementName() { return Utils::Xml::get_property(el_cur, "name"); } const string TreeHandler::getElementLongName() { return Utils::Xml::get_property(el_cur, "long_name"); } const string TreeHandler::getElementValue() { return Utils::Xml::get_property(el_cur, "value"); } const string TreeHandler::getElementType() { return Utils::Xml::get_property(el_cur, "type"); } int TreeHandler::getElementMin() { string r_return; return (r_return = Utils::Xml::get_property(el_cur, "min")) != "" ? atoi(r_return.c_str()) : 0; } int TreeHandler::getElementMax() { string r_return; return (r_return = Utils::Xml::get_property(el_cur, "max")) != "" ? atoi(r_return.c_str()) : 255; } const string TreeHandler::getElementShortDescription() { return Utils::Xml::get_property(el_cur, "short_description"); } void TreeHandler::setElementValue(const char* value) { if(el_cur != NULL) { xmlSetProp(el_cur, (xmlChar*)"value", (xmlChar*)value); //this->setOverride(el_cur, true); //xmlSaveFormatFileEnc("-", doc, "UTF-8", 1); // debugging ;-) } else std::cerr << "error: could not set value" << std::endl; } // void TreeHandler::gotoCategoriesFirstClass() { class_cur = NULL; xmlNode* element = cat_cur->children; while(element != NULL) { if(element->type == XML_ELEMENT_NODE && !strcmp((char*)element->name,"class")) { class_cur = element; break; } element = element->next; } } void TreeHandler::gotoCategoriesNextClass() { if(class_cur != NULL) { xmlNode* el = NULL; el = class_cur->next; while(el != NULL && !(el->type == XML_ELEMENT_NODE && !strcmp((char*)el->name,"class"))) el = el->next; if(el != NULL && el->type == XML_ELEMENT_NODE && !strcmp((char*)el->name,"class")) class_cur = el; else class_cur = NULL; } } const string TreeHandler::getClassName() { return Utils::Xml::get_property(class_cur, "name"); } const string TreeHandler::getClassType() { return Utils::Xml::get_property(class_cur, "type"); } const string TreeHandler::getValue(int id) { return Utils::Xml::get_property(getElementById(id), "value"); } const string TreeHandler::getValue(string category, string id) { // cout << "getValue " << category << " " << id << endl; // debugging ;-) //todo: testrun with unknown category and/or id ! string value; if((value = Utils::Xml::get_property(get_param(get_engine(category), id), "value")) != "") return value; else return Utils::Xml::get_property(get_param(get_engine(category), id), "default"); } void TreeHandler::setValue(string category, string id, const char* value) { // cout << "setValue " << category << " " << id << " " << value << endl; // debugging ;-) if(xmlNode* node = get_param(get_engine(category), id)) xmlSetProp(node, (xmlChar*)"value", (xmlChar*)value); } bool TreeHandler::getOverride(int id) // element { return Utils::Xml::get_property(getElementById(id), "override") == "yes" ? true : false; } bool TreeHandler::getOverride(string category, string id) // engine param { return Utils::Xml::get_property(get_param(get_engine(category), id), "override") == "yes" ? true : false; } void TreeHandler::setValue(int id, const char* value) { xmlNode* el = getElementById(id); if(el != NULL) { xmlSetProp(el, (xmlChar*)"value", (xmlChar*)value); //this->setOverride(el, true); //xmlSaveFormatFileEnc("-", doc, "UTF-8", 1); // debugging ;-) } else std::cout << "error: element " << id << " not found!" << std::endl; } void TreeHandler::setOverride(int id, bool override) { this->setOverride(getElementById(id), override); } void TreeHandler::setOverride(xmlNode* element, bool override) { if(element != NULL) { xmlSetProp(element, (xmlChar*)"override", (xmlChar*)(override ? "yes" : "no")); //xmlSaveFormatFileEnc("-", doc, "UTF-8", 1); // debugging ;-) } } void TreeHandler::setOverride(string category, string id, bool override) { this->setOverride(get_param(get_engine(category), id), override); } int TreeHandler::getMin(int id) { string r_return; return (r_return = Utils::Xml::get_property(getElementById(id), "min")) != "" ? atoi(r_return.c_str()) : 0; } int TreeHandler::getMax(int id) { string r_return; return (r_return = Utils::Xml::get_property(getElementById(id), "max")) != "" ? atoi(r_return.c_str()) : 255; } int TreeHandler::getMin(string category, string id) { // cout << "getMin " << category << " " << id << endl; // debugging ;-) //todo: testrun with unknown category and/or id ! string r_return; return (r_return = Utils::Xml::get_content(get_param(get_engine(category), id), "minimum")) != "" ? atoi(r_return.c_str()) : 0; } int TreeHandler::getMax(string category, string id) { // cout << "getMax " << category << " " << id << endl; // debugging ;-) //todo: check what happens with invalid integer in atoi function !! //todo: testrun with unknown category and/or id ! string r_return; return (r_return = Utils::Xml::get_content(get_param(get_engine(category), id), "maximum")) != "" ? atoi(r_return.c_str()) : 255; } const string TreeHandler::getChecked(string category, string id) { // currently hardcoded due to the lack of support by gtkrc return "TRUE"; //return (char*)get_content(m_out_param_checked, get_param(get_engine(category), id), "checked"); } const string TreeHandler::getUnchecked(string category, string id) { // currently hardcoded due to the lack of support by gtkrc return "FALSE"; //return (char*)get_content(m_out_param_unchecked, get_param(get_engine(category), id), "unchecked"); } int TreeHandler::getFractionalDigits(string category, string id) { const string type = getType(category, id); string r_return; if(type == "integer") return 0; else // "real" with default precision 1 return (r_return = Utils::Xml::get_content(get_param(get_engine(category), id), "precision")) != "" ? atoi(r_return.c_str()) : 1; } const string TreeHandler::getType(string category, string id) { return Utils::Xml::get_property(get_param(get_engine(category), id), "type"); } xmlNode* TreeHandler::getElementById(int id) { xmlNode* category = get_first_category(); xmlNode* element = NULL; string element_id = ""; while(category != NULL) { element = category->children; while(element != NULL) { if(element->type == XML_ELEMENT_NODE && !strcmp((char*)element->name,"element") && ((element_id = Utils::Xml::get_property(element, "id")) != "" && atoi(element_id.c_str()) == id)) // if found an element -> compare id { return element; } element = element->next; } category = get_next_category(category); } return NULL; } void TreeHandler::save() { xmlSaveFormatFileEnc(this->filename, doc, "UTF-8", 1); } /******************************************************************************/ xmlNode* TreeHandler::get_category(string name) { if(name != "") { xmlNode* category = doc->children->children; string cat_name = ""; while(category != NULL && !((cat_name = Utils::Xml::get_property(category, "name")) == name)) category = get_next_category(category); if(category != NULL && cat_name == name) return category; } return NULL; } xmlNode* TreeHandler::get_first_category() { return Utils::Xml::get_node(doc->children->children, "category"); } xmlNode* TreeHandler::get_next_category(xmlNode* category) { return Utils::Xml::get_node(category->next, "category"); } xmlNode* TreeHandler::get_engine(string category_name) { return get_engine(get_category(category_name)); } xmlNode* TreeHandler::get_engine(xmlNode* category) { if(category) { xmlNode* eng = category->children; while(eng != NULL && !(eng->type == XML_ELEMENT_NODE && !strcmp((char*)eng->name, "engine"))) eng = eng->next; if(eng != NULL && eng->type == XML_ELEMENT_NODE && !strcmp((char*)eng->name, "engine")) return eng; } return NULL; } xmlNode* TreeHandler::get_profile() { return Utils::Xml::get_node(doc->children->children, "profile"); } xmlNode* TreeHandler::get_param(xmlNode* engine, string name) { if(engine && name != "") { xmlNode* param = engine->children; string param_name; while(param != NULL && !((param_name = Utils::Xml::get_property(param, "name")) == name)) param = get_next_param(param); if(param != NULL && param_name == name) return param; } return NULL; } xmlNode* TreeHandler::get_first_param(xmlNode* engine) { return Utils::Xml::get_node(engine->children, "option"); } xmlNode* TreeHandler::get_next_param(xmlNode* param) { return Utils::Xml::get_node(param->next, "option"); } //todo@all: use strtol or something similar instead of atoi!! gnome-color-chooser-0.2.5/src/checkbutton.cc0000644000175000017500000000622711032777620015743 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "checkbutton.h" #include "treehandler.h" #include "utils.h" using namespace GnomeCC; CheckButton::CheckButton(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : Gtk::CheckButton(cobject) { this->m_refGlade = refGlade; } CheckButton::CheckButton() { } CheckButton::~CheckButton() { } void CheckButton::init(int id, TreeHandler* config, string name) // for association with another widget { this->isParamWidget = false; this->isEngineWidget = false; this->id = id; this->name = name; this->setConfig(config); ModWidget::register_widget(this); this->reload(); } void CheckButton::init(int id, TreeHandler* config) // as a standalone widget { this->isParamWidget = false; this->isEngineWidget = false; this->id = id; this->setConfig(config); ModWidget::register_widget(this); this->reload(); } void CheckButton::init(string category, TreeHandler* config) // as engine widget { this->isParamWidget = false; this->isEngineWidget = true; this->category = category; this->setConfig(config); ModWidget::register_widget(this); this->reload(); } void CheckButton::init(string category, string id, TreeHandler* config, bool alone) // as param widget { this->isEngineWidget = false; this->isParamWidget = true; this->isParamAloneWidget = alone; this->category = category; this->id_string = id; this->setConfig(config); this->reload(); } void CheckButton::reload() { if(isEngineWidget) this->set_active(m_pConfig->getEngineOverride(this->category)); else if(isParamWidget) { if(isParamAloneWidget) { string value = ""; string checked = ""; if((value = m_pConfig->getValue(this->category, this->id_string)) != "" && (checked = m_pConfig->getChecked(this->category, this->id_string)) != "" && Utils::String::to_lower(value) == Utils::String::to_lower(checked)) this->set_active(true); else this->set_active(false); this->set_sensitive(m_pConfig->getOverride(this->category, this->id_string)); } else this->set_active(m_pConfig->getOverride(this->category, this->id_string)); } else this->set_active(m_pConfig->getOverride(this->id)); } char* CheckButton::getName() { if(name == "") return NULL; else return (char*)(this->name.c_str()); } gnome-color-chooser-0.2.5/src/colorbutton.cc0000644000175000017500000000305311007414474015773 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "colorbutton.h" #include "treehandler.h" ColorButton::ColorButton(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : Gtk::ColorButton(cobject) { this->m_refGlade = refGlade; } ColorButton::ColorButton() { } ColorButton::~ColorButton() { } void ColorButton::reload() { if(this->isParamWidget) { string value = ""; this->set_sensitive(m_pConfig->getOverride(this->category, this->id_string)); if((value = m_pConfig->getValue(this->category, this->id_string)) != "") this->set_color(Gdk::Color(value)); } else { this->set_sensitive(m_pConfig->getOverride(this->id)); this->set_color(Gdk::Color((m_pConfig->getValue(this->id)))); } } gnome-color-chooser-0.2.5/src/spinbutton.cc0000644000175000017500000000676411007431113015627 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "spinbutton.h" #include "treehandler.h" SpinButton::SpinButton(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : Gtk::SpinButton(cobject) { this->m_refGlade = refGlade; } SpinButton::SpinButton() { } SpinButton::~SpinButton() { } void SpinButton::init(int id, TreeHandler* config) { ModWidget::init(id, config); /* set only once for this widget */ this->min = m_pConfig->getMin(this->id); this->max = m_pConfig->getMax(this->id); //Sets the flag that determines if non-numeric text can be typed into the spin button. this->set_numeric(true); //Sets the step and page increments for spin_button. //this->set_increments(step, page); // set by glade! //todo: make double mode instead of ints //Set the precision to be displayed by spin_button this->set_digits(0); //Sets the minimum and maximum allowable values for spin_button. this->set_range(this->min, this->max); } void SpinButton::init(string category, string id, TreeHandler* config) { ModWidget::init(category, id, config); /* set only once for this widget */ this->min = m_pConfig->getMin(this->category, this->id_string); this->max = m_pConfig->getMax(this->category, this->id_string); //todo: set real default value! this->def = this->min; //Sets the flag that determines if non-numeric text can be typed into the spin button. this->set_numeric(true); //todo: set increments in respect to precision //Sets the step and page increments for spin_button. this->set_increments(1, 10); //todo: make double mode instead of ints //Set the precision to be displayed by spin_button this->set_digits(m_pConfig->getFractionalDigits(this->category, this->id_string)); //Sets the minimum and maximum allowable values for spin_button. this->set_range(this->min, this->max); //reloads value from internal configuration this->reload(); } void SpinButton::reload() { if(this->isParamWidget) { string value = ""; this->set_sensitive(m_pConfig->getOverride(this->category, this->id_string)); //todo: use strtod instead of atof if((value = m_pConfig->getValue(this->category, this->id_string)) != "") { if(m_pConfig->getFractionalDigits(this->category, this->id_string) > 0) { string locale = setlocale(LC_NUMERIC, NULL); setlocale(LC_NUMERIC, "C"); this->set_value(atof(value.c_str())); setlocale(LC_NUMERIC, locale.c_str()); } else this->set_value(atoi(value.c_str())); } else this->set_value(this->def); } else { this->set_sensitive(m_pConfig->getOverride(this->id)); this->set_value(atoi(m_pConfig->getValue(this->id).c_str())); } } gnome-color-chooser-0.2.5/src/fontbutton.cc0000644000175000017500000000234111007425375015624 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "fontbutton.h" #include "treehandler.h" FontButton::FontButton(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : Gtk::FontButton(cobject) { this->m_refGlade = refGlade; } FontButton::~FontButton() { } void FontButton::reload() { this->set_sensitive(m_pConfig->getOverride(this->id)); this->set_font_name(m_pConfig->getValue(this->id)); } gnome-color-chooser-0.2.5/src/filechooserbutton.cc0000644000175000017500000000457611007427454017174 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "filechooserbutton.h" #include "treehandler.h" #include FileChooserButton::FileChooserButton(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : Gtk::FileChooserButton(cobject) { this->m_refGlade = refGlade; this->preview_image = new Gtk::Image(); this->signal_update_preview().connect( sigc::mem_fun(*this, &FileChooserButton::on_changed_preview) ); } FileChooserButton::~FileChooserButton() { if(this->preview_image != NULL) delete this->preview_image; } void FileChooserButton::init(int id, TreeHandler* config, std::string image_path) { this->image_path = image_path; ModWidget::init(id, config); this->set_preview_widget(*preview_image); //this->on_changed_preview(); } void FileChooserButton::reload() { std::string value = m_pConfig->getValue(this->id); this->set_sensitive(m_pConfig->getOverride(this->id)); if(value != "" && value != "") // if not undefined or gtkrc value for no pixmap this->set_filename((image_path + value).c_str()); else this->set_filename(""); } void FileChooserButton::on_changed_preview() { if(this->get_preview_filename() != "") { bool has_preview = false; Glib::RefPtr pixbuf; try { pixbuf = Gdk::Pixbuf::create_from_file(Glib::filename_to_utf8(this->get_preview_filename()).c_str(), 128, 128, true); has_preview = true; } catch(Glib::Error e) { has_preview = false; } this->preview_image->set(pixbuf); this->set_preview_widget_active(has_preview); } } gnome-color-chooser-0.2.5/src/slider.cc0000644000175000017500000000624011007430300014666 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "slider.h" #include "treehandler.h" Slider::Slider() { } Slider::~Slider() { } void Slider::init(int id, TreeHandler* config) { ModWidget::init(id, config); /* set only once for this widget */ this->min = m_pConfig->getMin(this->id); this->max = m_pConfig->getMax(this->id); //Sets the step and page increments. //this->set_increments(step, page); // set by glade! //Set the precision to be displayed this->set_digits(0); //Set whether the current value is displayed as a string next to the slider. this->set_draw_value(true); //Sets the minimum and maximum allowable values. this->set_range(this->min, this->max); } void Slider::init(string category, string id, TreeHandler* config) { ModWidget::init(category, id, config); /* set only once for this widget */ this->min = m_pConfig->getMin(this->category, this->id_string); this->max = m_pConfig->getMax(this->category, this->id_string); //todo: set real default value! this->def = this->min; //todo: set increments in respect to precision //Sets the step and page increments. this->set_increments(1, 10); //todo: make double mode instead of ints //Set the precision to be displayed this->set_digits(m_pConfig->getFractionalDigits(this->category, this->id_string)); //Set whether the current value is displayed as a string next to the slider. this->set_draw_value(true); //Sets the minimum and maximum allowable values . this->set_range(this->min, this->max); //reloads value from internal configuration this->reload(); } void Slider::reload() { if(this->isParamWidget) { string value = ""; this->set_sensitive(m_pConfig->getOverride(this->category, this->id_string)); //todo: use strtod instead of atof if((value = m_pConfig->getValue(this->category, this->id_string)) != "") { if(m_pConfig->getFractionalDigits(this->category, this->id_string) > 0) { string locale = setlocale(LC_NUMERIC, NULL); setlocale(LC_NUMERIC, "C"); this->set_value(atof(value.c_str())); setlocale(LC_NUMERIC, locale.c_str()); } else this->set_value(atoi(value.c_str())); } else this->set_value(this->def); } else { this->set_sensitive(m_pConfig->getOverride(this->id)); this->set_value(atoi(m_pConfig->getValue(this->id).c_str())); } } gnome-color-chooser-0.2.5/src/combobox.cc0000644000175000017500000001057111007420054015223 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * based on gtkmm's comboboxtext.cc which is licensed under the GNU LGPL * Copyright (C) 2003 The gtkmm Development Team * see www.gtkmm.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #include "combobox.h" #include "treehandler.h" ComboBox::ComboBox(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : Gtk::ComboBox(cobject) { set_model( Gtk::ListStore::create(m_text_columns) ); pack_start(m_text_columns.m_column_lname); this->m_refGlade = refGlade; } ComboBox::ComboBox() { set_model( Gtk::ListStore::create(m_text_columns) ); pack_start(m_text_columns.m_column_lname); } void ComboBox::append_text(const Glib::ustring& name, const Glib::ustring& lname) { //We can not use gtk_combo_box_append_text() here, because that can only be used if gtk_combo_box_new_text() has been used. //Ideally, we would just store the ListStore as a member variable, but we forgot to do that and not it would break the ABI. Glib::RefPtr model = get_model(); Glib::RefPtr list_model = Glib::RefPtr::cast_dynamic(model); // Glib::RefPtr list_model_longname = Glib::RefPtr::cast_dynamic(m_longnames); if(list_model)// && list_model_longname) { Gtk::TreeModel::iterator iter = list_model->append(); Gtk::TreeModel::Row row = *iter; row[m_text_columns.m_column] = name; row[m_text_columns.m_column_lname] = lname; } } Glib::ustring ComboBox::get_active_text() const { //We can not use gtk_combobox_get_active_text() here, because that can only be used if gtk_combo_box_new_text() has been used. Glib::ustring result; //Get the active row: Gtk::TreeModel::iterator active_row = get_active(); if(active_row) { Gtk::TreeModel::Row row = *active_row; result = row[m_text_columns.m_column]; } return result; } void ComboBox::clear_items() { //Ideally, we would just store the ListStore as a member variable, but we forgot to do that and not it would break the ABI. Glib::RefPtr model = get_model(); Glib::RefPtr list_model = Glib::RefPtr::cast_dynamic(model); if(list_model) list_model->clear(); } void ComboBox::set_active_text(const Glib::ustring& text) { //Look for the row with this text, and activate it: Glib::RefPtr model = get_model(); if(model) { for(Gtk::TreeModel::iterator iter = model->children().begin(); iter != model->children().end(); ++iter) { const Glib::ustring& this_text = (*iter)[m_text_columns.m_column]; if(this_text == text) { set_active(iter); return; //success } } } //Not found, so mark it as blank: unset_active(); } //ModWidget: void ComboBox::reload() { string value = ""; if(this->isProfileWidget) { string profile = m_pConfig->getProfile(); if(profile != "") this->set_active_text("theme"); else this->set_active_text("none"); return; } if(this->isEngineWidget) { this->set_sensitive(m_pConfig->getEngineOverride(this->category)); if((value = m_pConfig->getEngineName(this->id_string)) != "") this->set_active_text(value); } else if(this->isParamWidget) { this->set_sensitive(m_pConfig->getOverride(this->category, this->id_string)); if((value = m_pConfig->getValue(this->category, this->id_string)) != "") this->set_active_text(value); } else { this->set_sensitive(m_pConfig->getOverride(this->id)); if((value = m_pConfig->getValue(this->id)) != "") this->set_active_text(value); } } gnome-color-chooser-0.2.5/src/utils.h0000644000175000017500000000715011161715357014432 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2009 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _GNOMECC_UTILS_H #define _GNOMECC_UTILS_H #include // Utils::Xml #include #include namespace Gtk { class Dialog; class Window; } using std::string; namespace GnomeCC { class Utils { public: static bool check_include(string filename, string include, string searchpattern = ""); static bool create_include(string filename, string include, string searchpattern = ""); static bool remove_include(string filename, string include, string searchpattern = ""); static string int2string(int); static string double2string(double, int fractionalDigits=2); class Xml { public: static const string get_property(xmlNode* node, string property); //static const string get_property(string &out, xmlNode* node, string property); static const string get_content(xmlNode* node, string content); //static const string get_content(string &m_out, xmlNode* node, const char* content); //static const string get_lang(xmlNode* node, string content, bool original_text); static xmlNode* get_node(xmlNode* pNode, string name); static const string get_language(xmlNode *node); private: static const bool needs_translation(string content); static const string content2string(xmlNode* node); static const string lang2string(xmlNode *node); }; class Io { public: static bool check_file(string filename, bool write_check = false); static bool check_directory(string directory); static bool create_file(string filename); static bool create_directory(string directory); static bool remove_directory(string directory); static bool remove_node(string path); static bool copy_directory(string src, string dst); static bool copy_file(string src, string dst); }; class String { public: static string to_lower(string str); }; class Ui { public: static void set_dialog_parent_window(Gtk::Window *parent); static void print_error( string message1, string message2 = "", bool quit_mainloop = false); static void close_dialog( int response_id, Gtk::Dialog *dialog, bool quit_mainloop = false); private: static int m_quit_message_count; static Gtk::Window *m_dialog_parent; }; // the following method has been copied from http://vektor.ca/bugs/gtkinfo.c // and adopted to use an output string instead of stdout static string gtkinfo(); }; }; #endif // _GNOMECC_UTILS_H gnome-color-chooser-0.2.5/src/configloader.h0000644000175000017500000001121511007701207015707 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _CONFIG_LOADER_H #define _CONFIG_LOADER_H #include #include #include #include #include class TreeHandler; class MainWindow; class EngineWindow; class ModWidget; class ComboBox; class CheckButton; namespace Gtk { class HBox; class EventBox; class HSeparator; } using std::string; class ConfigLoader { public: static bool load_config(string filename, TreeHandler* pConfig, const Glib::RefPtr& refGlade, MainWindow* pWindow); static bool export_config(TreeHandler* pConfig, string filename, bool export_disabled_elements, bool export_comments); static bool load_engine_schemas(string directory); static void unload_engines(); static void load_engine_params(EngineWindow* window, string engine, string category, TreeHandler* config); static void unload_engine_params(); static void attach_engine(string engine, string category, TreeHandler* config, bool override = true); static void fill_with_engines(string category, ComboBox* box, TreeHandler* p_refConfig); static bool load_profiles(string directory); static void unload_profiles(); static void fill_with_profiles(ComboBox* box); static void change_profile(string profile, TreeHandler *pConfig); private: ConfigLoader(); ~ConfigLoader(); class Engine { public: string name; string lname; xmlDoc *doc; Engine *next; }; class Profile { public: string name; string lname; xmlDoc *doc; Profile *next; }; class PTheme { public: string lname; xmlNode* node; }; class Param { public: Param(); ~Param(); string name; //Gtk::HBox *row; Gtk::HBox *box; Gtk::EventBox *label; Gtk::EventBox *desc; Gtk::HSeparator *line; CheckButton *cbox; //Gtk::Button *button, Gtk::Widget *widget; Gtk::Widget *widget1; Gtk::Widget *widget2; Gtk::EventBox *widget_ebox; Param *next; }; static Engine *engines; static Param *params; static Profile *profiles; static PTheme *profile_theme; static void load_theme_element( TreeHandler *pConfig, const Glib::RefPtr& refGlade, MainWindow *pWindow, xmlNode *element); static void load_theme_engine( TreeHandler *pConfig, MainWindow *pWindow, xmlNode *element); static void load_theme_engine_options( TreeHandler *pConfig, string category, xmlNode *engine); static Param* create_unique_param(string name); static bool create_engine_option_widget( EngineWindow *window, Param *param, TreeHandler *config, xmlNode *element, string category, string w_name, string w_type, string w_ldesc); static void load_theme_profile( TreeHandler *pConfig, xmlNode *element); static bool load_engine_schema(string filename); static bool load_profile(string filename); static void fill_config( TreeHandler* pConfig, const Glib::RefPtr& refGlade, MainWindow* pWindow, int id, const char* value); static string xml_encode(string input); static void reload_enginetable_row( string category, MainWindow* pWindow); static void select_engine( string category, string engine, MainWindow* pWindow); }; #endif // _CONFIG_LOADER_H gnome-color-chooser-0.2.5/src/exception.h0000644000175000017500000000217711014304121015250 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _GNOMECC_EXCEPTION_H #define _GNOMECC_EXCEPTION_H #include using std::string; class Exception { public: virtual ~Exception() {}; //later: //virtual string get_type() {}; virtual string get_string() {return "";}; }; #endif // _GNOMECC_EXCEPTION_H gnome-color-chooser-0.2.5/src/ioexception.h0000644000175000017500000000237711014304137015611 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _GNOMECC_IOEXCEPTION_H #define _GNOMECC_IOEXCEPTION_H #include "exception.h" #include using std::string; class IoException : public Exception { public: enum ExceptionType { ReadError, WriteError }; IoException(ExceptionType t); ~IoException(); string get_string(); private: ExceptionType m_type; }; #endif // _GNOMECC_IOEXCEPTION_H gnome-color-chooser-0.2.5/src/exporter.h0000644000175000017500000000261611034435663015142 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _GNOMECC_EXPORTER_H #define _GNOMECC_EXPORTER_H #include class TreeHandler; using std::string; class Exporter { public: enum ExporterType { Gtkrc, Gtp }; virtual ~Exporter() {}; virtual void export_to(string filename, string image_path) {}; // exporter factory static void init(TreeHandler* config); static Exporter* create_exporter(ExporterType t); protected: TreeHandler *m_pConfig; private: static TreeHandler *exporter_pConfig; }; #endif // _GNOMECC_EXPORTER_H gnome-color-chooser-0.2.5/src/gtpexporter.h0000644000175000017500000000235711007656746015666 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _GNOMECC_GTP_EXPORTER_H #define _GNOMECC_GTP_EXPORTER_H #include "exporter.h" #include class TreeHandler; using std::string; class GtpExporter : public Exporter { public: GtpExporter(TreeHandler* config); ~GtpExporter(); void export_to(string filename, string image_path); private: static string get_theme_dir(); }; #endif // _GNOMECC_GTP_EXPORTER_H gnome-color-chooser-0.2.5/src/gtkrcexporter.h0000644000175000017500000000237311007655742016177 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _GNOMECC_GTKRC_EXPORTER_H #define _GNOMECC_GTKRC_EXPORTER_H #include "exporter.h" #include class TreeHandler; using std::string; class GtkrcExporter : public Exporter { public: GtkrcExporter(TreeHandler* config); ~GtkrcExporter(); void export_to(string filename, string image_path); private: bool use_quotes(string type); }; #endif // _GNOMECC_GTP_EXPORTER_H gnome-color-chooser-0.2.5/src/mainwindow.h0000644000175000017500000000730711161664522015447 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2009 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _MAIN_WINDOW_H #define _MAIN_WINDOW_H #include "checkbutton.h" #include "combobox.h" #include "filechooserbutton.h" #include #include #include //#include class TreeHandler; class EngineWindow; class ColorButton; class SpinButton; class FontButton; //todo: remove and allocate dynamically!! #define MAX_ENGINE_CATEGORIES 10 using std::string; class MainWindow : public Gtk::Window { friend class ConfigLoader; public: MainWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade); virtual ~MainWindow(); void init(TreeHandler* config, string configfile, string filename, string gtkrcfile, string customgtkrcfile, string version, string icon, string image_path, string engine_dir, string profile_dir); protected: void create_engines_table(); void close(); void write_gtkrc(string filename); void setConfig(TreeHandler* config); void setVersion(string version); void open_engine_window(string category, int y); bool close_engine_window(const GdkEventAny* event); void load_engine_params(string category, int y); void redraw_all_gtk_apps(); //Signal handlers: void on_main_revert(); void on_main_cancel(); void on_main_apply(); void on_main_ok(); void on_file_exit(); void on_file_new(); void on_file_open(); void on_file_save(); void on_file_save_as(); void on_file_export(); void on_file_export_as_gtp(); void on_file_install(); void on_tools_validate(); void on_help_gtkinfo(); void on_help_info(); void on_dialog_open(int response_id); void on_dialog_save(int response_id); void on_dialog_about(int response_id); void on_checkbox_toggled(int id, CheckButton* cbox); void on_changed_colorbutton(int id, ColorButton* cbutton); void on_changed_spinbutton(int id, SpinButton* sbutton); void on_changed_spinbutton_iconsize(int id, SpinButton* sbutton); void on_changed_fontbutton(int id, FontButton* fbutton); void on_changed_filechooserbutton(int id, FileChooserButton* fcbutton, std::string id_string); void on_engine_checkbox_toggled(string category, int y); void on_profile_changed(ComboBox *cbox); Glib::RefPtr m_refGlade; private: TreeHandler* m_pConfig; string m_filename; string m_configfile; string m_gtkrcfile; string m_customgtkrcfile; Glib::RefPtr m_refIcon; string version; string image_path; EngineWindow* engine_window; Gtk::Label engine_label[MAX_ENGINE_CATEGORIES]; Gtk::HBox engine_hbox[MAX_ENGINE_CATEGORIES]; ComboBox engine_combo[MAX_ENGINE_CATEGORIES]; CheckButton engine_cbox[MAX_ENGINE_CATEGORIES]; Gtk::Button engine_button[MAX_ENGINE_CATEGORIES]; string engine_name[MAX_ENGINE_CATEGORIES]; int engine_categories; }; #endif // _MAIN_WINDOW_H gnome-color-chooser-0.2.5/src/enginewindow.h0000644000175000017500000000552111007653247015765 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _ENGINE_WINDOW_H #define _ENGINE_WINDOW_H #include #include #include #include #include #include #include #include class TreeHandler; class ColorButton; class CheckButton; class SpinButton; class Slider; class ComboBox; using std::string; class EngineWindow : public Gtk::Window { friend class ConfigLoader; public: EngineWindow(Gtk::Window* parent, string engine, string category, TreeHandler* config, const Glib::RefPtr& refGlade); ~EngineWindow(); // void init(TreeHandler* config, char* version, std::string icon, std::string image_path); protected: void close(); // void setConfig(TreeHandler* config); // void setVersion(char* version); //Signal handlers: void on_checkbox_toggled( string id, CheckButton *cbox, Gtk::Widget *widget1, Gtk::Widget *widget2 = NULL); void on_changed_checkbutton(string id, CheckButton* cbox); void on_changed_colorbutton(string id, ColorButton* cbutton); void on_changed_spinbutton(string id, SpinButton* sbutton); void on_changed_slider(string id, Slider* slider); void on_changed_combobox(string id, ComboBox* combobox); // void on_changed_spinbutton_iconsize(int id, SpinButton* sbutton); // void on_changed_fontbutton(int id, FontButton* fbutton); // void on_changed_filechooserbutton(int id, FileChooserButton* fcbutton, std::string id_string); private: void on_info(); TreeHandler* m_pConfig; Glib::RefPtr m_refGlade; string engine; string category; // char* version; // std::string image_path; Gtk::ScrolledWindow scrolled_window; Gtk::VBox vbox; Gtk::HBox button_hbox; Gtk::Button okbutton; Gtk::Button infobutton; Gtk::Table table; Gtk::Tooltips tooltips; bool m_params; }; #endif // _ENGINE_WINDOW_H gnome-color-chooser-0.2.5/src/infowindow.h0000644000175000017500000000272611010026623015441 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _INFO_WINDOW_H #define _INFO_WINDOW_H #include #include #include #include namespace Gtk { class Button; class Label; } using std::string; class InfoWindow : public Gtk::Window { public: InfoWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade); virtual ~InfoWindow(){}; void init(Gtk::Window* parent, string title, string text); protected: void close(); private: Glib::RefPtr m_refGlade; Gtk::Label* m_pLabel; Gtk::Button* m_pButton; }; #endif // _INFO_WINDOW_H gnome-color-chooser-0.2.5/src/validatorwindow.h0000644000175000017500000000366411056764455016523 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _VALIDATOR_WINDOW_H #define _VALIDATOR_WINDOW_H #include #include #include #include namespace Gtk { class TextView; class FileChooserButton; } // this class should be used as singleton (restriction not implemented, though) class ValidatorWindow : public Gtk::Window { public: ValidatorWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade); virtual ~ValidatorWindow(){}; void init(Gtk::Window* parent = NULL); static int is_valid(const char *xml_filename, const char *xsd_filename); protected: void validate(); static void clear_nodes(xmlNode *node); // has to be static for C pointer-to-function compatibility static void xml_error_handler(void *ctx, const char *msg, ...); private: Glib::RefPtr m_refGlade; Gtk::FileChooserButton *m_xml; Gtk::FileChooserButton *m_xsd; // used by xml_error_handler() static Gtk::TextView *m_text; bool close(GdkEventAny *event); }; #endif // _VALIDATOR_WINDOW_H gnome-color-chooser-0.2.5/src/modwidget.h0000644000175000017500000000374511007646247015263 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _MOD_WIDGET_H #define _MOD_WIDGET_H #include #include #include class TreeHandler; using std::string; class ModWidget { public: //ModWidget(BaseObjectType* cobject, const Glib::RefPtr& refGlade); //virtual ~ModWidget(); void init(int id, TreeHandler* config); void init(string category, string id, TreeHandler* config); void init(string category, TreeHandler* config); void init(TreeHandler* config); void setConfig(TreeHandler* config); void link_with_widget(ModWidget *widget); void reload_linked_widget(); virtual void reload() = 0; static void reload_all_widgets(); static GType get_base_type() G_GNUC_CONST; protected: Glib::RefPtr m_refGlade; TreeHandler* m_pConfig; int id; string id_string; string category; bool isEngineWidget; bool isParamWidget; bool isProfileWidget; ModWidget *m_linked_widget; static void register_widget(ModWidget* widget); private: class Widget { public: Widget(); ModWidget *p; Widget *next; }; static Widget *widgets; }; #endif // _MOD_WIDGET_H gnome-color-chooser-0.2.5/src/treehandler.h0000644000175000017500000001222311007677716015571 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _TREEHANDLER_H #define _TREEHANDLER_H #include #include #include using std::string; class TreeHandler { public: TreeHandler(char* file); ~TreeHandler(); void save(); void reset_to_defaults(); // int getConfigVersion(); // void setConfigVersion(int version); void addCategory(xmlNode* category); void addElement(xmlNode* element); void addClass(xmlNode* cl); void attachEngine(xmlNode* engine, char* cat_name); void unattachEngine(string category); void setProfile(xmlNode *profile); void unsetProfile(); bool hasProfile(); const string getProfile(); const string getProfileName(); int getCategoryCount(); xmlNode* getCategoryNode(); xmlNode* getElementNode(); xmlNode* getClassNode(); void gotoFirstCategory(); void gotoNextCategory(); bool getCategoryOverride(); const string getCategoryName(); const string getCategoryLongName(); const string getCategoryShortDescription(); int getCategoryElementsCount(); int getCategoryClassesCount(); void gotoCategoriesFirstElement(); void gotoCategoriesNextElement(); void gotoCategoriesEngine(); void gotoCategoriesEngine(string category); void gotoCategoryEnginesFirstParam(); void gotoCategoryEnginesNextParam(); void gotoCategoryEnginesParamByName(char* name); int getCategoryEnginePropertiesCount(); const string getEngineName(); const string getEngineName(string category); const string getParamName(); const string getParamValue(); const string getParamType(); const string getParamLongName(); const string getParamShortDescription(); bool getEngineOverride(); bool getEngineOverride(string category); void setEngineOverride(string category, bool override); string getEngineMetaInfo(string category); bool getParamOverride(); //void setParamOverride(string category, string id, bool override); void gotoFirstElement(); void gotoNextElement(); void gotoElementById(int id); int getElementCount(); // overwrites current category and current element !! bool getElementOverride(); const string getElementIdString(); const string getElementName(); const string getElementLongName(); const string getElementValue(); const string getElementType(); int getElementMin(); int getElementMax(); const string getElementShortDescription(); void setElementValue(const char* value); void gotoCategoriesFirstClass(); void gotoCategoriesNextClass(); const string getClassName(); const string getClassType(); const string getValue(int id); void setValue(int id, const char* value); const string getValue(string category, string id); void setValue(string category, string id, const char* value); bool getOverride(int id); // element bool getOverride(string category, string id); // engine param void setOverride(int id, bool override); // element void setOverride(string category, string id, bool override); // engine param //char* getPath(int id); //void setPath(int id, char* value); /* get-only params */ int getMin(int id); int getMax(int id); int getMin(string category, string id); int getMax(string category, string id); const string getChecked(string category, string id); const string getUnchecked(string category, string id); int getFractionalDigits(string category, string id); const string getType(string category, string id); private: char* filename; // int version; xmlDoc *doc; xmlNode *root_node; xmlNode *cat_cur; xmlNode *el_cur; xmlNode *class_cur; xmlNode *param_cur; xmlNode *eng_cur; void setMaxCatId(int max); void setMaxElementId(int max); xmlNode* getElementById(int id); void setOverride(xmlNode* element, bool override); xmlNode* get_category(string name); xmlNode* get_first_category(); xmlNode* get_next_category(xmlNode* category); xmlNode* get_engine(string category_name); xmlNode* get_engine(xmlNode* category); xmlNode* get_profile(); xmlNode* get_param(xmlNode* engine, string name); xmlNode* get_first_param(xmlNode* engine); xmlNode* get_next_param(xmlNode* param); }; #endif // _TREEHANDLER_H gnome-color-chooser-0.2.5/src/checkbutton.h0000644000175000017500000000301311007701261015561 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _CHECK_BUTTON_H #define _CHECK_BUTTON_H #include "modwidget.h" #include class TreeHandler; class CheckButton : public Gtk::CheckButton, public ModWidget { public: CheckButton(BaseObjectType* cobject, const Glib::RefPtr& refGlade); CheckButton(); virtual ~CheckButton(); void init(int id, TreeHandler* config, string name); void init(int id, TreeHandler* config); void init(string category, TreeHandler* config); void init(string category, string id, TreeHandler* config, bool alone = true); void reload(); char* getName(); private: std::string name; bool isParamAloneWidget; }; #endif // _CHECK_BUTTON_H gnome-color-chooser-0.2.5/src/colorbutton.h0000644000175000017500000000230411007423316015626 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _COLOR_BUTTON_H #define _COLOR_BUTTON_H #include "modwidget.h" #include class ColorButton : public Gtk::ColorButton, public ModWidget { public: ColorButton(BaseObjectType* cobject, const Glib::RefPtr& refGlade); ColorButton(); virtual ~ColorButton(); void reload(); }; #endif // _COLOR_BUTTON_H gnome-color-chooser-0.2.5/src/spinbutton.h0000644000175000017500000000254211007431070015461 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _SPIN_BUTTON_H #define _SPIN_BUTTON_H #include "modwidget.h" #include class TreeHandler; class SpinButton : public Gtk::SpinButton, public ModWidget { public: SpinButton(BaseObjectType* cobject, const Glib::RefPtr& refGlade); SpinButton(); virtual ~SpinButton(); void init(int id, TreeHandler* config); void init(string category, string id, TreeHandler* config); void reload(); private: int min; int max; int def; }; #endif // _SPIN_BUTTON_H gnome-color-chooser-0.2.5/src/fontbutton.h0000644000175000017500000000227711007425270015470 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _FONT_BUTTON_H #define _FONT_BUTTON_H #include "modwidget.h" #include class TreeHandler; class FontButton : public Gtk::FontButton, public ModWidget { public: FontButton(BaseObjectType* cobject, const Glib::RefPtr& refGlade); virtual ~FontButton(); void reload(); }; #endif // _FONT_BUTTON_H gnome-color-chooser-0.2.5/src/filechooserbutton.h0000644000175000017500000000267311007654243017030 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _FILECHOOSER_BUTTON_H #define _FILECHOOSER_BUTTON_H #include "modwidget.h" #include class TreeHandler; namespace Gtk { class Image; } class FileChooserButton : public Gtk::FileChooserButton, public ModWidget { public: FileChooserButton(BaseObjectType* cobject, const Glib::RefPtr& refGlade); virtual ~FileChooserButton(); void init(int id, TreeHandler* config, std::string image_path); void reload(); void on_changed_preview(); private: Gtk::Image *preview_image; std::string image_path; }; #endif // _FILECHOOSER_BUTTON_H gnome-color-chooser-0.2.5/src/slider.h0000644000175000017500000000245011007426675014553 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _SLIDER_H #define _SLIDER_H #include "modwidget.h" #include class Slider : public Gtk::HScale, public ModWidget { public: // Slider(BaseObjectType* cobject, const Glib::RefPtr& refGlade); Slider(); virtual ~Slider(); void init(int id, TreeHandler* config); void init(string category, string id, TreeHandler* config); void reload(); private: int min; int max; int def; }; #endif // _SLIDER_H gnome-color-chooser-0.2.5/src/combobox.h0000644000175000017500000000455611007426323015100 00000000000000/* GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool * Copyright (C) 2006-2008 Werner Pantke * * based on gtkmm's comboboxtext.cc which is licensed under the GNU LGPL * Copyright (C) 2003 The gtkmm Development Team * see www.gtkmm.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Project email: * */ #ifndef _COMBO_BOX_H #define _COMBO_BOX_H #include "modwidget.h" #include #include class ComboBox : public Gtk::ComboBox, public ModWidget { public: ComboBox(BaseObjectType* cobject, const Glib::RefPtr& refGlade); ComboBox(); /** Add an item to the end of the drop-down list. * @param text The text for the item. */ void append_text(const Glib::ustring& name, const Glib::ustring& lname); /** Get the currently-chosen item. * @result The text of the active item. */ Glib::ustring get_active_text() const; /** Set the currently-chosen item if it matches the specified text. * @text The text of the item that should be selected. */ void set_active_text(const Glib::ustring& text); /** Remove all items from the drop-down menu. */ void clear_items(); //ModWidget: void reload(); protected: //Tree model columns: //These columns are used by the model that is created by the default constructor class TextModelColumns : public Gtk::TreeModel::ColumnRecord { public: TextModelColumns() { add(m_column); add(m_column_lname);} Gtk::TreeModelColumn m_column; Gtk::TreeModelColumn m_column_lname; }; TextModelColumns m_text_columns; Glib::RefPtr m_longnames; }; #endif // COMBO_BOX_H gnome-color-chooser-0.2.5/src/gnome-color-chooser.glade0000644000175000017500000157324311161756351020013 00000000000000 True True True _File True True True gtk-new True True True gtk-open True True True gtk-save True True True gtk-save-as True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK E_xport as True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK _GTP (GNOME Theme Package) True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gnome-graphics True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-save-as True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK _Install in GNOME True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-execute True True gtk-quit True True True _Tools True True True Engine Schema Validator True gtk-jump-to True _Help True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-info True True True gtk-about True True False True 5 True True 10 True 0 GTK_SHADOW_OUT True 12 True 15 6 5 True True 0 True False False 100 True False 1 5 6 6 7 True True False 0 True False False 100 True False False 1 5 6 5 6 True True False 0 True False False 100 True False False 1 5 6 4 5 True True 0 True False False 100 True False 1 5 6 3 4 True True 0 True False False 100 True False 1 5 6 2 3 True True 0 0 True False False True 0 #000000000000 False False 1 4 5 6 7 True True 0 True False False True 0 #000000000000 False False 1 4 5 5 6 True True 0 True False False True 0 #000000000000 False False 1 4 5 4 5 True True 0 True False False True 0 #000000000000 False False 1 4 5 3 4 True True 0 True False False True 0 #000000000000 False False 1 4 5 2 3 True 0 20 normal 2 3 GTK_FILL True 0 20 hover 3 4 GTK_FILL True 0 20 selected 4 5 GTK_FILL True 0 20 active 5 6 GTK_FILL True 0 20 disabled 6 7 GTK_FILL True Foreground 2 3 True 1 2 15 GTK_FILL True True 0 True False False True 0 #000000000000 False False 1 2 3 2 3 True True 0 True False False True 0 #000000000000 False False 1 2 3 3 4 True True 0 True False False True 0 #000000000000 False False 1 2 3 4 5 True True 0 True False False True 0 #000000000000 False False 1 2 3 5 6 True True 0 True False False True 0 #000000000000 False False 1 2 3 6 7 True 0 Background 4 6 GTK_FILL True 3 4 15 GTK_FILL True 6 1 2 True Foreground 2 3 8 9 True 0 Background 4 6 8 9 GTK_FILL True 0 <b>Normal</b> True True 0 <b>Entry Fields</b> True 8 9 True True 0 True False False True 0 #000000000000 False False 1 2 3 10 11 True True 0 True False False True 0 #000000000000 False False 1 2 3 11 12 True True 0 True False False True 0 #000000000000 False False 1 2 3 12 13 True 6 9 10 True 7 8 True True 0 True False False True 0 #000000000000 False False 1 2 3 13 14 True True 0 True False False True 0 #000000000000 False False 1 2 3 14 15 True True 0 True False False True 0 #000000000000 False False 1 4 5 10 11 True True 0 True False False True 0 #000000000000 False False 1 4 5 11 12 True True 0 True False False True 0 #000000000000 False False 1 4 5 12 13 True True 0 True False False True 0 #000000000000 False False 1 4 5 13 14 True True 0 True False False True 0 #000000000000 False False 1 4 5 14 15 True True False 0 True False False 100 True False False 1 5 6 10 11 True True False 0 True False False 100 True False False 1 5 6 11 12 True True False 0 True False False 100 True False False 1 5 6 12 13 True True False 0 True False False 100 True False False 1 5 6 13 14 True True False 0 True False False 100 True False False 1 5 6 14 15 True 0 20 normal 10 11 GTK_FILL True 0 20 hover 11 12 GTK_FILL True 0 20 selected 12 13 GTK_FILL True 0 20 active 13 14 GTK_FILL True 0 20 disabled 14 15 GTK_FILL True <b>Default Configuration</b> True label_item False False 2 True 2 2 8 True True This option does not affect all themes! use shadowless Toolbars 0 True 1 2 1 2 GTK_EXPAND True True This option does not affect all themes! use shadowless Menubars 0 True 1 2 GTK_EXPAND True True X-Padding (of widgets) True 0 True False 1 True True 0 0 20 1 10 0 False 2 GTK_EXPAND True True Y-Padding (of widgets) True 0 True False 1 True True 0 0 20 1 10 0 False 2 1 2 GTK_EXPAND False False 5 1 True Global Colors tab False True 10 True 0 GTK_SHADOW_OUT True 12 True 9 6 5 True True False 0 True False False 100 True False False 1 5 6 6 7 True True False 0 True False False 100 True False False 1 5 6 5 6 True True False 0 True False False 100 True False False 1 5 6 4 5 True True False 0 True False False 100 True False False 1 5 6 3 4 True True False 0 True False False 100 True False False 1 5 6 2 3 True True 0 0 True False False True 0 #000000000000 False False 1 4 5 6 7 True True 0 True False False True 0 #000000000000 False False 1 4 5 5 6 True True 0 True False False True 0 #000000000000 False False 1 4 5 4 5 True True 0 True False False True 0 #000000000000 False False 1 4 5 3 4 True True 0 True False False True 0 #000000000000 False False 1 4 5 2 3 True 0 20 normal 2 3 GTK_FILL True 0 20 hover 3 4 GTK_FILL True 0 20 selected 4 5 GTK_FILL True 0 20 pressed 5 6 GTK_FILL True 0 20 disabled 6 7 GTK_FILL True Foreground 2 3 True 1 2 9 GTK_FILL True True 0 True False False True 0 #000000000000 False False 1 2 3 2 3 True True 0 True False False True 0 #000000000000 False False 1 2 3 3 4 True True False 0 True False False True False 0 #000000000000 False False 1 2 3 4 5 True True 0 True False False True 0 #000000000000 False False 1 2 3 5 6 True True 0 True False False True 0 #000000000000 False False 1 2 3 6 7 True 0 Background 4 6 GTK_FILL True 3 4 7 GTK_FILL True 6 1 2 True True 0 True False False True 0 10 1 2 6 8 9 GTK_FILL True 6 7 8 6 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 20 Font 8 9 True <b>Buttons</b> True label_item False False 2 True 0 GTK_SHADOW_OUT True 12 True 7 6 5 True True False 0 True False False 100 True False False 1 5 6 6 7 True True False 0 True False False 100 True False False 1 5 6 5 6 True True False 0 True False False 100 True False False 1 5 6 4 5 True True False 0 True False False 100 True False False 1 5 6 3 4 True True False 0 True False False 100 True False False 1 5 6 2 3 True True False 0 0 True False False True False 0 #000000000000 False False 1 4 5 6 7 True True False 0 True False False True False 0 #000000000000 False False 1 4 5 5 6 True True False 0 True False False True False 0 #000000000000 False False 1 4 5 4 5 True True False 0 True False False True False 0 #000000000000 False False 1 4 5 3 4 True True False 0 True False False True False 0 #000000000000 False False 1 4 5 2 3 True 0 20 normal 2 3 GTK_FILL True 0 20 hover 3 4 GTK_FILL True 0 20 selected 4 5 GTK_FILL True 0 20 pressed 5 6 GTK_FILL True 0 20 disabled 6 7 GTK_FILL True Foreground 2 3 True 1 2 7 GTK_FILL True True 0 True False False True 0 #000000000000 False False 1 2 3 2 3 True True 0 True False False True 0 #000000000000 False False 1 2 3 3 4 True True False 0 True False False True False 0 #000000000000 False False 1 2 3 4 5 True True 0 True False False True 0 #000000000000 False False 1 2 3 5 6 True True 0 True False False True 0 #000000000000 False False 1 2 3 6 7 True 0 Background 4 6 GTK_FILL True 3 4 7 GTK_FILL True 6 1 2 True <b>Comboboxes</b> True label_item False False 2 1 True 5 2 3 True deactivate (stock) icons 0 True 1 2 True True 0 True False False True True 0 0 20 1 10 0 False False 1 2 3 1 2 True True 0 True False False True True 0 0 20 1 10 0 False False 1 1 2 1 2 True 0.25 Y-Padding 2 3 GTK_FILL True 0.25 X-Padding 1 2 GTK_FILL False 2 1 True Buttons tab 1 False True 10 True 0 GTK_SHADOW_OUT True 12 True 10 6 5 True True False 0 True False False 100 True False False 1 5 6 6 7 True True False 0 True False False 100 True False False 1 5 6 5 6 True True False 0 True False False 100 True False False 1 5 6 4 5 True True False 0 True False False 100 True False False 1 5 6 3 4 True True 0 True False False 100 True False 1 5 6 2 3 True True 0 0 True False False True 0 #000000000000 False False 1 4 5 6 7 True True 0 True False False True 0 #000000000000 False False 1 4 5 5 6 True True 0 True False False True 0 #000000000000 False False 1 4 5 4 5 True True 0 True False False True 0 #000000000000 False False 1 4 5 3 4 True True 0 True False False True 0 #000000000000 False False 1 4 5 2 3 True 0 20 normal 2 3 GTK_FILL True 0 20 hover 3 4 GTK_FILL True 0 20 selected 4 5 GTK_FILL True 0 20 active 5 6 GTK_FILL True 0 20 disabled 6 7 GTK_FILL True Foreground 2 3 True 1 2 9 GTK_FILL True True 0 True False False True 0 #000000000000 False False 1 2 3 2 3 True True 0 True False False True 0 #000000000000 False False 1 2 3 3 4 True True 0 True False False True 0 #000000000000 False False 1 2 3 4 5 True True 0 True False False True 0 #000000000000 False False 1 2 3 5 6 True True 0 True False False True 0 #000000000000 False False 1 2 3 6 7 True 0 Background 4 6 GTK_FILL True 3 4 7 GTK_FILL True 6 1 2 True True 0 True False False True 0 10 1 2 6 8 9 GTK_FILL True 6 7 8 6 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 20 Font 8 9 True X-Padding 9 10 True True 0 True False True True 0 0 20 1 10 0 False 1 2 3 9 10 GTK_EXPAND True Y-Padding 4 5 9 10 True True 0 True False True True 0 0 20 1 10 0 False 1 5 6 9 10 GTK_EXPAND True 1 2 9 10 True 3 4 9 10 True <b>Panel</b> True label_item False False 2 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 GTK_SHADOW_OUT True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 12 True 7 6 5 True True False 0 True False False 100 True False False 1 5 6 3 4 True True 0 True False False 100 True False 1 5 6 2 3 True True 0 True False False True 0 #000000000000 False False 1 4 5 3 4 True True 0 True False False True 0 #000000000000 False False 1 4 5 2 3 True 0 20 normal 2 3 GTK_FILL True 0 20 hover 3 4 GTK_FILL True Foreground 2 3 True 1 2 7 GTK_FILL True True 0 True False False True 0 #000000000000 False False 1 2 3 2 3 True True 0 True False False True 0 #000000000000 False False 1 2 3 3 4 True 0 Background 4 6 GTK_FILL True 3 4 4 GTK_FILL True 6 1 2 True True 0 True False False True 0 10 1 2 6 5 6 GTK_FILL True 6 4 5 6 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 20 Font 5 6 True X-Padding 6 7 True True 0 True False True True 0 0 20 1 10 0 False 1 2 3 6 7 GTK_EXPAND True Y-Padding 4 5 6 7 True True 0 True False True True 0 0 20 1 10 0 False 1 5 6 6 7 GTK_EXPAND True 3 4 6 7 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK <b>Start Menu</b> True label_item False False 2 1 2 True Panel tab 2 False True 10 True 0 GTK_SHADOW_OUT True 12 True 10 True 7 6 5 True 0 <b>Icons</b> True GTK_FILL True 0 normal 2 3 GTK_FILL True 0 hover 4 5 GTK_FILL True 6 1 2 True 1 2 7 GTK_FILL True 0 20 render mode 2 3 GTK_FILL True True 0 True False False True True Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely 0 0 3 1 10 0 False 1 2 3 2 3 GTK_FILL True True 0 True False False True True Modes: 0=normal, 1=lighten, 2=colorize, 3=colorize monochromely 0 0 3 1 10 0 False 1 4 5 2 3 GTK_FILL True 0 20 colorize with 3 4 GTK_FILL True True 0 True False False True This color is only used if render mode is 2 or 3 (colorize) 0 #000000000000 False 1 2 3 3 4 GTK_FILL True True 0 True False False True This color is only used if render mode is 2 or 3 (colorize) 0 #000000000000 False 1 4 5 3 4 GTK_FILL True 0 20 saturation 4 5 GTK_FILL True 0 20 brightness 5 6 GTK_FILL True True 0 True False False True True 0 0 255 1 10 0 False 1 2 3 4 5 GTK_FILL True True 0 True False False True True 0 0 255 1 10 0 False 1 4 5 4 5 GTK_FILL True True 0 True False False True True 0 0 255 1 10 0 False 1 2 3 5 6 GTK_FILL True True 0 True False False True True 0 0 255 1 10 0 False 1 4 5 5 6 GTK_FILL True 0 20 lighten 6 7 GTK_FILL True True 0 True False False True True 0 0 255 1 10 0 False 1 2 3 6 7 GTK_FILL True True 0 True False False True True 0 0 255 1 10 0 False 1 4 5 6 7 GTK_FILL True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 3 4 7 GTK_FILL True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 5 6 2 3 True 11 4 True Text 1 2 4 5 20 True Background Opacity GTK_JUSTIFY_CENTER True 3 4 4 5 True Background 2 3 4 5 GTK_FILL GTK_FILL True 0 5 <b>Icon Labels</b> True 300 True beautify icon labels (needed for icon label settings!) 0 True 4 2 3 True 4 1 2 True True 0 True False False True 0 #000000000000 False False 1 1 2 5 6 True True 0 True False False True 0 #000000000000 False False 1 2 3 5 6 True 0 5 <b>Selection Box</b> True 7 8 True 4 8 9 True True 0 True False False True True 0 0 255 1 10 0 5 False False 1 3 4 5 6 True True 0 True False False True 0 #000000000000 False False 1 2 3 10 11 GTK_FILL GTK_FILL True True 0 True False False True True 0 0 255 1 10 0 5 False False 1 3 4 10 11 GTK_FILL GTK_FILL True Color 2 3 9 10 True Opacity 3 4 9 10 300 True activate hover effects 0 True 4 3 4 True 0 20 normal 5 6 True 0 20 hover 6 7 True True 0 True False False True 0 #000000000000 False False 1 1 2 6 7 True True 0 True False False True 0 #000000000000 False False 1 2 3 6 7 True True 0 True False False True True 0 0 255 1 10 0 5 False False 1 3 4 6 7 False False 1 True <b>Desktop</b> True label_item False False 2 3 True Desktop tab 3 False True 10 True 0 GTK_SHADOW_OUT True 12 True 5 3 True True 0 True False False True 0 #000000000000 False False 1 2 3 2 3 True True 0 True False False True 0 #000000000000 False False 1 1 2 2 3 True True 0 True False False True 0 #000000000000 False False 1 2 3 1 2 True True 0 True False False True 0 #000000000000 False False 1 1 2 1 2 True Background 2 3 True Title/Buttons 1 2 True 0 20 inactive window 2 3 True 0 20 active window 1 2 True 3 3 4 True 0 <b>Metacity</b> (normal) True True 0 <b>Compiz</b> True 4 5 True True 0 True False False True 0 #000000000000 False False 1 1 2 4 5 True True 0 True False False True 0 #000000000000 False False 1 2 3 4 5 True <b>Window Decoration</b> True label_item False False 2 True 0 GTK_SHADOW_OUT True 12 True 2 5 True 0.25 Button Size 1 2 GTK_FILL True True 0 True False False True True 1 1 50 1 10 0 False False 1 1 2 1 2 True True 0 True False False True True 1 1 50 1 10 0 False False 1 1 2 True 0.25 Width GTK_FILL True 0.25 hover 3 4 GTK_FILL True 0.25 normal 2 3 GTK_FILL True 0.25 button pressed 4 5 GTK_FILL True True 0 True False False True 0 #000000000000 False False 1 4 5 1 2 True True 0 True False False True 0 #000000000000 False False 1 3 4 1 2 True True 0 True False False True 0 #000000000000 False False 1 2 3 1 2 True <b>Scrollbars</b> True label_item False False 2 1 True 0 GTK_SHADOW_OUT True 12 True 2 3 True 0.25 Y-Padding 2 3 True 0.25 X-Padding 1 2 True 0.25 Color True True 0 True False False True 0 #000000000000 False False 1 1 2 True True 0 True False False True True 0 0 10 1 10 0 False False 1 1 2 1 2 True True 0 True False False True True 0 0 10 1 10 0 False False 1 2 3 1 2 True <b>Progress Bars</b> True label_item False False 2 2 True 0 GTK_SHADOW_OUT True 12 True 5 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Foreground False False True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 True False False 1 True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 #000000000000 False False 2 1 True Background False False 2 True 0 True False False 3 True 0 #000000000000 False False 4 True <b>Tooltips</b> True label_item False 2 3 True 0 GTK_SHADOW_OUT True 12 True 5 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK unvisited False False True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 True False False 1 True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 #000000000000 False False 2 1 True visited False False 2 True 0 True False False 3 True 0 #000000000000 False False 4 True <b>Links</b> True label_item False 2 4 4 True Specific tab 4 False True 10 True 0 GTK_SHADOW_OUT True 12 True 10 7 3 True 5 <b><span foreground="#ff0000">Note:</span></b> These settings only work with gtk2-themes that don't specify these values on their own, otherwise nothing will happen on a change ;-) True True 3 6 7 True 3 5 6 True True 0 0 64 4 10 0 2 3 4 5 True True 0 0 64 4 10 0 2 3 3 4 True 0 True 1 2 4 5 True 0 True 1 2 3 4 True 0 Button 4 5 True 0 Large Toolbar 3 4 True 3 2 3 True True 0 0 64 4 10 0 2 3 True 0 True 1 2 True 0 Menue (e.g. application or context menues) True True 0 0 64 4 10 0 2 3 1 2 True 0 True 1 2 1 2 True 0 Start menue (needs panel restart!) 1 2 True <b>Icon sizes</b> (x² pixels) True label_item False False 2 5 True Icons tab 5 False True 10 True 0 GTK_SHADOW_OUT True 12 True 10 2 True <b>Engines</b> [for advanced users!] True label_item False False 2 6 True Engines tab 6 False 1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Profile: True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 1 5 1 6 2 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK False 3 True 5 6 GTK_BUTTONBOX_END True gtk-close True 0 True True True gtk-revert-to-saved True 0 1 True gtk-apply True 0 2 False 4 GTK_WIN_POS_CENTER_ON_PARENT True GDK_WINDOW_TYPE_HINT_NORMAL http://gnomecc.sourceforge.net This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. Werner Pantke <gnome-color-chooser@punk-ass-bitch.org> Brazilian Portugese: * Alexandre Sapata Carbonell <alexandrenescau@gmail.com> * Diogo Lima <diogooo@gmail.com> * RoDoLFo TX https://launchpad.net/~rodolfo-inec Bulgarian: * Yasen Pramatarov https://launchpad.net/~yasen Chinese (Simplified): * aftermath https://launchpad.net/~jingyu-zou * Aron Xu https://launchpad.net/~cnfavor * Jerry Luo <jerryluo0520@gmail.com> * rainofchaos <rainofchaos@gmail.com> Czech: * Lucas "Drom" Lommer <llommer@svn.gnome.org> * Vojtěch Trefný <vojtech.trefny@gmail.com> French: * Gaetan Pralong <luvyagal@gmail.com> * Gueraph Mayax https://launchpad.net/~yoann-weber * Marcus Kaboret <kaboretmarcus@yahoo.fr> * Omega13 https://launchpad.net/~omega13 * Pierre Slamich <pierre.slamich@gmail.com> * Rémy Loubet <les.loubet@wanadoo.fr> * TuniX12 <sedra12@gmail.com> * zniavre mou <zniavre2048@gmail.com> German: * Werner Pantke <gnome-color-chooser@punk-ass-bitch.org> Hebrew: * Yaron <sh.yaron@gmail.com> Hungarian: * Erno Horvath <szerencsefia@gmail.com> * kaiju https://launchpad.net/~kaiju Indonesian: * karina dwityaning <k_29convenience@yahoo.co.uk> * T. Hasril <thasril@gmail.com> Italian: * F43RY <fabryippisa@yahoo.it> * Fulvio Ciucci <kitpou@katamail.com > * Giooogletk <giugionico@gmail.com> * Jacopo Moronato https://launchpad.net/~jmoronat * Luca Ferretti <elle.uca@libero.it> * Nicola Piovesan https://launchpad.net/~piovesannicola * Paolo Naldini <hattory@ubuntu.com > Occitan (post 1500): * Yannig MARCHEGAY <yannig@marchegay.org> * Cédric VALMARY <https://launchpad.net/~cvalmary> Polish: * AndySad https://launchpad.net/~andysadowski * jackpod https://launchpad.net/~jacekpodkanski Portugese: * Luis Reis https://launchpad.net/~luis-marafado * Paulo Silva https://launchpad.net/~nitrofurano-3t * Tiago Silva https://launchpad.net/~tiagosilva Russian: * Grigorev Mihail <grigorevmn@gmail.com> * khaki <khaki77@gmail.com> * Sergei Zivukov https://launchpad.net/~ekonomvygoda Spanish: * Aaron H Farias Martinez <farias.aaron@gmail.com> * Diego Torres Milano <diego@pxes.org> * Gonzalo L. Campos Medina <gcamposm@gmail.com> * Goyo Diaz <goyodiaz@gmail.com> * Nicolas Espina <nicolasespina@gmail.com> * Ricardo Varas Santana <rvaras81@yahoo.com> Swedish: * Daniel Nylander <dnylande@gnome.org> * Zirro https://launchpad.net/~magne-andersson Thai: * Tharawut Paripaiboon https://launchpad.net/~xcession Turkish: * Living Corpse https://launchpad.net/~corpse * maytekir <maytekir@gmail.com> This list is a bit outdated. More information about translations and translators can be found at: https://translations.launchpad.net/gnome-color-chooser/ Any new translation will be very much appreciated. Please contact me! <gnome-color-chooser@punk-ass-bitch.org> Andreas Nilsson (0.2.x icon) e4gle (0.1.x icon) <http://www.skeagle.de> gnome-color-chooser.svg True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK 12 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK GTK_BUTTONBOX_END False GTK_PACK_END Open Theme True GDK_WINDOW_TYPE_HINT_DIALOG False False gnome-vfs False True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK 24 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK GTK_BUTTONBOX_END True True gtk-cancel True 0 True True gtk-ok True 1 1 False GTK_PACK_END Save Theme True GDK_WINDOW_TYPE_HINT_NORMAL False True GTK_FILE_CHOOSER_ACTION_SAVE False gnome-vfs False True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK 5 True True False export disabled theme elements 0 True True True False export comments (for easy human theme editing) 0 True True 1 <b><span foreground="#ff0000">Note:</span></b> Images are currently not exported!! True PANGO_ELLIPSIZE_END 2 False False 2 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK GTK_BUTTONBOX_END True True gtk-cancel True 0 True True gtk-save True 1 1 False GTK_PACK_END GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 150 250 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK GTK_POLICY_NEVER GTK_POLICY_AUTOMATIC True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK GTK_RESIZE_QUEUE GTK_SHADOW_ETCHED_IN True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 12 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 10 True True 5 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 5 GTK_BUTTONBOX_END 60 True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-ok True 0 False 5 1 True 10 10 True 2 2 True 1 2 True 1 2 1 2 True Engine Schema (XML) True Validator Schema (XSD) 1 2 False True 0 GTK_SHADOW_OUT True 12 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC True True 2 GTK_WRAP_WORD True <b>Result</b> True label_item 1 True GTK_BUTTONBOX_END True True True Validate 0 False 2 gnome-color-chooser-0.2.5/src/gnome-color-chooser.xml.in0000644000175000017500000003327511131456650020133 00000000000000 <_long_name>Global <_long_name>Desktop Icons <_long_name>Panel <_long_name>Start Menue <_long_name>Scrollbars <_long_name>Progress Bars <_long_name>Tooltips <_long_name>Buttons <_long_name>Comboboxes gnome-color-chooser-0.2.5/src/gnome-color-chooser.svg0000644000175000017500000002517111005150566017516 00000000000000 image/svg+xml Gnome Color Chooser Application icon May 2007 Andreas Nilsson http://www.andreasn.se gnome-color-chooser-0.2.5/src/gnome-color-chooser.desktop.in0000644000175000017500000000033711005150566020772 00000000000000[Desktop Entry] Version=1.0 Name=GNOME Color Chooser _Comment=Customize your GNOME desktop Exec=gnome-color-chooser Terminal=false Type=Application Icon=gnome-color-chooser.svg Categories=GNOME;Settings; StartupNotify=true gnome-color-chooser-0.2.5/src/gnome-color-chooser.10000644000175000017500000000372011061243502017046 00000000000000.\" GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool .\" Copyright (C) 2007-2008 Werner Pantke .\" .\" This program is free software: you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation, either version 3 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program. If not, see . .\" .\" Project email: .\" .TH "GNOME Color Chooser" 1 2008-08-20 .SH NAME gnome\-color\-chooser \- GTK\+/GNOME desktop appearance customization tool .SH SYNOPSIS .B gnome\-color\-chooser .RI [ options ] .RI [ filename ] .br .SH DESCRIPTION GNOME Color Chooser is an application for customizing the appearance of the GNOME desktop. .PP Filename: .br Theme to open (*.gnomecc) .PP Features: .br * change colors and sizes of GTK+ widgets .br * colorize desktop icons .br * configure installed GTK+ engines and let your current theme be drawn by an installed GTK+ engine of your choice .BR .SH OPTIONS GNOME Color Chooser follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. .TP .B \-? .TP .B \-\-help Show a summary of options. .TP .B \-\-version Show GNOME Color Chooser's version. .TP .B \-\-validator-only Start Engine Schema validator only. .TP Other standard GTK\+/GNOME options not listed here are also supported. .SH SEE ALSO http://gnomecc.sourceforge.net/ .SH AUTHOR This manual page was written by .br Werner Pantke . gnome-color-chooser-0.2.5/profiles/0000777000175000017500000000000011162025261014223 500000000000000gnome-color-chooser-0.2.5/profiles/Makefile.am0000644000175000017500000000177411005150565016206 00000000000000# GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool # Copyright (C) 2006-2008 Werner Pantke # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Project email: # xmldir = $(pkgdatadir)/profiles xml_DATA = \ compact.xml xml_in_files = $(xml_DATA:.xml=.xml.in) EXTRA_DIST = $(xml_in_files) @INTLTOOL_XML_RULE@ CLEANFILES = $(xml_DATA) gnome-color-chooser-0.2.5/profiles/Makefile.in0000644000175000017500000002632111162024741016212 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool # Copyright (C) 2006-2008 Werner Pantke # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Project email: # VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = profiles DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/lf_cxx.m4 \ $(top_srcdir)/m4/lf_host_type.m4 \ $(top_srcdir)/m4/lf_warnings.m4 \ $(top_srcdir)/m4/link_as_needed.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(xmldir)" xmlDATA_INSTALL = $(INSTALL_DATA) DATA = $(xml_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DEPS_CFLAGS = @DEPS_CFLAGS@ DEPS_LIBS = @DEPS_LIBS@ DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ canonical_host_type = @canonical_host_type@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = $(pkgdatadir)/profiles xml_DATA = \ compact.xml xml_in_files = $(xml_DATA:.xml=.xml.in) EXTRA_DIST = $(xml_in_files) CLEANFILES = $(xml_DATA) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu profiles/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu profiles/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-xmlDATA: $(xml_DATA) @$(NORMAL_INSTALL) test -z "$(xmldir)" || $(MKDIR_P) "$(DESTDIR)$(xmldir)" @list='$(xml_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(xmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(xmldir)/$$f'"; \ $(xmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(xmldir)/$$f"; \ done uninstall-xmlDATA: @$(NORMAL_UNINSTALL) @list='$(xml_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(xmldir)/$$f'"; \ rm -f "$(DESTDIR)$(xmldir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(xmldir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(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 mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-xmlDATA install-dvi: install-dvi-am 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 installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-xmlDATA .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-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip install-xmlDATA installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am uninstall-xmlDATA @INTLTOOL_XML_RULE@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gnome-color-chooser-0.2.5/profiles/compact.xml.in0000644000175000017500000000534311131111372016714 00000000000000 <_long_name>Compact style "gnome-color-chooser-compact" { GtkContainer::border_width=0 GtkButton::default_border = { 0, 0, 0, 0 } GtkButton::interior-focus = 0 GtkButton::focus-padding = 0 GtkButton::focus-line-width = 0 GtkButton::focus-line-height = 0 GtkButton::inner-border = {2, 1, 1, 2} # GtkRange ::trough_border = 0 # GtkPaned ::handle_size = 3 # GtkRange ::slider_width = 12 # GtkRange ::stepper_size = 12 # GtkOptionMenu::indicator_spacing = { 0, 0, 0, 0 } # GtkOptionMenu::indicator_size = { 16, 18 } # GtkEntry ::inner-border = { 0, 0, 0, 0 } # GtkNotebook::tab-border = 0 # GtkNotebook::tab-hborder = 0 # GtkNotebook::tab-vborder = 0 # GtkNotebook::show-border = 0 # GtkNotebook::gtk-button-images = 0 # GtkNotebook::gtk-menu-images = 0 # GtkNotebook::arrow-spacing = 0 # GtkNotebook::tab-curvature = 0 # GtkNotebook::tab-overlap = 0 # GtkNotebook::focus-line-width = 0 # GtkScrollbar ::min_slider_length = 30 # GtkScale ::slider-length = 27 # GtkCheckButton ::indicator_size = 12 # for tinyphil people # GtkMenuBar ::internal-padding = 0 # GtkExpander ::expander_size = 12 # GtkComboBox ::appears-as-list = 1 # as gnomecc option! GtkComboBox ::arrow-size = 4 GtkButton ::child-displacement-x = 0 GtkButton ::child-displacement-y = 0 GtkButtonBox ::child-min-height=18 GtkButtonBox ::child-min-width=18 GtkButtonBox ::child-internal-pad-x=1 GtkButtonBox ::child-internal-pad-y=1 # WnckTasklist ::fade-overlay-rect = 0 GtkTreeView::expander-size = 9 # GtkTreeView::expander-indent = 0 GtkTreeView::focus-line-width = 0 # GtkTreeView::spacing = 0 GtkTreeView::horizontal-separator = 0 GtkTreeView::vertical-separator = 0 # GtkTreeView::row-ending-details = 0 # GtkTreeView::treeview-left=1 # GtkTreeView::treeview-right=0 # GtkTreeView::treeview-middle=0 # GtkTreeView::passive_focus = 0 # GtkTreeView::separator-height = 0 # GtkTreeView::tree-line-pattern = "\000\000" # GtkTreeView::grid-line-pattern = "\000\000" # GtkTreeView::grid-line-width = 0 # GtkTreeView::tree-line-width = 0 # GtkCheckButton::indicator-spacing=0 # GtkCheckButton::indicator-size=13 # GtkCheckMenuItem::indicator-size=13 xthickness = 1 ythickness = 1 } class "GtkWidget" style "gnome-color-chooser-compact" style "gnome-color-chooser-compact-tooltips" { xthickness = 4 ythickness = 4 } widget "gtk-tooltip*" style "gnome-color-chooser-compact-tooltips" gnome-color-chooser-0.2.5/doc/0000777000175000017500000000000011162025261013145 500000000000000gnome-color-chooser-0.2.5/doc/Makefile.am0000644000175000017500000000151111005150566015116 00000000000000# GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool # Copyright (C) 2006-2008 Werner Pantke # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Project email: # gnome-color-chooser-0.2.5/doc/Makefile.in0000644000175000017500000002367211162024741015142 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # GNOME Color Chooser - GTK+/GNOME desktop appearance customization tool # Copyright (C) 2006-2008 Werner Pantke # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Project email: # VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = doc DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/lf_cxx.m4 \ $(top_srcdir)/m4/lf_host_type.m4 \ $(top_srcdir)/m4/lf_warnings.m4 \ $(top_srcdir)/m4/link_as_needed.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DEPS_CFLAGS = @DEPS_CFLAGS@ DEPS_LIBS = @DEPS_LIBS@ DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ canonical_host_type = @canonical_host_type@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu doc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(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 mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am 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 installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .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-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 # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: